Home
last modified time | relevance | path

Searched refs:ptrend (Results 1 – 2 of 2) sorted by relevance

/external/pcre/dist2/src/
Dpcre2_compile.c1312 read_number(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, int32_t allow_sign, in read_number() argument
1322 if (allow_sign >= 0 && ptr < ptrend) in read_number()
1337 if (ptr >= ptrend || !IS_DIGIT(*ptr)) return FALSE; in read_number()
1338 while (ptr < ptrend && IS_DIGIT(*ptr)) in read_number()
1398 read_repeat_counts(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, uint32_t *minp, in read_repeat_counts() argument
1409 if (!read_number(&p, ptrend, -1, MAX_REPEAT_COUNT, ERR5, &min, errorcodeptr)) in read_repeat_counts()
1412 if (p >= ptrend) goto EXIT; in read_repeat_counts()
1422 if (*p++ != CHAR_COMMA || p >= ptrend) goto EXIT; in read_repeat_counts()
1425 if (!read_number(&p, ptrend, -1, MAX_REPEAT_COUNT, ERR5, &max, in read_repeat_counts()
1426 errorcodeptr) || p >= ptrend || *p != CHAR_RIGHT_CURLY_BRACKET) in read_repeat_counts()
[all …]
Dpcre2_substitute.c79 find_text_end(const pcre2_code *code, PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, in find_text_end() argument
87 for (; ptr < ptrend; ptr++) in find_text_end()
91 if (ptr[0] == CHAR_BACKSLASH && ptr < ptrend - 1 && ptr[1] == CHAR_E) in find_text_end()
108 if (ptr < ptrend - 1 && ptr[1] == CHAR_LEFT_CURLY_BRACKET) in find_text_end()
121 if (ptr < ptrend - 1) switch (ptr[1]) in find_text_end()
132 erc = PRIV(check_escape)(&ptr, ptrend, &ch, &errorcode, in find_text_end()