Searched refs:new_buf (Results 1 – 4 of 4) sorted by relevance
983 let mut new_buf = textui_framework().metadata.read().buf_info(); in change() localVariable985 new_buf.copy_from_nonoverlapping(&old_buf); in change()987 debug!("textui change buf_info: new: {:?}", new_buf); in change()
557 let new_buf: &mut [u8] = new_buffer_writer.buffer(0)?; in mremap() localVariable558 let len = old_buf.len().min(new_buf.len()); in mremap()559 new_buf[..len].copy_from_slice(&old_buf[..len]); in mremap()
305 let mut buf = iovs.new_buf(true); in recvmsg()
1879 pub fn new_buf(&self, set_len: bool) -> Vec<u8> { in new_buf() method