Searched refs:bytes_to_cstr (Results 1 – 3 of 3) sorted by relevance
20 pub(super) unsafe fn bytes_to_cstr<'a>( in bytes_to_cstr() function87 unsafe { bytes_to_cstr(s, None) } in utf8_to_cstr()
182 unsafe { bytes_to_cstr(Cow::Owned(output), Some(s.into())) } in str_to_cstr_win32()
240 let name = bytes_to_cstr(&buf)?; in lookup()355 .and_then(bytes_to_cstr)?; in symlink()359 .and_then(bytes_to_cstr)?; in symlink()397 .and_then(bytes_to_cstr)?; in mknod()435 .and_then(bytes_to_cstr)?; in mkdir()502 bytes_to_cstr(&name)?, in unlink()520 bytes_to_cstr(&name)?, in rmdir()556 bytes_to_cstr(oldname)?, in do_rename()558 bytes_to_cstr(newname)?, in do_rename()596 bytes_to_cstr(&name)?, in link()[all …]