Searched refs:FILE_PACKAGE_PAYLOAD_SIZE (Results 1 – 3 of 3) sorted by relevance
160 let pos = (index * FILE_PACKAGE_PAYLOAD_SIZE) as u64; in spawn_handler()167 let mut buf: [u8; FILE_PACKAGE_PAYLOAD_SIZE] = [0; FILE_PACKAGE_PAYLOAD_SIZE]; in spawn_handler()168 let mut data_buf: [u8; FILE_PACKAGE_PAYLOAD_SIZE] = [0; FILE_PACKAGE_PAYLOAD_SIZE]; in spawn_handler()220 (read_len != FILE_PACKAGE_PAYLOAD_SIZE, _data_message) in spawn_handler()233 let mut pieces_count = (_file_size / FILE_PACKAGE_PAYLOAD_SIZE as u64) as usize; in read_and_send_data()267 if ((index * FILE_PACKAGE_PAYLOAD_SIZE) as u64) < _file_size { in read_and_send_data()295 let buf: [u8; FILE_PACKAGE_PAYLOAD_SIZE] = [0; FILE_PACKAGE_PAYLOAD_SIZE]; in recv_and_write_file()
597 let mut buf: [u8; config::FILE_PACKAGE_PAYLOAD_SIZE] = in setup_device_point()598 [0; config::FILE_PACKAGE_PAYLOAD_SIZE]; in setup_device_point()
270 pub const FILE_PACKAGE_PAYLOAD_SIZE: usize = 49152; constant