Home
last modified time | relevance | path

Searched refs:reserve (Results 1 – 25 of 101) 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/trusty/libtrusty-rs/src/
Dlib.rs159 buf.reserve(MAX_MESSAGE_SIZE); in recv()
185 buf.reserve(MAX_MESSAGE_SIZE - buf.capacity()); in recv()
/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/
Decdh_operation.cpp77 if (!output->reserve(sharedSecretLen)) { in Finish()
127 if (!output->reserve(X25519_SHARED_KEY_LEN)) { in Finish()
Dblock_cipher_operation.cpp195 if (!output->reserve(block_size_bytes())) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in Finish()
372 if (!output->reserve(input_length + block_size_bytes())) { in InternalUpdate()
427 if (!output->reserve(input.available_read() + block_size_bytes() + tag_length_)) { in Finish()
436 if (!output->reserve(tag_length_)) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in Finish()
501 if (!output->reserve(to_process + block_size_bytes())) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in ProcessAllButTagLengthBytes()
Decdsa_operation.cpp98 if (!data_.reserve((EVP_PKEY_bits(ecdsa_key_) + 7) / 8)) in StoreData()
221 if (!data_.reserve(input.available_read())) { in StoreAllData()
/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()
Dblock_extent_writer.cc33 buffer_.reserve(block_size); in Init()
/system/chre/apps/nearby/third_party/contexthub/chre/util/include/chre/util/
Ddynamic_vector_impl.h174 bool DynamicVector<ElementType>::reserve(size_type newCapacity) { in reserve() function
211 bool success = reserve(newSize); in resize()
353 return reserve(getNextGrowthCapacity()); in doPrepareForPush()
Ddynamic_vector.h186 bool reserve(size_type newCapacity);
/system/chre/util/include/chre/util/
Ddynamic_vector_impl.h174 bool DynamicVector<ElementType>::reserve(size_type newCapacity) { in reserve() function
211 bool success = reserve(newSize); in resize()
353 return reserve(getNextGrowthCapacity()); in doPrepareForPush()
Ddynamic_vector.h186 bool reserve(size_type newCapacity);
/system/update_engine/lz4diff/
Dlz4patch.cc184 ret.reserve(rpf.size()); in ToCompressedBlockVec()
253 decompressed_dst.reserve(decompressed_dst_size); in Lz4Patch()
316 blob.reserve(output_size); in Lz4Patch()
Dlz4diff_compress.cc136 output.reserve(utils::RoundUp(compressed_size, kBlockSize)); in TryCompressBlob()
172 output.reserve(uncompressed_size); in TryDecompressBlob()
/system/core/libsysutils/src/
DSocketListener.cpp156 fds.reserve(2 + mClients.size()); in runListener()
249 clients.reserve(mClients.size()); in snapshotClients()
/system/keymaster/include/keymaster/
Dserializable.h236 value->reserve(buf_size); in copy_collection_from_buf()
275 bool reserve(size_t size);
/system/unwinding/libunwindstack/
DSymbols.cpp108 addrs.reserve(count_); in BuildRemapTable()
110 remap_->reserve(count_); in BuildRemapTable()
/system/memory/libmemunreachable/tests/
DThreadCapture_test.cpp57 threads_.reserve(threads); in StartThreads()
58 tids_.reserve(threads); in StartThreads()
/system/keymaster/legacy_support/
Dkeymaster_passthrough_operation.cpp80 if (!output->reserve(accumulated_output_size)) { in Finish()

12345