Home
last modified time | relevance | path

Searched refs:posixID (Results 1 – 10 of 10) 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}, \
908 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status) in getHostID() argument
912 int32_t posixIDlen = (int32_t)uprv_strlen(posixID); in getHostID()
916 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID); in getHostID()
917 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) { in getHostID()
928 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@') in getHostID()
929 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0) in getHostID()
948 return this_0->regionMaps[i].posixID; in getPosixID()
[all …]
Dputil.cpp1312 const char* posixID; member
1416 const char* posixID = NULL; in uprv_getPOSIXIDForCategory() local
1436 posixID = setlocale(category, NULL); in uprv_getPOSIXIDForCategory()
1437 if ((posixID == 0) in uprv_getPOSIXIDForCategory()
1438 || (uprv_strcmp("C", posixID) == 0) in uprv_getPOSIXIDForCategory()
1439 || (uprv_strcmp("POSIX", posixID) == 0)) in uprv_getPOSIXIDForCategory()
1442 posixID = getenv("LC_ALL"); in uprv_getPOSIXIDForCategory()
1443 if (posixID == 0) { in uprv_getPOSIXIDForCategory()
1444 posixID = getenv(category == LC_MESSAGES ? "LC_MESSAGES" : "LC_CTYPE"); in uprv_getPOSIXIDForCategory()
1445 if (posixID == 0) { 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.cpp687 void Locale::setFromPOSIXID(const char *posixID) in setFromPOSIXID() argument
689 init(posixID, TRUE); in setFromPOSIXID()
/external/chromium_org/third_party/icu/source/common/
Dlocmap.c75 const char * const posixID; member
101 #define ILCID_POSIX_ELEMENT_ARRAY(hostID, languageID, posixID) \ argument
104 {hostID, #posixID}, \
913 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status) in getHostID() argument
917 int32_t posixIDlen = (int32_t)uprv_strlen(posixID); in getHostID()
921 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID); in getHostID()
922 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) { in getHostID()
933 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@') in getHostID()
934 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0) in getHostID()
953 return this_0->regionMaps[i].posixID; in getPosixID()
[all …]
Dputil.cpp1312 const char* posixID; member
1416 const char* posixID = NULL; in uprv_getPOSIXIDForCategory() local
1436 posixID = setlocale(category, NULL); in uprv_getPOSIXIDForCategory()
1437 if ((posixID == 0) in uprv_getPOSIXIDForCategory()
1438 || (uprv_strcmp("C", posixID) == 0) in uprv_getPOSIXIDForCategory()
1439 || (uprv_strcmp("POSIX", posixID) == 0)) in uprv_getPOSIXIDForCategory()
1442 posixID = getenv("LC_ALL"); in uprv_getPOSIXIDForCategory()
1443 if (posixID == 0) { in uprv_getPOSIXIDForCategory()
1444 posixID = getenv(category == LC_MESSAGES ? "LC_MESSAGES" : "LC_CTYPE"); in uprv_getPOSIXIDForCategory()
1445 if (posixID == 0) { 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.cpp687 void Locale::setFromPOSIXID(const char *posixID) in setFromPOSIXID() argument
689 init(posixID, TRUE); in setFromPOSIXID()
/external/chromium_org/third_party/icu/source/common/unicode/
Dlocid.h700 void setFromPOSIXID(const char *posixID);
/external/icu/icu4c/source/common/unicode/
Dlocid.h700 void setFromPOSIXID(const char *posixID);