Lines Matching defs:posixID
70 const char * const posixID;
94 * @param posixID posix ID of the language_TERRITORY such as 'de_CH'
96 #define ILCID_POSIX_ELEMENT_ARRAY(hostID, languageID, posixID) \
99 {hostID, #posixID}, \
111 * Create the map for the posixID. This macro supposes that the language string
897 * @param posixid the Posix style locale id.
903 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status)
907 int32_t posixIDlen = (int32_t)uprv_strlen(posixID);
911 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID);
912 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) {
923 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@')
924 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0)
943 return this_0->regionMaps[i].posixID;
949 return this_0->regionMaps[0].posixID;
1030 uprv_convertToLCID(const char *langID, const char* posixID, UErrorCode* status)
1045 if (!langID || !posixID || uprv_strlen(langID) < 2 || uprv_strlen(posixID) < 2) {
1058 compVal = uprv_strcmp(langID, gPosixIDmap[mid].regionMaps->posixID);
1066 return getHostID(&gPosixIDmap[mid], posixID, status);
1072 * Sometimes we can't do a binary search on posixID because some LCIDs
1077 value = getHostID(&gPosixIDmap[idx], posixID, &myStatus);