Searched refs:insert_or_assign (Results 1 – 7 of 7) sorted by relevance
/system/bt/gd/common/ |
D | list_map_test.cc | 41 list_map_1.insert_or_assign(1, 10); in TEST() 42 list_map_1.insert_or_assign(2, 20); in TEST() 44 list_map_2.insert_or_assign(1, 10); in TEST() 45 list_map_2.insert_or_assign(2, 20); in TEST() 48 list_map_2.insert_or_assign(1, 11); in TEST() 52 list_map_3.insert_or_assign(2, 20); in TEST() 53 list_map_3.insert_or_assign(1, 10); in TEST() 65 list_map.insert_or_assign(1, std::make_shared<int>(100)); in TEST() 80 list_map.insert_or_assign(1, std::make_shared<int>(100)); in TEST() 95 list_map.insert_or_assign(1, std::make_unique<int>(100)); in TEST() [all …]
|
D | lru_cache_test.cc | 41 cache_1.insert_or_assign(1, 10); in TEST() 42 cache_1.insert_or_assign(2, 20); in TEST() 44 cache_2.insert_or_assign(1, 10); in TEST() 45 cache_2.insert_or_assign(2, 20); in TEST() 53 cache_2.insert_or_assign(1, 11); in TEST() 57 cache_3.insert_or_assign(1, 10); in TEST() 58 cache_3.insert_or_assign(2, 20); in TEST() 73 cache.insert_or_assign(1, 10); in TEST() 74 cache.insert_or_assign(2, 20); in TEST() 86 cache.insert_or_assign(1, std::make_shared<int>(100)); in TEST() [all …]
|
D | list_map.h | 143 void insert_or_assign(const_iterator pos, const Key& key, T value) { in insert_or_assign() function 154 void insert_or_assign(const Key& key, T value) { in insert_or_assign() function 155 insert_or_assign(end(), key, std::move(value)); in insert_or_assign()
|
D | lru_cache.h | 139 std::optional<node_type> insert_or_assign(const Key& key, T value) { in insert_or_assign() function 151 list_map_.insert_or_assign(list_map_.begin(), key, std::move(value)); in insert_or_assign()
|
/system/bt/gd/storage/ |
D | config_cache.cc | 175 section_iter->second.insert_or_assign(property, std::move(value)); 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() 238 temporary_devices_.insert_or_assign(section, std::move(section_properties->second)); in RemoveProperty() 396 device_section_entries.insert_or_assign("DevType", std::move(device_type_str)); in FixDeviceTypeInconsistencyInSection()
|
/system/incremental_delivery/incfs/ |
D | MountRegistry.cpp | 133 auto it = rootByBindPoint.insert_or_assign(absolute, std::pair{std::string(), index}).first; in addRoot() 184 .insert_or_assign(std::move(destAbsolute), in moveBind() 207 .insert_or_assign(path::normalize(where), in addBind() 383 .insert_or_assign(std::move(bind), std::pair(std::move(subdir), index)) in loadFrom()
|
/system/vold/ |
D | Checkpoint.cpp | 538 auto start_pos = used_sectors.insert_or_assign(start, true).first; in markUsed() 539 auto end_pos = used_sectors.insert_or_assign(end, false).first; in markUsed()
|