Home
last modified time | relevance | path

Searched refs:erroroffset (Results 1 - 8 of 8) sorted by relevance

/third_party/pcre2/pcre2/src/
H A Dpcre2_valid_utf.c63 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) in valid_utf() argument
67 (void)erroroffset; in valid_utf()
94 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) in valid_utf() argument
145 *erroroffset = (PCRE2_SIZE)(p - string); in valid_utf()
151 *erroroffset = (PCRE2_SIZE)(p - string); in valid_utf()
158 *erroroffset = (PCRE2_SIZE)(p - string); in valid_utf()
174 *erroroffset = (int)(p - string) - 1; in valid_utf()
189 *erroroffset = (int)(p - string) - 1; in valid_utf()
201 *erroroffset = (int)(p - string) - 2; in valid_utf()
206 *erroroffset in valid_utf()
[all...]
H A Dpcre2demo.c88 PCRE2_SIZE erroroffset; in main() local
143 &erroroffset, /* for error offset */ in main()
152 printf("PCRE2 compilation failed at offset %d: %s\n", (int)erroroffset, in main()
H A Dpcre2_fuzzsupport.c110 PCRE2_SIZE erroroffset; in LLVMFuzzerTestOneInput() local
145 &errorcode, &erroroffset, NULL); in LLVMFuzzerTestOneInput()
272 printf("Error %d at offset %lu: %s\n", errorcode, erroroffset, buffer); in LLVMFuzzerTestOneInput()
H A Dpcre2_jit_test.c2003 PCRE2_SIZE length, erroroffset; in run_invalid_utf8_test() local
2010 current->compile_options, &errorcode, &erroroffset, ccontext); in run_invalid_utf8_test()
2013 printf("Pattern[%d:0] cannot be compiled. Error offset: %d\n", pattern_index, (int)erroroffset); in run_invalid_utf8_test()
2212 PCRE2_SIZE length, erroroffset; in run_invalid_utf16_test() local
2220 current->compile_options, &errorcode, &erroroffset, ccontext); in run_invalid_utf16_test()
2223 printf("Pattern[%d:0] cannot be compiled. Error offset: %d\n", pattern_index, (int)erroroffset); in run_invalid_utf16_test()
2399 PCRE2_SIZE length, erroroffset; in run_invalid_utf32_test() local
2407 current->compile_options, &errorcode, &erroroffset, ccontext); in run_invalid_utf32_test()
2410 printf("Pattern[%d:0] cannot be compiled. Error offset: %d\n", pattern_index, (int)erroroffset); in run_invalid_utf32_test()
H A Dpcre2_compile.c4812 cb->erroroffset = (PCRE2_SIZE)(ptr - cb->start_pattern); in parse_regex()
5331 cb->erroroffset = name - cb->start_pattern; in find_dupname_details()
6385 cb->erroroffset = offset + i; in compile_branch()
6394 cb->erroroffset = offset; in compile_branch()
6452 cb->erroroffset = offset; in compile_branch()
6623 cb->erroroffset = offset; in compile_branch()
6640 cb->erroroffset = offset; in compile_branch()
6805 cb->erroroffset = offset; in compile_branch()
7776 cb->erroroffset = offset; in compile_branch()
7815 cb->erroroffset in compile_branch()
9764 pcre2_compile(PCRE2_SPTR pattern, PCRE2_SIZE patlen, uint32_t options, int *errorptr, PCRE2_SIZE *erroroffset, pcre2_compile_context *ccontext) pcre2_compile() argument
[all...]
H A Dpcre2_convert.c1092 PCRE2_SIZE erroroffset; in pcre2_pattern_convert() local
1093 rc = PRIV(valid_utf)(pattern, plength, &erroroffset); in pcre2_pattern_convert()
1096 *bufflenptr = erroroffset; in pcre2_pattern_convert()
H A Dpcre2_intmodedep.h732 PCRE2_SIZE erroroffset; /* Offset of error in pattern */ member
H A Dpcre2test.c5177 PCRE2_SIZE erroroffset; in process_pattern() local
5850 pat_patctl.options|use_forbid_utf, &errorcode, &erroroffset, in process_pattern()
5865 &errorcode, &erroroffset, use_pat_context); in process_pattern()
5883 pat_patctl.options|use_forbid_utf, &errorcode, &erroroffset, in process_pattern()
5933 (int)erroroffset); in process_pattern()
7385 PCRE2_SIZE j, rlen, nsize, erroroffset; in process_data() local
7470 if (utf) badutf = valid_utf(pr, strlen((const char *)pr), &erroroffset); in process_data()

Completed in 28 milliseconds