Home
last modified time | relevance | path

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

/third_party/rust/crates/cxx/src/
Dcxx_string.rs18 fn string_init(this: &mut MaybeUninit<CxxString>, ptr: *const u8, len: usize); in string_init()
20 fn string_destroy(this: &mut MaybeUninit<CxxString>); in string_destroy()
26 fn string_clear(this: Pin<&mut CxxString>); in string_clear()
28 fn string_reserve_total(this: Pin<&mut CxxString>, new_cap: usize); in string_reserve_total()
30 fn string_push(this: Pin<&mut CxxString>, ptr: *const u8, len: usize); in string_push()
44 pub struct CxxString { struct
65 /// The macro expands to something resembling `let $var: Pin<&mut CxxString> = argument
91 impl CxxString { implementation
210 impl Display for CxxString { implementation
216 impl Debug for CxxString { implementation
[all …]
Dunique_ptr.rs238 fn unique_ptr_std_string_raw(this: *mut MaybeUninit<*mut c_void>, raw: *mut CxxString); in unique_ptr_std_string_raw()
240 fn unique_ptr_std_string_get(this: *const MaybeUninit<*mut c_void>) -> *const CxxString; in unique_ptr_std_string_get()
242 fn unique_ptr_std_string_release(this: *mut MaybeUninit<*mut c_void>) -> *mut CxxString; in unique_ptr_std_string_release()
247 unsafe impl UniquePtrTarget for CxxString { implementation
/third_party/rust/crates/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()
/third_party/rust/crates/cxx/tests/
Dcxx_string.rs9 async fn g(_: &CxxString) {} in test_async_cxx_string()
/third_party/rust/crates/cxx/syntax/
Datom.rs21 CxxString, enumerator
/third_party/rust/crates/cxx/tests/ffi/
Dlib.rs144 fn c_take_unique_ptr_string(s: UniquePtr<CxxString>); in c_take_unique_ptr_string()
147 fn c_take_unique_ptr_vector_string(v: UniquePtr<CxxVector<CxxString>>); in c_take_unique_ptr_vector_string()
292 fn r_take_unique_ptr_string(s: UniquePtr<CxxString>); in r_take_unique_ptr_string()
588 fn r_take_unique_ptr_string(s: UniquePtr<CxxString>) { in r_take_unique_ptr_string()