Home
last modified time | relevance | path

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

/third_party/pcre2/pcre2/src/
Dpcre2_printint.c379 fprintf(f, "%s %d", OP_names[*code], GET2(code, 1+LINK_SIZE)); in pcre2_printint()
408 fprintf(f, " %s %d", OP_names[*code], GET2(code, 1)); in pcre2_printint()
412 fprintf(f, "%3d %s", GET2(code,1), OP_names[*code]); in pcre2_printint()
417 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint()
420 fprintf(f, ">%d", GET2(code, 1 + IMM2_SIZE)); in pcre2_printint()
425 c = GET2(code, 1); in pcre2_printint()
434 PCRE2_SPTR entry = nametable + (GET2(code, 1) * nesize) + IMM2_SIZE; in pcre2_printint()
437 fprintf(f, ">%d", GET2(code, 1 + IMM2_SIZE)); in pcre2_printint()
507 fprintf(f, "%d}", GET2(code,1)); in pcre2_printint()
524 fprintf(f, "%d}", GET2(code,1)); in pcre2_printint()
[all …]
Dpcre2_study.c203 recno = (int)GET2(cc, 1+LINK_SIZE); in find_minlength()
333 branchlength += GET2(cc,1); in find_minlength()
341 branchlength += GET2(cc,1); in find_minlength()
447 branchlength += GET2(cc,1); in find_minlength()
478 int count = GET2(cc, 1+IMM2_SIZE); in find_minlength()
481 GET2(cc, 1) * re->name_entry_size; in find_minlength()
490 recno = GET2(slot, 0); in find_minlength()
547 recno = GET2(cc, 1); in find_minlength()
620 min = GET2(cc, 1); in find_minlength()
644 recno = GET2(cs, 1+LINK_SIZE); in find_minlength()
[all …]
Dpcre2_substring.c86 uint32_t n = GET2(entry, 0); in pcre2_substring_copy_byname()
174 uint32_t n = GET2(entry, 0); in pcre2_substring_get_byname()
281 uint32_t n = GET2(entry, 0); in pcre2_substring_length_byname()
511 (int)GET2(entry, 0) : PCRE2_ERROR_NOUNIQUESUBSTRING; in pcre2_substring_nametable_scan()
Dpcre2_match.c770 number = GET2(Fecode, 1); in match()
1124 Lmin = Lmax = GET2(Fecode, 1); in match()
1132 Lmax = GET2(Fecode, 1); in match()
1140 Lmax = GET2(Fecode, 1); in match()
1148 Lmax = GET2(Fecode, 1); in match()
1478 Lmin = Lmax = GET2(Fecode, 1); in match()
1485 Lmax = GET2(Fecode, 1); in match()
1493 Lmax = GET2(Fecode, 1); in match()
1526 Lmax = GET2(Fecode, 1); in match()
1896 Lmin = GET2(Fecode, 1); in match()
[all …]
Dpcre2_dfa_match.c1372 if (++count >= (int)GET2(code, 1)) in internal_dfa_match()
1406 if (++count >= (int)GET2(code, 1)) in internal_dfa_match()
2022 if (++count >= (int)GET2(code, 1)) in internal_dfa_match()
2051 if (++count >= (int)GET2(code, 1)) in internal_dfa_match()
2093 if (++count >= (int)GET2(code, 1)) in internal_dfa_match()
2133 if (++count >= (int)GET2(code, 1)) in internal_dfa_match()
2170 if (++count >= (int)GET2(code, 1)) in internal_dfa_match()
2503 if (++count >= (int)GET2(code, 1)) in internal_dfa_match()
2548 if (++count >= (int)GET2(code, 1)) in internal_dfa_match()
2650 if (count >= (int)GET2(ecode, 1)) in internal_dfa_match()
[all …]
Dpcre2_find_bracket.c99 int n = (int)GET2(code, 1+LINK_SIZE); in PRIV()
Dpcre2_intmodedep.h62 #undef GET2
194 #define GET2(a,n) (unsigned int)(((a)[n] << 8) | (a)[(n)+1]) macro
199 #define GET2(a,n) a[n] macro
Dpcre2_jit_compile.c1099 common->optimized_cbracket[GET2(cc, 1)] = 0; in check_opcode_types()
1113 common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] = 0; in check_opcode_types()
1127 common->optimized_cbracket[GET2(cc, 1)] = 0; in check_opcode_types()
1134 count = GET2(cc, 1 + IMM2_SIZE); in check_opcode_types()
1135 slot = common->name_table + GET2(cc, 1) * common->name_entry_size; in check_opcode_types()
1138 common->optimized_cbracket[GET2(slot, 0)] = 0; in check_opcode_types()
1254 SLJIT_ASSERT(*cc != OP_CBRA || common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] != 0); in detect_early_fail()
1492 …if (*end != OP_KET || (*cc == OP_CBRA && common->optimized_cbracket[GET2(cc, 1 + LINK_SIZE)] == 0)) in detect_early_fail()
1597 min = GET2(cc, 1); in get_class_iterator_size()
1598 max = GET2(cc, 1 + IMM2_SIZE); in get_class_iterator_size()
[all …]
Dpcre2_substitute.c679 uint32_t ng = GET2(entry, 0); in pcre2_substitute()
694 if (group < 0) group = GET2(first, 0); in pcre2_substitute()
Dpcre2_auto_possess.c486 list[1] = (GET2(end, 1) == 0); in get_chr_property_list()
Dpcre2_compile.c5257 groupnumber = GET2(slot,0); in find_dupname_details()
8070 capnumber = GET2(code, 1 + LINK_SIZE); in compile_regex()
8323 int n = GET2(scode, 1+LINK_SIZE); in is_anchored()
8461 int n = GET2(scode, 1+LINK_SIZE); in is_startline()
/third_party/mtdev/src/
Dmatch.c50 #define GET2(m, row, col) ((m[col] >> (row)) & 1U) macro
61 if (GET2(mstar, row, col)) { in buildixvector()
198 if (!GET2(mstar, row, col)) in step2a()
261 if (GET2(mstar, row, cstar)) in step3()
302 if (GET2(mstar, rstar, cstar)) in step4()
312 if (GET2(mprime, primeRow, primeCol)) in step4()
321 if (GET2(mstar, rstar, cstar)) in step4()
/third_party/glib/glib/pcre/
Dpcre_study.c244 branchlength += GET2(cc,1); in find_minlength()
252 branchlength += GET2(cc,1); in find_minlength()
350 branchlength += GET2(cc,1); in find_minlength()
376 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1)); in find_minlength()
412 min = GET2(cc, 1); in find_minlength()
1270 if (GET2(tcode, 1) == 0) tcode += 1 + 2 * IMM2_SIZE; in set_start_bits()
Dpcre_get.c107 if (c == 0) return GET2(entry, 0); in pcre_get_stringnumber()
256 int n = GET2(entry, 0); in get_first_set()
259 return GET2(entry, 0); in get_first_set()
Dpcre_exec.c927 number = GET2(ecode, 1+LINK_SIZE); in match()
1096 number = GET2(ecode, 1+LINK_SIZE); in match()
1293 int recno = GET2(ecode, LINK_SIZE + 2); /* Recursion group number*/ in match()
1306 if (GET2(slotA, 0) == recno) break; in match()
1322 condition = GET2(slotB, 0) == md->recursive->group_num; in match()
1338 condition = GET2(slotB, 0) == md->recursive->group_num; in match()
1355 offset = GET2(ecode, LINK_SIZE+2) << 1; /* Doubled ref number */ in match()
1370 if (GET2(slotA, 0) == refno) break; in match()
1386 offset = GET2(slotB, 0) << 1; in match()
1404 offset = GET2(slotB, 0) << 1; in match()
[all …]
Dpcre_dfa_exec.c1238 if (++count >= GET2(code, 1)) in internal_dfa_exec()
1272 if (++count >= GET2(code, 1)) in internal_dfa_exec()
1876 if (++count >= GET2(code, 1)) in internal_dfa_exec()
1912 if (++count >= GET2(code, 1)) in internal_dfa_exec()
1952 if (++count >= GET2(code, 1)) in internal_dfa_exec()
1998 if (++count >= GET2(code, 1)) in internal_dfa_exec()
2053 if (++count >= GET2(code, 1)) in internal_dfa_exec()
2461 if (++count >= GET2(code, 1)) in internal_dfa_exec()
2510 if (++count >= GET2(code, 1)) in internal_dfa_exec()
2583 if (count >= GET2(ecode, 1)) in internal_dfa_exec()
[all …]
Dpcre_jit_compile.c940 offset = (GET2(cc, 1 + LINK_SIZE)) << 1; in init_frame()
1094 srcw[0] = OVECTOR_PRIV(GET2(cc, 1 + LINK_SIZE)); in copy_locals()
1101 srcw[1] = OVECTOR_PRIV(GET2(cc, 1 + LINK_SIZE)); in copy_locals()
3881 int offset = GET2(cc, 1) << 1; in compile_ref_checks()
3935 int offset = GET2(cc, 1) << 1; in compile_ref_trypath()
4052 min = GET2(cc, 1 + IMM2_SIZE + 1); in compile_ref_iterator_trypath()
4053 max = GET2(cc, 1 + IMM2_SIZE + 1 + IMM2_SIZE); in compile_ref_iterator_trypath()
4513 if (GET2(slotA, 0) == refno) break; in do_searchovector()
4529 condition = locals[GET2(slotB, 0) << 1] != no_capture; in do_searchovector()
4544 condition = locals[GET2(slotB, 0) << 1] != no_capture; in do_searchovector()
[all …]
Dpcre_compile.c1852 branchlength += GET2(cc,1); in find_fixedlength()
1860 branchlength += GET2(cc,1); in find_fixedlength()
1918 if (GET2(cc,1) != GET2(cc,1+IMM2_SIZE)) return -1; in find_fixedlength()
1919 branchlength += GET2(cc,1); in find_fixedlength()
2069 int n = GET2(code, 1+LINK_SIZE); in PRIV()
2491 if (GET2(ccode, 1) > 0) return FALSE; /* Minimum > 0 */ in could_be_empty_branch()
5872 recno = GET2(slot, 0); in compile_branch()
6107 if (GET2(slot, 0) != cd->bracount + 1 && in compile_branch()
6145 if (GET2(cslot, 0) == cd->bracount + 1) in compile_branch()
6249 recno = GET2(slot, 0); in compile_branch()
[all …]
Dpcre_internal.h503 #define GET2(a,n) \ macro
515 #define GET2(a,n) \ macro