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.cpp2162 return memcmp(l.localeNumberingSystem, r.localeNumberingSystem, in compareLocales()
2163 sizeof(l.localeNumberingSystem)); in compareLocales()
2323 + (localeNumberingSystem[0] ? 1: 0); in getImportanceScoreOfLocale()
2604 const bool localeNumsysMatches = strncmp(localeNumberingSystem, in isLocaleBetterThan()
2605 requested->localeNumberingSystem, in isLocaleBetterThan()
2606 sizeof(localeNumberingSystem)) == 0; in isLocaleBetterThan()
2607 const bool otherNumsysMatches = strncmp(o.localeNumberingSystem, in isLocaleBetterThan()
2608 requested->localeNumberingSystem, in isLocaleBetterThan()
2609 sizeof(localeNumberingSystem)) == 0; in isLocaleBetterThan()
3106 if (!scriptWasProvided && !localeVariant[0] && !localeNumberingSystem[0]) { in appendDirLocale()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1255 char localeNumberingSystem[8]; member
1345 memset(localeNumberingSystem, 0, sizeof(localeNumberingSystem)); in clearLocale()