Lines Matching refs:metadata
41 bool LoadCompiledInMetadata(PhoneMetadataCollection* metadata) {
42 if (!metadata->ParseFromArray(short_metadata_get(), short_metadata_size())) {
56 LOG(DFATAL) << "Could not parse compiled-in metadata.";
59 for (const auto& metadata : metadata_collection.metadata()) {
60 const string& region_code = metadata.id();
61 region_to_short_metadata_map_->insert(std::make_pair(region_code, metadata));
75 // Returns a pointer to the phone metadata for the appropriate region or NULL
359 const PhoneMetadata* metadata = GetMetadataForRegion(region_code);
360 if (!metadata || !metadata->has_emergency()) {
369 extracted_number, metadata->emergency(), allow_prefix_match_for_region);