Home
last modified time | relevance | path

Searched refs:localeVariant (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp130 memcpy(out->localeVariant, variant, strlen(variant)); in fillIn()
181 EXPECT_EQ(0, test.localeVariant[0]); in TEST()
/frameworks/base/tools/aapt/
DAaptAssets.cpp404 if (config.localeVariant[0]) { in initFromResTable()
405 memcpy(variant, config.localeVariant, sizeof(config.localeVariant)); in initFromResTable()
418 memcpy(out->localeVariant, variant, sizeof(out->localeVariant)); in writeTo()
/frameworks/base/include/androidfw/
DResourceTypes.h1112 char localeVariant[8]; member
1186 memset(localeVariant, 0, sizeof(localeVariant)); in clearLocale()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1803 return memcmp(l.localeVariant, r.localeVariant, sizeof(l.localeVariant)); in compareLocales()
1934 ((localeVariant[0] != 0) ? 2 : 0); in isLocaleMoreSpecificThan()
1937 ((o.localeVariant[0] != 0) ? 2 : 0); in isLocaleMoreSpecificThan()
2108 if (localeVariant[0] || o.localeVariant[0]) { in isBetterThan()
2109 if (localeVariant[0] != o.localeVariant[0] && requested->localeVariant[0]) { in isBetterThan()
2110 return localeVariant[0]; in isBetterThan()
2497 if (localeVariant[0]) { in getBcp47Locale()
2501 memcpy(str + charsWritten, localeVariant, sizeof(localeVariant)); in getBcp47Locale()
2526 config->localeVariant[i] = tolower(start[i]); in assignLocaleComponent()
2539 memset(localeVariant, 0, sizeof(localeVariant)); in setBcp47Locale()