Searched refs:ToKeyString (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/third_party/libaddressinput/src/cpp/test/ |
D | lookup_key_test.cc | 35 EXPECT_EQ("data/ZZ", lookup_key.ToKeyString(kMaxDepth)); in TEST() 44 EXPECT_EQ("data/111", lookup_key.ToKeyString(kMaxDepth)); in TEST() 54 EXPECT_EQ("data/111/222", lookup_key.ToKeyString(kMaxDepth)); in TEST() 65 EXPECT_EQ("data/111/222/333", lookup_key.ToKeyString(kMaxDepth)); in TEST() 77 EXPECT_EQ("data/111/222/333/444", lookup_key.ToKeyString(kMaxDepth)); in TEST() 89 EXPECT_EQ("data/111/222", lookup_key.ToKeyString(kMaxDepth)); in TEST() 100 EXPECT_EQ("data/111", lookup_key.ToKeyString(0)); in TEST() 101 EXPECT_EQ("data/111/222", lookup_key.ToKeyString(1)); in TEST() 102 EXPECT_EQ("data/111/222/333", lookup_key.ToKeyString(2)); in TEST() 103 EXPECT_EQ("data/111/222/333/444", lookup_key.ToKeyString(3)); in TEST() [all …]
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
D | lookup_key.h | 55 std::string ToKeyString(size_t max_depth) const;
|
D | region_data_builder.cc | 57 lookup_key.ToKeyString(kLookupKeysMaxDepth); in BuildRegionTreeRecursively() 101 rules.find(lookup_key.ToKeyString(kLookupKeysMaxDepth)); in BuildRegion()
|
D | ondemand_supplier.cc | 53 const std::string& key = lookup_key.ToKeyString(depth); in Supply()
|
D | preload_supplier.cc | 269 return lookup_key.ToKeyString(0); // Zero depth = COUNTRY level. in KeyFromRegionCode() 352 const std::string& key = lookup_key.ToKeyString(depth); in GetRuleHierarchy()
|
D | lookup_key.cc | 120 std::string LookupKey::ToKeyString(size_t max_depth) const { in ToKeyString() function in i18n::addressinput::LookupKey
|