Lines Matching refs:curloc
104 load_db(const char *curloc, const char *catname, int *err)
144 db->saved_locale = libc_strdup(curloc);
194 * If curloc is set to NULL, then return a cache without regards of
198 lookup_cache(struct db_info *db, const char *curloc, const char *catname)
212 if (curloc == NULL ||
214 strcmp(db->saved_locale, curloc) == 0)) {
257 char *curloc;
281 curloc = setlocale(LC_MESSAGES, NULL);
284 db = lookup_cache(NULL, curloc, catname);
326 db = load_db(curloc, catname, &err);