Lines Matching refs:pass
193 substsearch(const struct lc_collate *lcc, const wchar_t key, int pass)
196 int n = lcc->lc_subst_count[pass];
201 if (pass >= lcc->lc_directive_count)
207 p = lcc->lc_subst_table[pass] + (key & ~COLLATE_SUBST_PRIORITY);
289 * If this is the "last" pass for the UNDEFINED, then
388 int pass;
396 for (pass = 0; pass <= ndir; pass++) {
400 if (pass != 0) {
401 /* insert level separator from the previous pass */
409 /* special pass for undefined */
410 if (pass == ndir) {
413 direc = lcc->lc_directive[pass];
438 _collate_lookup(lcc, t, &len, &pri, pass,
457 _collate_lookup(lcc, t, &len, &pri, pass,
501 * that real prioririties *except for the last UNDEFINED pass* are generally
513 xfrm(locale_t loc, unsigned char *p, int pri, int pass)
516 uint32_t val = (uint32_t)loc->collate->lc_pri_count[pass];
537 int pass;
548 for (pass = 0; pass <= ndir; pass++) {
552 if (pass != 0) {
553 /* insert level separator from the previous pass */
561 /* special pass for undefined */
562 if (pass == ndir) {
565 direc = lcc->lc_directive[pass];
591 _collate_lookup(lcc, t, &len, &pri, pass,
602 b = xfrm(loc, buf, pri, pass);
617 _collate_lookup(lcc, t, &len, &pri, pass,
628 b = xfrm(loc, buf, pri, pass);