Home
last modified time | relevance | path

Searched refs:startptr (Results 1 – 4 of 4) sorted by relevance

/external/pcre/dist2/src/
Dpcre2_newline.c169 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()
Dpcre2grep.c1311 previous_line(char *p, char *startptr) in previous_line() argument
1318 while (p > startptr && p[-1] != '\n') p--; in previous_line()
1323 while (p > startptr && p[-1] != '\n') p--; in previous_line()
1330 while (p > startptr && p[-1] != '\n') p--; in previous_line()
1331 if (p <= startptr + 1 || p[-2] == '\r') return p; in previous_line()
1337 if (*(--p) == '\n' && p > startptr && p[-1] == '\r') p--; in previous_line()
1340 while (p > startptr) in previous_line()
1395 return startptr; /* Hit start of data */ in previous_line()
/external/bison/lib/
Dmbuiter.h208 #define mbui_init(iter, startptr) \ argument
209 ((iter).cur.ptr = (startptr), \
/external/python/cpython2/Objects/stringlib/
Dstring_format.h158 STRINGLIB_CHAR *startptr = STRINGLIB_STR(output->obj); in output_extend() local
159 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()