Searched refs:new_buf (Results 1 – 1 of 1) sorted by relevance
400 let mut new_buf = vec![0_u8; buf_string.len() + 9]; in on_accept() localVariable403 new_buf[i + 8] = *e; in on_accept()410 &new_buf, in on_accept()831 let mut new_buf = [u32::to_be_bytes(cid).as_slice(), buf_ptr].concat(); in send_to_task() localVariable832 new_buf[4..].copy_from_slice(&buf_ptr[0..buf_size]); in send_to_task()836 payload: new_buf, in send_to_task()944 let mut new_buf = vec![0_u8; buf_string.len() + 9]; in begin_forward() localVariable946 new_buf[i + 8] = *e; in begin_forward()952 &new_buf, in begin_forward()