Searched refs:name_bytes (Results 1 – 1 of 1) sorted by relevance
268 let name_bytes: &[u8] = name.as_bytes(); in readdir() localVariable279 ::core::slice::from_raw_parts_mut::<'static, u8>(ptr, name_bytes.len()); in readdir()280 buf.copy_from_slice(name_bytes); in readdir()284 return Ok((name_bytes.len() + ::core::mem::size_of::<Dirent>() in readdir()