Home
last modified time | relevance | path

Searched defs:NulError (Results 1 – 11 of 11) sorted by relevance

/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/ffi/
H A Dc_str.rs139 pub struct NulError(usize, Vec<u8>); struct
264 pub fn new<T: Into<Vec<u8>>>(t: T) -> Result<CString, NulError> { in new() argument
266 fn spec_new_impl(self) -> Result<CString, NulError>; in new() argument
270 default fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
281 fn spec_new_impl_bytes(bytes: &[u8]) -> Result<CString, NulError> { in new() argument
302 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
308 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
314 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
935 impl NulError { impl
975 impl fmt::Display for NulError { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/ffi/
H A Dc_str.rs139 pub struct NulError(usize, Vec<u8>); struct
264 pub fn new<T: Into<Vec<u8>>>(t: T) -> Result<CString, NulError> { in new() argument
266 fn spec_new_impl(self) -> Result<CString, NulError>; in new() argument
270 default fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
281 fn spec_new_impl_bytes(bytes: &[u8]) -> Result<CString, NulError> { in new() argument
302 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
308 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
314 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
935 impl NulError { implementation
975 impl fmt::Display for NulError { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/alloc/src/ffi/
H A Dc_str.rs139 pub struct NulError(usize, Vec<u8>); struct
264 pub fn new<T: Into<Vec<u8>>>(t: T) -> Result<CString, NulError> { in new() argument
266 fn spec_new_impl(self) -> Result<CString, NulError>; in new() argument
270 default fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
281 fn spec_new_impl_bytes(bytes: &[u8]) -> Result<CString, NulError> { in new() argument
302 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
308 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
314 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
935 impl NulError { impl
975 impl fmt::Display for NulError { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/ffi/
H A Dc_str.rs139 pub struct NulError(usize, Vec<u8>); struct
264 pub fn new<T: Into<Vec<u8>>>(t: T) -> Result<CString, NulError> { in new() argument
266 fn spec_new_impl(self) -> Result<CString, NulError>; in new() argument
270 default fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
281 fn spec_new_impl_bytes(bytes: &[u8]) -> Result<CString, NulError> { in new() argument
302 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
308 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
314 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
935 impl NulError { impl
975 impl fmt::Display for NulError { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/ffi/
H A Dc_str.rs139 pub struct NulError(usize, Vec<u8>); struct
264 pub fn new<T: Into<Vec<u8>>>(t: T) -> Result<CString, NulError> { in new() argument
266 fn spec_new_impl(self) -> Result<CString, NulError>; in new() argument
270 default fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
281 fn spec_new_impl_bytes(bytes: &[u8]) -> Result<CString, NulError> { in new() argument
302 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
308 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
314 fn spec_new_impl(self) -> Result<CString, NulError> { in new() argument
935 impl NulError { impl
975 impl fmt::Display for NulError { implementation
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/rusqlite/src/util/
Dsmall_cstr.rs12 pub fn new(s: &str) -> Result<Self, NulError> { in new() argument
83 fn fabricate_nul_error(b: &str) -> NulError { in fabricate_nul_error()
/aosp_15_r20/external/crosvm/base/src/sys/linux/android/
H A Dsyslog.rs80 ) -> Result<(), NulError> { in android_log() argument
/aosp_15_r20/trusty/user/base/lib/trusty-std/src/ffi/
Dc_str.rs62 NulError(usize, Vec<u8>), enumerator
/aosp_15_r20/external/rust/android-crates-io/crates/rusqlite/src/
Derror.rs37 NulError(std::ffi::NulError), enumerator
/aosp_15_r20/packages/modules/Virtualization/android/virtmgr/src/
Ddebug_config.rs42 fn new(node_path: &str, prop_name: &str) -> Result<Self, NulError> { in new() argument
/aosp_15_r20/external/crosvm/rutabaga_gfx/src/
H A Drutabaga_utils.rs314 NulError(NulError), enumerator