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()
519 compare_opcodes(PCRE2_SPTR code, BOOL utf, BOOL ucp, const compile_block *cb, in compare_opcodes() argument
549 c = *code; in compare_opcodes()
555 code += PRIV(OP_lengths)[c]; in compare_opcodes()
561 code += GET(code, 1 + 2*LINK_SIZE); in compare_opcodes()
569 do code += GET(code, 1); while (*code == OP_ALT); in compare_opcodes()
570 c = *code; in compare_opcodes()
603 switch(*(code - GET(code, 1))) in compare_opcodes()
642 code += PRIV(OP_lengths)[c]; in compare_opcodes()
650 next_code = code + GET(code, 1); in compare_opcodes()
651 code += PRIV(OP_lengths)[c]; in compare_opcodes()
658 if (!compare_opcodes(code, utf, ucp, cb, base_list, base_end, rec_limit)) in compare_opcodes()
660 code = next_code + 1 + LINK_SIZE; in compare_opcodes()
670 next_code = code + 1; in compare_opcodes()
683 code += PRIV(OP_lengths)[c]; in compare_opcodes()
696 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
697 if (code == NULL) return FALSE; /* Unsupported */ in compare_opcodes()
733 set1 = (uint8_t *)(code - list[2]); in compare_opcodes()
743 ((list_ptr == list ? code : base_end) - list_ptr[2]); in compare_opcodes()
748 xclass_flags = (list_ptr == list ? code : base_end) - list_ptr[2] + LINK_SIZE; in compare_opcodes()
1065 ((list_ptr == list ? code : base_end) - list_ptr[2]); in compare_opcodes()
1071 if (PRIV(xclass)(chr, (list_ptr == list ? code : base_end) - in compare_opcodes()
1115 PRIV(auto_possessify)(PCRE2_UCHAR *code, const compile_block *cb) in PRIV()
1127 c = *code; in PRIV()
1135 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1144 *code += OP_POSSTAR - OP_STAR; in PRIV()
1148 *code += OP_POSSTAR - OP_MINSTAR; in PRIV()
1152 *code += OP_POSPLUS - OP_PLUS; in PRIV()
1156 *code += OP_POSPLUS - OP_MINPLUS; in PRIV()
1160 *code += OP_POSQUERY - OP_QUERY; in PRIV()
1164 *code += OP_POSQUERY - OP_MINQUERY; in PRIV()
1168 *code += OP_POSUPTO - OP_UPTO; in PRIV()
1172 *code += OP_POSUPTO - OP_MINUPTO; in PRIV()
1176 c = *code; in PRIV()
1182 repeat_opcode = code + GET(code, 1); in PRIV()
1185 repeat_opcode = code + 1 + (32 / sizeof(PCRE2_UCHAR)); in PRIV()
1195 end = get_chr_property_list(code, utf, ucp, cb->fcc, list); in PRIV()
1225 c = *code; in PRIV()
1242 if (code[1] == OP_PROP || code[1] == OP_NOTPROP) code += 2; in PRIV()
1249 if (code[1 + IMM2_SIZE] == OP_PROP || code[1 + IMM2_SIZE] == OP_NOTPROP) in PRIV()
1250 code += 2; in PRIV()
1254 code += GET(code, 1 + 2*LINK_SIZE); in PRIV()
1259 code += GET(code, 1); in PRIV()
1268 code += code[1]; in PRIV()
1274 code += PRIV(OP_lengths)[c]; in PRIV()
1339 if (HAS_EXTRALEN(code[-1])) code += GET_EXTRALEN(code[-1]); in PRIV()