/external/pcre/dist2/src/ |
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_intmodedep.h | 656 PCRE2_SPTR subject; /* The subject that was matched */ 657 PCRE2_SPTR mark; /* Pointer to last mark */ 680 PCRE2_SPTR group; 691 PCRE2_SPTR group; 707 PCRE2_SPTR name; /* Points to the name in the pattern */ 722 PCRE2_SPTR start_workspace; /* The start of working space */ 723 PCRE2_SPTR start_code; /* The start of the compiled code */ 724 PCRE2_SPTR start_pattern; /* The start of the pattern */ 725 PCRE2_SPTR end_pattern; /* The end of the pattern */ 772 PCRE2_SPTR subject_position; [all …]
|
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() 127 pattern = (PCRE2_SPTR)argv[i]; in main() 128 subject = (PCRE2_SPTR)argv[i+1]; in main() 234 PCRE2_SPTR substring_start = subject + ovector[2*i]; in main() 257 PCRE2_SPTR tabptr; in main() 463 PCRE2_SPTR substring_start = subject + ovector[2*i]; in main() 470 PCRE2_SPTR tabptr = name_table; in main()
|
D | pcre2_substitute.c | 78 find_text_end(const pcre2_code *code, PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, in find_text_end() 84 PCRE2_SPTR ptr = *ptrptr; in find_text_end() 217 pcre2_substitute(const pcre2_code *code, PCRE2_SPTR subject, PCRE2_SIZE length, in pcre2_substitute() 219 pcre2_match_context *mcontext, PCRE2_SPTR replacement, PCRE2_SIZE rlength, in pcre2_substitute() 236 PCRE2_SPTR ptr; in pcre2_substitute() 237 PCRE2_SPTR repend; in pcre2_substitute() 275 scb.output = (PCRE2_SPTR)buffer; in pcre2_substitute() 318 PCRE2_SPTR ptrstack[PTR_STACK_SIZE]; in pcre2_substitute() 466 PCRE2_SPTR text1_start = NULL; in pcre2_substitute() 467 PCRE2_SPTR text1_end = NULL; in pcre2_substitute() [all …]
|
D | pcre2_internal.h | 155 #undef PCRE2_SPTR 156 #define PCRE2_SPTR CUSTOM_SUBJECT_PTR macro 1955 extern int _pcre2_check_escape(PCRE2_SPTR *, PCRE2_SPTR, uint32_t *, 1957 extern PCRE2_SPTR _pcre2_extuni(uint32_t, PCRE2_SPTR, PCRE2_SPTR, PCRE2_SPTR, 1959 extern PCRE2_SPTR _pcre2_find_bracket(PCRE2_SPTR, BOOL, int); 1960 extern BOOL _pcre2_is_newline(PCRE2_SPTR, uint32_t, PCRE2_SPTR, 1968 extern BOOL _pcre2_script_run(PCRE2_SPTR, PCRE2_SPTR, BOOL); 1969 extern int _pcre2_strcmp(PCRE2_SPTR, PCRE2_SPTR); 1970 extern int _pcre2_strcmp_c8(PCRE2_SPTR, const char *); 1972 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_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_dfa_match.c | 349 do_callout(PCRE2_SPTR code, PCRE2_SIZE *offsets, PCRE2_SPTR current_subject, in do_callout() 350 PCRE2_SPTR ptr, dfa_match_block *mb, PCRE2_SIZE extracode, in do_callout() 520 PCRE2_SPTR this_start_code, in internal_dfa_match() 521 PCRE2_SPTR current_subject, in internal_dfa_match() 533 PCRE2_SPTR ptr; in internal_dfa_match() 534 PCRE2_SPTR end_code; in internal_dfa_match() 541 PCRE2_SPTR start_subject = mb->start_subject; in internal_dfa_match() 542 PCRE2_SPTR end_subject = mb->end_subject; in internal_dfa_match() 543 PCRE2_SPTR start_code = mb->start_code; in internal_dfa_match() 743 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() 272 print_prop(FILE *f, PCRE2_SPTR code, const char *before, const char *after) in print_prop() 310 PCRE2_SPTR codestart, nametable, code; in pcre2_printint() 314 nametable = (PCRE2_SPTR)((uint8_t *)re + sizeof(pcre2_real_code)); in pcre2_printint() 319 PCRE2_SPTR ccode; in pcre2_printint() 415 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint() 432 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint() 602 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint()
|
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.h.in | 513 PCRE2_SPTR mark; /* Pointer to current mark or NULL */ \ 514 PCRE2_SPTR subject; /* The subject being matched */ \ 523 PCRE2_SPTR callout_string; /* String compiled into pattern */ \ 537 PCRE2_SPTR callout_string; /* String compiled into pattern */ \ 544 PCRE2_SPTR input; /* Pointer to input subject string */ \ 545 PCRE2_SPTR output; /* Pointer to output buffer */ \ 640 *pcre2_compile(PCRE2_SPTR, PCRE2_SIZE, uint32_t, int *, PCRE2_SIZE *, \ 669 pcre2_dfa_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 672 pcre2_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 676 PCRE2_EXP_DECL PCRE2_SPTR PCRE2_CALL_CONVENTION \ [all …]
|
D | pcre2.h.generic | 513 PCRE2_SPTR mark; /* Pointer to current mark or NULL */ \ 514 PCRE2_SPTR subject; /* The subject being matched */ \ 523 PCRE2_SPTR callout_string; /* String compiled into pattern */ \ 537 PCRE2_SPTR callout_string; /* String compiled into pattern */ \ 544 PCRE2_SPTR input; /* Pointer to input subject string */ \ 545 PCRE2_SPTR output; /* Pointer to output buffer */ \ 640 *pcre2_compile(PCRE2_SPTR, PCRE2_SIZE, uint32_t, int *, PCRE2_SIZE *, \ 669 pcre2_dfa_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 672 pcre2_match(const pcre2_code *, PCRE2_SPTR, PCRE2_SIZE, PCRE2_SIZE, \ 676 PCRE2_EXP_DECL PCRE2_SPTR PCRE2_CALL_CONVENTION \ [all …]
|
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 | 306 static PCRE2_SPTR 307 get_chr_property_list(PCRE2_SPTR code, BOOL utf, const uint8_t *fcc, in get_chr_property_list() 312 PCRE2_SPTR end; in get_chr_property_list() 515 compare_opcodes(PCRE2_SPTR code, BOOL utf, const compile_block *cb, in compare_opcodes() 516 const uint32_t *base_list, PCRE2_SPTR base_end, int *rec_limit) in compare_opcodes() 523 PCRE2_SPTR next_code; in compare_opcodes() 525 PCRE2_SPTR xclass_flags; in compare_opcodes() 1107 PCRE2_SPTR end; in PRIV()
|
D | pcre2_compile.c | 1287 read_number(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, int32_t allow_sign, in read_number() 1292 PCRE2_SPTR ptr = *ptrptr; in read_number() 1373 read_repeat_counts(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, uint32_t *minp, in read_repeat_counts() 1376 PCRE2_SPTR p = *ptrptr; in read_repeat_counts() 1461 PRIV(check_escape)(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, uint32_t *chptr, in PRIV() 1466 PCRE2_SPTR ptr = *ptrptr; in PRIV() 1515 PCRE2_SPTR p = ptr + 1; in PRIV() 1560 PCRE2_SPTR oldptr; in PRIV() 1603 PCRE2_SPTR hptr = ptr + 1; in PRIV() 1700 PCRE2_SPTR p = ptr + 1; in PRIV() [all …]
|
D | pcre2_find_bracket.c | 69 PCRE2_SPTR 70 PRIV(find_bracket)(PCRE2_SPTR code, BOOL utf, int number) in PRIV()
|
D | pcre2_jit_compile.c | 179 PCRE2_SPTR str; 180 PCRE2_SPTR begin; 181 PCRE2_SPTR end; 183 PCRE2_SPTR startchar_ptr; 245 PCRE2_SPTR cc; 374 PCRE2_SPTR start; 409 PCRE2_SPTR fast_forward_bc_ptr; 446 PCRE2_SPTR name_table; 807 static PCRE2_SPTR bracketend(PCRE2_SPTR cc) in bracketend() 816 static int no_alternatives(PCRE2_SPTR cc) in no_alternatives() [all …]
|
D | pcre2_fuzzsupport.c | 144 code = pcre2_compile((PCRE2_SPTR)data, (PCRE2_SIZE)size, compile_options, in LLVMFuzzerTestOneInput() 205 errorcode = pcre2_match(code, (PCRE2_SPTR)data, (PCRE2_SIZE)match_size, 0, in LLVMFuzzerTestOneInput() 241 errorcode = pcre2_dfa_match(code, (PCRE2_SPTR)data, in LLVMFuzzerTestOneInput()
|
D | pcre2_script_run.c | 85 PRIV(script_run)(PCRE2_SPTR ptr, PCRE2_SPTR endptr, BOOL utf) in PRIV()
|
D | pcre2_match.c | 357 PCRE2_SPTR p; in match_ref() 359 PCRE2_SPTR eptr; in match_ref() 360 PCRE2_SPTR eptr_start; in match_ref() 395 PCRE2_SPTR endptr = p + length; in match_ref() 564 match(PCRE2_SPTR start_eptr, PCRE2_SPTR start_ecode, PCRE2_SIZE *ovector, in match() 578 PCRE2_SPTR bracode; /* Temp pointer to start of group */ in match() 4060 PCRE2_SPTR fptr; in match() 4625 PCRE2_SPTR slot = mb->name_table + GET2(Fecode, 1) * mb->name_entry_size; in match() 4935 PCRE2_SPTR next_ecode = Fecode + GET(Fecode,1); in match() 5029 PCRE2_SPTR next_ecode = Fecode + GET(Fecode,1); in match() [all …]
|
D | pcre2_study.c | 101 find_minlength(const pcre2_real_code *re, PCRE2_SPTR code, in find_minlength() 102 PCRE2_SPTR startcode, BOOL utf, recurse_check *recurses, int *countptr, in find_minlength() 758 static PCRE2_SPTR 759 set_table_bit(pcre2_real_code *re, PCRE2_SPTR p, BOOL caseless, BOOL utf) in set_table_bit() 918 set_start_bits(pcre2_real_code *re, PCRE2_SPTR code, BOOL utf) in set_start_bits() 932 PCRE2_SPTR tcode = code + 1 + LINK_SIZE; in set_start_bits()
|
D | pcre2posix.c | 301 preg->re_pcre2_code = pcre2_compile((PCRE2_SPTR)pattern, patlen, options, in pcre2_regcomp() 385 (PCRE2_SPTR)string + so, (eo - so), 0, options, md, NULL); in pcre2_regexec()
|
/external/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()
|