Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/common/
Dputil.c1271 const char* posixID; member
1375 const char* posixID = NULL; in uprv_getPOSIXIDForCategory() local
1395 posixID = setlocale(category, NULL); in uprv_getPOSIXIDForCategory()
1396 if ((posixID == 0) in uprv_getPOSIXIDForCategory()
1397 || (uprv_strcmp("C", posixID) == 0) in uprv_getPOSIXIDForCategory()
1398 || (uprv_strcmp("POSIX", posixID) == 0)) in uprv_getPOSIXIDForCategory()
1401 posixID = getenv("LC_ALL"); in uprv_getPOSIXIDForCategory()
1402 if (posixID == 0) { in uprv_getPOSIXIDForCategory()
1403 posixID = getenv(category == LC_MESSAGES ? "LC_MESSAGES" : "LC_CTYPE"); in uprv_getPOSIXIDForCategory()
1404 if (posixID == 0) { in uprv_getPOSIXIDForCategory()
[all …]
Dlocmap.c64 const char * const posixID; member
90 #define ILCID_POSIX_ELEMENT_ARRAY(hostID, languageID, posixID) \ argument
93 {hostID, #posixID}, \
802 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status) in getHostID() argument
806 int32_t posixIDlen = (int32_t)uprv_strlen(posixID); in getHostID()
810 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID); in getHostID()
811 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) { in getHostID()
822 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@') in getHostID()
823 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0) in getHostID()
842 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/
Dputil.cpp1302 const char* posixID; member
1406 const char* posixID = NULL; in uprv_getPOSIXIDForCategory() local
1426 posixID = setlocale(category, NULL); in uprv_getPOSIXIDForCategory()
1427 if ((posixID == 0) in uprv_getPOSIXIDForCategory()
1428 || (uprv_strcmp("C", posixID) == 0) in uprv_getPOSIXIDForCategory()
1429 || (uprv_strcmp("POSIX", posixID) == 0)) in uprv_getPOSIXIDForCategory()
1432 posixID = getenv("LC_ALL"); in uprv_getPOSIXIDForCategory()
1433 if (posixID == 0) { in uprv_getPOSIXIDForCategory()
1434 posixID = getenv(category == LC_MESSAGES ? "LC_MESSAGES" : "LC_CTYPE"); in uprv_getPOSIXIDForCategory()
1435 if (posixID == 0) { in uprv_getPOSIXIDForCategory()
[all …]
Dlocmap.c70 const char * const posixID; member
96 #define ILCID_POSIX_ELEMENT_ARRAY(hostID, languageID, posixID) \ argument
99 {hostID, #posixID}, \
903 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status) in getHostID() argument
907 int32_t posixIDlen = (int32_t)uprv_strlen(posixID); in getHostID()
911 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID); in getHostID()
912 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) { in getHostID()
923 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@') in getHostID()
924 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0) in getHostID()
943 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.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.h690 void setFromPOSIXID(const char *posixID);
/external/icu4c/common/unicode/
Dlocid.h694 void setFromPOSIXID(const char *posixID);