/external/pcre/dist2/src/ |
D | pcre2_study.c | 115 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() 184 cc += 1 + LINK_SIZE; in find_minlength() 196 recno = (int)GET2(cc, 1+LINK_SIZE); in find_minlength() 206 cc += 1 + LINK_SIZE; in find_minlength() 230 cc += 1 + LINK_SIZE; in find_minlength() 268 cc += GET(cc, 1 + 2*LINK_SIZE); in find_minlength() [all …]
|
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()
|
D | pcre2_intmodedep.h | 104 #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 …]
|
D | pcre2_internal.h | 1704 1+LINK_SIZE, /* RECURSE */ \ 1705 1+2*LINK_SIZE+1, /* CALLOUT */ \ 1707 1+LINK_SIZE, /* Alt */ \ 1708 1+LINK_SIZE, /* Ket */ \ 1709 1+LINK_SIZE, /* KetRmax */ \ 1710 1+LINK_SIZE, /* KetRmin */ \ 1711 1+LINK_SIZE, /* KetRpos */ \ 1712 1+LINK_SIZE, /* Reverse */ \ 1713 1+LINK_SIZE, /* Assert */ \ 1714 1+LINK_SIZE, /* Assert not */ \ [all …]
|
D | pcre2_dfa_match.c | 357 (PCRE2_SIZE)GET(code, 1 + 2*LINK_SIZE + extracode); in do_callout() 368 cb->next_item_length = GET(code, 1 + LINK_SIZE + extracode); in do_callout() 372 cb->callout_number = code[1 + 2*LINK_SIZE + extracode]; in do_callout() 380 cb->callout_string_offset = GET(code, 1 + 3*LINK_SIZE + extracode); in do_callout() 381 cb->callout_string = code + (1 + 4*LINK_SIZE + extracode) + 1; in do_callout() 382 cb->callout_string_length = *lengthptr - (1 + 4*LINK_SIZE) - 2; in do_callout() 587 size_t back = (size_t)GET(end_code, 2+LINK_SIZE); in internal_dfa_match() 631 uint32_t revlen = (end_code[1+LINK_SIZE] == OP_REVERSE)? 1 + LINK_SIZE : 0; in internal_dfa_match() 632 size_t back = (revlen == 0)? 0 : (size_t)GET(end_code, 2+LINK_SIZE); in internal_dfa_match() 635 int bstate = (int)(end_code - start_code + 1 + LINK_SIZE + revlen); in internal_dfa_match() [all …]
|
D | pcre2_printint.c | 379 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()
|
D | pcre2_compile.c | 163 #define COMPILE_WORK_SIZE (3000*LINK_SIZE) /* Size in code units */ 4685 code += GET(code, 1 + 2*LINK_SIZE); in first_significant_code() 4689 code += 2 + GET(code, 2) + LINK_SIZE; in first_significant_code() 4694 if (code[1+LINK_SIZE] != OP_FALSE || /* Not DEFINE */ in first_significant_code() 4697 code += GET(code, 1) + 1 + LINK_SIZE; in first_significant_code() 5517 class_uchardata = code + LINK_SIZE + 2; /* For XCLASS items */ in compile_branch() 5938 code += LINK_SIZE; in compile_branch() 6122 code[1+LINK_SIZE] = (meta == META_COND_RNAME)? OP_RREF : OP_CREF; in compile_branch() 6123 PUT2(code, 2+LINK_SIZE, ng->number); in compile_branch() 6165 code[1+LINK_SIZE] = OP_RREF; in compile_branch() [all …]
|
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()
|
D | pcre2_auto_possess.c | 557 code += GET(code, 1 + 2*LINK_SIZE); in compare_opcodes() 649 code = next_code + 1 + LINK_SIZE; in compare_opcodes() 667 next_code += 1 + LINK_SIZE; in compare_opcodes() 736 xclass_flags = (list_ptr == list ? code : base_end) - list_ptr[2] + LINK_SIZE; in compare_opcodes() 1060 list_ptr[2] + LINK_SIZE, utf)) return FALSE; in compare_opcodes() 1236 code += GET(code, 1 + 2*LINK_SIZE); in PRIV()
|
D | pcre2_jit_compile.c | 812 cc += 1 + LINK_SIZE; in bracketend() 1021 return cc + GET(cc, 1 + 2*LINK_SIZE); in next_opcode() 1075 common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] = 0; in check_opcode_types() 1076 cc += 1 + LINK_SIZE + IMM2_SIZE; in check_opcode_types() 1083 if (cc[1 + LINK_SIZE] == OP_CALLOUT || cc[1 + LINK_SIZE] == OP_CALLOUT_STR) in check_opcode_types() 1085 cc += 1 + LINK_SIZE; in check_opcode_types() 1113 cc += 1 + LINK_SIZE; in check_opcode_types() 1123 cc += (*cc == OP_CALLOUT) ? PRIV(OP_lengths)[OP_CALLOUT] : GET(cc, 1 + 2*LINK_SIZE); in check_opcode_types() 1130 cc += 1 + LINK_SIZE; in check_opcode_types() 1278 if (common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] == 0) in detect_fast_forward_skip() [all …]
|
D | pcre2_match.c | 274 PRIV(OP_lengths)[OP_CALLOUT] : GET(Fecode, 1 + 2*LINK_SIZE); in do_callout() 301 cb->next_item_length = GET(Fecode, 1 + LINK_SIZE); in do_callout() 305 cb->callout_number = Fecode[1 + 2*LINK_SIZE]; in do_callout() 313 cb->callout_string_offset = GET(Fecode, 1 + 3*LINK_SIZE); in do_callout() 314 cb->callout_string = Fecode + (1 + 4*LINK_SIZE) + 1; in do_callout() 316 *lengthptr - (1 + 4*LINK_SIZE) - 2; in do_callout() 807 Fecode += 1 + LINK_SIZE; in match() 2037 Lxclass_data = Fecode + 1 + LINK_SIZE; /* Save for matching */ in match() 4855 Fecode = Lnext_ecode + 1 + LINK_SIZE; in match() 4861 RMATCH(Lnext_ecode + 1 + LINK_SIZE, RM10); in match() [all …]
|
D | pcre2_config.c | 48 static int configured_link_size = LINK_SIZE;
|
D | config.h.generic | 146 /* The value of LINK_SIZE determines the number of bytes used to store links 151 #ifndef LINK_SIZE 152 #define LINK_SIZE 2
|
D | config.h.in | 147 /* The value of LINK_SIZE determines the number of bytes used to store links 152 #undef LINK_SIZE
|
/external/pcre/include_internal/ |
D | config.h | 153 #define LINK_SIZE 2 macro
|
/external/pcre/dist2/ |
D | config-cmake.h.in | 43 #define LINK_SIZE @PCRE2_LINK_SIZE@ macro
|
D | HACKING | 368 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 …]
|
D | configure.ac | 755 AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_link_size], [ definition 756 The value of LINK_SIZE determines the number of bytes used to store
|
D | CMakeLists.txt | 160 "Internal link size (2, 3 or 4 allowed). See LINK_SIZE in config.h.in for details.")
|