Lines Matching refs:str
182 name: &str, in create() argument
201 _name: &str, in create_with_data() argument
217 fn link(&self, _name: &str, _other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() argument
228 fn unlink(&self, _name: &str) -> Result<(), SystemError> { in unlink()
239 fn rmdir(&self, _name: &str) -> Result<(), SystemError> { in rmdir()
255 _old_name: &str, in move_() argument
257 _new_name: &str, in move_() argument
269 fn find(&self, _name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
358 pub fn lookup(&self, path: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in lookup()
371 path: &str, in lookup_follow_symlink() argument
426 ::core::str::from_utf8(&content[..len]).map_err(|_| SystemError::ENOTDIR)?, in lookup_follow_symlink()