Lines Matching refs:code
325 get_chr_property_list(PCRE2_SPTR code, BOOL utf, BOOL ucp, const uint8_t *fcc, in get_chr_property_list() argument
328 PCRE2_UCHAR c = *code; in get_chr_property_list()
343 code++; in get_chr_property_list()
351 code += IMM2_SIZE; in get_chr_property_list()
375 list[0] = *code; in get_chr_property_list()
376 code++; in get_chr_property_list()
402 return code; in get_chr_property_list()
406 GETCHARINCTEST(chr, code); in get_chr_property_list()
409 return code; in get_chr_property_list()
414 GETCHARINCTEST(chr, code); in get_chr_property_list()
434 return code; in get_chr_property_list()
439 if (code[0] != PT_CLIST) in get_chr_property_list()
441 list[2] = code[0]; in get_chr_property_list()
442 list[3] = code[1]; in get_chr_property_list()
443 return code + 2; in get_chr_property_list()
448 clist_src = PRIV(ucd_caseless_sets) + code[1]; in get_chr_property_list()
450 code += 2; in get_chr_property_list()
457 list[2] = code[0]; in get_chr_property_list()
458 list[3] = code[1]; in get_chr_property_list()
459 return code; in get_chr_property_list()
469 return code; in get_chr_property_list()
477 end = code + GET(code, 0) - 1; in get_chr_property_list()
480 end = code + 32 / sizeof(PCRE2_UCHAR); in get_chr_property_list()
507 list[2] = (uint32_t)(end - code); in get_chr_property_list()
536 compare_opcodes(PCRE2_SPTR code, BOOL utf, BOOL ucp, const compile_block *cb, in compare_opcodes() argument
566 c = *code; in compare_opcodes()
572 code += PRIV(OP_lengths)[c]; in compare_opcodes()
578 code += GET(code, 1 + 2*LINK_SIZE); in compare_opcodes()
586 do code += GET(code, 1); while (*code == OP_ALT); in compare_opcodes()
587 c = *code; in compare_opcodes()
620 switch(*(code - GET(code, 1))) in compare_opcodes()
659 code += PRIV(OP_lengths)[c]; in compare_opcodes()
667 next_code = code + GET(code, 1); in compare_opcodes()
668 code += PRIV(OP_lengths)[c]; in compare_opcodes()
675 if (!compare_opcodes(code, utf, ucp, cb, base_list, base_end, rec_limit)) in compare_opcodes()
677 code = next_code + 1 + LINK_SIZE; in compare_opcodes()
687 next_code = code + 1; in compare_opcodes()
700 code += PRIV(OP_lengths)[c]; in compare_opcodes()
713 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
714 if (code == NULL) return FALSE; /* Unsupported */ in compare_opcodes()
750 set1 = (uint8_t *)(code - list[2]); in compare_opcodes()
760 ((list_ptr == list ? code : base_end) - list_ptr[2]); in compare_opcodes()
765 xclass_flags = (list_ptr == list ? code : base_end) - list_ptr[2] + LINK_SIZE; in compare_opcodes()
1082 ((list_ptr == list ? code : base_end) - list_ptr[2]); in compare_opcodes()
1088 if (PRIV(xclass)(chr, (list_ptr == list ? code : base_end) - in compare_opcodes()
1132 PRIV(auto_possessify)(PCRE2_UCHAR *code, const compile_block *cb) in PRIV()
1144 c = *code; in PRIV()
1152 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1161 *code += OP_POSSTAR - OP_STAR; in PRIV()
1165 *code += OP_POSSTAR - OP_MINSTAR; in PRIV()
1169 *code += OP_POSPLUS - OP_PLUS; in PRIV()
1173 *code += OP_POSPLUS - OP_MINPLUS; in PRIV()
1177 *code += OP_POSQUERY - OP_QUERY; in PRIV()
1181 *code += OP_POSQUERY - OP_MINQUERY; in PRIV()
1185 *code += OP_POSUPTO - OP_UPTO; in PRIV()
1189 *code += OP_POSUPTO - OP_MINUPTO; in PRIV()
1193 c = *code; in PRIV()
1199 repeat_opcode = code + GET(code, 1); in PRIV()
1202 repeat_opcode = code + 1 + (32 / sizeof(PCRE2_UCHAR)); in PRIV()
1212 end = get_chr_property_list(code, utf, ucp, cb->fcc, list); in PRIV()
1242 c = *code; in PRIV()
1259 if (code[1] == OP_PROP || code[1] == OP_NOTPROP) code += 2; in PRIV()
1266 if (code[1 + IMM2_SIZE] == OP_PROP || code[1 + IMM2_SIZE] == OP_NOTPROP) in PRIV()
1267 code += 2; in PRIV()
1271 code += GET(code, 1 + 2*LINK_SIZE); in PRIV()
1276 code += GET(code, 1); in PRIV()
1285 code += code[1]; in PRIV()
1291 code += PRIV(OP_lengths)[c]; in PRIV()
1356 if (HAS_EXTRALEN(code[-1])) code += GET_EXTRALEN(code[-1]); in PRIV()