Lines Matching refs:u8
33 #[repr(u8)]
42 impl From<u8> for ProcFileType {
43 fn from(value: u8) -> Self { in from()
77 data: Vec<u8>,
96 data: Vec<u8>,
109 fn trim_string(&self, data: &mut Vec<u8>) { in trim_string() argument
110 data.drain_filter(|x: &mut u8| *x == 0); in trim_string()
131 let pdata: &mut Vec<u8> = &mut pdata.data; in open_status()
133 let tmp_name: Vec<u8> = "Unknown".as_bytes().to_vec(); in open_status()
191 return Ok((pdata.len() * size_of::<u8>()) as i64); in open_status()
199 buf: &mut [u8], in read_status() argument
367 buf: &mut [u8], in read_at() argument
414 _buf: &[u8], in write_at() argument