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
568 c = *code; in compare_opcodes()
574 code += PRIV(OP_lengths)[c]; in compare_opcodes()
580 code += GET(code, 1 + 2*LINK_SIZE); in compare_opcodes()
588 do code += GET(code, 1); while (*code == OP_ALT); in compare_opcodes()
589 c = *code; in compare_opcodes()
622 bracode = code - GET(code, 1); in compare_opcodes()
665 code += PRIV(OP_lengths)[c]; in compare_opcodes()
673 next_code = code + GET(code, 1); in compare_opcodes()
674 code += PRIV(OP_lengths)[c]; in compare_opcodes()
681 if (!compare_opcodes(code, utf, ucp, cb, base_list, base_end, rec_limit)) in compare_opcodes()
683 code = next_code + 1 + LINK_SIZE; in compare_opcodes()
693 next_code = code + 1; in compare_opcodes()
706 code += PRIV(OP_lengths)[c]; in compare_opcodes()
719 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
720 if (code == NULL) return FALSE; /* Unsupported */ in compare_opcodes()
756 set1 = (uint8_t *)(code - list[2]); in compare_opcodes()
766 ((list_ptr == list ? code : base_end) - list_ptr[2]); in compare_opcodes()
771 xclass_flags = (list_ptr == list ? code : base_end) - list_ptr[2] + LINK_SIZE; in compare_opcodes()
1088 ((list_ptr == list ? code : base_end) - list_ptr[2]); in compare_opcodes()
1094 if (PRIV(xclass)(chr, (list_ptr == list ? code : base_end) - in compare_opcodes()
1138 PRIV(auto_possessify)(PCRE2_UCHAR *code, const compile_block *cb) in PRIV()
1150 c = *code; in PRIV()
1158 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1167 *code += OP_POSSTAR - OP_STAR; in PRIV()
1171 *code += OP_POSSTAR - OP_MINSTAR; in PRIV()
1175 *code += OP_POSPLUS - OP_PLUS; in PRIV()
1179 *code += OP_POSPLUS - OP_MINPLUS; in PRIV()
1183 *code += OP_POSQUERY - OP_QUERY; in PRIV()
1187 *code += OP_POSQUERY - OP_MINQUERY; in PRIV()
1191 *code += OP_POSUPTO - OP_UPTO; in PRIV()
1195 *code += OP_POSUPTO - OP_MINUPTO; in PRIV()
1199 c = *code; in PRIV()
1205 repeat_opcode = code + GET(code, 1); in PRIV()
1208 repeat_opcode = code + 1 + (32 / sizeof(PCRE2_UCHAR)); in PRIV()
1218 end = get_chr_property_list(code, utf, ucp, cb->fcc, list); in PRIV()
1248 c = *code; in PRIV()
1265 if (code[1] == OP_PROP || code[1] == OP_NOTPROP) code += 2; in PRIV()
1272 if (code[1 + IMM2_SIZE] == OP_PROP || code[1 + IMM2_SIZE] == OP_NOTPROP) in PRIV()
1273 code += 2; in PRIV()
1277 code += GET(code, 1 + 2*LINK_SIZE); in PRIV()
1282 code += GET(code, 1); in PRIV()
1291 code += code[1]; in PRIV()
1297 code += PRIV(OP_lengths)[c]; in PRIV()
1362 if (HAS_EXTRALEN(code[-1])) code += GET_EXTRALEN(code[-1]); in PRIV()