Lines Matching refs:p

587   char *p = printable_buf;  in make_printable_str()  local
632 p = stpcpy (p, tmp); in make_printable_str()
852 char const *p = es->s; in build_spec_list() local
876 if (find_closing_delim (es, i + 2, p[i + 1], &closing_delim_idx)) in build_spec_list()
879 char const *opnd_str = p + i + 2; in build_spec_list()
883 if (p[i + 1] == ':') in build_spec_list()
891 if (p[i + 1] == ':') in build_spec_list()
969 if (!append_range (result, p[i], p[i + 2])) in build_spec_list()
975 append_normal_char (result, p[i]); in build_spec_list()
982 append_normal_char (result, p[i]); in build_spec_list()
1013 struct List_element *p; in get_next() local
1026 p = s->tail; in get_next()
1027 if (p == nullptr) in get_next()
1030 switch (p->type) in get_next()
1033 return_val = p->u.normal_char; in get_next()
1035 s->tail = p->next; in get_next()
1040 s->state = p->u.range.first_char; in get_next()
1044 if (s->state == p->u.range.last_char) in get_next()
1046 s->tail = p->next; in get_next()
1054 switch (p->u.char_class) in get_next()
1070 if (is_char_class_member (p->u.char_class, i)) in get_next()
1075 assure (is_char_class_member (p->u.char_class, s->state)); in get_next()
1078 if (is_char_class_member (p->u.char_class, i)) in get_next()
1084 s->tail = p->next; in get_next()
1095 return_val = p->u.equiv_code; in get_next()
1097 s->tail = p->next; in get_next()
1102 if (p->u.repeated_char.repeat_count == 0) in get_next()
1104 s->tail = p->next; in get_next()
1115 return_val = p->u.repeated_char.the_repeated_char; in get_next()
1116 if (s->state == p->u.repeated_char.repeat_count) in get_next()
1118 s->tail = p->next; in get_next()
1238 struct List_element *p; in get_spec_stats() local
1245 for (p = s->head->next; p; p = p->next) in get_spec_stats()
1250 switch (p->type) in get_spec_stats()
1257 affirm (p->u.range.last_char >= p->u.range.first_char); in get_spec_stats()
1258 len = p->u.range.last_char - p->u.range.first_char + 1; in get_spec_stats()
1264 if (is_char_class_member (p->u.char_class, i)) in get_spec_stats()
1266 switch (p->u.char_class) in get_spec_stats()
1279 if (is_equiv_class_member (p->u.equiv_code, i)) in get_spec_stats()
1285 if (p->u.repeated_char.repeat_count > 0) in get_spec_stats()
1286 len = p->u.repeated_char.repeat_count; in get_spec_stats()
1289 s->indefinite_repeat_element = p; in get_spec_stats()
1366 struct List_element *p; in string2_extend() local
1373 p = s2->tail; in string2_extend()
1374 switch (p->type) in string2_extend()
1377 char_to_repeat = p->u.normal_char; in string2_extend()
1380 char_to_repeat = p->u.range.last_char; in string2_extend()
1392 char_to_repeat = p->u.repeated_char.the_repeated_char; in string2_extend()