Home
last modified time | relevance | path

Searched refs:resize (Results 1 – 25 of 101) sorted by relevance

12345

/system/update_engine/payload_generator/
Dbzip.cc38 out->resize(buf_size); in BzipCompress()
56 out->resize(data_size); in BzipCompress()
62 out->resize(buf_size); in BzipCompress()
Dcycle_breaker.cc93 blocked_.resize(subgraph_.size()); in BreakCycles()
95 blocked_graph_.resize(subgraph_.size()); in BreakCycles()
Dpayload_file_unittest.cc57 payload_.part_vec_.resize(2); in TEST_F()
Dtarjan.cc77 components_.resize(components_.size() + 1); in Tarjan()
Dextent_utils.h61 ret.resize(ret.size() + extent.num_blocks(), kSparseHole); in ExpandExtents()
/system/core/libziparchive/
Dzip_archive_stream_entry.cc75 data_.resize(kBufSize); in Init()
100 data_.resize(bytes); in Read()
175 out_.resize(kBufSize); in Init()
176 in_.resize(kBufSize); in Init()
239 out_.resize(out_.size() - z_stream_.avail_out); in Read()
/system/extras/perfprofd/quipper/
Dperf_parser.cc63 parsed_events_.resize(events_.size()); in ParseRawEvents()
93 parsed_events_.resize(write_index); in ParseRawEvents()
104 parsed_events_sorted_by_time_.resize(parsed_events_.size()); in MaybeSortParsedEvents()
111 events_and_times.resize(parsed_events_.size()); in MaybeSortParsedEvents()
130 parsed_events_sorted_by_time_.resize(events_and_times.size()); in MaybeSortParsedEvents()
317 parsed_event->callchain.resize(callchain->nr); in MapCallchain()
340 parsed_event->callchain.resize(num_entries_mapped); in MapCallchain()
376 parsed_event->branch_stack.resize(trimmed_size); in MapBranchStack()
/system/update_engine/common/
Dfake_boot_control.h80 is_bootable_.resize(num_slots_, false); in SetNumSlots()
81 devices_.resize(num_slots_); in SetNumSlots()
/system/tpm/attestation/common/
Dcrypto_utility_impl.cc77 random_data->resize(num_bytes); in GetRandom()
329 encrypted_data->resize(data.size() + kAesBlockSize); in AesEncrypt()
356 encrypted_data->resize(total_size); in AesEncrypt()
380 data->resize(encrypted_data.size()); in AesDecrypt()
406 data->resize(total_size); in AesDecrypt()
447 padded_input.resize(RSA_size(key)); in TpmCompatibleOAEPEncrypt()
459 output->resize(padded_input.size()); in TpmCompatibleOAEPEncrypt()
/system/netd/server/
DResolverStats.h67 out->resize(ofs + STATS_COUNT); in encode()
108 stats->resize(size / STATS_COUNT); in decodeAll()
/system/tpm/trunks/
Dtrunks_binder_proxy.cc78 command_proto_data.resize(command_proto.ByteSize()); in SendCommand()
99 command_proto_data.resize(command_proto.ByteSize()); in SendCommandAndWait()
Dsession_manager_impl.cc205 encrypted_salt->resize(out_length); in EncryptSalt()
214 encrypted_salt->resize(out_length); in EncryptSalt()
/system/tools/aidl/tests/
Daidl_test_client_file_descriptors.cpp73 buf.resize(length); in DoRead()
140 array.resize(2); in ConfirmFileDescriptorArrays()
/system/tpm/tpm_manager/server/
Dopenssl_crypto_util_impl.cc27 random_data->resize(num_bytes); in GetRandomBytes()
/system/bt/vendor_libs/test_vendor_lib/src/
Dtest_channel_transport.cc96 command_name_raw.resize(command_name_size); in OnFileCanReadWithoutBlocking()
115 arg.resize(arg_size); in OnFileCanReadWithoutBlocking()
/system/core/base/
Dutf8.cpp69 utf8->resize(chars_required); in WideToUTF8()
115 utf16->resize(chars_required); in UTF8ToWideWithFlags()
Dfile_test.cpp89 s.resize(3); in TEST()
96 s.resize(1024); in TEST()
/system/connectivity/shill/
Dtethering.cc35 truncated_bssid.resize(arraysize(kAndroidBSSIDPrefix)); in IsAndroidBSSID()
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc343 expected_data.resize(4096); // block size in TEST_F()
362 expected_data.resize(4096); // block size in TEST_F()
386 expected_data.resize(4096); // block size in TEST_F()
403 expected_data.resize(4096); // block size in TEST_F()
465 expected_data.resize(4096); // block size in TEST_F()
490 expected_data.resize(4096); // block size in TEST_F()
491 actual_data.resize(4096); // block size in TEST_F()
/system/bt/service/ipc/
Dlinux_ipc_host.cpp122 pfds_.resize(kPossibleFds); in OnCreateService()
130 pfds_.resize(1); in OnDestroyService()
264 ipc_msg.resize(size); in OnMessage()
/system/core/debuggerd/test/
DBacktraceMock.h84 buffer_.resize(bytes); in SetReadData()
/system/extras/simpleperf/
Drecord.cpp337 callchain_data.ips.resize(nr); in SampleRecord()
343 raw_data.data.resize(size); in SampleRecord()
349 branch_stack_data.stack.resize(nr); in SampleRecord()
364 regs_user_data.regs.resize(bit_nr); in SampleRecord()
374 stack_user_data.data.resize(size); in SampleRecord()
446 buf.resize(p - buf.data()); in BinaryFormat()
622 buf.resize(header->size); in ReadRecordFromFile()
/system/netd/tests/
Ddns_responder.cpp408 questions.resize(qdcount); in read()
418 answers.resize(ancount); in read()
428 authorities.resize(nscount); in read()
438 additionals.resize(arcount); in read()
807 record.rdata.resize(4); in addAnswerRecords()
813 record.rdata.resize(16); in addAnswerRecords()
/system/core/libpixelflinger/codeflinger/
DCodeCache.h64 ssize_t resize(size_t size);
/system/core/libbacktrace/
DUnwindPtrace.cpp106 frames_.resize(num_frames+1); in Unwind()

12345