Home
last modified time | relevance | path

Searched refs:try_emplace (Results 1 – 15 of 15) sorted by relevance

/system/bt/gd/l2cap/internal/
Ddynamic_channel_allocator.cc44 …channels_.try_emplace(cid, std::make_shared<DynamicChannelImpl>(psm, cid, remote_cid, link_, l2cap… in AllocateChannel()
59 auto elem = channels_.try_emplace( in AllocateReservedChannel()
Dfixed_channel_allocator.h55 …auto elem = channels_.try_emplace(cid, std::make_shared<FixedChannelImplType>(cid, link_, l2cap_ha… in AllocateChannel()
/system/bt/gd/common/
Dlru_cache.h162 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()
Dlist_map.h123 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()
Dlist_map_test.cc203 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()
Dlru_cache_test.cc75 auto result = cache.try_emplace(42, 420); in TEST()
/system/bt/gd/l2cap/classic/internal/
Ddynamic_channel_service_manager_impl.cc39 service_map_.try_emplace( in Register()
Dfixed_channel_service_manager_impl.cc42 service_map_.try_emplace(cid, in Register()
Dlink_manager.cc77 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/
Dlink_manager.cc78 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()
Ddynamic_channel_service_manager_impl.cc37 service_map_.try_emplace( in Register()
Dfixed_channel_service_manager_impl.cc42 service_map_.try_emplace(cid, in Register()
/system/core/init/
Dkeychords.cpp283 entries_.try_emplace(keycodes, Entry()); in Register()
/system/bt/gd/storage/
Dconfig_cache.cc196 …auto triple = temporary_devices_.try_emplace(section, common::ListMap<std::string, std::string>{}); in SetProperty()
/system/incremental_delivery/libdataloader/
DDataLoaderConnector.cpp802 globals().dataLoaderConnectors.try_emplace(storageId, in DataLoaderService_OnCreate()