Lines Matching refs:locale
26 ustrcase_setTempCaseMapLocale(UCaseMap *csm, const char *locale) { in ustrcase_setTempCaseMapLocale() argument
43 if(locale==NULL) { in ustrcase_setTempCaseMapLocale()
54 locale=uloc_getDefault(); in ustrcase_setTempCaseMapLocale()
56 for(i=0; i<4 && (c=locale[i])!=0 && c!='-' && c!='_'; ++i) { in ustrcase_setTempCaseMapLocale()
57 csm->locale[i]=c; in ustrcase_setTempCaseMapLocale()
60 csm->locale[i]=0; /* Up to 3 non-separator characters. */ in ustrcase_setTempCaseMapLocale()
62 csm->locale[0]=0; /* Longer-than-3 initial subtag: Ignore. */ in ustrcase_setTempCaseMapLocale()
71 setTempCaseMap(UCaseMap *csm, const char *locale) { in setTempCaseMap() argument
75 if(locale!=NULL && locale[0]==0) { in setTempCaseMap()
76 csm->locale[0]=0; in setTempCaseMap()
78 ustrcase_setTempCaseMapLocale(csm, locale); in setTempCaseMap()
87 const char *locale, in u_strToLower() argument
90 setTempCaseMap(&csm, locale); in u_strToLower()
101 const char *locale, in u_strToUpper() argument
104 setTempCaseMap(&csm, locale); in u_strToUpper()