Lines Matching refs:ref

160 	int32_t		ref;  member
170 int32_t ref[COLL_WEIGHTS_MAX]; member
183 int32_t ref[COLL_WEIGHTS_MAX]; member
193 int32_t ref[COLL_WEIGHTS_MAX]; member
205 int32_t ref[COLLATE_STR_LEN]; member
288 get_pri(int32_t ref) in get_pri() argument
290 if ((ref < 0) || (ref > numpri)) { in get_pri()
294 return (&prilist[ref]); in get_pri()
298 set_pri(int32_t ref, int32_t v, res_t res) in set_pri() argument
302 pri = get_pri(ref); in set_pri()
309 if ((res == REFER) && (ref == v)) { in set_pri()
325 resolve_pri(int32_t ref) in resolve_pri() argument
330 pri = get_pri(ref); in resolve_pri()
444 const wchar_t *c1 = ((const subst_t *)n1)->ref; in subst_compare_ref()
445 const wchar_t *c2 = ((const subst_t *)n2)->ref; in subst_compare_ref()
501 sym->ref = new_pri(); in define_collsym()
549 ud->ref[i] = new_pri(); in get_collundef()
572 cc->ref[i] = new_pri(); in get_collchar()
586 set_pri(sym->ref, nextpri, RESOLVED); in end_order_collsym()
595 int32_t ref; in end_order() local
604 if (((ref = order_weights[i]) < 0) || in end_order()
605 ((p = get_pri(ref)) == NULL) || in end_order()
608 set_pri(currchar->ref[i], pri, RESOLVED); in end_order()
610 set_pri(currchar->ref[i], ref, REFER); in end_order()
634 if (((ref = order_weights[i]) < 0) || in end_order()
635 ((p = get_pri(ref)) == NULL) || in end_order()
637 set_pri(currelem->ref[i], pri, in end_order()
640 set_pri(currelem->ref[i], ref, REFER); in end_order()
649 if (((ref = order_weights[i]) < 0) || in end_order()
650 ((p = get_pri(ref)) == NULL) || in end_order()
654 set_pri(pri_undefined[i], ref, REFER); in end_order()
662 if (((ref = order_weights[i]) < 0) || in end_order()
663 ((p = get_pri(ref)) == NULL) || in end_order()
665 set_pri(currundef->ref[i], pri, RESOLVED); in end_order()
667 set_pri(currundef->ref[i], ref, REFER); in end_order()
716 int32_t ref; in start_order_char() local
747 if (((ref = ellipsis_weights[i]) == -1) || in start_order_char()
748 ((p = get_pri(ref)) == NULL) || in start_order_char()
750 set_pri(cc->ref[i], nextpri, RESOLVED); in start_order_char()
752 set_pri(cc->ref[i], ref, REFER); in start_order_char()
813 e->ref[i] = new_pri(); in define_collelem()
860 add_order_pri(int32_t ref) in add_order_pri() argument
866 order_weights[curr_weight] = ref; in add_order_pri()
873 add_order_pri(s->ref); in add_order_collsym()
886 add_order_pri(cc->ref[curr_weight]); in add_order_char()
892 add_order_pri(e->ref[curr_weight]); in add_order_collelem()
909 add_order_pri(c->ref[curr_weight]); in add_order_symbol()
928 srch.ref[i] = subst_weights[i]; in add_order_subst()
954 s->ref[i] = srch.ref[i]; in add_order_subst()
976 add_subst_pri(int32_t ref) in add_subst_pri() argument
982 subst_weights[curr_subst] = ref; in add_subst_pri()
998 add_subst_pri(cc->ref[curr_weight]); in add_subst_char()
1004 add_subst_pri(e->ref[curr_weight]); in add_subst_collelem()
1010 add_subst_pri(s->ref); in add_subst_collsym()
1019 add_subst_pri(cu->ref[curr_weight]); in add_subst_symbol()
1024 add_weight(int32_t ref, int pass) in add_weight() argument
1029 srch.pri = resolve_pri(ref); in add_weight()
1060 get_weight(int32_t ref, int pass) in get_weight() argument
1066 pri = resolve_pri(ref); in get_weight()
1136 for (j = 0; sb->ref[j]; j++) { in dump_collate()
1137 add_weight(sb->ref[j], i); in dump_collate()
1142 add_weights(ce->ref); in dump_collate()
1145 add_weights(cc->ref); in dump_collate()
1192 htote(get_weight(cc->ref[j], j)); in dump_collate()
1230 for (j = 0; sb->ref[j]; j++) { in dump_collate()
1231 st[n].pri[j] = htote(get_weight(sb->ref[j], in dump_collate()
1255 chain[n].pri[i] = htote(get_weight(ce->ref[i], i)); in dump_collate()
1279 if ((pri = get_weight(cc->ref[j], j)) < 0) { in dump_collate()