/third_party/pcre2/pcre2/src/ |
D | pcre2_intmodedep.h | 655 PCRE2_SPTR subject; /* The subject that was matched */ 656 PCRE2_SPTR mark; /* Pointer to last mark */ 679 PCRE2_SPTR group; 690 PCRE2_SPTR group; 706 PCRE2_SPTR name; /* Points to the name in the pattern */ 721 PCRE2_SPTR start_workspace; /* The start of working space */ 722 PCRE2_SPTR start_code; /* The start of the compiled code */ 723 PCRE2_SPTR start_pattern; /* The start of the pattern */ 724 PCRE2_SPTR end_pattern; /* The end of the pattern */ 771 PCRE2_SPTR subject_position; [all …]
|
D | pcre2_extuni.c | 59 PCRE2_SPTR 60 PRIV(extuni)(uint32_t c, PCRE2_SPTR eptr, PCRE2_SPTR start_subject, in PRIV() 61 PCRE2_SPTR end_subject, BOOL utf, int *xcount) in PRIV() 91 PCRE2_SPTR 92 PRIV(extuni)(uint32_t c, PCRE2_SPTR eptr, PCRE2_SPTR start_subject, in PRIV() 93 PCRE2_SPTR end_subject, BOOL utf, int *xcount) in PRIV() 111 PCRE2_SPTR bptr = eptr - 1; in PRIV()
|
D | pcre2_substring.c | 73 pcre2_substring_copy_byname(pcre2_match_data *match_data, PCRE2_SPTR stringname, in pcre2_substring_copy_byname() 76 PCRE2_SPTR first, last, entry; in pcre2_substring_copy_byname() 162 PCRE2_SPTR stringname, PCRE2_UCHAR **stringptr, PCRE2_SIZE *sizeptr) in pcre2_substring_get_byname() 164 PCRE2_SPTR first, last, entry; in pcre2_substring_get_byname() 269 PCRE2_SPTR stringname, PCRE2_SIZE *sizeptr) in pcre2_substring_length_byname() 271 PCRE2_SPTR first, last, entry; in pcre2_substring_length_byname() 445 pcre2_substring_list_free(PCRE2_SPTR *list) in pcre2_substring_list_free() 480 pcre2_substring_nametable_scan(const pcre2_code *code, PCRE2_SPTR stringname, in pcre2_substring_nametable_scan() 481 PCRE2_SPTR *firstptr, PCRE2_SPTR *lastptr) in pcre2_substring_nametable_scan() 486 PCRE2_SPTR nametable = (PCRE2_SPTR)((char *)code + sizeof(pcre2_real_code)); in pcre2_substring_nametable_scan() [all …]
|
D | pcre2_string_utils.c | 102 PRIV(strcmp)(PCRE2_SPTR str1, PCRE2_SPTR str2) in PRIV() 130 PRIV(strcmp_c8)(PCRE2_SPTR str1, const char *str2) in PRIV() 157 PRIV(strncmp)(PCRE2_SPTR str1, PCRE2_SPTR str2, size_t len) in PRIV() 186 PRIV(strncmp_c8)(PCRE2_SPTR str1, const char *str2, size_t len) in PRIV() 209 PRIV(strlen)(PCRE2_SPTR str) in PRIV()
|
D | pcre2demo.c | 72 PCRE2_SPTR pattern; /* PCRE2_SPTR is a pointer to unsigned code units of */ in main() 73 PCRE2_SPTR subject; /* the appropriate width (in this case, 8 bits). */ in main() 74 PCRE2_SPTR name_table; in main() 128 pattern = (PCRE2_SPTR)argv[i]; in main() 129 subject = (PCRE2_SPTR)argv[i+1]; in main() 243 PCRE2_SPTR substring_start = subject + ovector[2*i]; in main() 266 PCRE2_SPTR tabptr; in main() 472 PCRE2_SPTR substring_start = subject + ovector[2*i]; in main() 479 PCRE2_SPTR tabptr = name_table; in main()
|
D | pcre2_substitute.c | 79 find_text_end(const pcre2_code *code, PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, in find_text_end() 85 PCRE2_SPTR ptr = *ptrptr; in find_text_end() 220 pcre2_substitute(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, in pcre2_substitute() 222 pcre2_match_context *mcontext, PCRE2_SPTR replacement, PCRE2_SIZE rlength, in pcre2_substitute() 242 PCRE2_SPTR ptr; in pcre2_substitute() 243 PCRE2_SPTR repend; in pcre2_substitute() 269 replacement = (PCRE2_SPTR)""; in pcre2_substitute() 324 scb.output = (PCRE2_SPTR)buffer; in pcre2_substitute() 332 subject = (PCRE2_SPTR)""; in pcre2_substitute() 378 PCRE2_SPTR ptrstack[PTR_STACK_SIZE]; in pcre2_substitute() [all …]
|
D | pcre2_convert.c | 125 convert_posix(uint32_t pattype, PCRE2_SPTR pattern, PCRE2_SIZE plength, in convert_posix() 130 PCRE2_SPTR posix = pattern; in convert_posix() 371 PCRE2_SPTR output_end; /* output end */ 406 PCRE2_SPTR output_end = out->output_end; in convert_glob_write_str() 476 convert_glob_parse_class(PCRE2_SPTR *from, PCRE2_SPTR pattern_end, in convert_glob_parse_class() 481 PCRE2_SPTR start = *from + 1; in convert_glob_parse_class() 482 PCRE2_SPTR pattern = start; in convert_glob_parse_class() 577 convert_glob_parse_range(PCRE2_SPTR *from, PCRE2_SPTR pattern_end, in convert_glob_parse_range() 584 PCRE2_SPTR pattern = *from; in convert_glob_parse_range() 585 PCRE2_SPTR char_start = NULL; in convert_glob_parse_range() [all …]
|
D | pcre2_internal.h | 155 #undef PCRE2_SPTR 156 #define PCRE2_SPTR CUSTOM_SUBJECT_PTR macro 2012 extern int _pcre2_check_escape(PCRE2_SPTR *, PCRE2_SPTR, uint32_t *, 2014 extern PCRE2_SPTR _pcre2_extuni(uint32_t, PCRE2_SPTR, PCRE2_SPTR, PCRE2_SPTR, 2016 extern PCRE2_SPTR _pcre2_find_bracket(PCRE2_SPTR, BOOL, int); 2017 extern BOOL _pcre2_is_newline(PCRE2_SPTR, uint32_t, PCRE2_SPTR, 2025 extern BOOL _pcre2_script_run(PCRE2_SPTR, PCRE2_SPTR, BOOL); 2026 extern int _pcre2_strcmp(PCRE2_SPTR, PCRE2_SPTR); 2027 extern int _pcre2_strcmp_c8(PCRE2_SPTR, const char *); 2029 extern PCRE2_SIZE _pcre2_strlen(PCRE2_SPTR); [all …]
|
D | pcre2_newline.c | 79 PRIV(is_newline)(PCRE2_SPTR ptr, uint32_t type, PCRE2_SPTR endptr, in PRIV() 169 PRIV(was_newline)(PCRE2_SPTR ptr, uint32_t type, PCRE2_SPTR startptr, in PRIV()
|
D | pcre2_dfa_match.c | 353 do_callout(PCRE2_SPTR code, PCRE2_SIZE *offsets, PCRE2_SPTR current_subject, in do_callout() 354 PCRE2_SPTR ptr, dfa_match_block *mb, PCRE2_SIZE extracode, in do_callout() 524 PCRE2_SPTR this_start_code, in internal_dfa_match() 525 PCRE2_SPTR current_subject, in internal_dfa_match() 537 PCRE2_SPTR ptr; in internal_dfa_match() 538 PCRE2_SPTR end_code; in internal_dfa_match() 545 PCRE2_SPTR start_subject = mb->start_subject; in internal_dfa_match() 546 PCRE2_SPTR end_subject = mb->end_subject; in internal_dfa_match() 547 PCRE2_SPTR start_code = mb->start_code; in internal_dfa_match() 748 PCRE2_SPTR code; in internal_dfa_match() [all …]
|
D | pcre2_printint.c | 92 print_char(FILE *f, PCRE2_SPTR ptr, BOOL utf) in print_char() 205 print_custring(FILE *f, PCRE2_SPTR ptr) in print_custring() 215 print_custring_bylen(FILE *f, PCRE2_SPTR ptr, PCRE2_UCHAR len) in print_custring_bylen() 302 print_prop(FILE *f, PCRE2_SPTR code, const char *before, const char *after) in print_prop() 341 PCRE2_SPTR codestart, nametable, code; in pcre2_printint() 345 nametable = (PCRE2_SPTR)((uint8_t *)re + sizeof(pcre2_real_code)); in pcre2_printint() 350 PCRE2_SPTR ccode; in pcre2_printint() 448 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint() 465 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint() 635 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint()
|
D | pcre2.h.in | 523 PCRE2_SPTR mark; /* Pointer to current mark or NULL */ \ 524 PCRE2_SPTR subject; /* The subject being matched */ \ 533 PCRE2_SPTR callout_string; /* String compiled into pattern */ \ 547 PCRE2_SPTR callout_string; /* String compiled into pattern */ \ 554 PCRE2_SPTR input; /* Pointer to input subject string */ \ 555 PCRE2_SPTR output; /* Pointer to output buffer */ \ 650 *pcre2_compile(PCRE2_SPTR, PCRE2_SIZE, uint32_t, int *, PCRE2_SIZE *, \ 679 pcre2_dfa_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 682 pcre2_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 686 PCRE2_EXP_DECL PCRE2_SPTR PCRE2_CALL_CONVENTION \ [all …]
|
D | pcre2.h.generic | 523 PCRE2_SPTR mark; /* Pointer to current mark or NULL */ \ 524 PCRE2_SPTR subject; /* The subject being matched */ \ 533 PCRE2_SPTR callout_string; /* String compiled into pattern */ \ 547 PCRE2_SPTR callout_string; /* String compiled into pattern */ \ 554 PCRE2_SPTR input; /* Pointer to input subject string */ \ 555 PCRE2_SPTR output; /* Pointer to output buffer */ \ 650 *pcre2_compile(PCRE2_SPTR, PCRE2_SIZE, uint32_t, int *, PCRE2_SIZE *, \ 679 pcre2_dfa_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 682 pcre2_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 686 PCRE2_EXP_DECL PCRE2_SPTR PCRE2_CALL_CONVENTION \ [all …]
|
D | pcre2_pattern_info.c | 106 return sizeof(PCRE2_SPTR); in pcre2_pattern_info() 233 *((PCRE2_SPTR *)where) = (PCRE2_SPTR)((char *)re + sizeof(pcre2_real_code)); in pcre2_pattern_info() 273 PCRE2_SPTR cc; in pcre2_callout_enumerate() 294 cc = (PCRE2_SPTR)((uint8_t *)re + sizeof(pcre2_real_code)) in pcre2_callout_enumerate()
|
D | pcre2_valid_utf.c | 63 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) in PRIV() 94 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) in PRIV() 96 PCRE2_SPTR p; in PRIV()
|
D | pcre2_auto_possess.c | 324 static PCRE2_SPTR 325 get_chr_property_list(PCRE2_SPTR code, BOOL utf, BOOL ucp, const uint8_t *fcc, in get_chr_property_list() 330 PCRE2_SPTR end; in get_chr_property_list() 536 compare_opcodes(PCRE2_SPTR code, BOOL utf, BOOL ucp, const compile_block *cb, in compare_opcodes() 537 const uint32_t *base_list, PCRE2_SPTR base_end, int *rec_limit) in compare_opcodes() 544 PCRE2_SPTR next_code; in compare_opcodes() 546 PCRE2_SPTR xclass_flags; in compare_opcodes() 1135 PCRE2_SPTR end; in PRIV()
|
D | pcre2_compile.c | 1317 read_number(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, int32_t allow_sign, in read_number() 1322 PCRE2_SPTR ptr = *ptrptr; in read_number() 1403 read_repeat_counts(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, uint32_t *minp, in read_repeat_counts() 1406 PCRE2_SPTR p; in read_repeat_counts() 1502 PRIV(check_escape)(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, uint32_t *chptr, in PRIV() 1507 PCRE2_SPTR ptr = *ptrptr; in PRIV() 1556 PCRE2_SPTR p = ptr + 1; in PRIV() 1601 PCRE2_SPTR oldptr; in PRIV() 1644 PCRE2_SPTR hptr = ptr + 1; in PRIV() 1741 PCRE2_SPTR p = ptr + 1; in PRIV() [all …]
|
D | pcre2_jit_compile.c | 180 PCRE2_SPTR str; 181 PCRE2_SPTR begin; 182 PCRE2_SPTR end; 184 PCRE2_SPTR startchar_ptr; 246 PCRE2_SPTR cc; 377 PCRE2_SPTR start; 412 PCRE2_SPTR fast_forward_bc_ptr; 454 PCRE2_SPTR name_table; 837 static PCRE2_SPTR bracketend(PCRE2_SPTR cc) in bracketend() 846 static int no_alternatives(PCRE2_SPTR cc) in no_alternatives() [all …]
|
D | pcre2_find_bracket.c | 69 PCRE2_SPTR 70 PRIV(find_bracket)(PCRE2_SPTR code, BOOL utf, int number) in PRIV()
|
D | pcre2_match.c | 358 PCRE2_SPTR p; in match_ref() 360 PCRE2_SPTR eptr; in match_ref() 361 PCRE2_SPTR eptr_start; in match_ref() 389 PCRE2_SPTR endptr = p + length; in match_ref() 583 match(PCRE2_SPTR start_eptr, PCRE2_SPTR start_ecode, PCRE2_SIZE *ovector, in match() 597 PCRE2_SPTR bracode; /* Temp pointer to start of group */ in match() 4327 PCRE2_SPTR fptr; in match() 4892 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() 5202 PCRE2_SPTR next_ecode = Fecode + GET(Fecode,1); in match() 5296 PCRE2_SPTR next_ecode = Fecode + GET(Fecode,1); in match() [all …]
|
D | pcre2_study.c | 103 find_minlength(const pcre2_real_code *re, PCRE2_SPTR code, in find_minlength() 104 PCRE2_SPTR startcode, BOOL utf, recurse_check *recurses, int *countptr, in find_minlength() 116 PCRE2_SPTR nextbranch = code + GET(code, 1); in find_minlength() 780 static PCRE2_SPTR 781 set_table_bit(pcre2_real_code *re, PCRE2_SPTR p, BOOL caseless, BOOL utf, in set_table_bit() 953 set_start_bits(pcre2_real_code *re, PCRE2_SPTR code, BOOL utf, BOOL ucp, in set_start_bits() 971 PCRE2_SPTR tcode = code + 1 + LINK_SIZE; in set_start_bits() 1518 PCRE2_SPTR p = tcode + 1 + LINK_SIZE + 1 + ((classmap == NULL)? 0:32); in set_start_bits()
|
D | pcre2_fuzzsupport.c | 144 code = pcre2_compile((PCRE2_SPTR)data, (PCRE2_SIZE)size, compile_options, in LLVMFuzzerTestOneInput() 209 errorcode = pcre2_match(code, (PCRE2_SPTR)data, (PCRE2_SIZE)match_size, 0, in LLVMFuzzerTestOneInput() 245 errorcode = pcre2_dfa_match(code, (PCRE2_SPTR)data, in LLVMFuzzerTestOneInput()
|
D | pcre2grep.c | 1279 if (pcre2_match(ep->compiled, (PCRE2_SPTR)path, plen, 0, 0, match_data, NULL) >= 0) in test_incexc() 1287 if (pcre2_match(ip->compiled, (PCRE2_SPTR)path, plen, 0, 0, match_data, NULL) >= 0) in test_incexc() 1834 *mrc = pcre2_match(p->compiled, (PCRE2_SPTR)matchptr, (int)length, in match_patterns() 1909 decode_dollar_escape(PCRE2_SPTR begin, PCRE2_SPTR string, BOOL callout, in decode_dollar_escape() 1910 uint32_t *value, PCRE2_SPTR *last) in decode_dollar_escape() 2092 syntax_check_output_text(PCRE2_SPTR string, BOOL callout) in syntax_check_output_text() 2095 PCRE2_SPTR begin = string; in syntax_check_output_text() 2127 display_output_text(PCRE2_SPTR string, BOOL callout, PCRE2_SPTR subject, in display_output_text() 2132 PCRE2_SPTR begin = string; in display_output_text() 2236 PCRE2_SPTR string = calloutptr->callout_string; in pcre2grep_callout() [all …]
|
D | pcre2_script_run.c | 85 PRIV(script_run)(PCRE2_SPTR ptr, PCRE2_SPTR endptr, BOOL utf) in PRIV()
|
/third_party/selinux/libselinux/src/ |
D | regex.c | 81 (PCRE2_SPTR)pattern_string, PCRE2_ZERO_TERMINATED, PCRE2_DOTALL, in regex_prepare_data() 136 (PCRE2_SPTR)mmap_area->next_addr, in regex_load_mmap() 218 regex->regex, (PCRE2_SPTR)subject, PCRE2_ZERO_TERMINATED, 0, in regex_match()
|