Searched refs:startptr (Results 1 – 5 of 5) sorted by relevance
169 PRIV(was_newline)(PCRE2_SPTR ptr, uint32_t type, PCRE2_SPTR startptr, in PRIV()190 *lenptr = (ptr > startptr && ptr[-1] == CHAR_CR)? 2 : 1; in PRIV()206 *lenptr = (ptr > startptr && ptr[-1] == CHAR_CR)? 2 : 1; in PRIV()
1547 previous_line(char *p, char *startptr) in previous_line() argument1554 while (p > startptr && p[-1] != '\n') p--; in previous_line()1559 while (p > startptr && p[-1] != '\n') p--; in previous_line()1564 while (p > startptr && p[-1] != '\0') p--; in previous_line()1571 while (p > startptr && p[-1] != '\n') p--; in previous_line()1572 if (p <= startptr + 1 || p[-2] == '\r') return p; in previous_line()1578 if (*(--p) == '\n' && p > startptr && p[-1] == '\r') p--; in previous_line()1581 while (p > startptr) in previous_line()1636 return startptr; /* Hit start of data */ in previous_line()
3833 PCRE2_SPTR startptr = ptr; in parse_regex() local3858 ptr = startptr; /* To give a more useful message */ in parse_regex()3865 calloutlength = (PCRE2_SIZE)(ptr - startptr); in parse_regex()3872 offset = (PCRE2_SIZE)(startptr - cb->start_pattern); in parse_regex()
158 STRINGLIB_CHAR *startptr = STRINGLIB_STR(output->obj); in output_extend() local159 Py_ssize_t curlen = output->ptr - startptr; in output_extend()164 startptr = STRINGLIB_STR(output->obj); in output_extend()165 output->ptr = startptr + curlen; in output_extend()166 output->end = startptr + maxlen; in output_extend()
2302 void *startptr, *endptr; in _PyUnicode_FindMaxChar() local2319 startptr = PyUnicode_DATA(unicode); in _PyUnicode_FindMaxChar()2320 endptr = (char *)startptr + end * kind; in _PyUnicode_FindMaxChar()2321 startptr = (char *)startptr + start * kind; in _PyUnicode_FindMaxChar()2324 return ucs1lib_find_max_char(startptr, endptr); in _PyUnicode_FindMaxChar()2326 return ucs2lib_find_max_char(startptr, endptr); in _PyUnicode_FindMaxChar()2328 return ucs4lib_find_max_char(startptr, endptr); in _PyUnicode_FindMaxChar()