/third_party/pcre2/pcre2/src/ |
D | pcre2_valid_utf.c | 63 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 = (PCRE2_SIZE)(p - string); in PRIV() 151 *erroroffset = (PCRE2_SIZE)(p - string); in PRIV() 158 *erroroffset = (PCRE2_SIZE)(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 …]
|
D | pcre2demo.c | 88 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()
|
D | pcre2_fuzzsupport.c | 110 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()
|
D | pcre2_compile.c | 4812 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 = offset; in compile_branch() [all …]
|
D | pcre2_convert.c | 1092 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()
|
D | pcre2_jit_test.c | 2003 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()
|
D | pcre2_intmodedep.h | 732 PCRE2_SIZE erroroffset; /* Offset of error in pattern */ member
|
D | pcre2test.c | 5177 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()
|
/third_party/pcre2/pcre2/doc/ |
D | pcre2.txt | 207 uint32_t options, int *errorcode, PCRE2_SIZE *erroroffset, 1294 uint32_t options, int *errorcode, PCRE2_SIZE *erroroffset, 1367 If errorcode or erroroffset is NULL, pcre2_compile() returns NULL imme- 1387 The value returned in erroroffset is an indication of where in the pat- 10473 PCRE2_SIZE erroroffset; 10477 PCRE2_ZERO_TERMINATED, 0, &errorcode, &erroroffset, NULL); 10479 PCRE2_ZERO_TERMINATED, 0, &errorcode, &erroroffset, NULL);
|
/third_party/pcre2/pcre2/ |
D | ChangeLog | 793 36. Small patch to pcre2posix.c to set the erroroffset field to -1 immediately
|