Searched refs:ptrend (Results 1 – 2 of 2) sorted by relevance
/external/pcre/dist2/src/ |
D | pcre2_compile.c | 1236 read_number(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, int32_t allow_sign, in read_number() argument 1246 if (allow_sign >= 0 && ptr < ptrend) in read_number() 1261 if (ptr >= ptrend || !IS_DIGIT(*ptr)) return FALSE; in read_number() 1262 while (ptr < ptrend && IS_DIGIT(*ptr)) in read_number() 1322 read_repeat_counts(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, uint32_t *minp, in read_repeat_counts() argument 1333 if (!read_number(&p, ptrend, -1, MAX_REPEAT_COUNT, ERR5, &min, errorcodeptr)) in read_repeat_counts() 1336 if (p >= ptrend) goto EXIT; in read_repeat_counts() 1346 if (*p++ != CHAR_COMMA || p >= ptrend) goto EXIT; in read_repeat_counts() 1349 if (!read_number(&p, ptrend, -1, MAX_REPEAT_COUNT, ERR5, &max, in read_repeat_counts() 1350 errorcodeptr) || p >= ptrend || *p != CHAR_RIGHT_CURLY_BRACKET) in read_repeat_counts() [all …]
|
D | pcre2_substitute.c | 78 find_text_end(const pcre2_code *code, PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, in find_text_end() argument 86 for (; ptr < ptrend; ptr++) in find_text_end() 90 if (ptr[0] == CHAR_BACKSLASH && ptr < ptrend - 1 && ptr[1] == CHAR_E) in find_text_end() 107 if (ptr < ptrend - 1 && ptr[1] == CHAR_LEFT_CURLY_BRACKET) in find_text_end() 120 if (ptr < ptrend - 1) switch (ptr[1]) in find_text_end() 131 erc = PRIV(check_escape)(&ptr, ptrend, &ch, &errorcode, in find_text_end()
|