Home
last modified time | relevance | path

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

12345678910

/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()
Dxz_chromeos.cc33 out->resize(lzma_stream_buffer_bound(in.size())); in XzCompress()
50 out->resize(out_pos); in XzCompress()
/system/nvram/hal/tests/
Dscoped_nvram_device.cc108 space_index_list->resize(max_spaces); in GetSpaceList()
115 space_index_list->resize(list_size); in GetSpaceList()
133 control_list->resize(kMaxControls); in GetSpaceControls()
140 control_list->resize(list_size); in GetSpaceControls()
202 data->resize(num_bytes_to_read); in ReadSpace()
210 data->resize(bytes_read); in ReadSpace()
/system/bt/include/hardware/avrcp/
Davrcp_common.h170 void resize(size_t new_size) { in resize() function
173 value_.resize(new_size); in resize()
198 name_.resize(MAX_FIELD_LEN); in MediaPlayerItem()
234 name_.resize(MAX_FIELD_LEN); in FolderItem()
267 name_.resize(MAX_FIELD_LEN); in MediaElementItem()
271 val.resize(MAX_FIELD_LEN); in MediaElementItem()
/system/core/adb/
Dtransport_usb.cpp82 p->payload.resize(len); in UsbReadPayload()
88 p->payload.resize(rc); in UsbReadPayload()
91 p->payload.resize(p->msg.data_length); in UsbReadPayload()
137 p->payload.resize(p->msg.data_length); in remote_read()
/system/core/libunwindstack/tests/
DMemoryCacheTest.cpp85 expect.resize(32, 0xde); in TEST_F()
129 expect.resize(32, 0x50); in TEST_F()
138 expect.resize(16); in TEST_F()
139 expect.resize(32, 0xff); in TEST_F()
DMemoryOfflineTest.cpp60 buf.resize(2 * data.size()); in TEST_F()
62 buf.resize(data.size()); in TEST_F()
/system/core/libappfuse/
DEpollController.cc28 events_.resize(event_count); in Wait()
34 events_.resize(result); in Wait()
/system/core/libmemunreachable/
DBinder.cpp46 refs.resize(size); in BinderReferencesToVector()
56 refs.resize(size); in BinderReferencesToVector()
/system/core/init/
Dkeychords.cpp79 void Keychords::Mask::resize(size_t bit) { in resize() function in android::init::Keychords::Mask
82 bits_.resize(idx + 1, 0); in resize()
96 ret.bits_.resize(len); in operator &()
105 bits_.resize(len); in operator |=()
162 mask.resize(code); in GeteventEnable()
167 current_.resize(mask.size()); in GeteventEnable()
/system/core/libziparchive/
Dzip_archive_stream_entry.cc73 data_.resize(kBufSize); in Init()
98 data_.resize(bytes); in Read()
174 out_.resize(kBufSize); in Init()
175 in_.resize(kBufSize); in Init()
239 out_.resize(out_.size() - z_stream_.avail_out); in Read()
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp157 foo.aaa.resize(5); in TEST_F()
197 foo[0].aaa.resize(5); in TEST_F()
207 foo[1].aaa.resize(3); in TEST_F()
227 foo.resize(2); in TEST_F()
233 foo[0].aaa.resize(5); in TEST_F()
243 foo[1].aaa.resize(3); in TEST_F()
250 fooExpectedOutput.resize(2); in TEST_F()
264 in.addresses.resize(3); in TEST_F()
265 expectedOut.addresses.resize(3); in TEST_F()
287 in.resize(3); in TEST_F()
[all …]
/system/update_engine/common/
Dfake_boot_control.h88 is_bootable_.resize(num_slots_, false); in SetNumSlots()
89 devices_.resize(num_slots_); in SetNumSlots()
/system/core/adb/daemon/
Djdwp_service.cpp417 data.resize(s->get_max_payload()); in jdwp_socket_ready()
419 data.resize(len); in jdwp_socket_ready()
457 data.resize(1024); in jdwp_process_list_updated()
458 data.resize(jdwp_process_list_msg(&data[0], data.size())); in jdwp_process_list_updated()
491 data.resize(s->get_max_payload()); in jdwp_tracker_ready()
492 data.resize(jdwp_process_list_msg(&data[0], data.size())); in jdwp_tracker_ready()
/system/tools/aidl/tests/
Daidl_test_client_file_descriptors.cpp79 buf.resize(length); in DoRead()
146 array.resize(2); in ConfirmFileDescriptorArrays()
207 array.resize(2); in ConfirmParcelFileDescriptorArrays()
/system/core/property_service/libpropertyinfoserializer/
Dtrie_node_arena.h81 data_.resize(new_size, '\0'); in AllocateData()
96 result.resize(current_data_pointer_); in truncated_data()
/system/extras/simpleperf/
DCallChainJoiner.cpp91 ips.resize(chain.size()); in AddCallChain()
92 sps.resize(chain.size()); in AddCallChain()
219 data.resize(sizeof(uint64_t) * ip_count * 2 + sizeof(uint32_t)); in ReadCallChain()
225 ips.resize(ip_count); in ReadCallChain()
227 sps.resize(ip_count); in ReadCallChain()
254 ips.resize(ip_count); in ReadCallChainInReverseOrder()
256 sps.resize(ip_count); in ReadCallChainInReverseOrder()
Dthread_tree_test.cpp28 expected_names_.resize(end); in AddMap()
48 names.resize(pair.second->get_end_addr()); in CheckMaps()
/system/netd/resolv/
DResolverStats.h66 out->resize(ofs + STATS_COUNT); in encode()
107 stats->resize(size / STATS_COUNT); in decodeAll()
/system/connectivity/wificond/net/
Dnl80211_attribute.cpp44 data_.resize(NLA_HDRLEN + NLA_ALIGN(payload_length), 0); in InitHeaderAndResize()
115 data_.resize(our_len_without_padding); in Merge()
123 data_.resize(NLA_ALIGN(total_len_without_padding), 0); in Merge()
193 data_.resize(data_.size() + NLA_HDRLEN, 0); in AddFlagAttribute()
/system/media/audio_utils/
DBalance.cpp37 mVolumes.resize(mChannelCount); in setChannelMask()
82 mSides.resize(mChannelCount); in setChannelMask()
/system/netd/resolv/dns_responder/
Ddns_responder_client.cpp36 mappings->resize(num_hosts * domains.size()); in SetupMappings()
107 dns->resize(num_servers); in SetupDNSServers()
108 servers->resize(num_servers); in SetupDNSServers()
/system/core/adb/client/
Dauth.cpp69 out->resize(expected_length); in calculate_public_key()
72 out->resize(actual_length); in calculate_public_key()
130 result.resize(SHA256_DIGEST_LENGTH); in hash_key()
277 result.resize(MAX_PAYLOAD); in adb_auth_sign()
285 result.resize(len); in adb_auth_sign()
/system/core/fs_mgr/libfs_avb/tests/
Dbasic_test.cpp39 expected_content.resize(image_size); in TEST_F()
44 actual_content.resize(image_size); in TEST_F()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dserver_port_factory.cc105 command_name_raw.resize(command_name_size); in OnCommandReady()
123 arg.resize(arg_size); in OnCommandReady()

12345678910