Lines Matching refs:code
308 get_chr_property_list(PCRE2_SPTR code, BOOL utf, BOOL ucp, const uint8_t *fcc, in get_chr_property_list() argument
311 PCRE2_UCHAR c = *code; in get_chr_property_list()
326 code++; in get_chr_property_list()
334 code += IMM2_SIZE; in get_chr_property_list()
358 list[0] = *code; in get_chr_property_list()
359 code++; in get_chr_property_list()
385 return code; in get_chr_property_list()
389 GETCHARINCTEST(chr, code); in get_chr_property_list()
392 return code; in get_chr_property_list()
397 GETCHARINCTEST(chr, code); in get_chr_property_list()
417 return code; in get_chr_property_list()
422 if (code[0] != PT_CLIST) in get_chr_property_list()
424 list[2] = code[0]; in get_chr_property_list()
425 list[3] = code[1]; in get_chr_property_list()
426 return code + 2; in get_chr_property_list()
431 clist_src = PRIV(ucd_caseless_sets) + code[1]; in get_chr_property_list()
433 code += 2; in get_chr_property_list()
440 list[2] = code[0]; in get_chr_property_list()
441 list[3] = code[1]; in get_chr_property_list()
442 return code; in get_chr_property_list()
452 return code; in get_chr_property_list()
460 end = code + GET(code, 0) - 1; in get_chr_property_list()
463 end = code + 32 / sizeof(PCRE2_UCHAR); in get_chr_property_list()
490 list[2] = (uint32_t)(end - code); in get_chr_property_list()
518 compare_opcodes(PCRE2_SPTR code, BOOL utf, BOOL ucp, const compile_block *cb, in compare_opcodes() argument
548 c = *code; in compare_opcodes()
554 code += PRIV(OP_lengths)[c]; in compare_opcodes()
560 code += GET(code, 1 + 2*LINK_SIZE); in compare_opcodes()
568 do code += GET(code, 1); while (*code == OP_ALT); in compare_opcodes()
569 c = *code; in compare_opcodes()
602 switch(*(code - GET(code, 1))) in compare_opcodes()
641 code += PRIV(OP_lengths)[c]; in compare_opcodes()
649 next_code = code + GET(code, 1); in compare_opcodes()
650 code += PRIV(OP_lengths)[c]; in compare_opcodes()
657 if (!compare_opcodes(code, utf, ucp, cb, base_list, base_end, rec_limit)) in compare_opcodes()
659 code = next_code + 1 + LINK_SIZE; in compare_opcodes()
669 next_code = code + 1; in compare_opcodes()
682 code += PRIV(OP_lengths)[c]; in compare_opcodes()
695 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
696 if (code == NULL) return FALSE; /* Unsupported */ in compare_opcodes()
732 set1 = (uint8_t *)(code - list[2]); in compare_opcodes()
742 ((list_ptr == list ? code : base_end) - list_ptr[2]); in compare_opcodes()
747 xclass_flags = (list_ptr == list ? code : base_end) - list_ptr[2] + LINK_SIZE; in compare_opcodes()
1064 ((list_ptr == list ? code : base_end) - list_ptr[2]); in compare_opcodes()
1070 if (PRIV(xclass)(chr, (list_ptr == list ? code : base_end) - in compare_opcodes()
1114 PRIV(auto_possessify)(PCRE2_UCHAR *code, const compile_block *cb) in PRIV()
1126 c = *code; in PRIV()
1134 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1143 *code += OP_POSSTAR - OP_STAR; in PRIV()
1147 *code += OP_POSSTAR - OP_MINSTAR; in PRIV()
1151 *code += OP_POSPLUS - OP_PLUS; in PRIV()
1155 *code += OP_POSPLUS - OP_MINPLUS; in PRIV()
1159 *code += OP_POSQUERY - OP_QUERY; in PRIV()
1163 *code += OP_POSQUERY - OP_MINQUERY; in PRIV()
1167 *code += OP_POSUPTO - OP_UPTO; in PRIV()
1171 *code += OP_POSUPTO - OP_MINUPTO; in PRIV()
1175 c = *code; in PRIV()
1181 repeat_opcode = code + GET(code, 1); in PRIV()
1184 repeat_opcode = code + 1 + (32 / sizeof(PCRE2_UCHAR)); in PRIV()
1190 end = get_chr_property_list(code, utf, ucp, cb->fcc, list); in PRIV()
1220 c = *code; in PRIV()
1237 if (code[1] == OP_PROP || code[1] == OP_NOTPROP) code += 2; in PRIV()
1244 if (code[1 + IMM2_SIZE] == OP_PROP || code[1 + IMM2_SIZE] == OP_NOTPROP) in PRIV()
1245 code += 2; in PRIV()
1249 code += GET(code, 1 + 2*LINK_SIZE); in PRIV()
1254 code += GET(code, 1); in PRIV()
1263 code += code[1]; in PRIV()
1269 code += PRIV(OP_lengths)[c]; in PRIV()
1334 if (HAS_EXTRALEN(code[-1])) code += GET_EXTRALEN(code[-1]); in PRIV()