Home
last modified time | relevance | path

Searched refs:erroroffset (Results 1 – 5 of 5) sorted by relevance

/external/pcre/dist2/src/
Dpcre2_valid_utf.c63 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) in PRIV()
67 (void)erroroffset; in PRIV()
94 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) in PRIV()
145 *erroroffset = (int)(p - string); in PRIV()
151 *erroroffset = (int)(p - string); in PRIV()
158 *erroroffset = (int)(p - string); in PRIV()
174 *erroroffset = (int)(p - string) - 1; in PRIV()
189 *erroroffset = (int)(p - string) - 1; in PRIV()
201 *erroroffset = (int)(p - string) - 2; in PRIV()
206 *erroroffset = (int)(p - string) - 2; in PRIV()
[all …]
Dpcre2demo.c88 PCRE2_SIZE erroroffset; in main() local
142 &erroroffset, /* for error offset */ in main()
151 printf("PCRE2 compilation failed at offset %d: %s\n", (int)erroroffset, in main()
Dpcre2test.c4467 PCRE2_SIZE erroroffset; in process_pattern() local
4936 pat_patctl.options|forbid_utf, &errorcode, &erroroffset, use_pat_context); in process_pattern()
4950 &errorcode, &erroroffset, use_pat_context); in process_pattern()
4959 (int)erroroffset); in process_pattern()
5000 pat_patctl.options|forbid_utf, &errorcode, &erroroffset, in process_pattern()
6111 PCRE2_SIZE rlen, nsize, erroroffset; in process_data() local
6170 if (utf) badutf = valid_utf(pr, strlen((const char *)pr), &erroroffset); in process_data()
Dpcre2_compile.c8313 int *errorptr, PCRE2_SIZE *erroroffset, pcre2_compile_context *ccontext) in pcre2_compile() argument
8358 if (errorptr == NULL || erroroffset == NULL) return NULL; in pcre2_compile()
8360 *erroroffset = 0; in pcre2_compile()
8561 (errorcode = PRIV(valid_utf)(pattern, patlen, erroroffset)) != 0) in pcre2_compile()
8940 *erroroffset = (int)(ptr - pattern); in pcre2_compile()
/external/pcre/dist2/doc/
Dpcre2.txt191 uint32_t options, int *errorcode, PCRE2_SIZE *erroroffset,
1098 uint32_t options, int *errorcode, PCRE2_SIZE *erroroffset,
1151 If errorcode or erroroffset is NULL, pcre2_compile() returns NULL imme-
8993 PCRE2_SIZE erroroffset;
8997 PCRE2_ZERO_TERMINATED, 0, &errorcode, &erroroffset, NULL);
8999 PCRE2_ZERO_TERMINATED, 0, &errorcode, &erroroffset, NULL);