Home
last modified time | relevance | path

Searched refs:curloc (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgtxt.c105 load_db(const char *curloc, const char *catname, int *err) in load_db() argument
145 db->saved_locale = libc_strdup(curloc); in load_db()
199 lookup_cache(struct db_info *db, const char *curloc, const char *catname) in lookup_cache() argument
213 if (curloc == NULL || in lookup_cache()
215 strcmp(db->saved_locale, curloc) == 0)) { in lookup_cache()
258 char *curloc; in __gtxt() local
284 curloc = current_locale(loc, LC_MESSAGES); in __gtxt()
287 db = lookup_cache(NULL, curloc, catname); in __gtxt()
329 db = load_db(curloc, catname, &err); in __gtxt()
H A Dgettxt.c91 char *curloc; in gettxt() local
124 curloc = current_locale(loc, LC_MESSAGES); in gettxt()
131 if (strcmp(curloc, dbc->loc) == 0) { in gettxt()
152 if ((dbc->loc = lmalloc(strlen(curloc) + 1)) == NULL) { in gettxt()
158 (void) strcpy(dbc->loc, curloc); in gettxt()
188 curloc = (char *)loc_C; in gettxt()
H A Dpriv_str_xlate.c433 locale_t curloc; in priv_gettext() local
441 curloc = uselocale(NULL); in priv_gettext()
442 loc = current_locale(curloc, LC_MESSAGES); in priv_gettext()
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dstrcoll-strxfrm-6907.c43 char *curloc; in main() local
46 if ((curloc = setlocale(LC_ALL, "")) == NULL) in main()
111 curloc, data[i].sval, data[j].sval); in main()
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dwdresolve.c65 locale_t curloc; in _wdinitialize() local
72 curloc = uselocale(NULL); in _wdinitialize()
73 loc = current_locale(curloc, LC_CTYPE); in _wdinitialize()