Home
last modified time | relevance | path

Searched refs:block_size (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Virtualization/libs/apkverify/src/
Dhashtree.rs35 block_size: usize, in from()
39 let tree = generate_hash_tree(input, input_size, &salt, block_size, algorithm)?; in from()
46 hash_one_block(&data, &salt, block_size, algorithm)?.as_ref().to_vec() in from()
48 let first_block = &tree[0..block_size]; in from()
49 hash_one_block(first_block, &salt, block_size, algorithm)?.as_ref().to_vec() in from()
69 block_size: usize, in generate_hash_tree()
73 let levels = calc_hash_levels(input_size, block_size, digest_size); in generate_hash_tree()
82 let pad_size = round_to_multiple(input_size, block_size) - input_size; in generate_hash_tree()
86 let mut a_block = vec![0; block_size]; in generate_hash_tree()
87 let mut num_blocks = (input_size + block_size - 1) / block_size; in generate_hash_tree()
[all …]
Dv4.rs153 block_size: usize, in create()
166 let hash_tree = HashTree::from(&mut apk, size, salt, block_size, algorithm)?; in create()
177 ret.hashing_info.log2_blocksize = log2(block_size); in create()
/packages/modules/Bluetooth/floss/pandora/floss/
Dcras_utils.py61 def playback_cmd(playback_file, block_size=None, duration=None, pin_device=None, channels=2, rate=4… argument
79 if block_size is not None:
80 args += ['--block_size', str(block_size)]
89 block_size=None, argument
115 if block_size is not None:
116 args += ['--block_size', str(block_size)]
125 def listen_cmd(capture_file, block_size=None, duration=10, channels=1, rate=48000): argument
141 if block_size is not None:
142 args += ['--block_size', str(block_size)]
628 block_size=BLOCK_SIZE, argument
[all …]
/packages/modules/ExtServices/native/pHash/
Dfast_dct-inl.h32 FastDCT<Torig, Tdct>::FastDCT(int block_size) in FastDCT() argument
33 : block_size_(block_size), in FastDCT()
40 cos_sin_table_(new double[block_size * 3 / 2 + 1]), in FastDCT()
42 t_workspace_(new double[4 * block_size]), in FastDCT()
43 bit_reversal_workspace_(new int[2 + static_cast<int>(ceil(sqrt(block_size)))]) { in FastDCT()
Dfast_dct.h28 explicit FastDCT(int block_size);
35 int block_size() const { return block_size_; } in block_size() function
/packages/modules/Virtualization/authfs/src/
Dfsstat.rs27 pub block_size: u64, field
63 block_size: st.blockSize.try_into()?, in try_into_remote_fs_stats()
Dfusefs.rs1005 st.f_bsize = remote_stat.block_size; in statfs()
/packages/modules/adb/client/
Dincremental_server.cpp135 BlockSize block_size; // 2 bytes member
402 buffer.header.block_size = toBigEndian(int16_t(bytesRead)); in SendTreeBlock()
455 header->block_size = toBigEndian(blockSize); in SendDataBlock()
471 header.block_size = 0; in SendDone()
/packages/modules/Virtualization/libs/devicemapper/src/loopdevice/
Dsys.rs34 pub block_size: u32, field
/packages/modules/Virtualization/libs/devicemapper/src/
Dloopdevice.rs126 config.block_size = 4096; in try_attach()
/packages/modules/Virtualization/authfs/fd_server/src/
Daidl.rs388 blockSize: st.block_size().try_into()?, in try_into_fs_stat()
/packages/modules/NeuralNetworks/runtime/test/
DTestValidateOperations.cpp1964 ANeuralNetworksOperandType block_size = {.type = ANEURALNETWORKS_INT32, in spaceDepthOpTest() local
1971 OperationTestBase spaceDepthTest(operationCode, {input, block_size}, {output}); in spaceDepthOpTest()
1979 OperationTestBase spaceDepthNchwTest(operationCode, {input, block_size, layout}, {output}); in spaceDepthOpTest()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec2356 * dimension. The value block_size indicates the input block size and how
2359 * Chunks of data of size block_size * block_size from depth are rearranged
2360 * into non-overlapping blocks of size block_size x block_size.
2362 * The depth of the output tensor is input_depth * block_size * block_size.