Home
last modified time | relevance | path

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

12

/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.cc184 EXPECT_TRUE(q.emplace(0)); in TEST()
188 EXPECT_TRUE(q.emplace(1)); in TEST()
192 EXPECT_FALSE(q.emplace(2)); in TEST()
285 q.emplace(3); in TEST()
/system/core/init/
Dinit_first_stage.cpp270 required_devices_partition_names_.emplace(basename(fstab_rec->blk_device)); in GetRequiredDevices()
274 required_devices_partition_names_.emplace(basename(verity_loc_device.c_str())); in GetRequiredDevices()
323 required_devices_partition_names_.emplace(basename(fstab_rec->blk_device)); in GetRequiredDevices()
342 required_devices_partition_names_.emplace(partition + ab_suffix); in GetRequiredDevices()
365 auto[it, inserted] = by_name_symlink_map_.emplace(uevent->partition_name, links[0]); in ColdbootCallback()
Dreboot.cpp200 blockDevPartitions->emplace(blockDevPartitions->begin(), *mentry); in FindPartitionsToUmount()
202 emulatedPartitions->emplace(emulatedPartitions->begin(), *mentry); in FindPartitionsToUmount()
Daction.cpp149 if (auto [it, inserted] = property_triggers_.emplace(prop_name, prop_value); !inserted) { in ParsePropertyTrigger()
360 current_executing_actions_.emplace(action.get()); in ExecuteOneCommand()
/system/update_engine/update_manager/
Devaluation_context-inl.h48 value_cache_.emplace( in GetValue()
Dboxed_value_unittest.cc103 m.emplace(42, BoxedValue(new const string("Hola mundo!"))); in TEST()
/system/core/libmemunreachable/
DTarjan.h41 references_out.emplace(ref); in Edge()
42 ref->references_in.emplace(this); in Edge()
DLeakFolding.cpp79 auto it = leak_map_.emplace(std::piecewise_construct, in FoldLeaks()
/system/chre/util/include/chre/util/
Dpriority_queue.h87 bool emplace(Args&&... args);
Darray_queue.h137 bool emplace(Args&&... args);
Dpriority_queue_impl.h63 bool PriorityQueue<ElementType, CompareFunction>::emplace(Args&&... args) { in emplace() function
/system/libvintf/
DCompatibilityMatrix.cpp27 mHals.emplace(hal.name, std::move(hal)); in add()
DHalManifest.cpp51 if (!existingMajorVersions.emplace(v.majorVer).second /* no insertion */) { in shouldAdd()
62 mHals.emplace(hal.name, std::move(hal)); // always succeed in add()
DRuntimeInfo-target.cpp117 if (!mRuntimeInfo->mKernelConfigs.emplace(std::move(key), std::move(value)).second) { in parseConfig()
/system/core/libappfuse/
DFuseBridgeLoop.cc189 opcode_map_.emplace(buffer_.request.header.unique, opcode); in ReadFromDevice()
326 bridges_.emplace(mount_id, std::move(bridge)); in AddBridge()
/system/core/debuggerd/
Dcrash_dump.cpp299 threads.emplace(sibling_tid, get_thread_name(sibling_tid)); in main()
315 threads.emplace(main_tid, get_thread_name(main_tid)); in main()
/system/core/liblog/
Devent_tag_map.cpp173 Idx2TagFmt.emplace(std::make_pair(tag, tagfmt)); in emplaceUnique()
190 TagFmt2Idx.emplace(std::make_pair(tagfmt, tag)); in emplaceUnique()
202 Tag2Idx.emplace(std::make_pair(tagfmt.first, tag)); in emplaceUnique()
/system/media/brillo/audio/audioservice/
Daudio_daemon.cpp71 files_.emplace(std::move(file)); in InitializeHandlers()
Dbrillo_audio_client.cpp204 callback_map_.emplace(*callback_id, callback); in RegisterAudioCallback()
Daudio_volume_handler.cpp36 step_sizes_.emplace(stream, kDefaultStepSize_); in AudioVolumeHandler()
/system/update_engine/
Dchrome_browser_proxy_resolver.cc91 callbacks_.emplace(url, std::move(request)); in GetProxiesForUrl()
/system/core/logd/
DLogTags.cpp163 const_cast<uid_list&>(ut->second).emplace(uid); in AddEventLogTags()
167 tag2uid[tag].emplace(uid); in AddEventLogTags()
733 const_cast<uid_list&>(ut->second).emplace(uid); in nameToTag()
783 tag2uid[Tag].emplace(uid); in nameToTag()
/system/tools/hidl/
DMethod.cpp258 if (mNames.emplace(v->name()).second) { in add()
/system/bt/service/
Dlow_energy_client.cc145 auto success = connection_ids_.emplace(bda, conn_id); in ConnectCallback()

12