Home
last modified time | relevance | path

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

/external/icu4c/common/
Dputil.c1263 const char* posixID; member
1367 const char* posixID = NULL; in uprv_getPOSIXIDForCategory() local
1387 posixID = setlocale(category, NULL); in uprv_getPOSIXIDForCategory()
1388 if ((posixID == 0) in uprv_getPOSIXIDForCategory()
1389 || (uprv_strcmp("C", posixID) == 0) in uprv_getPOSIXIDForCategory()
1390 || (uprv_strcmp("POSIX", posixID) == 0)) in uprv_getPOSIXIDForCategory()
1393 posixID = getenv("LC_ALL"); in uprv_getPOSIXIDForCategory()
1394 if (posixID == 0) { in uprv_getPOSIXIDForCategory()
1395 posixID = getenv(category == LC_MESSAGES ? "LC_MESSAGES" : "LC_CTYPE"); in uprv_getPOSIXIDForCategory()
1396 if (posixID == 0) { in uprv_getPOSIXIDForCategory()
[all …]
Dlocmap.c62 const char * const posixID; member
88 #define ILCID_POSIX_ELEMENT_ARRAY(hostID, languageID, posixID) \ argument
91 {hostID, #posixID}, \
800 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status) in getHostID() argument
804 int32_t posixIDlen = (int32_t)uprv_strlen(posixID); in getHostID()
808 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID); in getHostID()
809 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) { in getHostID()
820 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@') in getHostID()
821 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0) in getHostID()
840 return this_0->regionMaps[i].posixID; in getPosixID()
[all …]
Dlocmap.h34 U_CAPI uint32_t uprv_convertToLCID(const char *langID, const char* posixID, UErrorCode* status);
Dlocid.cpp753 void Locale::setFromPOSIXID(const char *posixID) in setFromPOSIXID() argument
755 init(posixID, TRUE); in setFromPOSIXID()
/external/icu4c/common/unicode/
Dlocid.h690 void setFromPOSIXID(const char *posixID);