Lines Matching refs:p
92 #define PUTOFFSET(s,p) *p++ = s argument
93 #define GETOFFSET(s,p) s = *p++ argument
94 #define GETPLUSOFFSET(s,p) s = *(++p) argument
95 #define READPLUSOFFSET(s,p) s = p[1] argument
96 #define SKIPOFFSET(p) p++ argument
99 #define PUTOFFSET(s,p) \ argument
100 { *p++ = (uint32_t)(s >> 32); *p++ = (uint32_t)(s & 0xffffffff); }
101 #define GETOFFSET(s,p) \ argument
102 { s = ((PCRE2_SIZE)p[0] << 32) | (PCRE2_SIZE)p[1]; p += 2; }
103 #define GETPLUSOFFSET(s,p) \ argument
104 { s = ((PCRE2_SIZE)p[1] << 32) | (PCRE2_SIZE)p[2]; p += 2; }
105 #define READPLUSOFFSET(s,p) \ argument
106 { s = ((PCRE2_SIZE)p[1] << 32) | (PCRE2_SIZE)p[2]; }
107 #define SKIPOFFSET(p) p += 2 argument
1406 PCRE2_SPTR p; in read_repeat_counts() local
1415 for (p = *ptrptr;; p++) in read_repeat_counts()
1418 if (p >= ptrend) return FALSE; in read_repeat_counts()
1419 c = *p; in read_repeat_counts()
1432 p = *ptrptr; in read_repeat_counts()
1433 if (!read_number(&p, ptrend, -1, MAX_REPEAT_COUNT, ERR5, &min, errorcodeptr)) in read_repeat_counts()
1436 if (*p == CHAR_RIGHT_CURLY_BRACKET) in read_repeat_counts()
1438 p++; in read_repeat_counts()
1443 if (*(++p) != CHAR_RIGHT_CURLY_BRACKET) in read_repeat_counts()
1445 if (!read_number(&p, ptrend, -1, MAX_REPEAT_COUNT, ERR5, &max, in read_repeat_counts()
1454 p++; in read_repeat_counts()
1464 *ptrptr = p; in read_repeat_counts()
1556 PCRE2_SPTR p = ptr + 1; in PRIV() local
1565 if (ptrend - p > 1 && *p == CHAR_U && p[1] == CHAR_PLUS) in PRIV()
1572 ptr = p + 1; in PRIV()
1585 if (!read_repeat_counts(&p, ptrend, NULL, NULL, errorcodeptr) && in PRIV()
1741 PCRE2_SPTR p = ptr + 1; in PRIV() local
1742 if (!read_number(&p, ptrend, cb->bracount, MAX_GROUP_NUMBER, ERR61, &s, in PRIV()
1748 if (p >= ptrend || *p != CHAR_RIGHT_CURLY_BRACKET) in PRIV()
1753 ptr = p + 1; in PRIV()
2586 #define PARSED_LITERAL(c, p) \ argument
2588 if (c >= META_END) *p++ = META_BIGVALUE; \
2589 *p++ = c; \
2593 #define PARSED_LITERAL(c, p) *p++ = c; okquantifier = TRUE; argument
3191 PCRE2_SPTR p = ptr + 1; in parse_regex() local
3193 if (read_number(&p, ptrend, cb->bracount, MAX_GROUP_NUMBER, ERR61, &i, in parse_regex()
3196 if (p >= ptrend || *p != terminator) in parse_regex()
3201 ptr = p; in parse_regex()
3291 uint32_t *p; in parse_regex() local
3292 for (p = parsed_pattern - 1; p >= verbstartptr; p--) p[1] = p[0]; in parse_regex()
5155 uint32_t options, compile_block *cb, const uint32_t *p, unsigned int except) in add_list_to_class_internal() argument
5158 while (p[0] < NOTACHAR) in add_list_to_class_internal()
5161 if (p[0] != except) in add_list_to_class_internal()
5163 while(p[n+1] == p[0] + n + 1) n++; in add_list_to_class_internal()
5164 n8 += add_to_class_internal(classbits, uchardptr, options, cb, p[0], p[n]); in add_list_to_class_internal()
5166 p += n + 1; in add_list_to_class_internal()
5229 compile_block *cb, const uint32_t *p, unsigned int except) in add_list_to_class() argument
5232 while (p[0] < NOTACHAR) in add_list_to_class()
5235 if (p[0] != except) in add_list_to_class()
5237 while(p[n+1] == p[0] + n + 1) n++; in add_list_to_class()
5238 cb->class_range_start = p[0]; in add_list_to_class()
5239 cb->class_range_end = p[n]; in add_list_to_class()
5240 n8 += add_to_class_internal(classbits, uchardptr, options, cb, p[0], p[n]); in add_list_to_class()
5242 p += n + 1; in add_list_to_class()
5269 uint32_t options, compile_block *cb, const uint32_t *p) in add_not_list_to_class() argument
5273 if (p[0] > 0) in add_not_list_to_class()
5274 n8 += add_to_class(classbits, uchardptr, options, cb, 0, p[0] - 1); in add_not_list_to_class()
5275 while (p[0] < NOTACHAR) in add_not_list_to_class()
5277 while (p[1] == p[0] + 1) p++; in add_not_list_to_class()
5278 n8 += add_to_class(classbits, uchardptr, options, cb, p[0] + 1, in add_not_list_to_class()
5279 (p[1] == NOTACHAR) ? (utf ? 0x10ffffu : 0xffffffffu) : p[1] - 1); in add_not_list_to_class()
5280 p++; in add_not_list_to_class()
9950 pso *p = pso_list + i; in pcre2_compile() local
9952 if (patlen - skipatstart - 2 >= p->length && in pcre2_compile()
9953 PRIV(strncmp_c8)(ptr + skipatstart + 2, (char *)(p->name), in pcre2_compile()
9954 p->length) == 0) in pcre2_compile()
9956 skipatstart += p->length + 2; in pcre2_compile()
9957 switch(p->type) in pcre2_compile()
9960 cb.external_options |= p->value; in pcre2_compile()
9964 setflags |= p->value; in pcre2_compile()
9968 newline = p->value; in pcre2_compile()
9973 bsr = p->value; in pcre2_compile()
9999 if (p->type == PSO_LIMH) limit_heap = c; in pcre2_compile()
10000 else if (p->type == PSO_LIMM) limit_match = c; in pcre2_compile()
10121 PCRE2_SPTR p; in pcre2_compile() local
10122 for (p = ptr; p < cb.end_pattern; p++) if (*p >= META_END) big32count++; in pcre2_compile()
10373 int p, groupnumber; in pcre2_compile() local
10380 for (i = 0, p = start; i < ccount; i++, p = (p + 1) & 7) in pcre2_compile()
10382 if (groupnumber == rc[p].groupnumber) in pcre2_compile()
10384 rgroup = rc[p].group; in pcre2_compile()
10392 if (groupnumber > rc[p].groupnumber) search_from = rc[p].group; in pcre2_compile()