Searched refs:section_iter (Results 1 – 3 of 3) sorted by relevance
122 auto section_iter = information_sections_.find(section); in HasProperty() local123 if (section_iter != information_sections_.end()) { in HasProperty()124 return section_iter->second.find(property) != section_iter->second.end(); in HasProperty()126 section_iter = persistent_devices_.find(section); in HasProperty()127 if (section_iter != persistent_devices_.end()) { in HasProperty()128 return section_iter->second.find(property) != section_iter->second.end(); in HasProperty()130 section_iter = temporary_devices_.find(section); in HasProperty()131 if (section_iter != temporary_devices_.end()) { in HasProperty()132 return section_iter->second.find(property) != section_iter->second.end(); in HasProperty()139 auto section_iter = information_sections_.find(section); in GetProperty() local[all …]
94 auto section_iter = config->Find("DID"); in TEST_F() local95 ASSERT_NE(section_iter, config->sections.end()); in TEST_F()104 auto section_iter = config->Find("DID"); in TEST_F() local105 ASSERT_NE(section_iter, config->sections.end()); in TEST_F()106 EXPECT_EQ(section_iter->name, "DID"); in TEST_F()107 EXPECT_TRUE(section_iter->Has("version")); in TEST_F()108 auto entry_iter = section_iter->Find("version"); in TEST_F()109 ASSERT_NE(entry_iter, section_iter->entries.end()); in TEST_F()112 EXPECT_EQ(section_iter->Find("random"), section_iter->entries.end()); in TEST_F()113 EXPECT_FALSE(section_iter->Has("random")); in TEST_F()[all …]
92 auto section_iter = paired_devices_list_.Find(section_name); in HasKey() local93 if (section_iter != paired_devices_list_.sections.end()) { in HasKey()94 return section_iter->Has(key); in HasKey()130 auto section_iter = paired_devices_list_.Find(section_name); in RemoveKey() local131 if (section_iter == paired_devices_list_.sections.end()) { in RemoveKey()134 auto entry_iter = section_iter->Find(key); in RemoveKey()135 if (entry_iter == section_iter->entries.end()) { in RemoveKey()138 section_iter->entries.erase(entry_iter); in RemoveKey()139 if (section_iter->entries.empty()) { in RemoveKey()140 paired_devices_list_.sections.erase(section_iter); in RemoveKey()[all …]