Home
last modified time | relevance | path

Searched defs:CString (Results 1 – 25 of 27) sorted by relevance

12

/third_party/rust/rust/library/alloc/src/ffi/
Dc_str.rs112 pub struct CString { struct
124 /// This error is created by the [`new`][`CString::new`] method on argument
232 impl CString { implementation
261 pub fn new<T: Into<Vec<u8>>>(t: T) -> Result<CString, NulError> { in new()
263 fn spec_new_impl(self) -> Result<CString, NulError>; in new()
267 default fn spec_new_impl(self) -> Result<CString, NulError> { in new()
278 fn spec_new_impl_bytes(bytes: &[u8]) -> Result<CString, NulError> { in new()
299 fn spec_new_impl(self) -> Result<CString, NulError> { in new()
305 fn spec_new_impl(self) -> Result<CString, NulError> { in new()
311 fn spec_new_impl(self) -> Result<CString, NulError> { in new()
[all …]
/third_party/rust/crates/rustix/src/process/
Dchdir.rs47 pub fn getcwd<B: Into<Vec<u8>>>(reuse: B) -> io::Result<CString> { in getcwd()
51 fn _getcwd(mut buffer: Vec<u8>) -> io::Result<CString> { in _getcwd()
/third_party/rust/crates/rustix/src/termios/
Dtty.rs46 pub fn ttyname<Fd: AsFd, B: Into<Vec<u8>>>(dirfd: Fd, reuse: B) -> io::Result<CString> { in ttyname()
52 fn _ttyname(dirfd: BorrowedFd<'_>, mut buffer: Vec<u8>) -> io::Result<CString> { in _ttyname()
/third_party/rust/rust/compiler/rustc_fs_util/src/
Dlib.rs85 pub fn path_to_c_string(p: &Path) -> CString { in path_to_c_string()
92 pub fn path_to_c_string(p: &Path) -> CString { in path_to_c_string()
/third_party/rust/crates/rustix/src/fs/
Dgetpath.rs12 pub fn getpath<Fd: AsFd>(fd: Fd) -> io::Result<CString> { in getpath()
Dat.rs82 ) -> io::Result<CString> { in readlinkat()
86 fn _readlinkat(dirfd: BorrowedFd<'_>, path: &CStr, mut buffer: Vec<u8>) -> io::Result<CString> { in _readlinkat()
/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/generated/
Dtokens.rs94 pub struct CString { struct
97 impl std::fmt::Display for CString { implementation
102 impl AstToken for CString { implementation
/third_party/skia/modules/androidkit/src/
DUtils.h21 CString(JNIEnv* env, const jstring& jstr) in CString() function
/third_party/skia/m133/modules/jetski/src/
DUtils.h21 CString(JNIEnv* env, const jstring& jstr) in CString() function
/third_party/rust/rust/compiler/rustc_codegen_llvm/src/back/
Dlto.rs45 ) -> Result<(Vec<CString>, Vec<(SerializedModule<ModuleBuffer>, CString)>), FatalError> { in prepare_lto() argument
225 mut serialized_modules: Vec<(SerializedModule<ModuleBuffer>, CString)>, in fat_lto() argument
426 serialized_modules: Vec<(SerializedModule<ModuleBuffer>, CString)>, in thin_lto() argument
813 names: &[CString], in from_thin_lto_modules()
Dwrite.rs427 fn get_pgo_gen_path(config: &ModuleConfig) -> Option<CString> { in get_pgo_gen_path()
442 fn get_pgo_use_path(config: &ModuleConfig) -> Option<CString> { in get_pgo_use_path()
449 fn get_pgo_sample_use_path(config: &ModuleConfig) -> Option<CString> { in get_pgo_sample_use_path()
456 fn get_instr_profile_output_path(config: &ModuleConfig) -> Option<CString> { in get_instr_profile_output_path()
/third_party/rust/rust/src/tools/clippy/tests/ui-toml/upper_case_acronyms_aggressive/
Dupper_case_acronyms.rs5 struct CString; // not linted struct
/third_party/rust/rust/src/tools/clippy/tests/ui/
Dupper_case_acronyms.rs5 struct CString; // not linted struct
/third_party/rust/rust/library/std/src/sys/unix/process/
Dprocess_common.rs316 pub fn get_cwd(&self) -> &Option<CString> { in get_cwd()
394 fn os2c(s: &OsStr, saw_nul: &mut bool) -> CString { in os2c()
416 pub fn push(&mut self, item: CString) { in push()
/third_party/mesa3d/src/gallium/frontends/rusticl/mesa/compiler/clc/
Dspirv.rs92 source: &CString, in from_clc()
93 args: &[CString], in from_clc()
/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/
Dtoken_ext.rs283 impl IsString for ast::CString { implementation
287 impl ast::CString { implementation
Dexpr_ext.rs291 CString(ast::CString), enumerator
/third_party/rust/rust/compiler/rustc_errors/src/
Ddiagnostic_impls.rs191 impl IntoDiagnosticArg for std::ffi::CString { implementation
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/
Dhir.rs88 CString(Box<str>), enumerator
/third_party/rust/rust/library/std/src/sys/solid/
Dfs.rs303 fn cstr(path: &Path) -> io::Result<CString> { in cstr()
/third_party/rust/crates/quote/src/
Dto_tokens.rs231 impl ToTokens for CString { implementation
/third_party/rust/crates/rustix/src/path/
Darg.rs476 impl Arg for &CString { implementation
510 impl Arg for CString { implementation
/third_party/mesa3d/src/gallium/frontends/rusticl/core/
Dprogram.rs234 fn prepare_options(options: &str, dev: &Device) -> Vec<CString> { in prepare_options()
/third_party/rust/crates/serde/serde/src/ser/
Dimpls.rs87 impl Serialize for CString { implementation
/third_party/rust/crates/rustix/src/backend/libc/fs/
Dsyscalls.rs1642 pub(crate) fn getpath(fd: BorrowedFd<'_>) -> io::Result<CString> { in getpath()

12