Home
last modified time | relevance | path

Searched refs:insert_or_assign (Results 1 – 12 of 12) sorted by relevance

/system/bt/gd/common/
Dlist_map_test.cc41 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 …]
Dlru_cache_test.cc41 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 …]
Dinit_flags.cc61 logging_debug_explicit_tag_settings.insert_or_assign(tag, true); in Load()
68 logging_debug_explicit_tag_settings.insert_or_assign(tag, false); in Load()
Dmetric_id_manager.cc76 auto evicted = paired_device_cache_.insert_or_assign(p.first, p.second); in Init()
142 auto evicted = temporary_device_cache_.insert_or_assign(mac_address, id); in AllocateId()
170 auto evicted = paired_device_cache_.insert_or_assign(mac_address, id); in SaveDevice()
Dlist_map.h143 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()
Dlru_cache.h139 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/os/host/
Dsystem_properties.cc42 properties.insert_or_assign(property, value); in SetSystemProperty()
/system/bt/gd/os/linux/
Dsystem_properties.cc42 properties.insert_or_assign(property, value); in SetSystemProperty()
/system/bt/gd/storage/
Dconfig_cache.cc175 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/hardware/interfaces/suspend/1.0/default/
DWakeupList.cpp76 mLookupTable.insert_or_assign(entry.name, mWakeups.begin()); in insert()
/system/incremental_delivery/incfs/
DMountRegistry.cpp133 auto it = rootByBindPoint.insert_or_assign(absolute, Bind{std::string(), int(index)}).first; in addRoot()
180 .insert_or_assign(path::normalize(where), Bind{std::move(realSubdir), root}) in addBind()
377 .insert_or_assign(std::move(bind), Bind{std::move(subdir), index}) in loadFrom()
/system/vold/
DCheckpoint.cpp537 auto start_pos = used_sectors.insert_or_assign(start, true).first; in markUsed()
538 auto end_pos = used_sectors.insert_or_assign(end, false).first; in markUsed()