Lines Matching refs:list
309 uint32_t *list) in get_chr_property_list() argument
324 list[0] = c; in get_chr_property_list()
325 list[1] = FALSE; in get_chr_property_list()
336 list[1] = (c != OP_PLUS && c != OP_MINPLUS && c != OP_EXACT && in get_chr_property_list()
342 list[0] = OP_CHAR; in get_chr_property_list()
346 list[0] = OP_CHARI; in get_chr_property_list()
350 list[0] = OP_NOT; in get_chr_property_list()
354 list[0] = OP_NOTI; in get_chr_property_list()
358 list[0] = *code; in get_chr_property_list()
362 c = list[0]; in get_chr_property_list()
390 list[2] = chr; in get_chr_property_list()
391 list[3] = NOTACHAR; in get_chr_property_list()
396 list[0] = (c == OP_CHARI) ? OP_CHAR : OP_NOT; in get_chr_property_list()
398 list[2] = chr; in get_chr_property_list()
402 list[3] = fcc[chr]; in get_chr_property_list()
404 list[3] = UCD_OTHERCASE(chr); in get_chr_property_list()
406 list[3] = (chr < 256) ? fcc[chr] : chr; in get_chr_property_list()
408 list[3] = fcc[chr]; in get_chr_property_list()
413 if (chr == list[3]) in get_chr_property_list()
414 list[3] = NOTACHAR; in get_chr_property_list()
416 list[4] = NOTACHAR; 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()
432 clist_dest = list + 2; in get_chr_property_list()
436 if (clist_dest >= list + 8) 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()
451 list[0] = (c == OP_PROP) ? OP_CHAR : OP_NOT; in get_chr_property_list()
473 list[1] = TRUE; in get_chr_property_list()
486 list[1] = (GET2(end, 1) == 0); in get_chr_property_list()
490 list[2] = (uint32_t)(end - code); in get_chr_property_list()
523 uint32_t list[8]; in compare_opcodes() local
696 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
705 list_ptr = list; in compare_opcodes()
707 else if (list[0] == OP_CHAR) in compare_opcodes()
709 chr_ptr = list + 2; in compare_opcodes()
715 else if (base_list[0] == OP_CLASS || list[0] == OP_CLASS in compare_opcodes()
718 || (!utf && (base_list[0] == OP_NCLASS || list[0] == OP_NCLASS)) in compare_opcodes()
729 list_ptr = list; 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()
753 if (list[1] == 0) return (*xclass_flags & XCL_NOT) == 0; in compare_opcodes()
807 if (list[1] == 0) return TRUE; in compare_opcodes()
820 rightop = list[0]; in compare_opcodes()
846 n = propposstab[base_list[2]][list[2]]; in compare_opcodes()
851 case 2: accepted = (base_list[3] == list[3]) != same; break; in compare_opcodes()
855 accepted = risprop && catposstab[base_list[3]][list[3]] == same; in compare_opcodes()
859 accepted = lisprop && catposstab[list[3]][base_list[3]] == same; in compare_opcodes()
886 (list[3] != p[0] && in compare_opcodes()
887 list[3] != p[1] && in compare_opcodes()
888 (list[3] != p[2] || !lisprop)); in compare_opcodes()
906 (catposstab[p[0]][list[3]] && in compare_opcodes()
907 catposstab[p[1]][list[3]] && in compare_opcodes()
908 (list[3] != p[3] || !lisprop)); in compare_opcodes()
933 if (list[1] == 0) return TRUE; 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()
1086 if (list[1] == 0) return TRUE; in compare_opcodes()
1120 uint32_t list[8]; in PRIV() local
1135 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1136 list[1] = c == OP_STAR || c == OP_PLUS || c == OP_QUERY || c == OP_UPTO; in PRIV()
1138 if (end != NULL && compare_opcodes(end, utf, ucp, cb, list, end, in PRIV()
1195 end = get_chr_property_list(code, utf, ucp, cb->fcc, list); in PRIV()
1196 list[1] = (c & 1) == 0; in PRIV()
1199 compare_opcodes(end, utf, ucp, cb, list, end, &rec_limit)) in PRIV()