Lines Matching refs:localeID
628 _appendLanguageToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) {
638 len = uloc_getLanguage(localeID, buf, sizeof(buf), &tmpStatus);
683 _appendScriptToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) {
693 len = uloc_getScript(localeID, buf, sizeof(buf), &tmpStatus);
725 _appendRegionToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UErrorCode* status) {
735 len = uloc_getCountry(localeID, buf, sizeof(buf), &tmpStatus);
767 _appendVariantsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool *hadPosix, UErrorCode* status) {
777 len = uloc_getVariant(localeID, buf, sizeof(buf), &tmpStatus);
891 _appendKeywordsToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool hadPosix, UErrorCode* status) {
899 keywordEnum = uloc_openKeywords(localeID, status);
927 len = uloc_getKeywordValue(localeID, key, buf, sizeof(buf), &tmpStatus);
1640 _appendPrivateuseToLanguageTag(const char* localeID, char* appendAt, int32_t capacity, UBool strict, UBool hadPosix, UErrorCode* status) {
1651 len = uloc_getVariant(localeID, buf, sizeof(buf), &tmpStatus);
2312 uloc_toLanguageTag(const char* localeID,
2326 if (uprv_strlen(localeID) > 0) {
2327 uloc_canonicalize(localeID, canonical, sizeof(canonical), &tmpStatus);
2353 len = uloc_getKeywordValue(localeID, key, &buf[2], sizeof(buf) - 2, &tmpStatus);
2392 char* localeID,
2414 uprv_memcpy(localeID, subtag, uprv_min(len, localeIDCapacity - reslen));
2425 *(localeID + reslen) = LOCALE_SEP;
2434 *(localeID + reslen) = uprv_toupper(*p);
2436 *(localeID + reslen) = *p;
2449 *(localeID + reslen) = LOCALE_SEP;
2456 *(localeID + reslen) = uprv_toupper(*p);
2469 *(localeID + reslen) = LOCALE_SEP;
2477 *(localeID + reslen) = LOCALE_SEP;
2484 *(localeID + reslen) = uprv_toupper(*p);
2499 uprv_memcpy(localeID + reslen, LANG_UND, uprv_min(LANG_UND_LEN, localeIDCapacity - reslen));
2503 len = _appendKeywords(lt, localeID + reslen, localeIDCapacity - reslen, status);
2508 return u_terminateChars(localeID, localeIDCapacity, reslen, status);