Home
last modified time | relevance | path

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

1234

/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()
120 Unwinder(size_t max_frames) : max_frames_(max_frames) { frames_.reserve(max_frames); } in Unwinder()
/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/vendor_libs/test_vendor_lib/packets/test/
Dpacket_builder_test.cc62 packet->reserve(size()); in FinalPacket()
112 packet->reserve(size()); in FinalPacket()
142 packet->reserve(size()); in FinalPacket()
209 packet->reserve(size()); in FinalPacket()
/system/bt/vendor_libs/test_vendor_lib/test/
Dpacket_builder_test.cc62 packet->reserve(size()); in FinalPacket()
112 packet->reserve(size()); in FinalPacket()
142 packet->reserve(size()); in FinalPacket()
209 packet->reserve(size()); in FinalPacket()
/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/bt/vendor_libs/test_vendor_lib/model/devices/
Dpolled_socket.cc57 copy.reserve(packet.size()); in TrySend()
Dremote_loopback_device.cc65 extracted_packet->reserve(packet.size()); in IncomingPacket()
/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/netd/resolv/
Ddns_tls_test.cpp207 results.reserve(num_queries); in TEST_F()
272 results.reserve(FakeSocketDelay::sDelay); in TEST_F()
291 results.reserve(FakeSocketDelay::sDelay); in TEST_F()
309 results.reserve(FakeSocketDelay::sDelay); in TEST_F()
330 results.reserve(FakeSocketDelay::sDelay); in TEST_F()
352 results.reserve(num_queries); in TEST_F()
378 results.reserve(FakeSocketDelay::sDelay); in TEST_F()
397 results.reserve(FakeSocketDelay::sDelay); in TEST_F()
537 results.reserve(FakeSocketLimited::sLimit); in TEST_F()
559 results.reserve(num_queries); in TEST_F()
/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/core/libsysutils/src/
DSocketListener.cpp156 fds.reserve(2 + mClients.size()); in runListener()
249 clients.reserve(mClients.size()); in snapshotClients()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer_factory.cc56 serialized_packet->reserve(packet->size()); in Send()
/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()

1234