| /third_party/rust/rust/library/alloc/src/ffi/ |
| D | c_str.rs | 112 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/ |
| D | chdir.rs | 47 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/ |
| D | tty.rs | 46 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/ |
| D | lib.rs | 85 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/ |
| D | getpath.rs | 12 pub fn getpath<Fd: AsFd>(fd: Fd) -> io::Result<CString> { in getpath()
|
| D | at.rs | 82 ) -> 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/ |
| D | tokens.rs | 94 pub struct CString { struct 97 impl std::fmt::Display for CString { implementation 102 impl AstToken for CString { implementation
|
| /third_party/skia/modules/androidkit/src/ |
| D | Utils.h | 21 CString(JNIEnv* env, const jstring& jstr) in CString() function
|
| /third_party/skia/m133/modules/jetski/src/ |
| D | Utils.h | 21 CString(JNIEnv* env, const jstring& jstr) in CString() function
|
| /third_party/rust/rust/compiler/rustc_codegen_llvm/src/back/ |
| D | lto.rs | 45 ) -> 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()
|
| D | write.rs | 427 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/ |
| D | upper_case_acronyms.rs | 5 struct CString; // not linted struct
|
| /third_party/rust/rust/src/tools/clippy/tests/ui/ |
| D | upper_case_acronyms.rs | 5 struct CString; // not linted struct
|
| /third_party/rust/rust/library/std/src/sys/unix/process/ |
| D | process_common.rs | 316 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/ |
| D | spirv.rs | 92 source: &CString, in from_clc() 93 args: &[CString], in from_clc()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/ |
| D | token_ext.rs | 283 impl IsString for ast::CString { implementation 287 impl ast::CString { implementation
|
| D | expr_ext.rs | 291 CString(ast::CString), enumerator
|
| /third_party/rust/rust/compiler/rustc_errors/src/ |
| D | diagnostic_impls.rs | 191 impl IntoDiagnosticArg for std::ffi::CString { implementation
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/ |
| D | hir.rs | 88 CString(Box<str>), enumerator
|
| /third_party/rust/rust/library/std/src/sys/solid/ |
| D | fs.rs | 303 fn cstr(path: &Path) -> io::Result<CString> { in cstr()
|
| /third_party/rust/crates/quote/src/ |
| D | to_tokens.rs | 231 impl ToTokens for CString { implementation
|
| /third_party/rust/crates/rustix/src/path/ |
| D | arg.rs | 476 impl Arg for &CString { implementation 510 impl Arg for CString { implementation
|
| /third_party/mesa3d/src/gallium/frontends/rusticl/core/ |
| D | program.rs | 234 fn prepare_options(options: &str, dev: &Device) -> Vec<CString> { in prepare_options()
|
| /third_party/rust/crates/serde/serde/src/ser/ |
| D | impls.rs | 87 impl Serialize for CString { implementation
|
| /third_party/rust/crates/rustix/src/backend/libc/fs/ |
| D | syscalls.rs | 1642 pub(crate) fn getpath(fd: BorrowedFd<'_>) -> io::Result<CString> { in getpath()
|