Searched refs:name_bytes (Results 1 – 1 of 1) sorted by relevance
368 let name_bytes: &[u8] = name.as_bytes(); in readdir() localVariable375 ::core::slice::from_raw_parts_mut::<'static, u8>(ptr, name_bytes.len() + 1); in readdir()376 buf[0..name_bytes.len()].copy_from_slice(name_bytes); in readdir()377 buf[name_bytes.len()] = 0; in readdir()385 let size = (name_bytes.len() + ::core::mem::size_of::<Dirent>() in readdir()