Home
last modified time | relevance | path

Searched refs:emplace (Results 1 – 25 of 98) sorted by relevance

1234

/system/extras/perfprofd/
Dmap_utils.h50 map_.emplace(val, AggregatedSymbol(sym, val)); in Insert()
72 map_.emplace(val, AggregatedSymbol(sym, val)); in Insert()
96 map_.emplace(*left.offsets.begin(), std::move(left)); in Insert()
97 map_.emplace(val, AggregatedSymbol(sym, val)); in Insert()
98 map_.emplace(*right.offsets.begin(), std::move(right)); in Insert()
120 map_.emplace(val, std::move(copy)); in ExtendLeft()
Dsymbolizer.cc81 elf_data.emplace(sym.vaddr, Symbol(sym.name, sym.len)); in LoadDso()
86 dsos.emplace(dso, std::move(elf_data)); in LoadDso()
119 vdex_data.emplace(symbol.offset, Symbol(symbol.name, symbol.len)); in LoadDso()
121 dsos.emplace(dso, std::move(vdex_data)); in LoadDso()
129 dsos.emplace(dso, SymbolMap()); in LoadDso()
140 dsos.emplace(dso, SymbolMap()); in LoadDso()
/system/chre/util/tests/
Dpriority_queue_test.cc175 EXPECT_TRUE(q.emplace(0, 0)); in TEST()
176 EXPECT_TRUE(q.emplace(1, 2)); in TEST()
177 EXPECT_TRUE(q.emplace(2, 1)); in TEST()
197 EXPECT_TRUE(q.emplace(0, 0)); in TEST()
198 EXPECT_TRUE(q.emplace(1, 2)); in TEST()
199 EXPECT_TRUE(q.emplace(2, 1)); in TEST()
217 EXPECT_TRUE(q.emplace(0, 0)); in TEST()
218 EXPECT_TRUE(q.emplace(1, 2)); in TEST()
219 EXPECT_TRUE(q.emplace(2, 1)); in TEST()
Darray_queue_test.cc272 EXPECT_TRUE(q.emplace(0)); in TEST()
276 EXPECT_TRUE(q.emplace(1)); in TEST()
280 EXPECT_FALSE(q.emplace(2)); in TEST()
398 q.emplace(3); in TEST()
523 q.emplace(i); in TEST()
/system/core/init/
Daction_manager.cpp36 event_queue_.emplace(trigger); in QueueEventTrigger()
40 event_queue_.emplace(std::make_pair(name, value)); in QueuePropertyChange()
52 event_queue_.emplace(action.get()); in QueueBuiltinAction()
62 current_executing_actions_.emplace(action.get()); in ExecuteOneCommand()
Drlimit_parser_test.cpp28 input.emplace(input.begin(), ""); in TestRlimitSuccess()
41 input.emplace(input.begin(), ""); in TestRlimitFailure()
Dfirst_stage_mount.cpp271 required_devices_partition_names_.emplace(super_partition_name_); in GetDmLinearMetadataDevice()
344 required_devices_partition_names_.emplace(partition_name); in InitDmLinearBackingDevices()
568 required_devices_partition_names_.emplace(basename(device.c_str())); in MountPartitions()
678 required_devices_partition_names_.emplace(basename(fstab_entry.blk_device.c_str())); in GetDmVerityDevices()
683 required_devices_partition_names_.emplace(basename(verity_loc_device.c_str())); in GetDmVerityDevices()
745 logical_partitions.emplace(basename(fstab_entry.blk_device.c_str())); in GetDmVerityDevices()
747 required_devices_partition_names_.emplace(basename(fstab_entry.blk_device.c_str())); in GetDmVerityDevices()
768 required_devices_partition_names_.emplace(partition_name); in GetDmVerityDevices()
Depoll.cpp45 auto [it, inserted] = epoll_handlers_.emplace(fd, std::move(handler)); in RegisterHandler()
/system/nfc/src/adaptation/
DNfcAdaptation.cc201 configMap.emplace(NAME_NFA_PROPRIETARY_CFG, ConfigValue(nfaPropCfg)); in GetVendorConfigs()
202 configMap.emplace(NAME_NFA_POLL_BAIL_OUT_MODE, in GetVendorConfigs()
204 configMap.emplace(NAME_DEFAULT_OFFHOST_ROUTE, in GetVendorConfigs()
207 configMap.emplace(NAME_OFFHOST_ROUTE_UICC, in GetVendorConfigs()
211 configMap.emplace(NAME_OFFHOST_ROUTE_ESE, in GetVendorConfigs()
214 configMap.emplace(NAME_DEFAULT_ROUTE, in GetVendorConfigs()
216 configMap.emplace(NAME_DEFAULT_NFCF_ROUTE, in GetVendorConfigs()
218 configMap.emplace(NAME_DEFAULT_ISODEP_ROUTE, in GetVendorConfigs()
220 configMap.emplace(NAME_DEFAULT_SYS_CODE_ROUTE, in GetVendorConfigs()
222 configMap.emplace( in GetVendorConfigs()
[all …]
/system/libvintf/
DKernelConfigParser.cpp69 if (mConfigs.emplace(match[1], trimTrailingSpaces(match[2])).second) { in processRemaining()
81 if (mConfigs.emplace(std::move(key), std::move(value)).second) { in processRemaining()
90 if (mConfigs.emplace(match[1], "n").second) { in processRemaining()
/system/update_engine/update_manager/
Devaluation_context-inl.h48 value_cache_.emplace(static_cast<BaseVariable*>(var), BoxedValue(result)); in GetValue()
/system/core/libmemunreachable/
DTarjan.h43 references_out.emplace(ref); in Edge()
44 ref->references_in.emplace(this); in Edge()
/system/extras/libperfmgr/
DRequestGroup.cc26 request_map_.emplace(hint_type, end_time); in AddRequest()
/system/tools/aidl/
Daidl_apicheck.cpp65 new_methods.emplace(m->Signature(), m.get()); in are_compatible_interfaces()
116 new_constdecls.emplace(c->GetName(), c.get()); in are_compatible_interfaces()
223 new_map.emplace(t->GetCanonicalName(), t); in check_api()
Daidl_unittest.cpp186 import_paths_.emplace(""); in TEST_F()
291 import_paths_.emplace(""); in TEST_F()
350 import_paths_.emplace(""); in TEST_F()
394 import_paths_.emplace(""); in TEST_F()
499 import_paths_.emplace(""); in TEST_F()
516 import_paths_.emplace(""); in TEST_F()
/system/libvintf/include/vintf/
DXmlFileGroup.h47 mXmlFiles.emplace(std::move(name), std::move(t)); in addXmlFile()
/system/chre/util/include/chre/util/
Dpriority_queue.h87 bool emplace(Args&&... args);
/system/netd/resolv/
DDns64Configuration.cpp60 mDns64Configs.emplace(std::make_pair(netId, cfg)); in startPrefixDiscovery()
224 mDns64Configs.emplace(std::make_pair(cfg.netId, cfg)); in recordDns64Config()
/system/apex/apexd/
Dapex_database.h106 mounted_apexes_.emplace(package, std::map<MountedApexData, bool>()); in AddMountedApex()
111 auto check_it = it->second.emplace( in AddMountedApex()
/system/bt/gd/os/linux_generic/
Dhandler.cc54 tasks_.emplace(std::move(closure)); in Post()
/system/core/libprocessgroup/
Dprocessgroup.cpp277 pgids.emplace(initialPid); in DoKillProcessGroupOnce()
293 pgids.emplace(pid); in DoKillProcessGroupOnce()
295 pids.emplace(pid); in DoKillProcessGroupOnce()
/system/extras/simpleperf/
Devent_type.cpp135 g_event_types.emplace(name, type, config, "", ""); in ScopedEventTypes()
162 auto result = g_event_types.emplace(name, PERF_TYPE_RAW, config, "", ""); in FindEventTypeByName()
/system/core/property_service/libpropertyinfoserializer/
Dtrie_builder.cpp100 auto [iterator, _] = container->emplace(string); in StringPointerFromContainer()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dacl_connection_handler.cc70 acl_connections_.emplace(handle, addr); in CreateConnection()
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp140 descriptors->emplace( in ReadDescriptorsFromFile()
158 descriptors->emplace( in ReadDescriptorsFromFile()

1234