/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/ffi/ |
H A D | c_str.rs | 115 pub struct CString { struct 127 /// This error is created by the [`new`][`CString::new`] method on argument 235 impl CString { impl 264 pub fn new<T: Into<Vec<u8>>>(t: T) -> Result<CString, NulError> { in new() 266 fn spec_new_impl(self) -> Result<CString, NulError>; in new() 270 default fn spec_new_impl(self) -> Result<CString, NulError> { in new() 281 fn spec_new_impl_bytes(bytes: &[u8]) -> Result<CString, NulError> { in new() 302 fn spec_new_impl(self) -> Result<CString, NulError> { in new() 308 fn spec_new_impl(self) -> Result<CString, NulError> { in new() 314 fn spec_new_impl(self) -> Result<CString, NulError> { in new() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/ffi/ |
H A D | c_str.rs | 115 pub struct CString { struct 127 /// This error is created by the [`new`][`CString::new`] method on argument 235 impl CString { impl 264 pub fn new<T: Into<Vec<u8>>>(t: T) -> Result<CString, NulError> { in new() 266 fn spec_new_impl(self) -> Result<CString, NulError>; in new() 270 default fn spec_new_impl(self) -> Result<CString, NulError> { in new() 281 fn spec_new_impl_bytes(bytes: &[u8]) -> Result<CString, NulError> { in new() 302 fn spec_new_impl(self) -> Result<CString, NulError> { in new() 308 fn spec_new_impl(self) -> Result<CString, NulError> { in new() 314 fn spec_new_impl(self) -> Result<CString, NulError> { in new() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/alloc/src/ffi/ |
H A D | c_str.rs | 115 pub struct CString { struct 127 /// This error is created by the [`new`][`CString::new`] method on argument 235 impl CString { impl 264 pub fn new<T: Into<Vec<u8>>>(t: T) -> Result<CString, NulError> { in new() 266 fn spec_new_impl(self) -> Result<CString, NulError>; in new() 270 default fn spec_new_impl(self) -> Result<CString, NulError> { in new() 281 fn spec_new_impl_bytes(bytes: &[u8]) -> Result<CString, NulError> { in new() 302 fn spec_new_impl(self) -> Result<CString, NulError> { in new() 308 fn spec_new_impl(self) -> Result<CString, NulError> { in new() 314 fn spec_new_impl(self) -> Result<CString, NulError> { in new() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/ffi/ |
H A D | c_str.rs | 115 pub struct CString { struct 127 /// This error is created by the [`new`][`CString::new`] method on argument 235 impl CString { impl 264 pub fn new<T: Into<Vec<u8>>>(t: T) -> Result<CString, NulError> { in new() 266 fn spec_new_impl(self) -> Result<CString, NulError>; in new() 270 default fn spec_new_impl(self) -> Result<CString, NulError> { in new() 281 fn spec_new_impl_bytes(bytes: &[u8]) -> Result<CString, NulError> { in new() 302 fn spec_new_impl(self) -> Result<CString, NulError> { in new() 308 fn spec_new_impl(self) -> Result<CString, NulError> { in new() 314 fn spec_new_impl(self) -> Result<CString, NulError> { in new() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/ffi/ |
H A D | c_str.rs | 115 pub struct CString { struct 127 /// This error is created by the [`new`][`CString::new`] method on argument 235 impl CString { implementation 264 pub fn new<T: Into<Vec<u8>>>(t: T) -> Result<CString, NulError> { in new() 266 fn spec_new_impl(self) -> Result<CString, NulError>; in new() 270 default fn spec_new_impl(self) -> Result<CString, NulError> { in new() 281 fn spec_new_impl_bytes(bytes: &[u8]) -> Result<CString, NulError> { in new() 302 fn spec_new_impl(self) -> Result<CString, NulError> { in new() 308 fn spec_new_impl(self) -> Result<CString, NulError> { in new() 314 fn spec_new_impl(self) -> Result<CString, NulError> { in new() [all …]
|
/aosp_15_r20/trusty/user/base/lib/trusty-std/src/ffi/ |
D | c_str.rs | 101 fn try_new<T: TryAllocInto<Vec<u8>>>(t: T) -> Result<CString, TryNewError>; in try_new() 120 unsafe fn try_from_vec_unchecked(v: Vec<u8>) -> Result<CString, AllocError>; in try_from_vec_unchecked() 123 impl FallibleCString for CString { implementation 124 fn try_new<T: TryAllocInto<Vec<u8>>>(t: T) -> Result<CString, TryNewError> { in try_new() 158 unsafe fn try_from_vec_unchecked(mut v: Vec<u8>) -> Result<CString, AllocError> { in try_from_vec_unchecked() 165 impl TryClone for CString { implementation
|
/aosp_15_r20/sdk/find_java/src/source/ |
H A D | utils.h | 73 CString() { mStr = NULL; } in CString() function 74 CString(const CString &str) { mStr = NULL; set(str.mStr); } in CString() function 75 explicit CString(const char *str) { mStr = NULL; set(str); } in CString() function 76 CString(const char *start, size_t length) { mStr = NULL; set(start, length); } in CString() function
|
/aosp_15_r20/external/rust/android-crates-io/crates/rustix/src/process/ |
D | chdir.rs | 57 pub fn getcwd<B: Into<Vec<u8>>>(reuse: B) -> io::Result<CString> { in getcwd() 63 fn _getcwd(mut buffer: Vec<u8>) -> io::Result<CString> { in _getcwd()
|
/aosp_15_r20/external/rust/android-crates-io/crates/rustix/src/termios/ |
D | tty.rs | 40 pub fn ttyname<Fd: AsFd, B: Into<Vec<u8>>>(dirfd: Fd, reuse: B) -> io::Result<CString> { in ttyname() 47 fn _ttyname(dirfd: BorrowedFd<'_>, mut buffer: Vec<u8>) -> io::Result<CString> { in _ttyname()
|
/aosp_15_r20/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | sysprop.rs | 26 fn into(self) -> (CString, i32) { in into() 76 fn into(self) -> (CString, bool) { in into()
|
/aosp_15_r20/external/google-breakpad/src/common/ |
H A D | byte_cursor.h | 169 ByteCursor& CString(string* str) { in CString() function 196 ByteCursor& CString(string* str, size_t limit) { in CString() function
|
/aosp_15_r20/external/rust/android-crates-io/crates/rustix/src/fs/ |
D | abs.rs | 112 pub fn readlink<P: path::Arg, B: Into<Vec<u8>>>(path: P, reuse: B) -> io::Result<CString> { in readlink() 117 fn _readlink(path: &CStr, mut buffer: Vec<u8>) -> io::Result<CString> { in _readlink()
|
D | at.rs | 88 ) -> io::Result<CString> { in readlinkat() 94 fn _readlinkat(dirfd: BorrowedFd<'_>, path: &CStr, mut buffer: Vec<u8>) -> io::Result<CString> { in _readlinkat()
|
D | getpath.rs | 12 pub fn getpath<Fd: AsFd>(fd: Fd) -> io::Result<CString> { in getpath()
|
/aosp_15_r20/external/rust/android-crates-io/crates/libbpf-rs/src/ |
D | util.rs | 13 pub fn str_to_cstring(s: &str) -> Result<CString> { in str_to_cstring() 17 pub fn path_to_cstring<P: AsRef<Path>>(path: P) -> Result<CString> { in path_to_cstring()
|
D | skeleton.rs | 119 string_pool: &mut Vec<CString>, in build_maps() 155 string_pool: &mut Vec<CString>, in build_progs()
|
/aosp_15_r20/packages/modules/Virtualization/guest/pvmfw/src/ |
D | fdt.rs | 126 fn read_bootargs_from(fdt: &Fdt) -> libfdt::Result<Option<CString>> { in read_bootargs_from() 441 fn parse_untrusted_props(fdt: &Fdt) -> libfdt::Result<BTreeMap<CString, Vec<u8>>> { in parse_untrusted_props() 458 fn parse_vm_ref_dt(fdt: &Fdt) -> libfdt::Result<BTreeMap<CString, Vec<u8>>> { in parse_vm_ref_dt() 473 fn validate_untrusted_props(props: &BTreeMap<CString, Vec<u8>>) -> Result<(), FdtValidationError> { in validate_untrusted_props() 491 props_info: &BTreeMap<CString, Vec<u8>>, in validate_vm_ref_dt() 961 fn patch_untrusted_props(fdt: &mut Fdt, props: &BTreeMap<CString, Vec<u8>>) -> libfdt::Result<()> { in patch_untrusted_props()
|
/aosp_15_r20/packages/modules/Virtualization/guest/zipfuse/src/ |
D | inode.rs | 92 pub fn get_directory(&self) -> Option<&HashMap<CString, DirectoryEntry>> { in get_directory() 117 fn add_to_directory(&mut self, name: CString, entry: DirectoryEntry) { in add_to_directory() 164 fn add(&mut self, parent: Inode, name: CString, data: InodeData) -> Inode { in add()
|
/aosp_15_r20/external/mesa3d/src/gallium/frontends/rusticl/mesa/compiler/clc/ |
H A D | spirv.rs | 90 source: &CString, in from_clc() 91 args: &[CString], in from_clc() 95 spirv_extensions: &[CString], in from_clc()
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio/src/ |
D | channel.rs | 33 fn format_user_agent_string(agent: &str) -> CString { in format_user_agent_string() 437 pub fn raw_cfg_int(mut self, key: CString, val: i32) -> ChannelBuilder { in raw_cfg_int() 447 pub fn raw_cfg_string(mut self, key: CString, val: CString) -> ChannelBuilder { in raw_cfg_string()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/ |
H A D | process_common.rs | 318 pub fn get_cwd(&self) -> &Option<CString> { in get_cwd() 396 fn os2c(s: &OsStr, saw_nul: &mut bool) -> CString { in os2c() 418 pub fn push(&mut self, item: CString) { in push()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/ |
H A D | process_common.rs | 318 pub fn get_cwd(&self) -> &Option<CString> { in get_cwd() 396 fn os2c(s: &OsStr, saw_nul: &mut bool) -> CString { in os2c() 418 pub fn push(&mut self, item: CString) { in push()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/ |
H A D | process_common.rs | 318 pub fn get_cwd(&self) -> &Option<CString> { in get_cwd() 396 fn os2c(s: &OsStr, saw_nul: &mut bool) -> CString { in os2c() 418 pub fn push(&mut self, item: CString) { in push()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/ |
H A D | process_common.rs | 318 pub fn get_cwd(&self) -> &Option<CString> { in get_cwd() 396 fn os2c(s: &OsStr, saw_nul: &mut bool) -> CString { in os2c() 418 pub fn push(&mut self, item: CString) { in push()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/ |
H A D | process_common.rs | 318 pub fn get_cwd(&self) -> &Option<CString> { in get_cwd() 396 fn os2c(s: &OsStr, saw_nul: &mut bool) -> CString { in os2c() 418 pub fn push(&mut self, item: CString) { in push()
|