Searched refs:localeScript (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/androidfw/tests/ |
D | ConfigLocale_test.cpp | 126 memcpy(out->localeScript, script, 4); in fillIn() 180 EXPECT_EQ(0, test.localeScript[0]); in TEST() 202 EXPECT_EQ(0, memcmp("Latn", test.localeScript, 4)); in TEST()
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.cpp | 400 if (config.localeScript[0]) { in initFromResTable() 401 memcpy(script, config.localeScript, sizeof(config.localeScript)); in initFromResTable() 414 memcpy(out->localeScript, script, sizeof(out->localeScript)); in writeTo()
|
/frameworks/base/include/androidfw/ |
D | ResourceTypes.h | 1128 char localeScript[4]; member 1205 memset(localeScript, 0, sizeof(localeScript)); in clearLocale()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1799 int script = memcmp(l.localeScript, r.localeScript, sizeof(l.localeScript)); in compareLocales() 1937 const int score = ((localeScript[0] != 0) ? 1 : 0) + in isLocaleMoreSpecificThan() 1940 const int oScore = ((o.localeScript[0] != 0) ? 1 : 0) + in isLocaleMoreSpecificThan() 2106 if (localeScript[0] || o.localeScript[0]) { in isBetterThan() 2107 if (localeScript[0] != o.localeScript[0] && requested->localeScript[0]) { in isBetterThan() 2108 return localeScript[0]; in isBetterThan() 2486 if (localeScript[0]) { in getBcp47Locale() 2490 memcpy(str + charsWritten, localeScript, sizeof(localeScript)); in getBcp47Locale() 2491 charsWritten += sizeof(localeScript); in getBcp47Locale() 2520 config->localeScript[0] = toupper(start[0]); in assignLocaleComponent() [all …]
|