Home
last modified time | relevance | path

Searched refs:insert (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/system/update_engine/payload_generator/
Dcycle_breaker_unittest.cc63 graph[n_a].out_edges.insert(make_pair(n_e, EdgeProperties())); in TEST()
64 graph[n_a].out_edges.insert(make_pair(n_f, EdgeProperties())); in TEST()
65 graph[n_b].out_edges.insert(make_pair(n_a, EdgeProperties())); in TEST()
66 graph[n_c].out_edges.insert(make_pair(n_d, EdgeProperties())); in TEST()
67 graph[n_d].out_edges.insert(make_pair(n_e, EdgeProperties())); in TEST()
68 graph[n_d].out_edges.insert(make_pair(n_f, EdgeProperties())); in TEST()
69 graph[n_e].out_edges.insert(make_pair(n_b, EdgeProperties())); in TEST()
70 graph[n_e].out_edges.insert(make_pair(n_c, EdgeProperties())); in TEST()
71 graph[n_e].out_edges.insert(make_pair(n_f, EdgeProperties())); in TEST()
72 graph[n_f].out_edges.insert(make_pair(n_g, EdgeProperties())); in TEST()
[all …]
Dtarjan_unittest.cc49 graph[n_a].out_edges.insert(make_pair(n_e, EdgeProperties())); in TEST()
50 graph[n_a].out_edges.insert(make_pair(n_f, EdgeProperties())); in TEST()
51 graph[n_b].out_edges.insert(make_pair(n_a, EdgeProperties())); in TEST()
52 graph[n_c].out_edges.insert(make_pair(n_d, EdgeProperties())); in TEST()
53 graph[n_d].out_edges.insert(make_pair(n_e, EdgeProperties())); in TEST()
54 graph[n_d].out_edges.insert(make_pair(n_f, EdgeProperties())); in TEST()
55 graph[n_e].out_edges.insert(make_pair(n_b, EdgeProperties())); in TEST()
56 graph[n_e].out_edges.insert(make_pair(n_c, EdgeProperties())); in TEST()
57 graph[n_e].out_edges.insert(make_pair(n_f, EdgeProperties())); in TEST()
58 graph[n_f].out_edges.insert(make_pair(n_g, EdgeProperties())); in TEST()
[all …]
Dtopological_sort_unittest.cc68 graph[n_i].out_edges.insert(make_pair(n_j, EdgeProperties())); in TEST()
69 graph[n_i].out_edges.insert(make_pair(n_c, EdgeProperties())); in TEST()
70 graph[n_i].out_edges.insert(make_pair(n_e, EdgeProperties())); in TEST()
71 graph[n_i].out_edges.insert(make_pair(n_h, EdgeProperties())); in TEST()
72 graph[n_c].out_edges.insert(make_pair(n_b, EdgeProperties())); in TEST()
73 graph[n_b].out_edges.insert(make_pair(n_a, EdgeProperties())); in TEST()
74 graph[n_e].out_edges.insert(make_pair(n_d, EdgeProperties())); in TEST()
75 graph[n_e].out_edges.insert(make_pair(n_g, EdgeProperties())); in TEST()
76 graph[n_g].out_edges.insert(make_pair(n_d, EdgeProperties())); in TEST()
77 graph[n_g].out_edges.insert(make_pair(n_f, EdgeProperties())); in TEST()
[all …]
/system/bt/gd/packet/
Dendian_inserter.h42 void insert(FixedWidthPODType value, BitInserter& it) const { in insert() function
56 void insert(FixedWidthIntegerType value, BitInserter& it, size_t num_bits) const { in insert() function
73 inline void insert(Enum value, BitInserter& it) const { in insert() function
76 insert<enum_type>(static_cast<enum_type>(value), it); in insert()
85 insert(element, it); in insert_vector()
Dpacket_builder_unittest.cc72 PacketBuilder<little_endian>::insert(signature_, it); in Serialize()
73 PacketBuilder<little_endian>::insert(byte_, it); in Serialize()
74 PacketBuilder<little_endian>::insert(two_bytes_, it); in Serialize()
75 PacketBuilder<little_endian>::insert(four_bytes_, it); in Serialize()
76 PacketBuilder<little_endian>::insert(eight_bytes_, it); in Serialize()
153 PacketBuilder<true>::insert(elem, it); in Serialize()
219 PacketBuilder<true>::insert(level_, it); in Serialize()
/system/bt/profile/avrcp/
Dmedia_id_map.h46 uint64_t insert(std::string media_id) { in insert() function
52 media_id_to_uid_.insert(std::pair<std::string, uint64_t>(media_id, uid)); in insert()
53 uid_to_media_id_.insert(std::pair<uint64_t, std::string>(uid, media_id)); in insert()
/system/tools/aidl/
Daidl_to_cpp.cpp282 headers.insert("vector"); in AddHeaders()
286 headers.insert("memory"); in AddHeaders()
290 headers.insert(utf8 ? "string" : "utils/String16.h"); in AddHeaders()
293 headers.insert("binder/IBinder.h"); in AddHeaders()
296 headers.insert("android-base/unique_fd.h"); in AddHeaders()
299 headers.insert("binder/ParcelFileDescriptor.h"); in AddHeaders()
304 headers.insert("cstdint"); in AddHeaders()
318 headers.insert(cpp_header); in AddHeaders()
326 headers.insert(cpp_header); in AddHeaders()
/system/keymaster/include/keymaster/
DList.h168 insert(begin(), src.begin(), src.end()); in List()
207 void push_front(const T& val) { insert(begin(), val); } in push_front()
208 void push_back(const T& val) { insert(end(), val); } in push_back()
211 iterator insert(iterator posn, const T& val) in insert() function
222 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() function
224 insert(posn, *first); in insert()
326 insert(lastDst, firstSrc, lastSrc); // copy remaining over
/system/core/libutils/include/utils/
DList.h170 insert(begin(), src.begin(), src.end()); in List()
209 void push_front(const T& val) { insert(begin(), val); } in push_front()
210 void push_back(const T& val) { insert(end(), val); } in push_back()
213 iterator insert(iterator posn, const T& val) in insert() function
224 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() function
226 insert(posn, *first); in insert()
328 insert(lastDst, firstSrc, lastSrc); // copy remaining over
/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.cpp121 args.insert(args.end(), {"-o", output_filename}); in ToRecordArgs()
122 args.insert(args.end(), {"-e", impl_->event}); in ToRecordArgs()
123 args.insert(args.end(), {"-f", std::to_string(impl_->freq)}); in ToRecordArgs()
125 args.insert(args.end(), {"--duration", std::to_string(impl_->duration_in_second)}); in ToRecordArgs()
128 args.insert(args.end(), {"-p", std::to_string(getpid())}); in ToRecordArgs()
135 args.insert(args.end(), {"-t", os.str()}); in ToRecordArgs()
140 args.insert(args.end(), {"--call-graph", "fp"}); in ToRecordArgs()
293 s.insert(s.end(), buf, buf + n); in ReadFile()
410 args.insert(args.end(), {"--log", "debug"}); in CreateSimpleperfProcess()
413 args.insert(args.end(), {"--tracepoint-events", "/data/local/tmp/tracepoint_events"}); in CreateSimpleperfProcess()
[all …]
/system/bt/gd/packet/parser/
Dsize.h93 ret.dynamic_.insert(ret.dynamic_.end(), dynamic_.begin(), dynamic_.end());
101 ret.dynamic_.insert(ret.dynamic_.end(), dynamic_.begin(), dynamic_.end());
102 ret.dynamic_.insert(ret.dynamic_.end(), rhs.dynamic_.begin(), rhs.dynamic_.end());
121 dynamic_.insert(dynamic_.end(), rhs.dynamic_.begin(), rhs.dynamic_.end());
Ddeclarations.h37 type_defs_.insert(std::pair(name, def)); in AddTypeDef()
55 packet_defs_.insert(std::pair(name, def)); in AddPacketDef()
73 group_defs_.insert(std::pair(name, group_def)); in AddGroupDef()
Denum_def.cc36 constants_.insert(std::pair(value, name)); in AddEntry()
37 entries_.insert(name); in AddEntry()
/system/bt/gd/l2cap/internal/
Ddynamic_channel_allocator.cc51 used_remote_cid_.insert(remote_cid); in AllocateChannel()
52 used_cid_.insert(cid); in AllocateChannel()
70 used_remote_cid_.insert(remote_cid); in AllocateReservedChannel()
83 used_cid_.insert(cid); in ReserveChannel()
/system/bt/packet/avrcp/
Dcapabilities_packet.cc80 builder->elements_.insert(company_id_element); in MakeCompanyIdBuilder()
90 builder->elements_.insert(static_cast<uint8_t>(event)); in MakeEventsSupportedBuilder()
102 elements_.insert(company_id); in AddCompanyId()
113 elements_.insert(static_cast<uint8_t>(event)); in AddEvent()
/system/libvintf/
DHalInterface.cpp57 return mRegexes.insert(instanceOrPattern).second; in insertInstance()
59 return mInstances.insert(instanceOrPattern).second; in insertInstance()
DManifestHal.cpp33 existing.insert(v.majorVer); in isValid()
93 ret->insert(versions.begin(), versions.end()); in appendAllVersions()
95 ret->insert(e.version()); in appendAllVersions()
DHalManifest.cpp56 existingMajorVersions.insert(v.majorVer); in shouldAdd()
122 names.insert(hal.first); in getHalNames()
134 names.insert(toFQNameString(e.package(), e.version())); in getHalNamesAndVersions()
137 names.insert(e.package()); in getHalNamesAndVersions()
206 manifestInstances.insert(manifestInstance.getFqInstance()); in checkIncompatibleHals()
207 simpleManifestInstances.insert(manifestInstance.getSimpleFqInstance()); in checkIncompatibleHals()
224 ret.insert(ret.end(), oss.str()); in checkIncompatibleHals()
267 ret.insert(manifestInstance.description()); in checkUnusedHals()
490 ret.insert(e.instance()); in getInstances()
613 framework.mVndks.insert(framework.mVndks.end(), other->framework.mVndks.begin(), in addAll()
[all …]
/system/core/init/
Dinterface_utils.cpp37 fqname_strings.insert(fqname.string()); in FQNamesToString()
58 interface_fqnames.insert(fqinstance.getFqName()); in CheckInterfaceInheritanceHierarchy()
98 known_interfaces->insert(intf); in SetKnownInterfaces()
/system/core/libunwindstack/tests/
DMemoryFake.cpp32 data_.insert({addr, value}); in SetMemoryBlock()
44 data_.insert({ addr, src[i] }); in SetMemory()
/system/memory/libmemunreachable/
DBinder.cpp65 refs.insert(refs.end(), binder_refs.begin(), binder_refs.end()); in BinderReferences()
72 refs.insert(refs.end(), hwbinder_refs.begin(), hwbinder_refs.end()); in BinderReferences()
/system/tools/hidl/
DAST.cpp237 mReferencedTypeNames.insert( in gatherReferencedTypes()
438 mImportedTypes[importAST].insert(match); in importFQName()
457 mImportedTypes[importAST].insert(match); in importFQName()
497 mImportedASTs.insert(ast); in addImportedAST()
564 mReferencedTypeNames.insert(enumType->fqName()); in lookupEnumValue()
746 mImportedNames.insert(typesName); in lookupTypeFromImports()
757 mImportedNames.insert(typeName); in lookupTypeFromImports()
771 mImportedNamesGranular.insert(fqName); in addToImportedNamesGranular()
801 importSet->insert(packageName); in getImportedPackages()
814 importSet->insert(newSet.begin(), newSet.end()); in getImportedPackagesHierarchy()
[all …]
/system/linkerconfig/generator/
Dlibrarylistloader.cc54 library_list.insert(library_name); in GetLibrariesFromFile()
63 library_list.insert("libz.so"); in GetLibrariesFromFile()
69 library_file_cache.insert({file_path, library_list}); in GetLibrariesFromFile()
/system/chre/util/tests/
Ddynamic_vector_test.cc80 ASSERT_TRUE(vector.insert(vector.size(), 0xd00d)); in TEST()
149 ASSERT_TRUE(vector.insert(vector.size(), std::move(mbnc2))); in TEST()
194 ASSERT_TRUE(vector.insert(vector.size(), cbnm2)); in TEST()
320 EXPECT_CHRE_ASSERT(EXPECT_FALSE(vector.insert(1, 0x1337))); in TEST()
323 ASSERT_TRUE(vector.insert(0, 0x1337)); in TEST()
328 EXPECT_TRUE(vector.insert(1, 0xface)); in TEST()
334 EXPECT_TRUE(vector.insert(0, 0xcafe)); in TEST()
341 EXPECT_TRUE(vector.insert(1, 0xdead)); in TEST()
349 EXPECT_TRUE(vector.insert(2, 0xbeef)); in TEST()
359 EXPECT_TRUE(vector.insert(0, 0xabad)); in TEST()
[all …]
/system/update_engine/payload_consumer/
Dextent_writer_unittest.cc80 expected_file.insert( in TEST_F()
133 expected_file.insert(expected_file.end(), in WriteAlignedExtents()
136 expected_file.insert( in WriteAlignedExtents()
138 expected_file.insert( in WriteAlignedExtents()

12345678910>>...15