Searched refs:GetShard (Results 1 – 3 of 3) sorted by relevance
/external/libtextclassifier/native/utils/grammar/utils/ |
D | locale-shard-map_test.cc | 60 EXPECT_EQ(locale_shard_map.GetShard("ar-EG,bn-BD,cs-CZ"), 0); in TEST() 61 EXPECT_EQ(locale_shard_map.GetShard("bn-BD,cs-CZ,ar-EG"), 0); in TEST() 62 EXPECT_EQ(locale_shard_map.GetShard("bn-BD,ar-EG,cs-CZ"), 0); in TEST() 63 EXPECT_EQ(locale_shard_map.GetShard("ar-EG,cs-CZ,bn-BD"), 0); in TEST()
|
D | locale-shard-map.cc | 66 int LocaleShardMap::GetShard(const std::vector<Locale> locales) const { in GetShard() function in libtextclassifier3::grammar::LocaleShardMap 75 int LocaleShardMap::GetShard(const std::string& locale_tags) const { in GetShard() function in libtextclassifier3::grammar::LocaleShardMap 77 return GetShard(locale_list); in GetShard()
|
D | locale-shard-map.h | 41 int GetShard(const std::vector<Locale> locales) const; 42 int GetShard(const std::string& locale_tags) const;
|