Home
last modified time | relevance | path

Searched refs:localeNumberingSystem (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp179 memcpy(&r.localeNumberingSystem, "latn", 4); in TEST()
200 EXPECT_EQ(0, test.localeNumberingSystem[0]); in TEST()
214 EXPECT_EQ(0, test.localeNumberingSystem[0]); in TEST()
226 EXPECT_EQ(0, test.localeNumberingSystem[0]); in TEST()
240 EXPECT_EQ(0, test.localeNumberingSystem[0]); in TEST()
254 EXPECT_EQ(0, test.localeNumberingSystem[0]); in TEST()
264 EXPECT_EQ(0, memcmp("latn", test.localeNumberingSystem, 4)); in TEST()
267 EXPECT_EQ(0, test.localeNumberingSystem[0]); in TEST()
270 EXPECT_EQ(0, test.localeNumberingSystem[0]); in TEST()
273 EXPECT_EQ(0, memcmp("latn", test.localeNumberingSystem, 4)); in TEST()
[all …]
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1963 return memcmp(l.localeNumberingSystem, r.localeNumberingSystem, in compareLocales()
1964 sizeof(l.localeNumberingSystem)); in compareLocales()
2118 + (localeNumberingSystem[0] ? 1: 0); in getImportanceScoreOfLocale()
2392 const bool localeNumsysMatches = strncmp(localeNumberingSystem, in isLocaleBetterThan()
2393 requested->localeNumberingSystem, in isLocaleBetterThan()
2394 sizeof(localeNumberingSystem)) == 0; in isLocaleBetterThan()
2395 const bool otherNumsysMatches = strncmp(o.localeNumberingSystem, in isLocaleBetterThan()
2396 requested->localeNumberingSystem, in isLocaleBetterThan()
2397 sizeof(localeNumberingSystem)) == 0; in isLocaleBetterThan()
2869 if (!scriptWasProvided && !localeVariant[0] && !localeNumberingSystem[0]) { in appendDirLocale()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1202 char localeNumberingSystem[8]; member
1291 memset(localeNumberingSystem, 0, sizeof(localeNumberingSystem)); in clearLocale()