Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dputil.cpp1528 const char* posixID = NULL; local
1548 posixID = setlocale(category, NULL);
1549 if ((posixID == 0)
1550 || (uprv_strcmp("C", posixID) == 0)
1551 || (uprv_strcmp("POSIX", posixID) == 0))
1554 posixID = getenv("LC_ALL");
1559 if ((posixID == 0) || (posixID[0] == '\0')) {
1560 posixID = getenv(category == LC_MESSAGES ? "LC_MESSAGES" : "LC_CTYPE");
1561 if ((posixID == 0) || (posixID[0] == '\0')) {
1563 if (posixID == 0) {
[all …]
Dlocmap.cpp69 const char * const posixID; member
95 #define ILCID_POSIX_ELEMENT_ARRAY(hostID, languageID, posixID) \ argument
98 {hostID, #posixID}, \
982 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status) in getHostID() argument
986 int32_t posixIDlen = (int32_t)uprv_strlen(posixID); in getHostID()
990 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID); in getHostID()
991 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) { in getHostID()
1002 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@') in getHostID()
1003 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0) in getHostID()
1022 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…
37 U_CAPI uint32_t uprv_convertToLCID(const char *langID, const char* posixID, UErrorCode* status);
Dlocid.cpp1060 void Locale::setFromPOSIXID(const char *posixID) in setFromPOSIXID() argument
1062 init(posixID, TRUE); in setFromPOSIXID()
/external/icu/icu4c/source/common/unicode/
Dlocid.h1017 void setFromPOSIXID(const char *posixID);
/external/icu/icu4c/source/test/intltest/
Dloctest.cpp2943 char posixID[BUFFER_SIZE]; in TestBug13554() local
2947 uprv_convertToPosix(hostid, posixID, BUFFER_SIZE, &status); in TestBug13554()