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