Home
last modified time | relevance | path

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

12345

/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/core/libunwindstack/include/unwindstack/
DUnwinder.h68 frames_.reserve(max_frames); in Unwinder()
72 frames_.reserve(max_frames); in Unwinder()
118 Unwinder(size_t max_frames) : max_frames_(max_frames) { frames_.reserve(max_frames); } in Unwinder()
/system/core/adb/
Dsysdeps_unix.cpp77 copies.reserve(args.size() + 1); in adb_launch_process()
83 rawArgs.reserve(copies.size() + 1); in adb_launch_process()
/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/service/
Davrcp_target.cc143 btrc_attrs.reserve(attrs.size()); in ListPlayerAppAttrResponse()
278 attr_vec.reserve(num_attr); in GetPlayerAppValueCallback()
292 attr_vec.reserve(num_attr); in GetPlayerAppAttrsTextCallback()
307 val_vec.reserve(num_val); in GetPlayerAppValuesTextCallback()
320 values.reserve(p_vals->num_attr); in SetPlayerAppValueCallback()
334 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/packet/base/
Dpacket_builder.cc27 pkt->data_->reserve(size); in ReserveSpace()
/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/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp66 if (!nonce->reserve(OCB_NONCE_LENGTH) || !tag->reserve(OCB_TAG_LENGTH)) in DeserializeUnversionedBlob()
/system/chre/util/tests/
Ddynamic_vector_test.cc88 ASSERT_TRUE(vector.reserve(8)); in TEST()
152 ASSERT_TRUE(vector.reserve(8)); in TEST()
196 ASSERT_TRUE(vector.reserve(8)); in TEST()
246 ASSERT_TRUE(vector.reserve(2)); in TEST()
251 ASSERT_TRUE(vector.reserve(4)); in TEST()
428 vector.reserve(4); in TEST()
460 vector.reserve(4); in TEST()
598 vector.reserve(oldCapacity); in TEST()
/system/keymaster/km_openssl/
Dblock_cipher_operation.cpp191 if (!output->reserve(block_size_bytes())) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in Finish()
366 if (!output->reserve(input_length + block_size_bytes())) { in InternalUpdate()
421 if (!output->reserve(input.available_read() + block_size_bytes() + tag_length_)) { in Finish()
430 if (!output->reserve(tag_length_)) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in Finish()
495 if (!output->reserve(to_process + block_size_bytes())) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in ProcessAllButTagLengthBytes()
/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()
/system/bt/gd/hci/
Dacl_builder_test.cc48 counting_bytes.reserve(count_size); in AclBuilderTest()
49 counting_down_bytes.reserve(count_size); in AclBuilderTest()
/system/core/libsysutils/src/
DSocketListener.cpp156 fds.reserve(2 + mClients.size()); in runListener()
249 clients.reserve(mClients.size()); in snapshotClients()
/system/bt/gd/common/testing/
Dwired_pair_of_bidi_queues.h86 bytes->reserve(up_thing->size()); in BuilderToView()
/system/chre/util/include/chre/util/
Ddynamic_vector.h186 bool reserve(size_type newCapacity);
/system/update_engine/payload_generator/
Dxz_android.cc64 self->data_->reserve(self->data_->size() + size); in WriteStatic()
/system/linkerconfig/modules/
Dsection.cc87 namespaces_.reserve(namespaces_.size() + ctx.GetApexModules().size()); in Resolve()

12345