/external/pcre/dist2/src/ |
D | pcre2_printint.c | 379 fprintf(f, "%s %d", OP_names[*code], GET2(code, 1+LINK_SIZE)); in pcre2_printint() 406 fprintf(f, " %s %d", OP_names[*code], GET2(code, 1)); in pcre2_printint() 410 fprintf(f, "%3d %s", GET2(code,1), OP_names[*code]); in pcre2_printint() 415 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint() 418 fprintf(f, ">%d", GET2(code, 1 + IMM2_SIZE)); in pcre2_printint() 423 c = GET2(code, 1); in pcre2_printint() 432 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint() 435 fprintf(f, ">%d", GET2(code, 1 + IMM2_SIZE)); in pcre2_printint() 505 fprintf(f, "%d}", GET2(code,1)); in pcre2_printint() 522 fprintf(f, "%d}", GET2(code,1)); in pcre2_printint() [all …]
|
D | pcre2_study.c | 185 recno = dupcapused? prev_cap_recno - 1 : (int)GET2(cc, 1+LINK_SIZE); in find_minlength() 309 branchlength += GET2(cc,1); in find_minlength() 317 branchlength += GET2(cc,1); in find_minlength() 423 branchlength += GET2(cc,1); in find_minlength() 452 int count = GET2(cc, 1+IMM2_SIZE); in find_minlength() 455 GET2(cc, 1) * re->name_entry_size; in find_minlength() 463 ce = cs = (PCRE2_UCHAR *)PRIV(find_bracket)(startcode, utf, GET2(slot, 0)); in find_minlength() 506 ce = cs = (PCRE2_UCHAR *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1)); in find_minlength() 559 min = GET2(cc, 1); in find_minlength() 583 recno = GET2(cs, 1+LINK_SIZE); in find_minlength() [all …]
|
D | pcre2_substring.c | 86 uint32_t n = GET2(entry, 0); in pcre2_substring_copy_byname() 174 uint32_t n = GET2(entry, 0); in pcre2_substring_get_byname() 281 uint32_t n = GET2(entry, 0); in pcre2_substring_length_byname() 506 (int)GET2(entry, 0) : PCRE2_ERROR_NOUNIQUESUBSTRING; in pcre2_substring_nametable_scan()
|
D | pcre2_match.c | 1004 number = GET2(ecode, 1+LINK_SIZE); in match() 1160 number = GET2(ecode, 1+LINK_SIZE); in match() 1369 uint32_t recno = GET2(ecode, 1); /* Recursion group number*/ in match() 1377 int count = GET2(ecode, 1 + IMM2_SIZE); in match() 1378 PCRE2_SPTR slot = mb->name_table + GET2(ecode, 1) * mb->name_entry_size; in match() 1381 uint32_t recno = GET2(slot, 0); in match() 1390 offset = GET2(ecode, 1) << 1; /* Doubled ref number */ in match() 1397 int count = GET2(ecode, 1 + IMM2_SIZE); in match() 1398 PCRE2_SPTR slot = mb->name_table + GET2(ecode, 1) * mb->name_entry_size; in match() 1401 offset = GET2(slot, 0) << 1; in match() [all …]
|
D | pcre2_dfa_match.c | 1217 if (++count >= (int)GET2(code, 1)) in internal_dfa_match() 1251 if (++count >= (int)GET2(code, 1)) in internal_dfa_match() 1889 if (++count >= (int)GET2(code, 1)) in internal_dfa_match() 1928 if (++count >= (int)GET2(code, 1)) in internal_dfa_match() 1970 if (++count >= (int)GET2(code, 1)) in internal_dfa_match() 2010 if (++count >= (int)GET2(code, 1)) in internal_dfa_match() 2047 if (++count >= (int)GET2(code, 1)) in internal_dfa_match() 2390 if (++count >= (int)GET2(code, 1)) in internal_dfa_match() 2435 if (++count >= (int)GET2(code, 1)) in internal_dfa_match() 2537 if (count >= (int)GET2(ecode, 1)) in internal_dfa_match() [all …]
|
D | pcre2_find_bracket.c | 99 int n = (int)GET2(code, 1+LINK_SIZE); in PRIV()
|
D | pcre2_intmodedep.h | 61 #undef GET2 193 #define GET2(a,n) (unsigned int)(((a)[n] << 8) | (a)[(n)+1]) macro 198 #define GET2(a,n) a[n] macro
|
D | pcre2_jit_compile.c | 833 common->optimized_cbracket[GET2(cc, 1)] = 0; in check_opcode_types() 839 common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] = 0; in check_opcode_types() 853 common->optimized_cbracket[GET2(cc, 1)] = 0; in check_opcode_types() 860 count = GET2(cc, 1 + IMM2_SIZE); in check_opcode_types() 861 slot = common->name_table + GET2(cc, 1) * common->name_entry_size; in check_opcode_types() 864 common->optimized_cbracket[GET2(slot, 0)] = 0; in check_opcode_types() 1041 if (common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] == 0) in detect_fast_forward_skip() 1064 if (*cc == OP_CBRA && common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] == 0) in detect_fast_fail() 1139 min = GET2(cc, 1); in get_class_iterator_size() 1140 max = GET2(cc, 1 + IMM2_SIZE); in get_class_iterator_size() [all …]
|
D | pcre2_substitute.c | 580 uint32_t ng = GET2(entry, 0); in pcre2_substitute() 595 if (group < 0) group = GET2(first, 0); in pcre2_substitute()
|
D | pcre2_compile.c | 913 group = GET2(cc, 0); in find_fixedlength() 1083 branchlength += GET2(cc,1); in find_fixedlength() 1091 branchlength += GET2(cc,1); in find_fixedlength() 1158 if (GET2(cc,1) != GET2(cc,1+IMM2_SIZE)) goto ISNOTFIXED; in find_fixedlength() 1159 branchlength += GET2(cc,1); in find_fixedlength() 1388 group = GET2(code, 1 + LINK_SIZE); in could_be_empty_branch() 1581 if (GET2(ccode, 1) > 0) goto ISFALSE; /* Minimum > 0 */ in could_be_empty_branch() 6376 recno = GET2(slot, 0); /* Number for last found */ in compile_branch() 7651 capnumber = GET2(code, 1 + LINK_SIZE); in compile_regex() 7962 int n = GET2(scode, 1+LINK_SIZE); in is_anchored() [all …]
|
D | pcre2_auto_possess.c | 484 list[1] = (GET2(end, 1) == 0); in get_chr_property_list()
|