Home
last modified time | relevance | path

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

1234567891011

/system/core/adb/pairing_auth/tests/
Dpairing_auth_test.cpp160 client_msg.resize(pairing_auth_safe_encrypted_size(client.get(), msg.size())); in TEST_F()
165 client_msg.resize(out_size); in TEST_F()
167 server_msg.resize( in TEST_F()
174 server_msg.resize(pairing_auth_safe_encrypted_size(server.get(), msg.size())); in TEST_F()
179 server_msg.resize(out_size); in TEST_F()
181 client_msg.resize( in TEST_F()
210 client_msg.resize(pairing_auth_safe_encrypted_size(client.get(), msg.size())); in TEST_F()
215 client_msg.resize(out_size); in TEST_F()
217 server_msg.resize( in TEST_F()
226 server_msg.resize(pairing_auth_safe_encrypted_size(server.get(), msg.size())); in TEST_F()
[all …]
/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/incremental_delivery/incfs/include/
Dincfs_inline.h154 result.resize(PATH_MAX); in root()
160 result.resize(size); in root()
181 metadata.resize(size); in getMetadata()
191 metadata.resize(size); in getMetadata()
201 signature.resize(size); in getSignature()
211 signature.resize(size); in getSignature()
232 pendingReadsBuffer->resize(kDefaultBufferSize); in waitForPendingReads()
237 pendingReadsBuffer->resize(size); in waitForPendingReads()
252 pageReadsBuffer->resize(kDefaultBufferSize); in waitForPageReads()
257 pageReadsBuffer->resize(size); in waitForPageReads()
[all …]
/system/core/adb/tools/
Dcheck_ms_os_desc.cpp62 result.resize(length); in get_descriptor()
68 result.resize(rc); in get_descriptor()
75 result.resize(4096); in get_string_descriptor()
82 result.resize(rc); in get_string_descriptor()
108 data.resize(0x10); in check_ms_os_desc_v1()
127 data.resize(hdr.dwLength); in check_ms_os_desc_v1()
/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/libunwindstack/tests/
DMemoryCacheTest.cpp84 expect.resize(32, 0xde); in TEST_F()
128 expect.resize(32, 0x50); in TEST_F()
137 expect.resize(16); in TEST_F()
138 expect.resize(32, 0xff); in TEST_F()
DMemoryOfflineTest.cpp61 buf.resize(2 * data.size()); in TEST_F()
63 buf.resize(data.size()); in TEST_F()
/system/core/adb/client/
Dtransport_usb.cpp86 p->payload.resize(len); in UsbReadPayload()
92 p->payload.resize(rc); in UsbReadPayload()
95 p->payload.resize(p->msg.data_length); in UsbReadPayload()
141 p->payload.resize(p->msg.data_length); in remote_read()
/system/update_engine/common/
Dfake_boot_control.h97 is_bootable_.resize(num_slots_, false); in SetNumSlots()
98 is_marked_successful_.resize(num_slots_, false); in SetNumSlots()
99 devices_.resize(num_slots_); in SetNumSlots()
/system/memory/libmemunreachable/
DBinder.cpp46 refs.resize(size); in BinderReferencesToVector()
56 refs.resize(size); in BinderReferencesToVector()
/system/core/libappfuse/
DEpollController.cc28 events_.resize(event_count); in Wait()
34 events_.resize(result); in Wait()
/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/tools/aidl/tests/
Daidl_test_client_file_descriptors.cpp57 buf.resize(length); in ReadFdToStringAndCompare()
84 array.resize(2); in TEST_F()
118 array.resize(2); in TEST_F()
/system/libziparchive/
Dzip_archive_stream_entry.cc74 data_.resize(kBufSize); in Init()
105 data_.resize(bytes); in Read()
182 out_.resize(kBufSize); in Init()
183 in_.resize(kBufSize); in Init()
256 out_.resize(out_.size() - z_stream_.avail_out); in Read()
/system/core/adb/
Dcompression_utils.h115 output->resize(output_block_size_); in Encode()
127 output->resize(output->size() - available_out); in Encode()
215 output_block_.resize(output_block_size_ - output_bytes_left_); in Encode()
220 output_block_.resize(output_block_size_); in Encode()
299 header.resize(rc); in LZ4Encoder()
346 encode_block.resize(encode_block_size - available_out); in Encode()
361 final_block.resize(rc); in Encode()
451 output->resize(output_block_size_); in Encode()
466 output->resize(out.pos); in Encode()
Dtypes.cpp105 chain_[start_index_].resize(len); in take_front()
124 first_block.resize(first_block.size() - begin_offset_); in trim_front()
168 res.resize(res.size() - begin_offset_); in coalesce()
186 res.resize(size); in coalesce()
/system/core/adb/crypto/
Drsa_2048_key.cpp62 out->resize(expected_length); in CalculatePublicKey()
65 out->resize(actual_length); in CalculatePublicKey()
/system/incremental_delivery/incfs/
Dpath.cpp106 result.resize(lastPos); in normalize()
133 res.resize(bufSize + 1, '\0'); in fromFd()
144 res.resize(size); in fromFd()
146 res.resize(size - kDeletedSuffix.size()); in fromFd()
/system/security/keystore/tests/
Dverification_token_seralization_test.cpp36 token.mac.resize(32); in TEST()
56 token.mac.resize(0); in TEST()
/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()
/system/core/adb/daemon/
Djdwp_service.cpp363 data.resize(s->get_max_payload()); in jdwp_socket_ready()
365 data.resize(len); in jdwp_socket_ready()
407 data.resize(kMaxLength); in process_list_updated()
408 data.resize(process_list_msg(kind, &data[0], data.size())); in process_list_updated()
449 data.resize(s->get_max_payload()); in jdwp_tracker_ready()
450 data.resize(process_list_msg(t->kind, &data[0], data.size())); in jdwp_tracker_ready()
/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()

1234567891011