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.h1132 char localeVariant[8]; member
1206 memset(localeVariant, 0, sizeof(localeVariant)); in clearLocale()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1807 return memcmp(l.localeVariant, r.localeVariant, sizeof(l.localeVariant)); in compareLocales()
1938 ((localeVariant[0] != 0) ? 2 : 0); in isLocaleMoreSpecificThan()
1941 ((o.localeVariant[0] != 0) ? 2 : 0); in isLocaleMoreSpecificThan()
2112 if (localeVariant[0] || o.localeVariant[0]) { in isBetterThan()
2113 if (localeVariant[0] != o.localeVariant[0] && requested->localeVariant[0]) { in isBetterThan()
2114 return localeVariant[0]; in isBetterThan()
2501 if (localeVariant[0]) { in getBcp47Locale()
2505 memcpy(str + charsWritten, localeVariant, sizeof(localeVariant)); in getBcp47Locale()
2530 config->localeVariant[i] = tolower(start[i]); in assignLocaleComponent()
2543 memset(localeVariant, 0, sizeof(localeVariant)); in setBcp47Locale()