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()
1629 previous_line(char *p, char *startptr) in previous_line() argument1636 while (p > startptr && p[-1] != '\n') p--; in previous_line()1641 while (p > startptr && p[-1] != '\n') p--; in previous_line()1646 while (p > startptr && p[-1] != '\0') p--; in previous_line()1653 while (p > startptr && p[-1] != '\n') p--; in previous_line()1654 if (p <= startptr + 1 || p[-2] == '\r') return p; in previous_line()1660 if (*(--p) == '\n' && p > startptr && p[-1] == '\r') p--; in previous_line()1663 while (p > startptr) in previous_line()1718 return startptr; /* Hit start of data */ in previous_line()
4275 PCRE2_SPTR startptr = ptr; in parse_regex() local4300 ptr = startptr; /* To give a more useful message */ in parse_regex()4307 calloutlength = (PCRE2_SIZE)(ptr - startptr); in parse_regex()4314 offset = (PCRE2_SIZE)(startptr - cb->start_pattern); in parse_regex()
662 uint8_t *startptr = data + 4 * x; in render_default_font() local665 uint8_t *p = startptr + v * linesize + height/2 * 4 * u; in render_default_font()
2549 const void *startptr, *endptr; in _PyUnicode_FindMaxChar() local2566 startptr = PyUnicode_DATA(unicode); in _PyUnicode_FindMaxChar()2567 endptr = (char *)startptr + end * kind; in _PyUnicode_FindMaxChar()2568 startptr = (char *)startptr + start * kind; in _PyUnicode_FindMaxChar()2571 return ucs1lib_find_max_char(startptr, endptr); in _PyUnicode_FindMaxChar()2573 return ucs2lib_find_max_char(startptr, endptr); in _PyUnicode_FindMaxChar()2575 return ucs4lib_find_max_char(startptr, endptr); in _PyUnicode_FindMaxChar()