Home
last modified time | relevance | path

Searched refs:FILE_PACKAGE_PAYLOAD_SIZE (Results 1 - 2 of 2) sorted by relevance

/developtools/hdc/hdc_rust/src/common/
H A Dhdctransfer.rs281 let pos = (index as u64) * (FILE_PACKAGE_PAYLOAD_SIZE as u64); in spawn_handler()
297 let mut buf: [u8; FILE_PACKAGE_PAYLOAD_SIZE] = [0; FILE_PACKAGE_PAYLOAD_SIZE]; in spawn_handler()
298 let mut data_buf: [u8; FILE_PACKAGE_PAYLOAD_SIZE] = [0; FILE_PACKAGE_PAYLOAD_SIZE]; in spawn_handler()
301 if package_read_len > FILE_PACKAGE_PAYLOAD_SIZE { in spawn_handler()
302 package_read_len = FILE_PACKAGE_PAYLOAD_SIZE; in spawn_handler()
364 (read_len != FILE_PACKAGE_PAYLOAD_SIZE, _data_message) in spawn_handler()
418 let mut pieces_count = (_file_size / FILE_PACKAGE_PAYLOAD_SIZE as u64) as usize;
457 if (index as u64) * (FILE_PACKAGE_PAYLOAD_SIZE a
[all...]
/developtools/hdc/hdc_rust/src/
H A Dconfig.rs283 pub const FILE_PACKAGE_PAYLOAD_SIZE: usize = 49152; consts

Completed in 2 milliseconds