Home
last modified time | relevance | path

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

12345678910>>...14

/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/
Dpacket_builder.h49 void insert(FixedWidthIntegerType value, BitInserter& it) const { in insert() function
62 void insert(FixedWidthIntegerType value, BitInserter& it, size_t num_bits) const { in insert() function
79 inline void insert(Enum value, BitInserter& it) const { in insert() function
82 insert<enum_type>(static_cast<enum_type>(value), it); in insert()
91 insert(element, it); in insert_vector()
97 insert(element, it); in insert_address()
103 insert(element, it); in insert_class_of_device()
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/vendor_libs/test_vendor_lib/packets/
Dpacket_builder.h47 …void insert(FixedWidthIntegerType value, std::back_insert_iterator<std::vector<uint8_t>> it) const… in insert() function
60 inline void insert(Enum value, std::back_insert_iterator<std::vector<uint8_t>> it) const { in insert() function
63 insert<enum_type>(static_cast<enum_type>(value), it); in insert()
73 insert(element, it); in insert_vector()
79 insert(element, it); in insert_address()
85 insert(element, it); in insert_class_of_device()
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dio_capability_builder.h45 insert(io_capability_, it); in Serialize()
46 insert(oob_data_present_, it); in Serialize()
47 insert(authentication_requirements_, it); in Serialize()
Dinquiry_response_builder.h71 insert(static_cast<uint8_t>(inquiry_type_), it); in Serialize()
72 insert(page_scan_repetition_mode_, it); in Serialize()
74 insert(clock_offset_, it); in Serialize()
78 insert(rssi_, it); in Serialize()
Dcommand_builder.h44 insert(opcode_, it); in Serialize()
46 insert(byte, it); in Serialize()
Dle_advertisement_builder.h46 insert(static_cast<uint8_t>(address_type_), it); in Serialize()
47 insert(static_cast<uint8_t>(advertisement_type_), 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/extras/perfprofd/
Dmap_utils.h32 offsets.insert(offset); in AggregatedSymbol()
58 maybe_match.offsets.insert(val); in Insert()
81 left.offsets.insert(*offset_it); in Insert()
92 right.offsets.insert(*offset_it); in Insert()
119 copy.offsets.insert(val); in ExtendLeft()
/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()
315 s.insert(s.end(), buf, buf + n); in ReadFile()
357 args.insert(args.end(), {"--log", "debug"}); in CreateSimpleperfProcess()
360 args.insert(args.end(), {"--tracepoint-events", "/data/local/tmp/tracepoint_events"}); in CreateSimpleperfProcess()
[all …]
/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/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/extras/perfprofd/scripts/
Dsorted_collection.py94 def insert(self, item): member in SortedCollection
98 self._keys.insert(i, k)
99 self._items.insert(i, item)
105 self._keys.insert(i, k)
106 self._items.insert(i, item)
/system/bt/vendor_libs/test_vendor_lib/packets/hci/
Dcommand_packet_builder.cc35 insert(static_cast<uint16_t>(opcode_), it); in Serialize()
40 insert(payload_size, it); in Serialize()
Dsco_packet_builder.cc36insert(static_cast<uint16_t>((handle_ & 0xfff) | (static_cast<uint16_t>(packet_status_flags_) << 1… in Serialize()
41 insert(payload_size, it); in Serialize()
/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/bt/vendor_libs/test_vendor_lib/packets/test/
Dpacket_builder_test.cc69 PacketBuilder<little_endian>::insert(signature_, it); in Serialize()
70 PacketBuilder<little_endian>::insert(byte_, it); in Serialize()
71 PacketBuilder<little_endian>::insert(two_bytes_, it); in Serialize()
72 PacketBuilder<little_endian>::insert(four_bytes_, it); in Serialize()
73 PacketBuilder<little_endian>::insert(eight_bytes_, it); in Serialize()
150 PacketBuilder<true>::insert(elem, it); in Serialize()
216 PacketBuilder<true>::insert(level_, it); in Serialize()
/system/bt/vendor_libs/test_vendor_lib/test/
Dpacket_builder_test.cc69 PacketBuilder<little_endian>::insert(signature_, it); in Serialize()
70 PacketBuilder<little_endian>::insert(byte_, it); in Serialize()
71 PacketBuilder<little_endian>::insert(two_bytes_, it); in Serialize()
72 PacketBuilder<little_endian>::insert(four_bytes_, it); in Serialize()
73 PacketBuilder<little_endian>::insert(eight_bytes_, it); in Serialize()
150 PacketBuilder<true>::insert(elem, it); in Serialize()
216 PacketBuilder<true>::insert(level_, it); in Serialize()
/system/libvintf/
DHalInterface.cpp57 return mRegexes.insert(instanceOrPattern).second; in insertInstance()
59 return mInstances.insert(instanceOrPattern).second; in insertInstance()
/system/tools/hidl/
DAST.cpp223 mReferencedTypeNames.insert( in gatherReferencedTypes()
435 mImportedTypes[importAST].insert(match); in addImport()
453 mImportedTypes[importAST].insert(match); in addImport()
462 mImportedASTs.insert(ast); in addImportedAST()
528 mReferencedTypeNames.insert(enumType->fqName()); in lookupEnumValue()
710 mImportedNames.insert(typesName); in lookupTypeFromImports()
721 mImportedNames.insert(typeName); in lookupTypeFromImports()
735 mImportedNamesGranular.insert(fqName); in addToImportedNamesGranular()
761 importSet->insert(packageName); in getImportedPackages()
774 importSet->insert(newSet.begin(), newSet.end()); in getImportedPackagesHierarchy()
[all …]
/system/core/libunwindstack/tests/
DMemoryFake.cpp32 data_.insert({addr, value}); in SetMemoryBlock()
44 data_.insert({ addr, src[i] }); in SetMemory()
/system/core/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()

12345678910>>...14