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