Home | History | Annotate | Download | only in common

Lines Matching defs:posixID

69     const char * const posixID;
93 * @param posixID posix ID of the language_TERRITORY such as 'de_CH'
95 #define ILCID_POSIX_ELEMENT_ARRAY(hostID, languageID, posixID) \
98 {hostID, #posixID}, \
110 * Create the map for the posixID. This macro supposes that the language string
976 * @param posixid the Posix style locale id.
982 getHostID(const ILcidPosixMap *this_0, const char* posixID, UErrorCode* status)
986 int32_t posixIDlen = (int32_t)uprv_strlen(posixID);
990 int32_t sameChars = idCmp(posixID, this_0->regionMaps[idx].posixID);
991 if (sameChars > bestIdxDiff && this_0->regionMaps[idx].posixID[sameChars] == 0) {
1002 if ((posixID[bestIdxDiff] == '_' || posixID[bestIdxDiff] == '@')
1003 && this_0->regionMaps[bestIdx].posixID[bestIdxDiff] == 0)
1022 return this_0->regionMaps[i].posixID;
1028 return this_0->regionMaps[0].posixID;
1057 uprv_convertToPosix(uint32_t hostid, char *posixID, int32_t posixIDCapacity, UErrorCode* status)
1137 uprv_memcpy(posixID, pPosixID, copyLen);
1139 posixID[resLen] = 0;
1255 uprv_convertToLCID(const char *langID, const char* posixID, UErrorCode* status)
1271 if (!langID || !posixID || uprv_strlen(langID) < 2 || uprv_strlen(posixID) < 2) {
1284 compVal = uprv_strcmp(langID, gPosixIDmap[mid].regionMaps->posixID);
1292 return getHostID(&gPosixIDmap[mid], posixID, status);
1298 * Sometimes we can't do a binary search on posixID because some LCIDs
1303 value = getHostID(&gPosixIDmap[idx], posixID, &myStatus);