Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dlocmap.c69 const char * const posixID; member
95 #define ILCID_POSIX_ELEMENT_ARRAY(hostID, languageID, posixID) \ argument
98 {hostID, #posixID}, \
905 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status) in getHostID() argument
909 int32_t posixIDlen = (int32_t)uprv_strlen(posixID); in getHostID()
913 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID); in getHostID()
914 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) { in getHostID()
925 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@') in getHostID()
926 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0) in getHostID()
945 return this_0->regionMaps[i].posixID; in getPosixID()
[all …]
Dputil.cpp1359 const char* posixID = NULL; in uprv_getPOSIXIDForCategory() local
1379 posixID = setlocale(category, NULL); in uprv_getPOSIXIDForCategory()
1380 if ((posixID == 0) in uprv_getPOSIXIDForCategory()
1381 || (uprv_strcmp("C", posixID) == 0) in uprv_getPOSIXIDForCategory()
1382 || (uprv_strcmp("POSIX", posixID) == 0)) in uprv_getPOSIXIDForCategory()
1385 posixID = getenv("LC_ALL"); in uprv_getPOSIXIDForCategory()
1386 if (posixID == 0) { in uprv_getPOSIXIDForCategory()
1387 posixID = getenv(category == LC_MESSAGES ? "LC_MESSAGES" : "LC_CTYPE"); in uprv_getPOSIXIDForCategory()
1388 if (posixID == 0) { in uprv_getPOSIXIDForCategory()
1389 posixID = getenv("LANG"); in uprv_getPOSIXIDForCategory()
[all …]
Dlocmap.h31 U_CAPI int32_t uprv_convertToPosix(uint32_t hostid, char* posixID, int32_t posixIDCapacity, UErrorC…
34 U_CAPI uint32_t uprv_convertToLCID(const char *langID, const char* posixID, UErrorCode* status);
Dlocid.cpp754 void Locale::setFromPOSIXID(const char *posixID) in setFromPOSIXID() argument
756 init(posixID, TRUE); in setFromPOSIXID()
/external/icu/icu4c/source/common/unicode/
Dlocid.h715 void setFromPOSIXID(const char *posixID);