Home
last modified time | relevance | path

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

12345678

/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 …]
Dextent_ranges.cc99 extent_set_.insert(extent); in AddExtent()
110 ret.insert(ExtentForRange(base.start_block(), in SubtractOverlappingExtents()
116 ret.insert(ExtentForRange(subtractee_end, base_end - subtractee_end)); in SubtractOverlappingExtents()
145 new_extents.insert(*jt); in SubtractExtent()
150 extent_set_.insert(new_extents.begin(), new_extents.end()); in SubtractExtent()
Dcycle_breaker.cc87 subgraph_[*it].subgraph_edges.insert(*jt); in BreakCycles()
129 cut_edges_.insert(min_edge); in HandleCircuit()
201 blocked_graph_[*w].out_edges.insert(make_pair(vertex, in Circuit()
/system/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.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/libsysutils/include/sysutils/
DList.h169 insert(begin(), src.begin(), src.end()); in List()
208 void push_front(const T& val) { insert(begin(), val); } in push_front()
209 void push_back(const T& val) { insert(end(), val); } in push_back()
212 iterator insert(iterator posn, const T& val) in insert() function
223 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() function
225 insert(posn, *first); in insert()
327 insert(lastDst, firstSrc, lastSrc); // copy remaining over
/system/media/brillo/audio/audioservice/test/
Daudio_device_handler_test.cpp249 handler_.connected_input_devices_.insert(device); in TEST_F()
265 handler_.connected_output_devices_.insert(device); in TEST_F()
280 handler_.connected_input_devices_.insert(AUDIO_DEVICE_IN_WIRED_HEADSET); in TEST_F()
281 handler_.connected_output_devices_.insert(AUDIO_DEVICE_OUT_WIRED_HEADSET); in TEST_F()
282 handler_.connected_output_devices_.insert(AUDIO_DEVICE_OUT_WIRED_HEADPHONE); in TEST_F()
381 handler_.connected_input_devices_.insert(device); in TEST_F()
382 handler_.connected_output_devices_.insert(device); in TEST_F()
396 handler_.connected_input_devices_.insert(device); in TEST_F()
397 handler_.connected_output_devices_.insert(device); in TEST_F()
/system/update_engine/payload_consumer/
Dextent_writer_unittest.cc88 expected_file.insert(expected_file.end(), in TEST_F()
156 expected_file.insert(expected_file.end(), in WriteAlignedExtents()
159 expected_file.insert(expected_file.end(), in WriteAlignedExtents()
161 expected_file.insert(expected_file.end(), in WriteAlignedExtents()
206 expected_file.insert(expected_file.end(), in TestZeroPad()
209 expected_file.insert(expected_file.end(), in TestZeroPad()
Dfake_extent_writer.h46 written_data_.insert(written_data_.end(), in Write()
/system/tools/hidl/
DAST.cpp162 mImportedTypes[importAST].insert(match); in addImport()
180 mImportedTypes[importAST].insert(match); in addImport()
189 mImportedASTs.insert(ast); in addImportedAST()
472 mImportedNames.insert(typesName); in lookupTypeFromImports()
480 mImportedNames.insert( in lookupTypeFromImports()
511 importSet->insert(packageName); in getImportedPackages()
523 importSet->insert(newSet.begin(), newSet.end()); in getImportedPackagesHierarchy()
528 allImportNames->insert(name); in getAllImportedNames()
/system/update_engine/
Dconnection_manager_unittest.cc233 allowed_set.insert(StringForConnectionType(ConnectionType::kCellular)); in TEST_F()
252 allowed_set.insert(StringForConnectionType(ConnectionType::kCellular)); in TEST_F()
253 allowed_set.insert(StringForConnectionType(ConnectionType::kBluetooth)); in TEST_F()
302 allowed_set.insert(StringForConnectionType(ConnectionType::kEthernet)); in TEST_F()
303 allowed_set.insert(StringForConnectionType(ConnectionType::kWifi)); in TEST_F()
304 allowed_set.insert(StringForConnectionType(ConnectionType::kWimax)); in TEST_F()
320 allowed_set.insert(StringForConnectionType(ConnectionType::kCellular)); in TEST_F()
/system/chre/util/tests/
Ddynamic_vector_test.cc80 ASSERT_TRUE(vector.insert(vector.size(), 0xd00d)); in TEST()
132 ASSERT_TRUE(vector.insert(vector.size(), std::move(mbnc2))); in TEST()
177 ASSERT_TRUE(vector.insert(vector.size(), cbnm2)); in TEST()
303 EXPECT_CHRE_ASSERT(EXPECT_FALSE(vector.insert(1, 0x1337))); in TEST()
306 ASSERT_TRUE(vector.insert(0, 0x1337)); in TEST()
311 EXPECT_TRUE(vector.insert(1, 0xface)); in TEST()
317 EXPECT_TRUE(vector.insert(0, 0xcafe)); in TEST()
324 EXPECT_TRUE(vector.insert(1, 0xdead)); in TEST()
332 EXPECT_TRUE(vector.insert(2, 0xbeef)); in TEST()
342 EXPECT_TRUE(vector.insert(0, 0xabad)); in TEST()
[all …]
/system/core/libutils/tests/
DLruCache_test.cpp361 returnedValues.insert(v); in TEST_F()
373 returnedValues.insert(it.value()); in TEST_F()
386 returnedValues.insert(it.value()); in TEST_F()
400 returnedValues.insert(it.value()); in TEST_F()
416 returnedValues.insert(it.value()); in TEST_F()
432 returnedValues.insert(it.value()); in TEST_F()
448 returnedValues.insert(it.value()); in TEST_F()
/system/libvintf/
DHalManifest.cpp47 existingMajorVersions.insert(v.majorVer); in shouldAdd()
69 names.insert(hal.first); in getHalNames()
78 names.insert(hal.name + "@" + to_string(version)); in getHalNamesAndVersions()
88 interfaceNames.insert(iface.first); in getInterfaceNames()
156 ret.insert(hal->versions.begin(), hal->versions.end()); in getSupportedVersions()
168 ret.insert(it->second.instances.begin(), it->second.instances.end()); in getInstances()
226 instances[manifestHalVersion][interface].insert(toAdd.begin(), toAdd.end()); in isCompatible()
DManifestHal.cpp29 existing.insert(v.majorVer); in isValid()
/system/core/adb/sysdeps/
Derrno.cpp64 result->insert(std::make_pair((error_name), (wire_value))) in generate_host_to_wire()
73 result->insert(std::make_pair((wire_value), (error_name))) in generate_wire_to_host()
/system/chre/util/include/chre/util/
Ddynamic_vector.h170 bool insert(size_t index, const ElementType& element);
171 bool insert(size_t index, ElementType&& element);
/system/extras/simpleperf/
Dsample_tree.h99 ips.insert(ips.end(), r.callchain_data.ips, in ProcessSampleRecord()
118 ips.insert(ips.end(), unwind_ips.begin(), unwind_ips.end()); in ProcessSampleRecord()
167 added_set.insert(sample); in ProcessSampleRecord()
208 sample_set_.insert(sample.get()); in InsertSample()
229 callchain_sample_set_.insert(sample.get()); in InsertCallChainSample()
Dcmd_kmem_test.cpp48 args.insert(args.end(), additional_args.begin(), additional_args.end()); in KmemReportRawFile()
84 v.insert(v.begin(), "record"); in RunKmemRecordCmd()
85 v.insert(v.end(), {"-o", out_file, "sleep", SLEEP_SEC}); in RunKmemRecordCmd()
Dtracing.cpp39 data.insert(data.end(), p, p + sizeof(T)); in AppendData()
43 data.insert(data.end(), s, s + strlen(s) + 1); in AppendData()
48 data.insert(data.end(), s.c_str(), s.c_str() + s.size() + 1); in AppendData()
69 data.insert(data.end(), file.begin(), file.end()); in AppendFile()
77 file.insert(file.end(), p, p + file_size); in DetachFile()
181 ret.insert(ret.end(), magic, magic + sizeof(magic)); in BinaryFormat()
/system/netd/server/
DDummyNetwork.cpp31 mInterfaces.insert(INTERFACE_NAME); in DummyNetwork()
/system/update_engine/update_manager/
Dboxed_value_unittest.cc196 set1->insert(ConnectionType::kWimax); in TEST()
197 set1->insert(ConnectionType::kEthernet); in TEST()
201 set2->insert(ConnectionType::kWifi); in TEST()
/system/media/camera/docs/
Dmetadata_parser_xml.py149 insert = self.metadata.insert_entry
160 insert = self.metadata.insert_clone
165 insert(entry_dict)

12345678