Searched refs:try_emplace (Results 1 – 15 of 15) sorted by relevance
/system/bt/gd/l2cap/internal/ |
D | dynamic_channel_allocator.cc | 44 …channels_.try_emplace(cid, std::make_shared<DynamicChannelImpl>(psm, cid, remote_cid, link_, l2cap… in AllocateChannel() 59 auto elem = channels_.try_emplace( in AllocateReservedChannel()
|
D | fixed_channel_allocator.h | 55 …auto elem = channels_.try_emplace(cid, std::make_shared<FixedChannelImplType>(cid, link_, l2cap_ha… in AllocateChannel()
|
/system/bt/gd/common/ |
D | lru_cache.h | 162 std::tuple<iterator, bool, std::optional<node_type>> try_emplace(const Key& key, Args&&... args) { in try_emplace() function 173 auto pair = list_map_.try_emplace(list_map_.begin(), key, std::forward<Args>(args)...); in try_emplace()
|
D | list_map.h | 123 std::pair<iterator, bool> try_emplace(const_iterator pos, const Key& key, Args&&... args) { in try_emplace() function 138 return try_emplace(end(), key, std::forward<Args>(args)...); in try_emplace_back()
|
D | list_map_test.cc | 203 auto result = list_map.try_emplace(iter, 42, 420); in TEST() 209 EXPECT_FALSE(list_map.try_emplace(result.first, 42, 420).second); in TEST()
|
D | lru_cache_test.cc | 75 auto result = cache.try_emplace(42, 420); in TEST()
|
/system/bt/gd/l2cap/classic/internal/ |
D | dynamic_channel_service_manager_impl.cc | 39 service_map_.try_emplace( in Register()
|
D | fixed_channel_service_manager_impl.cc | 42 service_map_.try_emplace(cid, in Register()
|
D | link_manager.cc | 77 pending_links_.try_emplace(device); in ConnectFixedChannelServices() 245 links_.try_emplace(device, l2cap_handler_, std::move(acl_connection), parameter_provider_, in OnConnectSuccess()
|
/system/bt/gd/l2cap/le/internal/ |
D | link_manager.cc | 78 pending_links_.try_emplace(address_with_type); in ConnectFixedChannelServices() 111 …links_.try_emplace(connected_address_with_type, l2cap_handler_, std::move(acl_connection), paramet… in OnLeConnectSuccess()
|
D | dynamic_channel_service_manager_impl.cc | 37 service_map_.try_emplace( in Register()
|
D | fixed_channel_service_manager_impl.cc | 42 service_map_.try_emplace(cid, in Register()
|
/system/core/init/ |
D | keychords.cpp | 283 entries_.try_emplace(keycodes, Entry()); in Register()
|
/system/bt/gd/storage/ |
D | config_cache.cc | 196 …auto triple = temporary_devices_.try_emplace(section, common::ListMap<std::string, std::string>{}); in SetProperty()
|
/system/incremental_delivery/libdataloader/ |
D | DataLoaderConnector.cpp | 802 globals().dataLoaderConnectors.try_emplace(storageId, in DataLoaderService_OnCreate()
|