/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_pattern_info.c | 402 cb.next_item_length = GET(cc, 1 + LINK_SIZE); in pcre2_callout_enumerate() 403 cb.callout_number = cc[1 + 2*LINK_SIZE]; in pcre2_callout_enumerate() 414 cb.next_item_length = GET(cc, 1 + LINK_SIZE); in pcre2_callout_enumerate() 416 cb.callout_string_offset = GET(cc, 1 + 3*LINK_SIZE); in pcre2_callout_enumerate() 418 GET(cc, 1 + 2*LINK_SIZE) - (1 + 4*LINK_SIZE) - 2; in pcre2_callout_enumerate() 419 cb.callout_string = cc + (1 + 4*LINK_SIZE) + 1; in pcre2_callout_enumerate() 422 cc += GET(cc, 1 + 2*LINK_SIZE); in pcre2_callout_enumerate()
|
H A D | config.h | 97 #ifndef LINK_SIZE 98 #define LINK_SIZE 2 macro
|
H A D | pcre2_study.c | 161 cc = cs + 1 + LINK_SIZE; in find_minlength() 172 if (cc[1+LINK_SIZE] == OP_RECURSE && cc[2*(1+LINK_SIZE)] == OP_KET) in find_minlength() 175 cc += 1 + LINK_SIZE; in find_minlength() 191 cc += 1 + LINK_SIZE; in find_minlength() 213 cc += 1 + LINK_SIZE; in find_minlength() 240 cc += 1 + LINK_SIZE; in find_minlength() 294 cc += 1 + LINK_SIZE; in find_minlength() 1123 ncode += 1 + LINK_SIZE; in set_start_bits() 1262 tcode += 1 + LINK_SIZE; in set_start_bits() 1273 tcode += 1 + LINK_SIZE; in set_start_bits() [all …]
|
H A D | pcre2_intmodedep.h | 104 #if LINK_SIZE == 2 112 #elif LINK_SIZE == 3 121 #elif LINK_SIZE == 4 140 #if LINK_SIZE == 2 141 #undef LINK_SIZE 142 #define LINK_SIZE 1 macro 149 #elif LINK_SIZE == 3 || LINK_SIZE == 4 150 #undef LINK_SIZE 151 #define LINK_SIZE 2 macro 167 #undef LINK_SIZE [all …]
|
H A D | pcre2_internal.h | 1773 1+LINK_SIZE, /* RECURSE */ \ 1774 1+2*LINK_SIZE+1, /* CALLOUT */ \ 1776 1+LINK_SIZE, /* Alt */ \ 1777 1+LINK_SIZE, /* Ket */ \ 1778 1+LINK_SIZE, /* KetRmax */ \ 1779 1+LINK_SIZE, /* KetRmin */ \ 1780 1+LINK_SIZE, /* KetRpos */ \ 1783 1+LINK_SIZE, /* Assert */ \ 1784 1+LINK_SIZE, /* Assert not */ \ 1785 1+LINK_SIZE, /* Assert behind */ \ [all …]
|
H A D | pcre2_printint.c | 409 fprintf(f, "%s %d", OP_names[*code], GET2(code, 1+LINK_SIZE)); in pcre2_printint() 655 fprintf(f, " %s %d %d %d", OP_names[*code], code[1 + 2*LINK_SIZE], in pcre2_printint() 656 GET(code, 1), GET(code, 1 + LINK_SIZE)); in pcre2_printint() 660 c = code[1 + 4*LINK_SIZE]; in pcre2_printint() 662 extra = GET(code, 1 + 2*LINK_SIZE); in pcre2_printint() 663 print_custring_bylen(f, code + 2 + 4*LINK_SIZE, extra - 3 - 4*LINK_SIZE); in pcre2_printint() 670 fprintf(f, "%c %d %d %d", c, GET(code, 1 + 3*LINK_SIZE), GET(code, 1), in pcre2_printint() 671 GET(code, 1 + LINK_SIZE)); in pcre2_printint() 698 ccode = code + LINK_SIZE + 1; in pcre2_printint()
|
H A D | pcre2_find_bracket.c | 84 else if (c == OP_CALLOUT_STR) code += GET(code, 1 + 2*LINK_SIZE); in PRIV() 99 int n = (int)GET2(code, 1+LINK_SIZE); in PRIV()
|
H A D | pcre2_dfa_match.c | 363 (PCRE2_SIZE)GET(code, 1 + 2*LINK_SIZE + extracode); in do_callout_dfa() 594 size_t back = (size_t)GET2(end_code, 2+LINK_SIZE); in internal_dfa_match() 674 int length = 1 + LINK_SIZE + in internal_dfa_match() 682 length = 1 + LINK_SIZE; in internal_dfa_match() 875 ADD_ACTIVE(state_offset + 1 + LINK_SIZE, 0); in internal_dfa_match() 2845 if (code[LINK_SIZE + 1] == OP_CALLOUT in internal_dfa_match() 2846 || code[LINK_SIZE + 1] == OP_CALLOUT_STR) in internal_dfa_match() 2850 1 + LINK_SIZE, &callout_length); in internal_dfa_match() 2856 condcode = code[LINK_SIZE+1]; in internal_dfa_match() 2896 PCRE2_SPTR asscode = code + LINK_SIZE + 1; in internal_dfa_match() [all …]
|
H A D | pcre2_compile.c | 6438 code += LINK_SIZE; in compile_branch() 6689 code[1+LINK_SIZE]++; in compile_branch() 7412 (void)memmove(previous + 1 + LINK_SIZE, previous, CU2BYTES(1 + LINK_SIZE)); in compile_branch() 7416 PUT(previous, 3 + 2*LINK_SIZE, 2 + 2*LINK_SIZE); in compile_branch() 7996 len += 1 + LINK_SIZE; in compile_branch() 8081 code += 1 + LINK_SIZE; in compile_branch() 8595 code += 1 + LINK_SIZE; in compile_regex() 8629 length += 1 + LINK_SIZE; in compile_regex() 8636 code += 1 + LINK_SIZE; in compile_regex() 8813 scode += 1 + LINK_SIZE; in is_startline() [all …]
|
H A D | pcre2_auto_possess.c | 580 code += GET(code, 1 + 2*LINK_SIZE); in compare_opcodes() 653 return (bracode[1+LINK_SIZE] == OP_VREVERSE)? FALSE : !entered_a_group; in compare_opcodes() 683 code = next_code + 1 + LINK_SIZE; in compare_opcodes() 701 next_code += 1 + LINK_SIZE; in compare_opcodes() 771 xclass_flags = (list_ptr == list ? code : base_end) - list_ptr[2] + LINK_SIZE; in compare_opcodes() 1095 list_ptr[2] + LINK_SIZE, utf)) return FALSE; in compare_opcodes() 1277 code += GET(code, 1 + 2*LINK_SIZE); in PRIV()
|
H A D | pcre2_config.c | 49 static int configured_link_size = LINK_SIZE;
|
H A D | pcre2_jit_compile.c | 868 cc += 1 + LINK_SIZE; in bracketend() 1154 cc += 1 + LINK_SIZE; in check_opcode_types() 1167 if (cc[1 + LINK_SIZE] == OP_CALLOUT || cc[1 + LINK_SIZE] == OP_CALLOUT_STR) in check_opcode_types() 1169 cc += 1 + LINK_SIZE; in check_opcode_types() 1197 cc += 1 + LINK_SIZE; in check_opcode_types() 1214 cc += 1 + LINK_SIZE; in check_opcode_types() 1768 max_end -= (1 + LINK_SIZE) + GET(max_end, -LINK_SIZE); in detect_repeat() 1876 cc += 1 + LINK_SIZE; in set_private_data_ptrs() 2112 cc += 1 + LINK_SIZE; in get_framesize() 2308 cc += 1 + LINK_SIZE; in init_frame() [all …]
|
H A D | pcre2_match.c | 323 *lengthptr - (1 + 4*LINK_SIZE) - 2; in do_callout() 871 Fecode += 1 + LINK_SIZE; in match() 5229 Fecode = Lnext_ecode + 1 + LINK_SIZE; in match() 5245 Fecode += 1 + LINK_SIZE; in match() 5280 number = GET2(Fecode, 1+LINK_SIZE); in match() 5324 Fecode += 1 + LINK_SIZE; in match() 5535 Fecode += 1 + LINK_SIZE; in match() 5583 Fecode += 1 + LINK_SIZE; in match() 5983 Fecode = P->ecode + 1 + LINK_SIZE; in match() 6060 number = GET2(bracode, 1+LINK_SIZE); in match() [all …]
|