/system/chre/apps/wifi_offload/ |
D | scan_result_message.cc | 24 scan_results_.reserve(results.size()); in SetScanResults() 37 results->reserve(scan_results_.size()); in GetScanResults()
|
D | scan_params.cc | 57 frequencies_to_scan_mhz_.reserve(freq_vec->size()); in Deserialize()
|
D | ssid.cc | 34 ssid_vec_.reserve(len); in SetData()
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | vector_serialization.h | 32 offset_vector.reserve(native_vector.size()); in SerializeVector() 49 native_vector->reserve(flatbuffer_vector.size()); in DeserializeVector()
|
/system/core/trusty/libtrusty-rs/src/ |
D | lib.rs | 159 buf.reserve(MAX_MESSAGE_SIZE); in recv() 185 buf.reserve(MAX_MESSAGE_SIZE - buf.capacity()); in recv()
|
/system/update_engine/aosp/ |
D | binder_service_android_common.h | 36 out.reserve(inp.size()); in ToVecString()
|
/system/chre/util/tests/ |
D | dynamic_vector_test.cc | 93 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/ |
D | ecdh_operation.cpp | 77 if (!output->reserve(sharedSecretLen)) { in Finish() 127 if (!output->reserve(X25519_SHARED_KEY_LEN)) { in Finish()
|
D | block_cipher_operation.cpp | 195 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()
|
D | ecdsa_operation.cpp | 98 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/ |
D | GtestPrinter.h | 43 instances.reserve(sizeof...(elems)); in PrintInstanceTupleNameToString()
|
/system/extras/partition_tools/ |
D | lpdump_target.cc | 45 args.reserve(argc); in GetArgVector()
|
/system/update_engine/payload_consumer/ |
D | extent_reader.cc | 39 extents_upper_bounds_.reserve(extents_.size() + 1); in Init()
|
D | block_extent_writer.cc | 33 buffer_.reserve(block_size); in Init()
|
/system/chre/apps/nearby/third_party/contexthub/chre/util/include/chre/util/ |
D | dynamic_vector_impl.h | 174 bool DynamicVector<ElementType>::reserve(size_type newCapacity) { in reserve() function 211 bool success = reserve(newSize); in resize() 353 return reserve(getNextGrowthCapacity()); in doPrepareForPush()
|
D | dynamic_vector.h | 186 bool reserve(size_type newCapacity);
|
/system/chre/util/include/chre/util/ |
D | dynamic_vector_impl.h | 174 bool DynamicVector<ElementType>::reserve(size_type newCapacity) { in reserve() function 211 bool success = reserve(newSize); in resize() 353 return reserve(getNextGrowthCapacity()); in doPrepareForPush()
|
D | dynamic_vector.h | 186 bool reserve(size_type newCapacity);
|
/system/update_engine/lz4diff/ |
D | lz4patch.cc | 184 ret.reserve(rpf.size()); in ToCompressedBlockVec() 253 decompressed_dst.reserve(decompressed_dst_size); in Lz4Patch() 316 blob.reserve(output_size); in Lz4Patch()
|
D | lz4diff_compress.cc | 136 output.reserve(utils::RoundUp(compressed_size, kBlockSize)); in TryCompressBlob() 172 output.reserve(uncompressed_size); in TryDecompressBlob()
|
/system/core/libsysutils/src/ |
D | SocketListener.cpp | 156 fds.reserve(2 + mClients.size()); in runListener() 249 clients.reserve(mClients.size()); in snapshotClients()
|
/system/keymaster/include/keymaster/ |
D | serializable.h | 236 value->reserve(buf_size); in copy_collection_from_buf() 275 bool reserve(size_t size);
|
/system/unwinding/libunwindstack/ |
D | Symbols.cpp | 108 addrs.reserve(count_); in BuildRemapTable() 110 remap_->reserve(count_); in BuildRemapTable()
|
/system/memory/libmemunreachable/tests/ |
D | ThreadCapture_test.cpp | 57 threads_.reserve(threads); in StartThreads() 58 tids_.reserve(threads); in StartThreads()
|
/system/keymaster/legacy_support/ |
D | keymaster_passthrough_operation.cpp | 80 if (!output->reserve(accumulated_output_size)) { in Finish()
|