Home
last modified time | relevance | path

Searched defs:CStr (Results 1 – 25 of 33) sorted by relevance

12

/third_party/rust/crates/rustix/src/process/
Duname.rs27 pub fn sysname(&self) -> &CStr { in sysname()
37 pub fn nodename(&self) -> &CStr { in nodename()
43 pub fn release(&self) -> &CStr { in release()
49 pub fn version(&self) -> &CStr { in version()
55 pub fn machine(&self) -> &CStr { in machine()
62 pub fn domainname(&self) -> &CStr { in domainname()
67 fn to_cstr<'a>(ptr: *const u8) -> &'a CStr { in to_cstr()
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
Dsyscalls.rs50 pub(crate) fn open(filename: &CStr, flags: OFlags, mode: Mode) -> io::Result<OwnedFd> { in open()
74 filename: &CStr, in openat()
91 pathname: &CStr, in openat2()
127 pub(crate) fn chmod(filename: &CStr, mode: Mode) -> io::Result<()> { in chmod()
139 pub(crate) fn chmodat(dirfd: BorrowedFd<'_>, filename: &CStr, mode: Mode) -> io::Result<()> { in chmodat()
151 filename: &CStr, in chownat()
180 filename: &CStr, in mknodat()
506 pub(crate) fn statat(dirfd: BorrowedFd<'_>, filename: &CStr, flags: AtFlags) -> io::Result<Stat> { in statat()
531 fn statat_old(dirfd: BorrowedFd<'_>, filename: &CStr, flags: AtFlags) -> io::Result<Stat> { in statat_old()
720 pathname: &CStr, in statx()
[all …]
Ddir.rs210 pub fn file_name(&self) -> &CStr { in file_name()
/third_party/rust/crates/rustix/src/backend/libc/fs/
Dsyscalls.rs178 path: &CStr, in openat_via_syscall()
200 path: &CStr, in openat()
258 pub(crate) fn readlinkat(dirfd: BorrowedFd<'_>, path: &CStr, buf: &mut [u8]) -> io::Result<usize> { in readlinkat()
271 pub(crate) fn mkdirat(dirfd: BorrowedFd<'_>, path: &CStr, mode: Mode) -> io::Result<()> { in mkdirat()
300 old_path: &CStr, in linkat()
302 new_path: &CStr, in linkat()
317 pub(crate) fn unlinkat(dirfd: BorrowedFd<'_>, path: &CStr, flags: AtFlags) -> io::Result<()> { in unlinkat()
324 old_path: &CStr, in renameat()
326 new_path: &CStr, in renameat()
341 old_path: &CStr, in renameat2()
[all …]
/third_party/rust/crates/rustix/src/path/
Darg.rs77 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>>; in as_cow_c_str() argument
104 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in as_cow_c_str() argument
142 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in as_cow_c_str() argument
178 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in as_cow_c_str() argument
217 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in as_cow_c_str() argument
256 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in as_cow_c_str() argument
294 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in as_cow_c_str() argument
333 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in as_cow_c_str() argument
375 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in as_cow_c_str() argument
413 fn as_cow_c_str(&self) -> io::Result<Cow<'_, CStr>> { in as_cow_c_str() argument
[all …]
Ddec_int.rs80 pub fn as_c_str(&self) -> &CStr { in as_c_str()
/third_party/rust/crates/nix/src/
Dkmod.rs84 param_values: &CStr, in finit_module()
122 pub fn delete_module(name: &CStr, flags: DeleteModuleFlags) -> Result<()> { in delete_module()
Dmqueue.rs145 name: &CStr, in mq_open()
Ddir.rs242 pub fn file_name(&self) -> &ffi::CStr { in file_name()
Dlib.rs230 impl NixPath for CStr { implementation
/third_party/rust/crates/rustix/src/fs/
Dstatx.rs43 path: &CStr, in _statx()
57 path: &CStr, in statx_init()
Draw_dir.rs143 pub fn file_name(&self) -> &CStr { in file_name()
/third_party/rust/crates/rustix/src/backend/linux_raw/runtime/
Dsyscalls.rs40 path: &CStr, in execveat()
56 path: &CStr, in execve()
/third_party/rust/crates/rustix/src/
Druntime.rs245 path: &CStr, in execveat()
267 pub unsafe fn execve(path: &CStr, argv: *const *const u8, envp: *const *const u8) -> io::Errno { in execve()
/third_party/rust/crates/nix/src/sys/
Dmemfd.rs43 pub fn memfd_create(name: &CStr, flags: MemFdCreateFlag) -> Result<RawFd> { in memfd_create()
/third_party/icu/icu4c/source/common/
Dcstr.cpp21 CStr::CStr(const UnicodeString &in) { in CStr() function in CStr
/third_party/skia/third_party/externals/icu/source/common/
Dcstr.cpp21 CStr::CStr(const UnicodeString &in) { in CStr() function in CStr
/third_party/rust/crates/libloading/src/
Dutil.rs10 pub(crate) fn cstr_cow_from_bytes(slice: &[u8]) -> Result<Cow<'_, CStr>, Error> { in cstr_cow_from_bytes() argument
/third_party/node/deps/icu-small/source/common/
Dcstr.cpp21 CStr::CStr(const UnicodeString &in) { in CStr() function in CStr
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dcstr.cpp21 CStr::CStr(const UnicodeString &in) { in CStr() function in CStr
/third_party/rust/crates/rustix/src/backend/linux_raw/
Dvdso.rs209 unsafe fn match_version(&self, mut ver: u16, name: &CStr, hash: u32) -> bool { in match_version()
254 pub(super) fn sym(&self, version: &CStr, name: &CStr) -> *mut c::c_void { in sym()
/third_party/rust/crates/nix/src/mount/
Dbsd.rs278 name: &'a CStr, in mut_ptr_opt()
341 pub fn str_opt(&mut self, name: &'a CStr, val: &'a CStr) -> &mut Self { in str_opt()
/third_party/rust/crates/nix/src/net/
Dif_.rs360 pub fn name(&self) -> &CStr { in name()
/third_party/rust/crates/rustix/src/backend/libc/net/
Daddr.rs146 pub fn path(&self) -> Option<&CStr> { in path()
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
Daddr.rs69 pub fn path(&self) -> Option<&CStr> { in path()

12