Home
last modified time | relevance | path

Searched refs:LINK_SIZE (Results 1 – 19 of 19) sorted by relevance

/external/pcre/dist2/src/
Dpcre2_study.c105 register PCRE2_UCHAR *cc = (PCRE2_UCHAR *)code + 1 + LINK_SIZE; in find_minlength()
144 cc = cs + 1 + LINK_SIZE; in find_minlength()
155 if (cc[1+LINK_SIZE] == OP_RECURSE && cc[2*(1+LINK_SIZE)] == OP_KET) in find_minlength()
157 once_fudge = 1 + LINK_SIZE; in find_minlength()
158 cc += 1 + LINK_SIZE; in find_minlength()
173 cc += 1 + LINK_SIZE; in find_minlength()
185 recno = dupcapused? prev_cap_recno - 1 : (int)GET2(cc, 1+LINK_SIZE); in find_minlength()
194 cc += 1 + LINK_SIZE; in find_minlength()
218 cc += 1 + LINK_SIZE; in find_minlength()
256 cc += GET(cc, 1 + 2*LINK_SIZE); in find_minlength()
[all …]
Dpcre2_intmodedep.h103 #if LINK_SIZE == 2
111 #elif LINK_SIZE == 3
120 #elif LINK_SIZE == 4
131 #error LINK_SIZE must be 2, 3, or 4
139 #if LINK_SIZE == 2
140 #undef LINK_SIZE
141 #define LINK_SIZE 1 macro
148 #elif LINK_SIZE == 3 || LINK_SIZE == 4
149 #undef LINK_SIZE
150 #define LINK_SIZE 2 macro
[all …]
Dpcre2_pattern_info.c380 cb.next_item_length = GET(cc, 1 + LINK_SIZE); in pcre2_callout_enumerate()
381 cb.callout_number = cc[1 + 2*LINK_SIZE]; in pcre2_callout_enumerate()
392 cb.next_item_length = GET(cc, 1 + LINK_SIZE); in pcre2_callout_enumerate()
394 cb.callout_string_offset = GET(cc, 1 + 3*LINK_SIZE); in pcre2_callout_enumerate()
396 GET(cc, 1 + 2*LINK_SIZE) - (1 + 4*LINK_SIZE) - 2; in pcre2_callout_enumerate()
397 cb.callout_string = cc + (1 + 4*LINK_SIZE) + 1; in pcre2_callout_enumerate()
400 cc += GET(cc, 1 + 2*LINK_SIZE); in pcre2_callout_enumerate()
Dpcre2_internal.h1711 1+LINK_SIZE, /* RECURSE */ \
1712 1+2*LINK_SIZE+1, /* CALLOUT */ \
1714 1+LINK_SIZE, /* Alt */ \
1715 1+LINK_SIZE, /* Ket */ \
1716 1+LINK_SIZE, /* KetRmax */ \
1717 1+LINK_SIZE, /* KetRmin */ \
1718 1+LINK_SIZE, /* KetRpos */ \
1719 1+LINK_SIZE, /* Reverse */ \
1720 1+LINK_SIZE, /* Assert */ \
1721 1+LINK_SIZE, /* Assert not */ \
[all …]
Dpcre2_dfa_match.c420 first_op = this_start_code + 1 + LINK_SIZE + in internal_dfa_match()
442 size_t back = (size_t)GET(end_code, 2+LINK_SIZE); in internal_dfa_match()
484 size_t back = (size_t)GET(end_code, 2+LINK_SIZE); in internal_dfa_match()
487 int bstate = (int)(end_code - start_code + 2 + 2*LINK_SIZE); in internal_dfa_match()
519 int length = 1 + LINK_SIZE + in internal_dfa_match()
527 length = 1 + LINK_SIZE; in internal_dfa_match()
720 ADD_ACTIVE(state_offset + 1 + LINK_SIZE, 0); in internal_dfa_match()
764 ADD_ACTIVE((int)(code - start_code + 1 + LINK_SIZE), 0); in internal_dfa_match()
773 ADD_ACTIVE((int)(code - start_code + 1 + LINK_SIZE + IMM2_SIZE), 0); in internal_dfa_match()
777 ADD_ACTIVE((int)(code - start_code + 1 + LINK_SIZE), 0); in internal_dfa_match()
[all …]
Dpcre2_compile.c116 #define COMPILE_WORK_SIZE (2048*LINK_SIZE) /* Size in code units */
820 PUT(code, 1 + LINK_SIZE, 0); /* Default length */ in auto_callout()
821 code[1 + 2*LINK_SIZE] = 255; in auto_callout()
848 PUT(previous_callout, 1 + LINK_SIZE, length); in complete_callout()
904 register PCRE2_UCHAR *cc = code + 1 + LINK_SIZE; in find_fixedlength()
956 cc += 1 + LINK_SIZE; in find_fixedlength()
981 cc += 1 + LINK_SIZE; in find_fixedlength()
1005 cc += 1 + LINK_SIZE; in find_fixedlength()
1019 cc += 1 + LINK_SIZE; in find_fixedlength()
1060 cc += GET(cc, 1 + 2*LINK_SIZE); in find_fixedlength()
[all …]
Dpcre2_printint.c379 fprintf(f, "%s %d", OP_names[*code], GET2(code, 1+LINK_SIZE)); in pcre2_printint()
611 fprintf(f, " %s %d %d %d", OP_names[*code], code[1 + 2*LINK_SIZE], in pcre2_printint()
612 GET(code, 1), GET(code, 1 + LINK_SIZE)); in pcre2_printint()
616 c = code[1 + 4*LINK_SIZE]; in pcre2_printint()
618 extra = GET(code, 1 + 2*LINK_SIZE); in pcre2_printint()
619 print_custring_bylen(f, code + 2 + 4*LINK_SIZE, extra - 3 - 4*LINK_SIZE); in pcre2_printint()
626 fprintf(f, "%c %d %d %d", c, GET(code, 1 + 3*LINK_SIZE), GET(code, 1), in pcre2_printint()
627 GET(code, 1 + LINK_SIZE)); in pcre2_printint()
654 ccode = code + LINK_SIZE + 1; in pcre2_printint()
Dpcre2_find_bracket.c84 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()
Dpcre2_match.c925 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, mb, eptrb, RM64); in match()
964 ecode += 1+LINK_SIZE; in match()
974 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, mb, eptrb, RM65); in match()
983 ecode += 1 + LINK_SIZE; in match()
1004 number = GET2(ecode, 1+LINK_SIZE); in match()
1160 number = GET2(ecode, 1+LINK_SIZE); in match()
1229 ecode += 1 + LINK_SIZE; in match()
1287 ecode += 1 + LINK_SIZE; in match()
1308 ecode += 1 + LINK_SIZE; /* From this opcode */ in match()
1316 ? PRIV(OP_lengths)[OP_CALLOUT] : GET(ecode, 1 + 2*LINK_SIZE); in match()
[all …]
Dpcre2_jit_compile.c585 cc += 1 + LINK_SIZE; in bracketend()
794 return cc + GET(cc, 1 + 2*LINK_SIZE); in next_opcode()
839 common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] = 0; in check_opcode_types()
840 cc += 1 + LINK_SIZE + IMM2_SIZE; in check_opcode_types()
847 if (cc[1 + LINK_SIZE] == OP_CALLOUT || cc[1 + LINK_SIZE] == OP_CALLOUT_STR) in check_opcode_types()
849 cc += 1 + LINK_SIZE; in check_opcode_types()
877 cc += 1 + LINK_SIZE; in check_opcode_types()
887 cc += (*cc == OP_CALLOUT) ? PRIV(OP_lengths)[OP_CALLOUT] : GET(cc, 1 + 2*LINK_SIZE); in check_opcode_types()
894 cc += 1 + LINK_SIZE; in check_opcode_types()
1041 if (common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] == 0) in detect_fast_forward_skip()
[all …]
Dpcre2_auto_possess.c557 code += GET(code, 1 + 2*LINK_SIZE); in compare_opcodes()
613 code = next_code + 1 + LINK_SIZE; in compare_opcodes()
631 next_code += 1 + LINK_SIZE; in compare_opcodes()
696 xclass_flags = (list_ptr == list ? code : base_end) - list_ptr[2] + LINK_SIZE; in compare_opcodes()
1020 list_ptr[2] + LINK_SIZE, utf)) return FALSE; in compare_opcodes()
1196 code += GET(code, 1 + 2*LINK_SIZE); in PRIV()
Dpcre2_config.c48 static int configured_link_size = LINK_SIZE;
Dconfig.h.generic137 /* The value of LINK_SIZE determines the number of bytes used to store links
142 #ifndef LINK_SIZE
143 #define LINK_SIZE 2
Dconfig.h.in137 /* The value of LINK_SIZE determines the number of bytes used to store links
142 #undef LINK_SIZE
/external/pcre/include_internal/
Dconfig.h139 #ifndef LINK_SIZE
140 #define LINK_SIZE 2 macro
/external/pcre/dist2/
DHACKING171 In many cases listed below, LINK_SIZE data values are specified for offsets
172 within the compiled pattern. LINK_SIZE always specifies a number of bytes. The
173 default value for LINK_SIZE is 2, except for the 32-bit library, where it can
176 impairs performance. Specifing a LINK_SIZE larger than 2 for these libraries is
178 units are going to be processed. When a LINK_SIZE value uses more than one code
370 OP_XCLASS is followed by a LINK_SIZE value containing the total length of the
440 bracket opcode is followed by a LINK_SIZE value which gives the offset to the
442 OP_KET opcode. Each OP_ALT is followed by a LINK_SIZE value giving the offset
449 a LINK_SIZE value giving (as a positive number) the offset back to the matching
562 OP_RECURSE is followed by a LINK_SIZE value that is the offset to the starting
[all …]
Dconfig-cmake.h.in38 #define LINK_SIZE @PCRE2_LINK_SIZE@ macro
Dconfigure.ac649 AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_link_size], [ definition
650 The value of LINK_SIZE determines the number of bytes used to store
DCMakeLists.txt137 "Internal link size (2, 3 or 4 allowed). See LINK_SIZE in config.h.in for details.")