Lines Matching refs:data

208     Locale *newDefault = (Locale *)uhash_get(gDefaultLocalesHashT, localeNameBuf.data());
215 newDefault->init(localeNameBuf.data(), false);
400 init(togo.data(), false);
549 * A Builder class to build the alias data.
569 // Read the languageAlias data from alias to
582 // Read the scriptAlias data from alias to
593 // Read the territoryAlias data from alias to
604 // Read the variantAlias data from alias to
615 // Read the subdivisionAlias data from alias to
736 * Read the languageAlias data from alias to strings+types+replacementIndexes.
773 * Read the scriptAlias data from alias to strings+types+replacementIndexes.
804 * Read the territoryAlias data from alias to strings+types+replacementIndexes.
832 * Read the variantAlias data from alias to strings+types+replacementIndexes.
869 * Read the subdivisionAlias data from alias to strings+types+replacementIndexes.
897 * Initializes the alias data from the ICU resource bundles. The alias data
900 * If the alias data has already loaded, then this method simply returns without
919 * Build the alias data from resources.
1049 auto *data = new AliasData(
1057 if (data == nullptr) {
1060 return data;
1077 data(nullptr) {
1095 const AliasData* data;
1218 char* data = str->data();
1219 replacedLanguage = (const char*) data;
1220 char* endOfField = uprv_strchr(data, '_');
1309 const char *replacement = data->languageMap().get(typeKey.data());
1311 // Found no replacement data.
1368 // Something changed by language alias data.
1371 // Nothing changed by language alias data.
1385 const char *replacement = data->territoryMap().get(region);
1387 // Found no replacement data for this region.
1426 replacedRegion = item->data();
1432 // The region is changed by data in territory alias.
1446 const char *replacement = data->scriptMap().get(script);
1448 // Found no replacement data for this script.
1453 // The script is changed by data in script alias.
1466 const char *replacement = data->variantMap().get(variant);
1468 // Found no replacement data for this variant.
1500 const char *replacement = data->subdivisionMap().get(subdivision.data());
1503 // Found replacement data for this subdivision.
1528 const char* str = transformedExtensions.data();
1542 T_CString_toLowerCase(output.data());
1618 T_CString_toUpperCase(out.data() + variantsStart);
1623 Locale tmpLocale(tmp.data());
1634 data = AliasData::singleton(status);
1638 U_ASSERT(data != nullptr);
1656 char* start = variantsBuff.data();
1662 // do not add "" or duplicate data to variants
1668 // do not add "" or duplicate data to variants
1687 // Something wrong with the data cause looping here more than 10 times
1690 // From observation of key in data/misc/metadata.txt
1709 // Some values in data is changed, try to match from the beginning
1749 temp.setKeywordValue(key, replacement.data(), status);
1755 temp.setKeywordValue(key, replacement.data(), status);
1773 if (uprv_strcmp(out.data(), locale.getName()) == 0) {
1961 init(replaced.data(), false);
2087 init(maximizedLocaleID.data(), /*canonicalize=*/false);
2113 init(minimizedLocaleID.data(), /*canonicalize=*/false);
2132 init(uncanonicalized.data(), /*canonicalize=*/true);
2163 tag.data(),
2179 result.init(localeID.data(), /*canonicalize=*/false);
2257 // Set the locale's data based on a posix id.
2564 result = new KeywordEnumeration(keywords.data(), keywords.length(), 0, status);
2593 result = new UnicodeKeywordEnumeration(keywords.data(), keywords.length(), 0, status);
2628 ulocimp_getKeywordValue(fullName, keywordName_nul.data(), sink, &status);
2641 const char* legacy_key = uloc_toLegacyKey(keywordName_nul.data());
2659 keywordName_nul.data(), legacy_value.data());
2718 setKeywordValue(keywordName_nul.data(), keywordValue_nul.data(), status);
2733 const char* legacy_key = uloc_toLegacyKey(keywordName_nul.data());
2744 uloc_toLegacyType(keywordName_nul.data(), keywordValue_nul.data());