Searched refs:reserve (Results 1 - 25 of 54) sorted by relevance

123

/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
H A Dvector_serialization.h32 offset_vector.reserve(native_vector.size());
49 native_vector->reserve(flatbuffer_vector.size());
/system/chre/apps/wifi_offload/
H A Dscan_result_message.cc24 scan_results_.reserve(results.size());
37 results->reserve(scan_results_.size());
H A Dscan_params.cc57 frequencies_to_scan_mhz_.reserve(freq_vec->size());
H A Dssid.cc34 ssid_vec_.reserve(len);
/system/bt/packet/base/
H A Dpacket_builder.cc27 pkt->data_->reserve(size);
/system/keymaster/key_blob_utils/
H A Dauth_encrypted_key_blob.cpp66 if (!nonce->reserve(OCB_NONCE_LENGTH) || !tag->reserve(OCB_TAG_LENGTH))
/system/chre/util/include/chre/util/
H A Ddynamic_vector.h179 * This is intended to be similar to the reserve function of the std::vector.
186 bool reserve(size_type newCapacity);
H A Ddynamic_vector_impl.h174 bool DynamicVector<ElementType>::reserve(size_type newCapacity) {
264 if (owns_data() && reserve(elementCount)) {
372 if (!reserve(newCapacity)) {
/system/update_engine/payload_consumer/
H A Dextent_reader.cc37 extents_upper_bounds_.reserve(extents_.size() + 1);
/system/update_engine/payload_generator/
H A Dxz_android.cc62 self->data_->reserve(self->data_->size() + size);
H A Dfull_update_generator.cc158 chunk_processors.reserve(num_chunks);
H A Dzip_unittest.cc59 data_->reserve(data_->size() + count);
H A Ddeflate_utils.cc216 out_deflates->reserve(in_deflates.size());
256 result_files->reserve(tmp_files.size());
/system/chre/util/tests/
H A Ddynamic_vector_test.cc88 ASSERT_TRUE(vector.reserve(8));
152 ASSERT_TRUE(vector.reserve(8));
196 ASSERT_TRUE(vector.reserve(8));
242 // Ensure that preference is given to std::move in reserve()
246 ASSERT_TRUE(vector.reserve(2));
251 ASSERT_TRUE(vector.reserve(4));
428 vector.reserve(4);
460 vector.reserve(4);
645 vector.reserve(oldCapacity);
756 EXPECT_CHRE_ASSERT(EXPECT_FALSE(vector.reserve(
[all...]
/system/core/libunwindstack/include/unwindstack/
H A DUnwinder.h62 frames_.reserve(max_frames);
/system/keymaster/legacy_support/
H A Dkeymaster_passthrough_operation.cpp79 if (!output->reserve(accumulated_output_size)) {
/system/keymaster/km_openssl/
H A Dblock_cipher_operation.cpp191 if (!output->reserve(block_size_bytes())) return KM_ERROR_MEMORY_ALLOCATION_FAILED;
366 if (!output->reserve(input_length + block_size_bytes())) {
421 if (!output->reserve(input.available_read() + block_size_bytes() + tag_length_)) {
430 if (!output->reserve(tag_length_)) return KM_ERROR_MEMORY_ALLOCATION_FAILED;
495 if (!output->reserve(to_process + block_size_bytes())) return KM_ERROR_MEMORY_ALLOCATION_FAILED;
H A Dhmac_operation.cpp177 if (!output->reserve(mac_length_) || !output->write(digest, mac_length_))
/system/keymaster/android_keymaster/
H A Dserializable.cpp70 bool Buffer::reserve(size_t size) { function in class:keymaster::Buffer
/system/update_engine/
H A Dbinder_service_android.cc101 str_headers.reserve(header_kv_pairs.size());
/system/core/libmemunreachable/tests/
H A DThreadCapture_test.cpp55 threads_.reserve(threads);
56 tids_.reserve(threads);
/system/timezone/tzdatacheck/
H A Dtzdatacheck.cpp507 distroVersion.reserve(DISTRO_VERSION_LENGTH);
569 systemTzDataHeader.reserve(TZ_HEADER_LENGTH);
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.cpp1036 return mRegs.reserve(reg);
1063 reserve(ARMAssemblerInterface::SP);
1064 reserve(ARMAssemblerInterface::PC);
1088 reserve(ARMAssemblerInterface::SP);
1089 reserve(ARMAssemblerInterface::PC);
1092 // RegisterFile::reserve() take a register parameter in the
1095 int RegisterAllocator::RegisterFile::reserve(int reg) function in class:android::RegisterAllocator::RegisterFile
1142 reg = reserve(r); // Param in Arm range 0-15, returns range 2-17 on Mips.
/system/keymaster/tests/
H A Dkey_blob_test.cpp60 nonce_.reserve(OCB_NONCE_LENGTH);
64 tag_.reserve(OCB_TAG_LENGTH);
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dl2cap_packet.cc215 sdu.reserve(number_of_packets);

Completed in 397 milliseconds

123