Lines Matching refs:list
308 uint32_t *list) in get_chr_property_list() argument
322 list[0] = c; in get_chr_property_list()
323 list[1] = FALSE; in get_chr_property_list()
334 list[1] = (c != OP_PLUS && c != OP_MINPLUS && c != OP_EXACT && in get_chr_property_list()
340 list[0] = OP_CHAR; in get_chr_property_list()
344 list[0] = OP_CHARI; in get_chr_property_list()
348 list[0] = OP_NOT; in get_chr_property_list()
352 list[0] = OP_NOTI; in get_chr_property_list()
356 list[0] = *code; in get_chr_property_list()
360 c = list[0]; in get_chr_property_list()
388 list[2] = chr; in get_chr_property_list()
389 list[3] = NOTACHAR; in get_chr_property_list()
394 list[0] = (c == OP_CHARI) ? OP_CHAR : OP_NOT; in get_chr_property_list()
396 list[2] = chr; in get_chr_property_list()
400 list[3] = fcc[chr]; in get_chr_property_list()
402 list[3] = UCD_OTHERCASE(chr); in get_chr_property_list()
404 list[3] = (chr < 256) ? fcc[chr] : chr; in get_chr_property_list()
406 list[3] = fcc[chr]; in get_chr_property_list()
411 if (chr == list[3]) in get_chr_property_list()
412 list[3] = NOTACHAR; in get_chr_property_list()
414 list[4] = NOTACHAR; in get_chr_property_list()
422 list[2] = code[0]; in get_chr_property_list()
423 list[3] = code[1]; in get_chr_property_list()
430 clist_dest = list + 2; in get_chr_property_list()
434 if (clist_dest >= list + 8) in get_chr_property_list()
438 list[2] = code[0]; in get_chr_property_list()
439 list[3] = code[1]; in get_chr_property_list()
449 list[0] = (c == OP_PROP) ? OP_CHAR : OP_NOT; in get_chr_property_list()
471 list[1] = TRUE; in get_chr_property_list()
484 list[1] = (GET2(end, 1) == 0); in get_chr_property_list()
488 list[2] = (uint32_t)(end - code); in get_chr_property_list()
519 uint32_t list[8]; in compare_opcodes() local
676 code = get_chr_property_list(code, utf, cb->fcc, list); in compare_opcodes()
685 list_ptr = list; in compare_opcodes()
687 else if (list[0] == OP_CHAR) in compare_opcodes()
689 chr_ptr = list + 2; in compare_opcodes()
695 else if (base_list[0] == OP_CLASS || list[0] == OP_CLASS in compare_opcodes()
698 || (!utf && (base_list[0] == OP_NCLASS || list[0] == OP_NCLASS)) in compare_opcodes()
709 list_ptr = list; in compare_opcodes()
713 set1 = (uint8_t *)(code - list[2]); in compare_opcodes()
723 ((list_ptr == list ? code : base_end) - list_ptr[2]); in compare_opcodes()
728 xclass_flags = (list_ptr == list ? code : base_end) - list_ptr[2] + LINK_SIZE; in compare_opcodes()
733 if (list[1] == 0) return (*xclass_flags & XCL_NOT) == 0; in compare_opcodes()
787 if (list[1] == 0) return TRUE; in compare_opcodes()
800 rightop = list[0]; in compare_opcodes()
826 n = propposstab[base_list[2]][list[2]]; in compare_opcodes()
831 case 2: accepted = (base_list[3] == list[3]) != same; break; in compare_opcodes()
835 accepted = risprop && catposstab[base_list[3]][list[3]] == same; in compare_opcodes()
839 accepted = lisprop && catposstab[list[3]][base_list[3]] == same; in compare_opcodes()
866 (list[3] != p[0] && in compare_opcodes()
867 list[3] != p[1] && in compare_opcodes()
868 (list[3] != p[2] || !lisprop)); in compare_opcodes()
886 (catposstab[p[0]][list[3]] && in compare_opcodes()
887 catposstab[p[1]][list[3]] && in compare_opcodes()
888 (list[3] != p[3] || !lisprop)); in compare_opcodes()
913 if (list[1] == 0) return TRUE; in compare_opcodes()
1045 ((list_ptr == list ? code : base_end) - list_ptr[2]); in compare_opcodes()
1051 if (PRIV(xclass)(chr, (list_ptr == list ? code : base_end) - in compare_opcodes()
1066 if (list[1] == 0) return TRUE; in compare_opcodes()
1101 uint32_t list[8]; in PRIV() local
1114 get_chr_property_list(code, utf, cb->fcc, list) : NULL; in PRIV()
1115 list[1] = c == OP_STAR || c == OP_PLUS || c == OP_QUERY || c == OP_UPTO; in PRIV()
1117 if (end != NULL && compare_opcodes(end, utf, cb, list, end, &rec_limit)) in PRIV()
1169 end = get_chr_property_list(code, utf, cb->fcc, list); in PRIV()
1171 list[1] = (c & 1) == 0; in PRIV()
1173 if (compare_opcodes(end, utf, cb, list, end, &rec_limit)) in PRIV()