/external/chromium_org/third_party/libaddressinput/src/cpp/test/ |
H A D | lookup_key_test.cc | 15 #include "lookup_key.h" 33 LookupKey lookup_key; local 34 lookup_key.FromAddress(address); 35 EXPECT_EQ("data/ZZ", lookup_key.ToKeyString(kMaxDepth)); 41 LookupKey lookup_key; local 42 lookup_key.FromAddress(address); 43 EXPECT_EQ(0, lookup_key.GetDepth()); 44 EXPECT_EQ("data/111", lookup_key.ToKeyString(kMaxDepth)); 51 LookupKey lookup_key; local 52 lookup_key 62 LookupKey lookup_key; local 74 LookupKey lookup_key; local 86 LookupKey lookup_key; local 98 LookupKey lookup_key; local 112 LookupKey lookup_key; local 124 LookupKey lookup_key; local 136 LookupKey lookup_key; local 149 LookupKey lookup_key; local 157 LookupKey lookup_key; local 166 LookupKey lookup_key; local [all...] |
H A D | supplier_test.cc | 31 #include "lookup_key.h" 68 virtual void Supply(const LookupKey& lookup_key, 76 virtual void Supply(const LookupKey& lookup_key, argument 78 ondemand_supplier_.Supply(lookup_key, supplied); 93 virtual void Supply(const LookupKey& lookup_key, argument 95 const std::string& region_code = lookup_key.GetRegionCode(); 99 preload_supplier_.Supply(lookup_key, supplied); 135 const LookupKey& lookup_key, 138 ASSERT_EQ(&lookup_key_, &lookup_key); 134 Supplied(bool success, const LookupKey& lookup_key, const Supplier::RuleHierarchy& hierarchy) argument
|
H A D | ondemand_supply_task_test.cc | 31 #include "lookup_key.h" 80 const LookupKey& lookup_key, 83 ASSERT_EQ(&lookup_key_, &lookup_key); 79 Supplied(bool success, const LookupKey& lookup_key, const Supplier::RuleHierarchy& hierarchy) argument
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
H A D | ondemand_supplier.cc | 22 #include "lookup_key.h" 42 void OndemandSupplier::Supply(const LookupKey& lookup_key, argument 45 new OndemandSupplyTask(lookup_key, &rule_cache_, supplied); 47 if (RegionDataConstants::IsSupported(lookup_key.GetRegionCode())) { 49 lookup_key.GetDepth(), 50 RegionDataConstants::GetMaxLookupKeyDepth(lookup_key.GetRegionCode())); 53 const std::string& key = lookup_key.ToKeyString(depth);
|
H A D | address_input_helper.cc | 30 #include "lookup_key.h" 120 LookupKey lookup_key; local 121 lookup_key.FromAddress(lookup_key_address); 122 const Rule* region_rule = supplier_->GetRule(lookup_key); 142 CheckChildrenForPostCodeMatches(*address, lookup_key, NULL, hierarchy); 154 const LookupKey& lookup_key, 158 const Rule* rule = supplier_->GetRule(lookup_key); 165 hierarchy[lookup_key.GetDepth()].push_back(Node()); 166 Node* node = &hierarchy[lookup_key.GetDepth()].back(); 175 child_key.FromLookupKey(lookup_key, *child_i 152 CheckChildrenForPostCodeMatches( const AddressData& address, const LookupKey& lookup_key, const Node* parent, std::vector<Node>* hierarchy) const argument [all...] |
H A D | address_normalizer.cc | 26 #include "lookup_key.h" 52 LookupKey lookup_key; local 63 lookup_key.FromLookupKey(parent_key, *key_it); 64 const Rule* rule = supplier_->GetRule(lookup_key);
|
H A D | preload_supplier.cc | 35 #include "lookup_key.h" 267 LookupKey lookup_key; local 268 lookup_key.FromAddress(address); 269 return lookup_key.ToKeyString(0); // Zero depth = COUNTRY level. 288 void PreloadSupplier::Supply(const LookupKey& lookup_key, argument 291 bool success = GetRuleHierarchy(lookup_key, &hierarchy); 292 supplied(success, lookup_key, hierarchy); 295 const Rule* PreloadSupplier::GetRule(const LookupKey& lookup_key) const { 296 assert(IsLoaded(lookup_key.GetRegionCode())); 298 if (!GetRuleHierarchy(lookup_key, 342 GetRuleHierarchy(const LookupKey& lookup_key, RuleHierarchy* hierarchy) const argument [all...] |
H A D | region_data_builder.cc | 29 #include "lookup_key.h" 52 LookupKey lookup_key; local 55 lookup_key.FromLookupKey(parent_key, *key_it); 57 lookup_key.ToKeyString(kLookupKeysMaxDepth); 81 lookup_key, 97 LookupKey lookup_key; local 98 lookup_key.FromAddress(address); 101 rules.find(lookup_key.ToKeyString(kLookupKeysMaxDepth)); 117 lookup_key,
|
H A D | ondemand_supply_task.cc | 30 #include "lookup_key.h" 38 const LookupKey& lookup_key, 43 lookup_key_(lookup_key), 37 OndemandSupplyTask( const LookupKey& lookup_key, std::map<std::string, const Rule*>* rules, const Supplier::Callback& supplied) argument
|
H A D | ondemand_supply_task.h | 41 OndemandSupplyTask(const LookupKey& lookup_key,
|
H A D | validation_task.h | 58 const LookupKey& lookup_key,
|
H A D | validation_task.cc | 35 #include "lookup_key.h" 73 const LookupKey& lookup_key, 75 assert(&lookup_key == lookup_key_.get()); // Sanity check. 72 Validate(bool success, const LookupKey& lookup_key, const Supplier::RuleHierarchy& hierarchy) argument
|
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/ |
H A D | supplier.h | 36 // Aggregates the metadata needed for |lookup_key| into a RuleHierarchy 40 virtual void Supply(const LookupKey& lookup_key,
|
H A D | preload_supplier.h | 59 // Collects the metadata needed for |lookup_key| from the cache, then calls 62 virtual void Supply(const LookupKey& lookup_key, 66 // the |lookup_key|. Can return NULL if the |lookup_key| does not correspond 68 const Rule* GetRule(const LookupKey& lookup_key) const; 86 bool GetRuleHierarchy(const LookupKey& lookup_key,
|
H A D | address_input_helper.h | 55 const AddressData& address, const LookupKey& lookup_key,
|
H A D | ondemand_supplier.h | 53 // Loads the metadata needed for |lookup_key|, then calls |supplied|. 54 virtual void Supply(const LookupKey& lookup_key, const Callback& supplied);
|
/external/chromium_org/extensions/browser/api/declarative/ |
H A D | rules_registry.cc | 150 RulesDictionaryKey lookup_key(extension_id, *i); 151 rules_.erase(lookup_key); 193 RulesDictionaryKey lookup_key(extension_id, *i); 194 RulesDictionary::iterator entry = rules_.find(lookup_key);
|
/external/chromium_org/third_party/libaddressinput/ |
H A D | libaddressinput_util.target.darwin-arm.mk | 36 third_party/libaddressinput/src/cpp/src/lookup_key.cc \
|
H A D | libaddressinput_util.target.darwin-arm64.mk | 36 third_party/libaddressinput/src/cpp/src/lookup_key.cc \
|
H A D | libaddressinput_util.target.darwin-mips.mk | 36 third_party/libaddressinput/src/cpp/src/lookup_key.cc \
|
H A D | libaddressinput_util.target.darwin-mips64.mk | 36 third_party/libaddressinput/src/cpp/src/lookup_key.cc \
|
H A D | libaddressinput_util.target.darwin-x86.mk | 36 third_party/libaddressinput/src/cpp/src/lookup_key.cc \
|
H A D | libaddressinput_util.target.darwin-x86_64.mk | 36 third_party/libaddressinput/src/cpp/src/lookup_key.cc \
|
H A D | libaddressinput_util.target.linux-arm.mk | 36 third_party/libaddressinput/src/cpp/src/lookup_key.cc \
|
H A D | libaddressinput_util.target.linux-arm64.mk | 36 third_party/libaddressinput/src/cpp/src/lookup_key.cc \
|