Lines Matching refs:lc
198 char *lc = NULL;
203 lc = StrDup(GetLocale());
204 fullkey = (char *)MemAlloc(sizeof(RES_BUNDLE_NAME) + strlen(lc) + strlen(key) + 3);
208 if (strlen(lc) > 0)
211 strcat(fullkey, lc);
217 if (strlen(lc) > 0)
220 if ((s = strrchr(lc, '_')) != NULL)
223 *lc = '\0';
235 free(lc);
236 lc = NULL;
286 if (lc)
287 free(lc);
288 lc = NULL;
1634 const char *lc;
1642 if ((lc = setlocale(LC_ALL, "")) == NULL)
1643 lc = setlocale(LC_ALL, "C");
1649 t = StrDup(lc);
1654 if ((lc = setlocale(LC_ALL, t)) == NULL)
1655 lc = setlocale(LC_ALL, "C");
1665 t = StrDup(lc);
1668 if ((lc = setlocale(LC_ALL, t)) == NULL)
1669 lc = setlocale(LC_ALL, "C");
1688 s = StrDup(lc);
1702 if (MapLookup(locale_aliases, s, &lc))
1705 s = StrDup(lc);