Lines Matching refs:second

124     return section_iter->second.find(property) != section_iter->second.end();  in HasProperty()
128 return section_iter->second.find(property) != section_iter->second.end(); in HasProperty()
132 return section_iter->second.find(property) != section_iter->second.end(); in HasProperty()
141 auto property_iter = section_iter->second.find(property); in GetProperty()
142 if (property_iter != section_iter->second.end()) { in GetProperty()
143 return property_iter->second; in GetProperty()
148 auto property_iter = section_iter->second.find(property); in GetProperty()
149 if (property_iter != section_iter->second.end()) { in GetProperty()
150 return property_iter->second; in GetProperty()
155 auto property_iter = section_iter->second.find(property); in GetProperty()
156 if (property_iter != section_iter->second.end()) { in GetProperty()
157 return property_iter->second; in GetProperty()
175 section_iter->second.insert_or_assign(property, std::move(value)); in SetProperty()
184 …_iter = persistent_devices_.try_emplace_back(section, std::move(section_properties->second)).first; in SetProperty()
190 section_iter->second.insert_or_assign(property, std::move(value)); in SetProperty()
199 section_iter->second.insert_or_assign(property, std::move(value)); in SetProperty()
217 auto value = section_iter->second.extract(property); in RemoveProperty()
219 if (section_iter->second.size() == 0) { in RemoveProperty()
231 auto value = section_iter->second.extract(property); in RemoveProperty()
233 if (section_iter->second.size() == 0) { in RemoveProperty()
238 temporary_devices_.insert_or_assign(section, std::move(section_properties->second)); in RemoveProperty()
249 auto value = section_iter->second.extract(property); in RemoveProperty()
250 if (section_iter->second.size() == 0) { in RemoveProperty()
271 if (it->second.contains(property)) { in RemoveSectionWithProperty()
281 if (it->second.contains(property)) { in RemoveSectionWithProperty()
329 for (const auto& property : section.second) { in SerializeToLegacyFormat()
330 serialized << property.first << " = " << property.second << std::endl; in SerializeToLegacyFormat()
344 auto it = elem.second.find(property); in GetSectionNamesWithProperty()
345 if (it != elem.second.end()) { in GetSectionNamesWithProperty()
346 result.emplace_back(SectionAndPropertyValue{.section = elem.first, .property = it->second}); in GetSectionNamesWithProperty()
352 auto it = elem.second.find(property); in GetSectionNamesWithProperty()
353 if (it != elem.second.end()) { in GetSectionNamesWithProperty()
354 result.emplace_back(SectionAndPropertyValue{.section = elem.first, .property = it->second}); in GetSectionNamesWithProperty()
391 inconsistent = device_type_str != it->second; in FixDeviceTypeInconsistencyInSection()
393 it->second = std::move(device_type_str); in FixDeviceTypeInconsistencyInSection()
408 if (FixDeviceTypeInconsistencyInSection(elem.first, elem.second)) { in FixDeviceTypeInconsistencies()
415 if (FixDeviceTypeInconsistencyInSection(elem.first, elem.second)) { in FixDeviceTypeInconsistencies()
434 section_ptr = &section_iter->second; in HasAtLeastOneMatchingPropertiesInSection()
443 section_ptr = &section_iter->second; in HasAtLeastOneMatchingPropertiesInSection()