Lines Matching refs:p

960 is_counted_repeat(const pcre_uchar *p)  in is_counted_repeat()  argument
962 if (!IS_DIGIT(*p)) return FALSE; in is_counted_repeat()
963 p++; in is_counted_repeat()
964 while (IS_DIGIT(*p)) p++; in is_counted_repeat()
965 if (*p == CHAR_RIGHT_CURLY_BRACKET) return TRUE; in is_counted_repeat()
967 if (*p++ != CHAR_COMMA) return FALSE; in is_counted_repeat()
968 if (*p == CHAR_RIGHT_CURLY_BRACKET) return TRUE; in is_counted_repeat()
970 if (!IS_DIGIT(*p)) return FALSE; in is_counted_repeat()
971 p++; in is_counted_repeat()
972 while (IS_DIGIT(*p)) p++; in is_counted_repeat()
974 return (*p == CHAR_RIGHT_CURLY_BRACKET); in is_counted_repeat()
1130 const pcre_uchar *p; in check_escape() local
1131 for (p = ptr+2; *p != CHAR_NULL && *p != CHAR_RIGHT_CURLY_BRACKET; p++) in check_escape()
1132 if (*p != CHAR_MINUS && !IS_DIGIT(*p)) break; in check_escape()
1133 if (*p != CHAR_NULL && *p != CHAR_RIGHT_CURLY_BRACKET) in check_escape()
1607 read_repeat_counts(const pcre_uchar *p, int *minp, int *maxp, int *errorcodeptr) in read_repeat_counts() argument
1612 while (IS_DIGIT(*p)) in read_repeat_counts()
1614 min = min * 10 + (int)(*p++ - CHAR_0); in read_repeat_counts()
1618 return p; in read_repeat_counts()
1622 if (*p == CHAR_RIGHT_CURLY_BRACKET) max = min; else in read_repeat_counts()
1624 if (*(++p) != CHAR_RIGHT_CURLY_BRACKET) in read_repeat_counts()
1627 while(IS_DIGIT(*p)) in read_repeat_counts()
1629 max = max * 10 + (int)(*p++ - CHAR_0); in read_repeat_counts()
1633 return p; in read_repeat_counts()
1639 return p; in read_repeat_counts()
1646 return p; in read_repeat_counts()
2830 const pcre_uint32 *p; in check_char_prop() local
2878 p = PRIV(ucd_caseless_sets) + prop->caseset; in check_char_prop()
2881 if (c < *p) return !negated; in check_char_prop()
2882 if (c == *p++) return negated; in check_char_prop()
3378 const pcre_uint8 *p; in compare_opcodes() local
3431 p = posspropstab[n-6]; in compare_opcodes()
3433 (list[3] != p[0] && in compare_opcodes()
3434 list[3] != p[1] && in compare_opcodes()
3435 (list[3] != p[2] || !lisprop)); in compare_opcodes()
3441 p = posspropstab[n-9]; in compare_opcodes()
3443 (base_list[3] != p[0] && in compare_opcodes()
3444 base_list[3] != p[1] && in compare_opcodes()
3445 (base_list[3] != p[2] || !risprop)); in compare_opcodes()
3451 p = posspropstab[n-12]; in compare_opcodes()
3453 (catposstab[p[0]][list[3]] && in compare_opcodes()
3454 catposstab[p[1]][list[3]] && in compare_opcodes()
3455 (list[3] != p[3] || !lisprop)); in compare_opcodes()
3461 p = posspropstab[n-15]; in compare_opcodes()
3463 (catposstab[p[0]][base_list[3]] && in compare_opcodes()
3464 catposstab[p[1]][base_list[3]] && in compare_opcodes()
3465 (base_list[3] != p[3] || !risprop)); in compare_opcodes()
4366 compile_data *cd, const pcre_uint32 *p, unsigned int except) in add_list_to_class() argument
4369 while (p[0] < NOTACHAR) in add_list_to_class()
4372 if (p[0] != except) in add_list_to_class()
4374 while(p[n+1] == p[0] + n + 1) n++; in add_list_to_class()
4375 n8 += add_to_class(classbits, uchardptr, options, cd, p[0], p[n]); in add_list_to_class()
4377 p += n + 1; in add_list_to_class()
4404 int options, compile_data *cd, const pcre_uint32 *p) in add_not_list_to_class() argument
4408 if (p[0] > 0) in add_not_list_to_class()
4409 n8 += add_to_class(classbits, uchardptr, options, cd, 0, p[0] - 1); in add_not_list_to_class()
4410 while (p[0] < NOTACHAR) in add_not_list_to_class()
4412 while (p[1] == p[0] + 1) p++; in add_not_list_to_class()
4413 n8 += add_to_class(classbits, uchardptr, options, cd, p[0] + 1, in add_not_list_to_class()
4414 (p[1] == NOTACHAR) ? (utf ? 0x10ffffu : 0xffffffffu) : p[1] - 1); in add_not_list_to_class()
4415 p++; in add_not_list_to_class()
5653 const pcre_uchar *p = ptr + 1; in compile_branch() local
5656 while (MAX_255(*p) && (cd->ctypes[*p] & ctype_space) != 0) p++; in compile_branch()
5657 if (*p != CHAR_NUMBER_SIGN) break; in compile_branch()
5658 p++; in compile_branch()
5659 while (*p != CHAR_NULL) in compile_branch()
5661 if (IS_NEWLINE(p)) /* For non-fixed-length newline cases, */ in compile_branch()
5663 p += cd->nllen; in compile_branch()
5666 p++; in compile_branch()
5668 if (utf) FORWARDCHAR(p); in compile_branch()
5672 ptr = p - 1; /* Character before the next significant one. */ in compile_branch()
7931 const pcre_uchar *p; in compile_branch() local
7958 p = ptr + 2; in compile_branch()
7959 while (IS_DIGIT(*p)) p++; in compile_branch()
7960 if (*p != (pcre_uchar)terminator) in compile_branch()
9115 int p = skipatstart + 14; in pcre_compile2() local
9116 while (isdigit(ptr[p])) in pcre_compile2()
9119 c = c*10 + ptr[p++] - CHAR_0; in pcre_compile2()
9121 if (ptr[p++] != CHAR_RIGHT_PARENTHESIS) break; in pcre_compile2()
9127 skipatstart = p; in pcre_compile2()
9134 int p = skipatstart + 18; in pcre_compile2() local
9135 while (isdigit(ptr[p])) in pcre_compile2()
9138 c = c*10 + ptr[p++] - CHAR_0; in pcre_compile2()
9140 if (ptr[p++] != CHAR_RIGHT_PARENTHESIS) break; in pcre_compile2()
9146 skipatstart = p; in pcre_compile2()