Lines Matching refs:loc

62 	locale_t	cloc, loc;  in testlocale_thr_one()  local
70 loc = newlocale(LC_ALL_MASK, l->locale, NULL); in testlocale_thr_one()
71 if (loc == NULL) { in testlocale_thr_one()
74 day = nl_langinfo_l(DAY_1, loc); in testlocale_thr_one()
96 (void) uselocale(loc); in testlocale_thr_one()
114 if (uselocale(cloc) != loc) { in testlocale_thr_one()
117 freelocale(loc); in testlocale_thr_one()
135 locale_t loc, bad; in test_newlocale_negative() local
141 loc = newlocale(LC_ALL_MASK, "de_DE.UTF-8", NULL); in test_newlocale_negative()
142 if (loc == NULL) { in test_newlocale_negative()
145 day = nl_langinfo_l(DAY_1, loc); in test_newlocale_negative()
150 bad = newlocale(LC_ALL_MASK, "cn_US.BIZRRE", loc); in test_newlocale_negative()
154 day = nl_langinfo_l(DAY_1, loc); in test_newlocale_negative()
164 locale_t loc; in test_newlocale_categories() local
171 loc = NULL; in test_newlocale_categories()
172 loc = newlocale(LC_TIME_MASK, "de_DE.UTF-8", loc); in test_newlocale_categories()
173 loc = newlocale(LC_MESSAGES_MASK, "ru_RU.UTF-8", loc); in test_newlocale_categories()
174 loc = newlocale(LC_MONETARY_MASK, "en_US.UTF-8", loc); in test_newlocale_categories()
176 if (loc == NULL) { in test_newlocale_categories()
180 day = nl_langinfo_l(DAY_1, loc); in test_newlocale_categories()
184 yes = nl_langinfo_l(YESSTR, loc); in test_newlocale_categories()
188 cur = nl_langinfo_l(CRNCYSTR, loc); in test_newlocale_categories()
199 locale_t loc; in test_newlocale_composite() local
207 loc = newlocale(LC_ALL_MASK, in test_newlocale_composite()
210 if (loc == NULL) { in test_newlocale_composite()
214 day = nl_langinfo_l(DAY_1, loc); in test_newlocale_composite()
218 yes = nl_langinfo_l(YESSTR, loc); in test_newlocale_composite()
222 cur = nl_langinfo_l(CRNCYSTR, loc); in test_newlocale_composite()