Home
last modified time | relevance | path

Searched defs:CxxString (Results 1 – 8 of 8) sorted by relevance

/external/rust/cxx/src/
Dcxx_string.rs15 fn string_init(this: &mut MaybeUninit<CxxString>, ptr: *const u8, len: usize); in string_init()
17 fn string_destroy(this: &mut MaybeUninit<CxxString>); in string_destroy()
23 fn string_push(this: Pin<&mut CxxString>, ptr: *const u8, len: usize); in string_push()
37 pub struct CxxString { struct
58 /// The macro expands to something resembling `let $var: Pin<&mut CxxString> = argument
84 impl CxxString { impl
158 impl Display for CxxString { implementation
164 impl Debug for CxxString { implementation
170 impl PartialEq for CxxString { implementation
182 impl PartialEq<str> for CxxString { implementation
[all …]
Dunique_ptr.rs235 fn unique_ptr_std_string_raw(this: *mut *mut c_void, raw: *mut CxxString); in unique_ptr_std_string_raw()
237 fn unique_ptr_std_string_get(this: *const *mut c_void) -> *const CxxString; in unique_ptr_std_string_get()
239 fn unique_ptr_std_string_release(this: *mut *mut c_void) -> *mut CxxString; in unique_ptr_std_string_release()
244 unsafe impl UniquePtrTarget for CxxString { implementation
/external/rust/cxx/tests/ui/
Dmut_return.rs10 fn f(t: &Thing) -> Pin<&mut CxxString>; in f()
11 unsafe fn g(t: &Thing) -> Pin<&mut CxxString>; in g()
12 fn h(t: Box<Mut>) -> Pin<&mut CxxString>; in h()
13 fn i<'a>(t: Box<Mut<'a>>) -> Pin<&'a mut CxxString>; in i()
Dpin_mut_opaque.rs8 fn s(s: &mut CxxString); in s() function
Dby_value_not_supported.rs18 fn h(s: CxxString) -> CxxString; in h()
/external/rust/cxx/tests/
Dcxx_string.rs8 async fn g(_: &CxxString) {} in test_async_cxx_string()
/external/rust/cxx/syntax/
Datom.rs21 CxxString, enumerator
/external/rust/cxx/tests/ffi/
Dlib.rs140 fn c_take_unique_ptr_string(s: UniquePtr<CxxString>); in c_take_unique_ptr_string()
143 fn c_take_unique_ptr_vector_string(v: UniquePtr<CxxVector<CxxString>>); in c_take_unique_ptr_vector_string()
278 fn r_take_unique_ptr_string(s: UniquePtr<CxxString>); in r_take_unique_ptr_string()
564 fn r_take_unique_ptr_string(s: UniquePtr<CxxString>) { in r_take_unique_ptr_string()