Searched refs:LocaleShardMap (Results 1 – 15 of 15) sorted by relevance
31 grammar::LocaleShardMap locale_shard_map = in TEST()32 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST()54 grammar::LocaleShardMap locale_shard_map = in TEST()55 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST()80 grammar::LocaleShardMap locale_shard_map = in TEST()81 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST()98 grammar::LocaleShardMap locale_shard_map = in TEST()99 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST()120 grammar::LocaleShardMap locale_shard_map = in TEST()121 grammar::LocaleShardMap::CreateLocaleShardMap({"", "de"}); in TEST()[all …]
45 LocaleShardMap LocaleShardMap::CreateLocaleShardMap( in CreateLocaleShardMap()47 LocaleShardMap locale_shard_map; in CreateLocaleShardMap()54 std::vector<Locale> LocaleShardMap::GetLocales(const int shard) const { in GetLocales()62 int LocaleShardMap::GetNumberOfShards() const { in GetNumberOfShards()66 int LocaleShardMap::GetShard(const std::vector<Locale> locales) const { in GetShard()75 int LocaleShardMap::GetShard(const std::string& locale_tags) const { in GetShard()80 void LocaleShardMap::AddLocalTags(const std::string& locale_tags) { in AddLocalTags()
28 LocaleShardMap locale_shard_map = LocaleShardMap::CreateLocaleShardMap( in TEST()46 LocaleShardMap locale_shard_map = LocaleShardMap::CreateLocaleShardMap({"*"}); in TEST()52 LocaleShardMap locale_shard_map = in TEST()53 LocaleShardMap::CreateLocaleShardMap({"ar-EG,bn-BD,cs-CZ", "en-*"}); in TEST()67 LocaleShardMap locale_shard_map = in TEST()68 LocaleShardMap::CreateLocaleShardMap({"", "en-US"}); in TEST()
34 grammar::LocaleShardMap locale_shard_map = in TEST()35 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST()77 grammar::LocaleShardMap locale_shard_map = in TEST()78 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST()104 grammar::LocaleShardMap locale_shard_map = in TEST()105 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST()125 grammar::LocaleShardMap locale_shard_map = in TEST()126 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST()167 grammar::LocaleShardMap locale_shard_map = in TEST()168 grammar::LocaleShardMap::CreateLocaleShardMap({"", "de"}); in TEST()[all …]
34 class LocaleShardMap {36 static LocaleShardMap CreateLocaleShardMap(47 explicit LocaleShardMap() {} in LocaleShardMap() function
58 explicit Rules(const LocaleShardMap& locale_shard_map) in Rules()220 const LocaleShardMap& locale_shard_map_;
100 explicit Ir(const LocaleShardMap& locale_shard_map) in Ir()231 const LocaleShardMap& locale_shard_map_;
44 grammar::LocaleShardMap locale_shard_map = in TEST_F()45 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()63 grammar::LocaleShardMap locale_shard_map = in TEST_F()64 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()87 grammar::LocaleShardMap locale_shard_map = in TEST_F()88 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()108 grammar::LocaleShardMap locale_shard_map = in TEST_F()109 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()129 grammar::LocaleShardMap locale_shard_map = in TEST_F()130 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()[all …]
126 grammar::LocaleShardMap locale_shard_map = in TEST_F()127 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()151 grammar::LocaleShardMap locale_shard_map = in CreateTestGrammar()152 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in CreateTestGrammar()267 grammar::LocaleShardMap locale_shard_map = in TEST_F()268 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()302 grammar::LocaleShardMap locale_shard_map = in TEST_F()303 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()342 grammar::LocaleShardMap locale_shard_map = in TEST_F()343 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()[all …]
49 grammar::LocaleShardMap locale_shard_map = in TEST_F()50 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()85 grammar::LocaleShardMap locale_shard_map = in TEST_F()86 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()128 grammar::LocaleShardMap locale_shard_map = in TEST_F()129 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()167 grammar::LocaleShardMap locale_shard_map = in TEST_F()168 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()206 grammar::LocaleShardMap locale_shard_map = in TEST_F()207 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()[all …]
40 using ::libtextclassifier3::grammar::LocaleShardMap;145 LocaleShardMap locale_shard_map = LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()181 LocaleShardMap locale_shard_map = LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()239 LocaleShardMap locale_shard_map = LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()279 LocaleShardMap locale_shard_map = in TEST_F()280 LocaleShardMap::CreateLocaleShardMap({"", "fr-CH"}); in TEST_F()344 LocaleShardMap locale_shard_map = LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()399 LocaleShardMap locale_shard_map = LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()453 LocaleShardMap locale_shard_map = LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()536 LocaleShardMap locale_shard_map = LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()[all …]
1075 grammar::LocaleShardMap locale_shard_map = in TEST_F()1076 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()1137 grammar::LocaleShardMap locale_shard_map = in TEST_F()1138 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()
41 grammar::LocaleShardMap locale_shard_map = in TEST_F()42 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()114 grammar::LocaleShardMap locale_shard_map = in TEST_F()115 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()
41 grammar::LocaleShardMap locale_shard_map = in TEST_F()42 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()
1842 grammar::LocaleShardMap locale_shard_map = in TEST_F()1843 grammar::LocaleShardMap::CreateLocaleShardMap({""}); in TEST_F()