/packages/modules/adb/pairing_auth/tests/ |
D | pairing_auth_test.cpp | 160 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 …]
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
D | PgmImage.cpp | 90 m_data.resize(m_w*m_h+m_over_allocation); in SetFormat() 93 m_data.resize(m_w*m_h*3+m_over_allocation); in SetFormat() 104 m_data.resize(m_w*m_h+m_over_allocation); in SetData() 160 m_data.resize(m_w*m_h+m_over_allocation); in ReadPGM() 164 m_data.resize(m_w*m_h*3+m_over_allocation); in ReadPGM() 208 m_rows.resize(m_h); in SetupRowPointers() 235 m_data.resize(m_w*m_h+m_over_allocation); in ConvertToGray()
|
/packages/modules/Virtualization/authfs/src/fsverity/ |
D | editor.rs | 220 fn resize(&self, size: u64) -> io::Result<()> { in resize() method 250 self.file.resize(size)?; in resize() 251 merkle_tree.resize(size as usize); in resize() 291 self.data.borrow_mut().resize(end, 0); in write_at() 297 fn resize(&self, size: u64) -> io::Result<()> { in resize() method 300 self.data.borrow_mut().resize(size, 0); in resize() 525 assert!(file.resize(2048).is_ok()); in test_resize_to_same_size() 542 assert!(file.resize(4096).is_ok()); in test_resize_to_grow() 559 file.resize(2048)?; in test_resize_to_shrink() 578 assert!(file.resize(2048).is_err()); in test_resize_to_shrink_with_read_failure() [all …]
|
D | builder.rs | 64 pub fn resize(&mut self, new_file_size: usize) { in resize() method 67 self.leaves.resize(leaves_size as usize, Sha256Hasher::HASH_OF_4096_ZEROS); in resize() 78 self.leaves.resize(index + 1, Sha256Hasher::HASH_OF_4096_ZEROS); in update_hash() 218 tree.resize(4096 * 3 - 100); in merkle_tree_grow_leaves() 236 tree.resize(CHUNK_SIZE as usize * 2 - 100); in merkle_tree_shrink_leaves()
|
/packages/modules/adb/tools/ |
D | check_ms_os_desc.cpp | 62 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()
|
/packages/modules/adb/ |
D | compression_utils.h | 115 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()
|
D | types.cpp | 105 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()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | LongArrayTest.java | 43 a.resize(2); in testLongArray() 46 a.resize(8); in testLongArray() 59 a.resize(15); in testLongArray() 72 a.resize(2); in testLongArray()
|
/packages/modules/NeuralNetworks/common/operations/ |
D | BidirectionalSequenceRNN.cpp | 82 output.dimensions.resize(input.dimensions.size() - 1); in removeFirstDim() 180 inputTransposed.resize(getNumberOfElements(inputShape)); in executeTyped() 182 auxInputTransposed.resize(getNumberOfElements(auxInputShape)); in executeTyped() 184 fwOutputTransposed.resize(getNumberOfElements(fwOutputShape)); in executeTyped() 186 bwOutputTransposed.resize(getNumberOfElements(bwOutputShape)); in executeTyped() 250 tempHiddenState.resize(std::max(batchSize * fwNumUnits, batchSize * bwNumUnits)); in executeTyped() 439 fwOutput.dimensions.resize(3); in prepare() 446 bwOutput.dimensions.resize(3); in prepare()
|
D | UnidirectionalSequenceRNN.cpp | 87 inputTransposed.resize(getNumberOfElements(inputShape)); in executeTyped() 88 outputTransposed.resize(getNumberOfElements(outputShape)); in executeTyped() 103 fixedTimeInputShape.dimensions.resize(2); in executeTyped() 183 output.dimensions.resize(3); in prepare() 191 outputStateShape.dimensions.resize(2); in prepare()
|
D | BidirectionalSequenceLSTM.cpp | 386 fwOutputShape->dimensions.resize(3); in Prepare() 412 bwOutputShape->dimensions.resize(3); in Prepare() 475 fw_output_activation_state.resize( in Eval() 477 fw_output_cell_state.resize(getNumberOfElements(fw_cell_state_->shape())); in Eval() 527 bw_output_activation_state.resize( in Eval() 529 bw_output_cell_state.resize(getNumberOfElements(bw_cell_state_->shape())); in Eval() 599 fw_output_activation_state.resize( in Eval() 601 fw_output_cell_state.resize(getNumberOfElements(fw_cell_state_->shape())); in Eval() 652 bw_output_activation_state.resize( in Eval() 654 bw_output_cell_state.resize(getNumberOfElements(bw_cell_state_->shape())); in Eval()
|
D | UnidirectionalSequenceLSTM.cpp | 385 outputStateOutTensor.dimensions.resize(2); in prepare() 391 cellStateOutTensor.dimensions.resize(2); in prepare() 419 outputStateOutBuffer.resize(outputStateSize); in execute() 420 cellStateOutBuffer.resize(cellStateSize); in execute() 471 outputStateOutBuffer.resize(outputStateSize); in execute() 472 cellStateOutBuffer.resize(cellStateSize); in execute()
|
/packages/modules/adb/client/ |
D | transport_usb.cpp | 86 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()
|
D | incremental.cpp | 106 encoded_signature.resize(base64_len, '\0'); in read_and_encode_signature() 107 encoded_signature.resize(EVP_EncodeBlock((uint8_t*)encoded_signature.data(), in read_and_encode_signature() 257 child_stdout.resize(buf_size + CHUNK_SIZE); in wait_for_installation()
|
/packages/modules/adb/daemon/ |
D | jdwp_service.cpp | 363 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()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | ByteArrayRingBufferTest.java | 165 rb.resize(newSize); in resizePrunesDataAndUpdatesSizeLimitOnShrink() 178 rb.resize(MAX_BYTES * 2); in resizeRetainsExistingDataAndUpdatesSizeLimitOnGrow() 187 rb.resize(MAX_BYTES); in shrinkingEmptyBufferSucceeds() 194 rb.resize(MAX_BYTES * 2); in growingEmptyBufferSucceeds()
|
/packages/services/Car/cpp/evs/apps/default/ |
D | StreamHandler.cpp | 43 mOwnBuffers.resize(numBuffers); in StreamHandler() 109 mOwnBuffers.resize(0); in shutdown() 194 frames.resize(1); in doneWithFrame() 232 frames.resize(1); in deliverFrame_1_1()
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/ |
D | ConcatSplit.cpp | 26 op->inputs[i]->dimensions.resize(rank); in concatConstructor() 29 op->outputs[0]->dimensions.resize(rank); in concatConstructor() 127 op->inputs[0]->dimensions.resize(rank); in splitConstructor() 129 op->outputs[i]->dimensions.resize(rank); in splitConstructor()
|
D | Convolutions.cpp | 61 op->outputs[0]->dimensions.resize(4); in conv2DExplicitConstructor() 113 op->outputs[0]->dimensions.resize(4); in conv2DImplicitConstructor() 301 op->outputs[0]->dimensions.resize(4); in depthwiseConv2DExplicitConstructor() 354 op->outputs[0]->dimensions.resize(4); in depthwiseConv2DImplicitConstructor() 554 op->outputs[0]->dimensions.resize(4); in groupedConv2DExplicitConstructor() 606 op->outputs[0]->dimensions.resize(4); in groupedConv2DImplicitConstructor() 699 op->outputs[0]->dimensions.resize(4); in transposeConv2DExplicitConstructor() 743 op->outputs[0]->dimensions.resize(4); in transposeConv2DImplicitConstructor()
|
D | Broadcast.cpp | 27 op->inputs[0]->dimensions.resize(rank); in broadcastOpConstructor() 28 op->inputs[1]->dimensions.resize(rank2); in broadcastOpConstructor() 29 op->outputs[0]->dimensions.resize(rank); in broadcastOpConstructor()
|
D | Selection.cpp | 30 op->outputs[0]->dimensions.resize(rank); in embeddingLookupConstructor() 67 op->inputs[2]->dimensions.resize(rank); in hashtableLookupConstructor() 68 op->outputs[0]->dimensions.resize(rank); in hashtableLookupConstructor() 190 op->outputs[0]->dimensions.resize(rank); in topKConstructor() 191 op->outputs[1]->dimensions.resize(rank); in topKConstructor()
|
D | Reshape.cpp | 140 op->inputs[1]->randomBuffer.resize(rank); in reshapeConstructor() 310 op->outputs[0]->dimensions.resize(rank); in padConstructor() 386 op->outputs[0]->dimensions.resize(rank); in transposeConstructor() 464 op->inputs[0]->dimensions.resize(rank); in squeezeConstructor() 482 op->inputs[0]->dimensions.resize(rank); in squeezeOmittedConstructor() 553 op->outputs[0]->dimensions.resize(rank); in tileConstructor()
|
/packages/providers/MediaProvider/jni/ |
D | RedactionInfo.cpp | 48 ranges.resize(newRangesSize); in mergeOverlappingRedactionRanges() 71 ranges.resize(newRangesSize); in removeZeroSizeRedactionRanges() 95 redaction_ranges_.resize(redaction_ranges_num); in processRedactionRanges()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | forgetting_curve_utils.cpp | 191 mTables.resize(PROBABILITY_TABLE_COUNT); in ProbabilityTable() 193 mTables[tableId].resize(MAX_LEVEL + 1); in ProbabilityTable() 195 mTables[tableId][level].resize(MAX_ELAPSED_TIME_STEP_COUNT + 1); in ProbabilityTable()
|
/packages/modules/adb/crypto/ |
D | rsa_2048_key.cpp | 41 out->resize(expected_length); in CalculatePublicKey() 44 out->resize(actual_length); in CalculatePublicKey()
|