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

12

/system/keymaster/
H A Dauth_encrypted_key_blob.cpp66 if (!nonce->reserve(OCB_NONCE_LENGTH) || !tag->reserve(OCB_TAG_LENGTH))
H A Daes_operation.cpp221 if (!output->reserve(AES_BLOCK_SIZE))
455 if (!output->reserve(input_length + AES_BLOCK_SIZE)) {
511 if (!output->reserve(input.available_read() + AES_BLOCK_SIZE + tag_length_))
520 if (!output->reserve(tag_length_))
595 if (!output->reserve(to_process + AES_BLOCK_SIZE))
H A Dhmac_operation.cpp179 if (!output->reserve(mac_length_) || !output->write(digest, mac_length_))
H A Dserializable.cpp70 bool Buffer::reserve(size_t size) { function in class:keymaster::Buffer
H A Dkey_blob_test.cpp60 nonce_.reserve(OCB_NONCE_LENGTH);
64 tag_.reserve(OCB_TAG_LENGTH);
H A Decdsa_operation.cpp99 if (!data_.reserve((EVP_PKEY_bits(ecdsa_key_) + 7) / 8))
/system/chre/util/include/chre/util/
H A Ddynamic_vector.h147 * This is intended to be similar to the reserve function of the std::vector.
154 bool reserve(size_t newCapacity);
H A Ddynamic_vector_impl.h136 bool DynamicVector<ElementType>::reserve(size_t newCapacity) { function in class:chre::DynamicVector
211 if (owns_data() && reserve(elementCount)) {
320 if (!reserve(newCapacity)) {
/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.cc58 data_->reserve(data_->size() + count);
H A Dinplace_generator.cc144 cuts.reserve(edges.size());
279 ret.reserve(op_indexes->size());
343 new_op_indexes.reserve(op_indexes->size());
780 aops->reserve(final_order.size());
/system/chre/util/tests/
H A Ddynamic_vector_test.cc88 ASSERT_TRUE(vector.reserve(8));
135 ASSERT_TRUE(vector.reserve(8));
179 ASSERT_TRUE(vector.reserve(8));
225 // Ensure that preference is given to std::move in reserve()
229 ASSERT_TRUE(vector.reserve(2));
234 ASSERT_TRUE(vector.reserve(4));
411 vector.reserve(4);
443 vector.reserve(4);
628 vector.reserve(oldCapacity);
723 EXPECT_CHRE_ASSERT(EXPECT_FALSE(vector.reserve(
[all...]
/system/update_engine/
H A Dbinder_service_android.cc90 str_headers.reserve(header_kv_pairs.size());
/system/core/libmemunreachable/tests/
H A DThreadCapture_test.cpp55 threads_.reserve(threads);
56 tids_.reserve(threads);
/system/core/tzdatacheck/
H A Dtzdatacheck.cpp507 distroVersion.reserve(DISTRO_VERSION_LENGTH);
569 systemTzDataHeader.reserve(TZ_HEADER_LENGTH);
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.cpp1039 return mRegs.reserve(reg);
1066 reserve(ARMAssemblerInterface::SP);
1067 reserve(ARMAssemblerInterface::PC);
1091 reserve(ARMAssemblerInterface::SP);
1092 reserve(ARMAssemblerInterface::PC);
1095 // RegisterFile::reserve() take a register parameter in the
1098 int RegisterAllocator::RegisterFile::reserve(int reg) function in class:android::RegisterAllocator::RegisterFile
1145 reg = reserve(r); // Param in Arm range 0-15, returns range 2-17 on Mips.
/system/core/base/
H A Dfile.cpp57 content->reserve(sb.st_size);
/system/keymaster/include/keymaster/
H A Dserializable.h208 bool reserve(size_t size);
/system/chre/core/
H A Dwifi_request_manager.cc30 if (!mScanMonitorNanoapps.reserve(1)) {
/system/chre/platform/slpi/
H A Dhost_link.cc129 } else if (!nanoappEntries.reserve(expectedNanoappCount)) {
130 LOGE("Couldn't reserve space for list of nanoapp offsets");
/system/core/include/utils/
H A DSortedVector.h135 inline void reserve(size_t n) { setCapacity(n); } function in class:android::SortedVector
H A DVector.h204 inline void reserve(size_t n) { setCapacity(n); } function in class:android::Vector
/system/core/libutils/include/utils/
H A DSortedVector.h135 inline void reserve(size_t n) { setCapacity(n); } function in class:android::SortedVector
H A DVector.h204 inline void reserve(size_t n) { setCapacity(n); } function in class:android::Vector

Completed in 936 milliseconds

12