Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dputil.cpp1406 const char* posixID = NULL; local
1426 posixID = setlocale(category, NULL);
1427 if ((posixID == 0)
1428 || (uprv_strcmp("C", posixID) == 0)
1429 || (uprv_strcmp("POSIX", posixID) == 0))
1432 posixID = getenv("LC_ALL");
1437 if ((posixID == 0) || (posixID[0] == '\0')) {
1438 posixID = getenv(category == LC_MESSAGES ? "LC_MESSAGES" : "LC_CTYPE");
1439 if ((posixID == 0) || (posixID[0] == '\0')) {
1441 if (posixID == 0) {
[all …]
Dlocmap.c71 const char * const posixID; member
97 #define ILCID_POSIX_ELEMENT_ARRAY(hostID, languageID, posixID) \ argument
100 {hostID, #posixID}, \
938 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status) in getHostID() argument
942 int32_t posixIDlen = (int32_t)uprv_strlen(posixID); in getHostID()
946 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID); in getHostID()
947 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) { in getHostID()
958 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@') in getHostID()
959 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0) in getHostID()
978 return this_0->regionMaps[i].posixID; in getPosixID()
[all …]
Dlocmap.h33 U_CAPI int32_t uprv_convertToPosix(uint32_t hostid, char* posixID, int32_t posixIDCapacity, UErrorC…
36 U_CAPI uint32_t uprv_convertToLCID(const char *langID, const char* posixID, UErrorCode* status);
Dlocid.cpp763 void Locale::setFromPOSIXID(const char *posixID) in setFromPOSIXID() argument
765 init(posixID, TRUE); in setFromPOSIXID()
/external/icu/icu4c/source/common/unicode/
Dlocid.h717 void setFromPOSIXID(const char *posixID);