Lines Matching refs:list
326 uint32_t *list) in get_chr_property_list() argument
341 list[0] = c; in get_chr_property_list()
342 list[1] = FALSE; in get_chr_property_list()
353 list[1] = (c != OP_PLUS && c != OP_MINPLUS && c != OP_EXACT && in get_chr_property_list()
359 list[0] = OP_CHAR; in get_chr_property_list()
363 list[0] = OP_CHARI; in get_chr_property_list()
367 list[0] = OP_NOT; in get_chr_property_list()
371 list[0] = OP_NOTI; in get_chr_property_list()
375 list[0] = *code; in get_chr_property_list()
379 c = list[0]; in get_chr_property_list()
407 list[2] = chr; in get_chr_property_list()
408 list[3] = NOTACHAR; in get_chr_property_list()
413 list[0] = (c == OP_CHARI) ? OP_CHAR : OP_NOT; in get_chr_property_list()
415 list[2] = chr; in get_chr_property_list()
419 list[3] = fcc[chr]; in get_chr_property_list()
421 list[3] = UCD_OTHERCASE(chr); in get_chr_property_list()
423 list[3] = (chr < 256) ? fcc[chr] : chr; in get_chr_property_list()
425 list[3] = fcc[chr]; in get_chr_property_list()
430 if (chr == list[3]) in get_chr_property_list()
431 list[3] = NOTACHAR; in get_chr_property_list()
433 list[4] = NOTACHAR; 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()
449 clist_dest = list + 2; in get_chr_property_list()
453 if (clist_dest >= list + 8) 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()
468 list[0] = (c == OP_PROP) ? OP_CHAR : OP_NOT; in get_chr_property_list()
490 list[1] = TRUE; in get_chr_property_list()
503 list[1] = (GET2(end, 1) == 0); in get_chr_property_list()
507 list[2] = (uint32_t)(end - code); in get_chr_property_list()
540 uint32_t list[8]; in compare_opcodes() local
713 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
722 list_ptr = list; in compare_opcodes()
724 else if (list[0] == OP_CHAR) in compare_opcodes()
726 chr_ptr = list + 2; in compare_opcodes()
732 else if (base_list[0] == OP_CLASS || list[0] == OP_CLASS in compare_opcodes()
735 || (!utf && (base_list[0] == OP_NCLASS || list[0] == OP_NCLASS)) in compare_opcodes()
746 list_ptr = list; 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()
770 if (list[1] == 0) return (*xclass_flags & XCL_NOT) == 0; in compare_opcodes()
824 if (list[1] == 0) return TRUE; in compare_opcodes()
837 rightop = list[0]; in compare_opcodes()
863 n = propposstab[base_list[2]][list[2]]; in compare_opcodes()
868 case 2: accepted = (base_list[3] == list[3]) != same; break; in compare_opcodes()
872 accepted = risprop && catposstab[base_list[3]][list[3]] == same; in compare_opcodes()
876 accepted = lisprop && catposstab[list[3]][base_list[3]] == same; in compare_opcodes()
903 (list[3] != p[0] && in compare_opcodes()
904 list[3] != p[1] && in compare_opcodes()
905 (list[3] != p[2] || !lisprop)); in compare_opcodes()
923 (catposstab[p[0]][list[3]] && in compare_opcodes()
924 catposstab[p[1]][list[3]] && in compare_opcodes()
925 (list[3] != p[3] || !lisprop)); in compare_opcodes()
950 if (list[1] == 0) return TRUE; 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()
1103 if (list[1] == 0) return TRUE; in compare_opcodes()
1137 uint32_t list[8]; in PRIV() local
1152 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1153 list[1] = c == OP_STAR || c == OP_PLUS || c == OP_QUERY || c == OP_UPTO; in PRIV()
1155 if (end != NULL && compare_opcodes(end, utf, ucp, cb, list, end, in PRIV()
1212 end = get_chr_property_list(code, utf, ucp, cb->fcc, list); in PRIV()
1213 list[1] = (c & 1) == 0; in PRIV()
1216 compare_opcodes(end, utf, ucp, cb, list, end, &rec_limit)) in PRIV()