Home
last modified time | relevance | path

Searched refs:reserve (Results 1 – 25 of 133) sorted by relevance

123456

/system/chre/apps/wifi_offload/
Dscan_result_message.cc24 scan_results_.reserve(results.size()); in SetScanResults()
37 results->reserve(scan_results_.size()); in GetScanResults()
Dscan_params.cc57 frequencies_to_scan_mhz_.reserve(freq_vec->size()); in Deserialize()
Dssid.cc34 ssid_vec_.reserve(len); in SetData()
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dvector_serialization.h32 offset_vector.reserve(native_vector.size()); in SerializeVector()
49 native_vector->reserve(flatbuffer_vector.size()); in DeserializeVector()
/system/bt/gd/hal/
Dserialize_packet.h28 packet_bytes.reserve(packet->size()); in SerializePacket()
/system/bt/gd/packet/
Dpacket_builder_unittest.cc65 packet->reserve(size()); in FinalPacket()
115 packet->reserve(size()); in FinalPacket()
145 packet->reserve(size()); in FinalPacket()
212 packet->reserve(size()); in FinalPacket()
/system/bt/packet/base/
Dpacket_builder.cc27 pkt->data_->reserve(size); in ReserveSpace()
/system/bt/service/
Davrcp_target.cc144 btrc_attrs.reserve(attrs.size()); in ListPlayerAppAttrResponse()
279 attr_vec.reserve(num_attr); in GetPlayerAppValueCallback()
293 attr_vec.reserve(num_attr); in GetPlayerAppAttrsTextCallback()
308 val_vec.reserve(num_val); in GetPlayerAppValuesTextCallback()
321 values.reserve(p_vals->num_attr); in SetPlayerAppValueCallback()
335 attr_vec.reserve(num_attr); in GetElementAttrCallback()
Da2dp_source.cc74 ret.reserve(configs.size()); in CodecConfigsToFluoride()
94 ret.reserve(configs.size()); in FluorideCodecsToCodec()
/system/bt/service/ipc/binder/
Dbluetooth_avrcp_target_binder_server.cc142 non_binder.reserve(values.size()); in GetPlayerAppValueResponse()
156 non_binder.reserve(attrs.size()); in GetPlayerAppAttrTextResponse()
170 non_binder.reserve(values.size()); in GetPlayerAppValueTextResponse()
184 non_binder.reserve(attrs.size()); in GetElementAttrResponse()
270 binder_values.reserve(values.size()); in OnSetPlayerAppValue()
Dbluetooth_a2dp_source_binder_server.cc76 ret.reserve(codecs.size()); in A2dpCodecsFromBinder()
87 ret.reserve(codecs.size()); in A2dpCodecsToBinder()
/system/update_engine/aosp/
Dbinder_service_android_common.h36 out.reserve(inp.size()); in ToVecString()
/system/chre/util/tests/
Ddynamic_vector_test.cc93 ASSERT_TRUE(vector.reserve(8)); in TEST()
157 ASSERT_TRUE(vector.reserve(8)); in TEST()
201 ASSERT_TRUE(vector.reserve(8)); in TEST()
251 ASSERT_TRUE(vector.reserve(2)); in TEST()
256 ASSERT_TRUE(vector.reserve(4)); in TEST()
433 vector.reserve(4); in TEST()
465 vector.reserve(4); in TEST()
603 vector.reserve(oldCapacity); in TEST()
/system/keymaster/km_openssl/
Dblock_cipher_operation.cpp192 if (!output->reserve(block_size_bytes())) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in Finish()
369 if (!output->reserve(input_length + block_size_bytes())) { in InternalUpdate()
424 if (!output->reserve(input.available_read() + block_size_bytes() + tag_length_)) { in Finish()
433 if (!output->reserve(tag_length_)) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in Finish()
498 if (!output->reserve(to_process + block_size_bytes())) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in ProcessAllButTagLengthBytes()
Decdh_operation.cpp74 if (!output->reserve(sharedSecretLen)) { in Finish()
/system/libhidl/gtest_helper/hidl/
DGtestPrinter.h43 instances.reserve(sizeof...(elems)); in PrintInstanceTupleNameToString()
/system/extras/partition_tools/
Dlpdump_target.cc45 args.reserve(argc); in GetArgVector()
/system/update_engine/payload_consumer/
Dextent_reader.cc39 extents_upper_bounds_.reserve(extents_.size() + 1); in Init()
Dsnapshot_extent_writer.cc44 buffer_.reserve(block_size); in Init()
/system/bt/gd/hci/
Dacl_builder_test.cc48 counting_bytes.reserve(count_size); in AclBuilderTest()
49 counting_down_bytes.reserve(count_size); in AclBuilderTest()
Dhci_packets_test.cc378 packet_bytes->reserve(builder->size()); in TEST()
396 packet_bytes->reserve(builder->size()); in TEST()
414 packet_bytes->reserve(builder->size()); in TEST()
435 packet_bytes->reserve(builder->size()); in TEST()
/system/core/libsysutils/src/
DSocketListener.cpp156 fds.reserve(2 + mClients.size()); in runListener()
249 clients.reserve(mClients.size()); in snapshotClients()
/system/unwinding/libunwindstack/
DSymbols.cpp93 addrs.reserve(count_); in BuildRemapTable()
95 remap_->reserve(count_); in BuildRemapTable()
/system/chre/util/include/chre/util/
Ddynamic_vector.h186 bool reserve(size_type newCapacity);
/system/bt/gd/common/testing/
Dwired_pair_of_bidi_queues.h86 bytes->reserve(up_thing->size()); in BuilderToView()

123456