Lines Matching defs:curloc
105 load_db(const char *curloc, const char *catname, int *err)
145 db->saved_locale = libc_strdup(curloc);
195 * If curloc is set to NULL, then return a cache without regards of
199 lookup_cache(struct db_info *db, const char *curloc, const char *catname)
213 if (curloc == NULL ||
215 strcmp(db->saved_locale, curloc) == 0)) {
258 char *curloc;
284 curloc = current_locale(loc, LC_MESSAGES);
287 db = lookup_cache(NULL, curloc, catname);
329 db = load_db(curloc, catname, &err);