Home
last modified time | relevance | path

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

12

/external/rust/crates/nix/src/
Dkmod.rs83 pub fn finit_module<T: AsRawFd>(fd: &T, param_values: &CStr, flags: ModuleInitFlags) -> Result<()> { in finit_module()
119 pub fn delete_module(name: &CStr, flags: DeleteModuleFlags) -> Result<()> { in delete_module()
Dunistd.rs731 pub fn execv<S: AsRef<CStr>>(path: &CStr, argv: &[S]) -> Result<Infallible> { in execv()
755 pub fn execve<SA: AsRef<CStr>, SE: AsRef<CStr>>(path: &CStr, args: &[SA], env: &[SE]) -> Result<Inf… in execve()
776 pub fn execvp<S: AsRef<CStr>>(filename: &CStr, args: &[S]) -> Result<Infallible> { in execvp()
796 pub fn execvpe<SA: AsRef<CStr>, SE: AsRef<CStr>>(filename: &CStr, args: &[SA], env: &[SE]) -> Resul… in execvpe()
824 pub fn fexecve<SA: AsRef<CStr> ,SE: AsRef<CStr>>(fd: RawFd, args: &[SA], env: &[SE]) -> Result<Infa… in fexecve()
847 pub fn execveat<SA: AsRef<CStr>,SE: AsRef<CStr>>(dirfd: RawFd, pathname: &CStr, args: &[SA], in execveat()
943 pub fn gethostname(buffer: &mut [u8]) -> Result<&CStr> { in gethostname()
1511 pub fn getgrouplist(user: &CStr, group: Gid) -> Result<Vec<Gid>> { in getgrouplist()
1589 pub fn initgroups(user: &CStr, group: Gid) -> Result<()> { in initgroups()
Ddir.rs219 pub fn file_name(&self) -> &ffi::CStr { in file_name()
Dlib.rs205 impl NixPath for CStr { implementation
/external/rust/crates/rusqlite/src/
Draw_statement.rs67 pub fn column_decltype(&self, idx: usize) -> Option<&CStr> { in column_decltype()
78 pub fn column_name(&self, idx: usize) -> Option<&CStr> { in column_name()
138 pub fn sql(&self) -> Option<&CStr> { in sql()
Dinner_connection.rs54 c_path: &CStr, in open_with_flags()
56 vfs: Option<&CStr>, in open_with_flags()
/external/rust/crates/nix/src/sys/
Dmemfd.rs14 pub fn memfd_create(name: &CStr, flags: MemFdCreateFlag) -> Result<RawFd> { in memfd_create()
/external/icu/icu4c/source/common/
Dcstr.cpp21 CStr::CStr(const UnicodeString &in) { in CStr() function in CStr
/external/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
/external/rust/crates/rusqlite/src/util/
Dsmall_cstr.rs76 pub fn as_cstr(&self) -> &CStr { in as_cstr()
104 fn deref(&self) -> &CStr { in deref()
Dsqlite_string.rs81 pub(crate) fn as_cstr(&self) -> &std::ffi::CStr { in as_cstr()
/external/crosvm/fuse/src/
Dfilesystem.rs498 linkname: &CStr, in symlink()
500 name: &CStr, in symlink()
520 name: &CStr, in mknod()
540 name: &CStr, in mkdir()
592 oldname: &CStr, in rename()
594 newname: &CStr, in rename()
611 newname: &CStr, in link()
684 name: &CStr, in create()
889 name: &CStr, in setxattr()
911 name: &CStr, in getxattr()
/external/rust/crates/android_logger/src/
Dlib.rs92 fn android_log(prio: log_ffi::LogPriority, tag: &CStr, msg: &CStr) { in android_log()
104 fn android_log(_priority: Level, _tag: &CStr, _msg: &CStr) {} in android_log()
/external/crosvm/devices/src/virtio/fs/
Dpassthrough.rs551 fn rewrite_xattr_name<'xattr>(&self, name: &'xattr CStr) -> Cow<'xattr, CStr> { in rewrite_xattr_name() argument
769 fn do_unlink(&self, parent: &InodeData, name: &CStr, flags: libc::c_int) -> io::Result<()> { in do_unlink()
833 fn do_getxattr(&self, inode: &InodeData, name: &CStr, value: &mut [u8]) -> io::Result<usize> { in do_getxattr()
1190 name: &CStr, in mkdir()
1313 name: &CStr, in create()
1595 oldname: &CStr, in rename()
1597 newname: &CStr, in rename()
1627 name: &CStr, in mknod()
1663 newname: &CStr, in link()
1691 linkname: &CStr, in symlink()
[all …]
Dread_dir.rs110 fn strip_padding(b: &[u8]) -> &CStr { in strip_padding()
/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp204 static void ParseConstraint(const std::string &CStr, CGIOperandList &Ops) { in ParseConstraint()
259 static void ParseConstraints(const std::string &CStr, CGIOperandList &Ops) { in ParseConstraints()
/external/crosvm/base/src/
Dshm.rs32 pub fn new(name: Option<&CStr>, size: u64) -> Result<SharedMemory> { in new()
/external/libchromeos-rs/src/
Dread_dir.rs114 fn strip_padding(b: &[u8]) -> &CStr { in strip_padding()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenInstruction.cpp234 static void ParseConstraint(const std::string &CStr, CGIOperandList &Ops, in ParseConstraint()
328 static void ParseConstraints(const std::string &CStr, CGIOperandList &Ops, in ParseConstraints()
/external/crosvm/kernel_loader/src/
Dlib.rs156 cmdline: &CStr, in load_cmdline()
/external/llvm-project/llvm/tools/obj2yaml/
Ddwarf2yaml.cpp88 const char *CStr = StrData.getCStr(&Offset, &Err); in dumpDebugStrings() local
/external/crosvm/sys_util/src/
Dlib.rs190 pub fn chown(path: &CStr, uid: Uid, gid: Gid) -> Result<()> { in chown()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DDWARFYAML.h91 StringRef CStr; member
/external/llvm-project/llvm/lib/Option/
DOptTable.cpp344 const char *CStr = Args.getArgString(Index); in parseOneArgGrouped() local
/external/rust/crates/nix/src/sys/socket/
Daddr.rs954 pub fn alg_type(&self) -> &CStr { in alg_type()
958 pub fn alg_name(&self) -> &CStr { in alg_name()

12