Home
last modified time | relevance | path

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

/external/pcre/dist2/src/
Dpcre2_study.c115 PCRE2_UCHAR *cc = (PCRE2_UCHAR *)code + 1 + LINK_SIZE; in find_minlength()
154 cc = cs + 1 + LINK_SIZE; in find_minlength()
165 if (cc[1+LINK_SIZE] == OP_RECURSE && cc[2*(1+LINK_SIZE)] == OP_KET) in find_minlength()
167 once_fudge = 1 + LINK_SIZE; in find_minlength()
168 cc += 1 + LINK_SIZE; in find_minlength()
183 cc += 1 + LINK_SIZE; in find_minlength()
195 recno = (int)GET2(cc, 1+LINK_SIZE); in find_minlength()
205 cc += 1 + LINK_SIZE; in find_minlength()
229 cc += 1 + LINK_SIZE; in find_minlength()
267 cc += GET(cc, 1 + 2*LINK_SIZE); in find_minlength()
[all …]
Dpcre2_intmodedep.h104 #if LINK_SIZE == 2
112 #elif LINK_SIZE == 3
121 #elif LINK_SIZE == 4
132 #error LINK_SIZE must be 2, 3, or 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
[all …]
Dpcre2_pattern_info.c402 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()
Dpcre2_internal.h1668 1+LINK_SIZE, /* RECURSE */ \
1669 1+2*LINK_SIZE+1, /* CALLOUT */ \
1671 1+LINK_SIZE, /* Alt */ \
1672 1+LINK_SIZE, /* Ket */ \
1673 1+LINK_SIZE, /* KetRmax */ \
1674 1+LINK_SIZE, /* KetRmin */ \
1675 1+LINK_SIZE, /* KetRpos */ \
1676 1+LINK_SIZE, /* Reverse */ \
1677 1+LINK_SIZE, /* Assert */ \
1678 1+LINK_SIZE, /* Assert not */ \
[all …]
Dpcre2_dfa_match.c354 (PCRE2_SIZE)GET(code, 1 + 2*LINK_SIZE + extracode); in do_callout()
365 cb->next_item_length = GET(code, 1 + LINK_SIZE + extracode); in do_callout()
369 cb->callout_number = code[1 + 2*LINK_SIZE + extracode]; in do_callout()
377 cb->callout_string_offset = GET(code, 1 + 3*LINK_SIZE + extracode); in do_callout()
378 cb->callout_string = code + (1 + 4*LINK_SIZE + extracode) + 1; in do_callout()
379 cb->callout_string_length = *lengthptr - (1 + 4*LINK_SIZE) - 2; in do_callout()
580 size_t back = (size_t)GET(end_code, 2+LINK_SIZE); in internal_dfa_match()
624 uint32_t revlen = (end_code[1+LINK_SIZE] == OP_REVERSE)? 1 + LINK_SIZE : 0; in internal_dfa_match()
625 size_t back = (revlen == 0)? 0 : (size_t)GET(end_code, 2+LINK_SIZE); in internal_dfa_match()
628 int bstate = (int)(end_code - start_code + 1 + LINK_SIZE + revlen); in internal_dfa_match()
[all …]
Dpcre2_compile.c163 #define COMPILE_WORK_SIZE (3000*LINK_SIZE) /* Size in code units */
4409 code += GET(code, 1 + 2*LINK_SIZE); in first_significant_code()
4413 code += 2 + GET(code, 2) + LINK_SIZE; in first_significant_code()
4418 if (code[1+LINK_SIZE] != OP_FALSE || /* Not DEFINE */ in first_significant_code()
4421 code += GET(code, 1) + 1 + LINK_SIZE; in first_significant_code()
5233 class_uchardata = code + LINK_SIZE + 2; /* For XCLASS items */ in compile_branch()
5654 code += LINK_SIZE; in compile_branch()
5832 code[1+LINK_SIZE] = (meta == META_COND_RNAME)? OP_RREF : OP_CREF; in compile_branch()
5833 PUT2(code, 2+LINK_SIZE, ng->number); in compile_branch()
5875 code[1+LINK_SIZE] = OP_RREF; in compile_branch()
[all …]
Dpcre2_printint.c379 fprintf(f, "%s %d", OP_names[*code], GET2(code, 1+LINK_SIZE)); in pcre2_printint()
610 fprintf(f, " %s %d %d %d", OP_names[*code], code[1 + 2*LINK_SIZE], in pcre2_printint()
611 GET(code, 1), GET(code, 1 + LINK_SIZE)); in pcre2_printint()
615 c = code[1 + 4*LINK_SIZE]; in pcre2_printint()
617 extra = GET(code, 1 + 2*LINK_SIZE); in pcre2_printint()
618 print_custring_bylen(f, code + 2 + 4*LINK_SIZE, extra - 3 - 4*LINK_SIZE); in pcre2_printint()
625 fprintf(f, "%c %d %d %d", c, GET(code, 1 + 3*LINK_SIZE), GET(code, 1), in pcre2_printint()
626 GET(code, 1 + LINK_SIZE)); in pcre2_printint()
653 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_jit_compile.c626 cc += 1 + LINK_SIZE; in bracketend()
834 return cc + GET(cc, 1 + 2*LINK_SIZE); in next_opcode()
880 common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] = 0; in check_opcode_types()
881 cc += 1 + LINK_SIZE + IMM2_SIZE; in check_opcode_types()
888 if (cc[1 + LINK_SIZE] == OP_CALLOUT || cc[1 + LINK_SIZE] == OP_CALLOUT_STR) in check_opcode_types()
890 cc += 1 + LINK_SIZE; in check_opcode_types()
918 cc += 1 + LINK_SIZE; in check_opcode_types()
928 cc += (*cc == OP_CALLOUT) ? PRIV(OP_lengths)[OP_CALLOUT] : GET(cc, 1 + 2*LINK_SIZE); in check_opcode_types()
935 cc += 1 + LINK_SIZE; in check_opcode_types()
1083 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()
641 code = next_code + 1 + LINK_SIZE; in compare_opcodes()
659 next_code += 1 + LINK_SIZE; in compare_opcodes()
728 xclass_flags = (list_ptr == list ? code : base_end) - list_ptr[2] + LINK_SIZE; in compare_opcodes()
1052 list_ptr[2] + LINK_SIZE, utf)) return FALSE; in compare_opcodes()
1228 code += GET(code, 1 + 2*LINK_SIZE); in PRIV()
Dpcre2_match.c273 PRIV(OP_lengths)[OP_CALLOUT] : GET(Fecode, 1 + 2*LINK_SIZE); in do_callout()
300 cb->next_item_length = GET(Fecode, 1 + LINK_SIZE); in do_callout()
304 cb->callout_number = Fecode[1 + 2*LINK_SIZE]; in do_callout()
312 cb->callout_string_offset = GET(Fecode, 1 + 3*LINK_SIZE); in do_callout()
313 cb->callout_string = Fecode + (1 + 4*LINK_SIZE) + 1; in do_callout()
315 *lengthptr - (1 + 4*LINK_SIZE) - 2; in do_callout()
806 Fecode += 1 + LINK_SIZE; in match()
2036 Lxclass_data = Fecode + 1 + LINK_SIZE; /* Save for matching */ in match()
4854 Fecode = Lnext_ecode + 1 + LINK_SIZE; in match()
4860 RMATCH(Lnext_ecode + 1 + LINK_SIZE, RM10); in match()
[all …]
Dpcre2_config.c48 static int configured_link_size = LINK_SIZE;
Dconfig.h.generic142 /* The value of LINK_SIZE determines the number of bytes used to store links
147 #ifndef LINK_SIZE
148 #define LINK_SIZE 2
Dconfig.h.in140 /* The value of LINK_SIZE determines the number of bytes used to store links
145 #undef LINK_SIZE
/external/pcre/include_internal/
Dconfig.h146 #define LINK_SIZE 2 macro
/external/pcre/dist2/
Dconfig-cmake.h.in39 #define LINK_SIZE @PCRE2_LINK_SIZE@ macro
DHACKING368 In many cases listed below, LINK_SIZE data values are specified for offsets
369 within the compiled pattern. LINK_SIZE always specifies a number of bytes. The
370 default value for LINK_SIZE is 2, except for the 32-bit library, where it can
373 impairs performance. Specifing a LINK_SIZE larger than 2 for these libraries is
375 units are going to be processed. When a LINK_SIZE value uses more than one code
587 OP_XCLASS is followed by a LINK_SIZE value containing the total length of the
657 bracket opcode is followed by a LINK_SIZE value which gives the offset to the
659 opcode. Each OP_ALT is followed by a LINK_SIZE value giving the offset to the
667 details). All four are followed by a LINK_SIZE value giving (as a positive
772 OP_RECURSE is followed by a LINK_SIZE value that is the offset to the starting
[all …]
Dconfigure.ac711 AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_link_size], [ definition
712 The value of LINK_SIZE determines the number of bytes used to store
DCMakeLists.txt157 "Internal link size (2, 3 or 4 allowed). See LINK_SIZE in config.h.in for details.")