Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/icu/source/common/
Dlocmap.cpp63 const char * const posixID; member
89 #define ILCID_POSIX_ELEMENT_ARRAY(hostID, languageID, posixID) \ argument
92 {hostID, #posixID}, \
976 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status) in getHostID() argument
980 int32_t posixIDlen = (int32_t)uprv_strlen(posixID); in getHostID()
984 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID); in getHostID()
985 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) { in getHostID()
996 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@') in getHostID()
997 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0) in getHostID()
1016 return this_0->regionMaps[i].posixID; in getPosixID()
[all …]
Dputil.cpp1580 const char* posixID = NULL; local
1600 posixID = setlocale(category, NULL);
1601 if ((posixID == 0)
1602 || (uprv_strcmp("C", posixID) == 0)
1603 || (uprv_strcmp("POSIX", posixID) == 0))
1606 posixID = getenv("LC_ALL");
1611 if ((posixID == 0) || (posixID[0] == '\0')) {
1612 posixID = getenv(category == LC_MESSAGES ? "LC_MESSAGES" : "LC_CTYPE");
1613 if ((posixID == 0) || (posixID[0] == '\0')) {
1615 if (posixID == 0) {
[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.cpp2279 void Locale::setFromPOSIXID(const char *posixID) in setFromPOSIXID() argument
2281 init(posixID, TRUE); in setFromPOSIXID()
/third_party/node/deps/icu-small/source/common/
Dlocmap.cpp63 const char * const posixID; member
89 #define ILCID_POSIX_ELEMENT_ARRAY(hostID, languageID, posixID) \ argument
92 {hostID, #posixID}, \
976 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status) in getHostID() argument
980 int32_t posixIDlen = (int32_t)uprv_strlen(posixID); in getHostID()
984 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID); in getHostID()
985 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) { in getHostID()
996 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@') in getHostID()
997 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0) in getHostID()
1016 return this_0->regionMaps[i].posixID; in getPosixID()
[all …]
Dputil.cpp1589 const char* posixID = nullptr; local
1609 posixID = setlocale(category, nullptr);
1610 if ((posixID == 0)
1611 || (uprv_strcmp("C", posixID) == 0)
1612 || (uprv_strcmp("POSIX", posixID) == 0))
1615 posixID = getenv("LC_ALL");
1620 if ((posixID == 0) || (posixID[0] == '\0')) {
1621 posixID = getenv(category == LC_MESSAGES ? "LC_MESSAGES" : "LC_CTYPE");
1622 if ((posixID == 0) || (posixID[0] == '\0')) {
1624 if (posixID == 0) {
[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.cpp2241 void Locale::setFromPOSIXID(const char *posixID) in setFromPOSIXID() argument
2243 init(posixID, true); in setFromPOSIXID()
/third_party/icu/icu4c/source/common/
Dlocmap.cpp63 const char * const posixID; member
89 #define ILCID_POSIX_ELEMENT_ARRAY(hostID, languageID, posixID) \ argument
92 {hostID, #posixID}, \
976 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status) in getHostID() argument
980 int32_t posixIDlen = (int32_t)uprv_strlen(posixID); in getHostID()
984 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID); in getHostID()
985 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) { in getHostID()
996 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@') in getHostID()
997 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0) in getHostID()
1016 return this_0->regionMaps[i].posixID; in getPosixID()
[all …]
Dputil.cpp1589 const char* posixID = NULL; local
1609 posixID = setlocale(category, NULL);
1610 if ((posixID == 0)
1611 || (uprv_strcmp("C", posixID) == 0)
1612 || (uprv_strcmp("POSIX", posixID) == 0))
1615 posixID = getenv("LC_ALL");
1620 if ((posixID == 0) || (posixID[0] == '\0')) {
1621 posixID = getenv(category == LC_MESSAGES ? "LC_MESSAGES" : "LC_CTYPE");
1622 if ((posixID == 0) || (posixID[0] == '\0')) {
1624 if (posixID == 0) {
[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.cpp2241 void Locale::setFromPOSIXID(const char *posixID) in setFromPOSIXID() argument
2243 init(posixID, true); in setFromPOSIXID()
/third_party/icu/icu4c/source/common/unicode/
Dlocid.h1112 void setFromPOSIXID(const char *posixID);
/third_party/node/deps/icu-small/source/common/unicode/
Dlocid.h1112 void setFromPOSIXID(const char *posixID);
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dlocid.h1112 void setFromPOSIXID(const char *posixID);
/third_party/icu/icu4c/source/test/intltest/
Dloctest.cpp5433 char posixID[BUFFER_SIZE]; in TestBug13554() local
5437 uprv_convertToPosix(hostid, posixID, BUFFER_SIZE, &status); in TestBug13554()