Home
last modified time | relevance | path

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

/external/pcre/dist/
Dpcre_internal.h427 #if LINK_SIZE == 2
439 #elif LINK_SIZE == 3
452 #elif LINK_SIZE == 4
467 #error LINK_SIZE must be either 2, 3, or 4
472 #if LINK_SIZE == 2
475 #undef LINK_SIZE
476 #define LINK_SIZE 1 macro
486 #elif LINK_SIZE == 3 || LINK_SIZE == 4
489 #undef LINK_SIZE
490 #define LINK_SIZE 2 macro
[all …]
Dpcre_compile.c115 #define COMPILE_WORK_SIZE (2048*LINK_SIZE)
1742 register pcre_uchar *cc = code + 1 + LINK_SIZE; in find_fixedlength()
1770 cc += 1 + LINK_SIZE; in find_fixedlength()
1787 cc += 1 + LINK_SIZE; in find_fixedlength()
1811 cc += 1 + LINK_SIZE; in find_fixedlength()
1821 cc += 1 + LINK_SIZE; in find_fixedlength()
2107 int n = (int)GET2(code, 1+LINK_SIZE); in PRIV()
2440 for (tcode = cd->start_workspace; tcode < cd->hwm; tcode += LINK_SIZE) in could_be_empty_branch()
3213 code = next_code + 1 + LINK_SIZE; in compare_opcodes()
3231 next_code += 1 + LINK_SIZE; in compare_opcodes()
[all …]
Dpcre_study.c93 register pcre_uchar *cc = (pcre_uchar *)code + 1 + LINK_SIZE; in find_minlength()
121 cc = cs + 1 + LINK_SIZE; in find_minlength()
142 cc += 1 + LINK_SIZE; in find_minlength()
166 cc += 1 + LINK_SIZE; in find_minlength()
210 cc += 1 + LINK_SIZE; in find_minlength()
526 cc += 1 + LINK_SIZE; in find_minlength()
833 const pcre_uchar *tcode = code + 1 + LINK_SIZE; in set_start_bits()
978 tcode += 1 + LINK_SIZE; in set_start_bits()
1003 tcode += 2 + 2*LINK_SIZE; in set_start_bits()
1012 tcode += 1 + LINK_SIZE; in set_start_bits()
[all …]
Dpcre_dfa_exec.c456 first_op = this_start_code + 1 + LINK_SIZE + in internal_dfa_exec()
478 int back = GET(end_code, 2+LINK_SIZE); in internal_dfa_exec()
520 int back = GET(end_code, 2+LINK_SIZE); in internal_dfa_exec()
523 int bstate = (int)(end_code - start_code + 2 + 2*LINK_SIZE); in internal_dfa_exec()
555 int length = 1 + LINK_SIZE + in internal_dfa_exec()
563 length = 1 + LINK_SIZE; in internal_dfa_exec()
777 ADD_ACTIVE(state_offset + 1 + LINK_SIZE, 0); in internal_dfa_exec()
828 ADD_ACTIVE((int)(code - start_code + 1 + LINK_SIZE), 0); in internal_dfa_exec()
837 ADD_ACTIVE((int)(code - start_code + 1 + LINK_SIZE + IMM2_SIZE), 0); in internal_dfa_exec()
841 ADD_ACTIVE((int)(code - start_code + 1 + LINK_SIZE), 0); in internal_dfa_exec()
[all …]
Dpcre_byte_order.c289 if (LINK_SIZE > 1) in pcre_pattern_to_host_byte_order()
297 length = (GET(ptr, -LINK_SIZE)) - (1 + LINK_SIZE + 1); in pcre_pattern_to_host_byte_order()
Dpcre_jit_compile.c549 cc += 1 + LINK_SIZE; in bracketend()
803 common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] = 0; in check_opcode_types()
804 cc += 1 + LINK_SIZE + IMM2_SIZE; in check_opcode_types()
811 if (cc[1 + LINK_SIZE] == OP_CALLOUT) in check_opcode_types()
813 cc += 1 + LINK_SIZE; in check_opcode_types()
841 cc += 1 + LINK_SIZE; in check_opcode_types()
850 cc += 2 + 2 * LINK_SIZE; in check_opcode_types()
934 if (end[-(1 + LINK_SIZE)] != OP_KET) in detect_repeat()
938 if (common->private_data_ptrs[end - common->start - LINK_SIZE] != 0) in detect_repeat()
964 if (next[0] != type || next[1] != OP_BRA || next[2 + LINK_SIZE] != *begin) in detect_repeat()
[all …]
Dpcre_exec.c879 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM64); in match()
918 ecode += 1+LINK_SIZE; in match()
928 RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM65); in match()
937 ecode += 1 + LINK_SIZE; in match()
958 number = GET2(ecode, 1+LINK_SIZE); in match()
1129 number = GET2(ecode, 1+LINK_SIZE); in match()
1209 ecode += 1 + LINK_SIZE; in match()
1268 ecode += 1 + LINK_SIZE; in match()
1289 ecode += 1 + LINK_SIZE; /* From this opcode */ in match()
1313 cb.next_item_length = GET(ecode, 2 + LINK_SIZE); in match()
[all …]
Dpcre_config.c49 static int real_link_size = LINK_SIZE;
Dconfig-cmake.h.in48 #define LINK_SIZE @PCRE_LINK_SIZE@ macro
Dpcre_printint.c397 fprintf(f, "%s %d", priv_OP_names[*code], GET2(code, 1+LINK_SIZE)); in pcre_printint()
628 GET(code, 2 + LINK_SIZE)); in pcre_printint()
656 ccode = code + LINK_SIZE + 1; in pcre_printint()
DHACKING153 In many cases listed below, LINK_SIZE data values are specified for offsets
154 within the compiled pattern. LINK_SIZE always specifies a number of bytes. The
155 default value for LINK_SIZE is 2, but PCRE can be compiled to use 3-byte or
157 LINK_SIZE values are available only in 8-bit mode.) Specifing a LINK_SIZE
408 A bracket opcode is followed by LINK_SIZE bytes which give the offset to the
410 OP_KET opcode. Each OP_ALT is followed by LINK_SIZE bytes giving the offset to
417 LINK_SIZE bytes giving (as a positive number) the offset back to the matching
Dpcretest.c1075 #if LINK_SIZE == 2
1076 #undef LINK_SIZE
1077 #define LINK_SIZE 1 macro
1078 #elif LINK_SIZE == 3 || LINK_SIZE == 4
1079 #undef LINK_SIZE
1080 #define LINK_SIZE 2 macro
1082 #error LINK_SIZE must be either 2, 3, or 4
1093 #undef LINK_SIZE
1094 #define LINK_SIZE 1 macro
2645 if (LINK_SIZE > 1) in regexflip8_or_16()
[all …]
Dconfig.h.generic156 /* The value of LINK_SIZE determines the number of bytes used to store links
161 #ifndef LINK_SIZE
162 #define LINK_SIZE 2
Dconfig.h.in156 /* The value of LINK_SIZE determines the number of bytes used to store links
161 #undef LINK_SIZE
Dconfigure.ac787 AC_DEFINE_UNQUOTED([LINK_SIZE], [$with_link_size], [ definition
788 The value of LINK_SIZE determines the number of bytes used to store
DCMakeLists.txt134 "Internal link size (2, 3 or 4 allowed). See LINK_SIZE in config.h.in for details.")
DChangeLog1374 internal workspace, and dependent on the LINK_SIZE. The code has been
1376 the default depends on LINK_SIZE. There is a new upper limit (for safety)
3044 the compiled pattern, which depends on the LINK_SIZE setting.
/external/pcre/
Dconfig.h162 #define LINK_SIZE 2 macro