Lines Matching refs:section_iter

122   auto section_iter = information_sections_.find(section);  in HasProperty()  local
123 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
140 if (section_iter != information_sections_.end()) { in GetProperty()
141 auto property_iter = section_iter->second.find(property); in GetProperty()
142 if (property_iter != section_iter->second.end()) { in GetProperty()
146 section_iter = persistent_devices_.find(section); in GetProperty()
147 if (section_iter != persistent_devices_.end()) { in GetProperty()
148 auto property_iter = section_iter->second.find(property); in GetProperty()
149 if (property_iter != section_iter->second.end()) { in GetProperty()
153 section_iter = temporary_devices_.find(section); in GetProperty()
154 if (section_iter != temporary_devices_.end()) { in GetProperty()
155 auto property_iter = section_iter->second.find(property); in GetProperty()
156 if (property_iter != section_iter->second.end()) { in GetProperty()
171 auto section_iter = information_sections_.find(section); in SetProperty() local
172 if (section_iter == information_sections_.end()) { in SetProperty()
173section_iter = information_sections_.try_emplace_back(section, common::ListMap<std::string, std::s… in SetProperty()
175 section_iter->second.insert_or_assign(property, std::move(value)); in SetProperty()
179 auto section_iter = persistent_devices_.find(section); in SetProperty() local
180 if (section_iter == persistent_devices_.end() && IsPersistentProperty(property)) { in SetProperty()
184section_iter = persistent_devices_.try_emplace_back(section, std::move(section_properties->second)… in SetProperty()
186section_iter = persistent_devices_.try_emplace_back(section, common::ListMap<std::string, std::str… in SetProperty()
189 if (section_iter != persistent_devices_.end()) { in SetProperty()
190 section_iter->second.insert_or_assign(property, std::move(value)); in SetProperty()
194 section_iter = temporary_devices_.find(section); in SetProperty()
195 if (section_iter == temporary_devices_.end()) { in SetProperty()
197 section_iter = std::get<0>(triple); in SetProperty()
199 section_iter->second.insert_or_assign(property, std::move(value)); in SetProperty()
215 auto section_iter = information_sections_.find(section); in RemoveProperty() local
216 if (section_iter != information_sections_.end()) { in RemoveProperty()
217 auto value = section_iter->second.extract(property); in RemoveProperty()
219 if (section_iter->second.size() == 0) { in RemoveProperty()
220 information_sections_.erase(section_iter); in RemoveProperty()
229 section_iter = persistent_devices_.find(section); in RemoveProperty()
230 if (section_iter != persistent_devices_.end()) { in RemoveProperty()
231 auto value = section_iter->second.extract(property); in RemoveProperty()
233 if (section_iter->second.size() == 0) { in RemoveProperty()
234 persistent_devices_.erase(section_iter); in RemoveProperty()
247 section_iter = temporary_devices_.find(section); in RemoveProperty()
248 if (section_iter != temporary_devices_.end()) { in RemoveProperty()
249 auto value = section_iter->second.extract(property); in RemoveProperty()
250 if (section_iter->second.size() == 0) { in RemoveProperty()
251 temporary_devices_.erase(section_iter); in RemoveProperty()
430 auto section_iter = information_sections_.find(section); in HasAtLeastOneMatchingPropertiesInSection() local
431 if (section_iter == information_sections_.end()) { in HasAtLeastOneMatchingPropertiesInSection()
434 section_ptr = &section_iter->second; in HasAtLeastOneMatchingPropertiesInSection()
436 auto section_iter = persistent_devices_.find(section); in HasAtLeastOneMatchingPropertiesInSection() local
437 if (section_iter == persistent_devices_.end()) { in HasAtLeastOneMatchingPropertiesInSection()
438 section_iter = temporary_devices_.find(section); in HasAtLeastOneMatchingPropertiesInSection()
439 if (section_iter == temporary_devices_.end()) { in HasAtLeastOneMatchingPropertiesInSection()
443 section_ptr = &section_iter->second; in HasAtLeastOneMatchingPropertiesInSection()