Home
last modified time | relevance | path

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

/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/src/
H A 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 { impl
210 impl Display for CxxString { implementation
216 impl Debug for CxxString { implementation
[all …]
H A 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
/aosp_15_r20/external/rust/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
/aosp_15_r20/frameworks/native/libs/debugstore/rust/src/
H A Dlib.rs35 fn debug_store_record(name: &CxxString, data: &CxxVector<CxxString>); in debug_store_record()
36 fn debug_store_begin(name: &CxxString, data: &CxxVector<CxxString>) -> u64; in debug_store_begin()
37 fn debug_store_end(id: u64, data: &CxxVector<CxxString>); in debug_store_end()
51 fn debug_store_record(name: &CxxString, data: &CxxVector<CxxString>) { in debug_store_record()
55 fn debug_store_begin(name: &CxxString, data: &CxxVector<CxxString>) -> u64 { in debug_store_begin()
59 fn debug_store_end(id: u64, data: &CxxVector<CxxString>) { in debug_store_end()
/aosp_15_r20/tools/netsim/rust/daemon/src/
H A Dffi.rs121 description: &CxxString, in report_invalid_packet_cxx()
160 pub fn Add(chip_id: u32, address: &CxxString, controller_proto_bytes: &[u8]) -> u32; in Add()
178 string_type: &CxxString, in AddRustDevice()
179 address: &CxxString, in AddRustDevice()
229 chip_kind: &CxxString, in add_chip_cxx()
281 fn put_ok_with_length(self: &CxxServerResponseWriter, mime_type: &CxxString, length: usize); in put_ok_with_length()
287 fn put_ok(self: &CxxServerResponseWriter, mime_type: &CxxString, body: &CxxString); in put_ok()
290 fn put_error(self: &CxxServerResponseWriter, error_code: u32, error_message: &CxxString); in put_error()
/aosp_15_r20/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()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/tests/ui/
H A 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()
H A Dpin_mut_opaque.rs8 fn s(s: &mut CxxString); in s() function
H A Dby_value_not_supported.rs18 fn h(s: CxxString) -> CxxString; in h()
/aosp_15_r20/system/server_configurable_flags/aconfigd/
H A Dlib.rs95 fn new_cpp_aconfigd(str1: &CxxString, str2: &CxxString) -> UniquePtr<CppAconfigd>; in new_cpp_aconfigd()
115 fn into(self) -> Result<UniquePtr<CxxString>, CppAconfigdError> { in into()
/aosp_15_r20/external/rust/cxx/tests/ffi/
Dlib.rs147 fn c_take_unique_ptr_string(s: UniquePtr<CxxString>); in c_take_unique_ptr_string()
150 fn c_take_unique_ptr_vector_string(v: UniquePtr<CxxVector<CxxString>>); in c_take_unique_ptr_vector_string()
295 fn r_take_unique_ptr_string(s: UniquePtr<CxxString>); in r_take_unique_ptr_string()
591 fn r_take_unique_ptr_string(s: UniquePtr<CxxString>) { in r_take_unique_ptr_string()
/aosp_15_r20/external/rust/cxx/tests/
Dcxx_string.rs16 async fn g(_: &CxxString) {} in test_async_cxx_string()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/tests/
H A Dcxx_string.rs16 async fn g(_: &CxxString) {} in test_async_cxx_string()
/aosp_15_r20/external/rust/cxx/syntax/
Datom.rs21 CxxString, enumerator
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.121/src/syntax/
H A Datom.rs21 CxxString, enumerator
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxxbridge-macro-1.0.120/src/syntax/
H A Datom.rs21 CxxString, enumerator
/aosp_15_r20/tools/netsim/rust/daemon/src/wireless/
H A Dbluetooth.rs241 description: &CxxString, in report_invalid_packet_cxx()
/aosp_15_r20/tools/netsim/rust/daemon/src/devices/
H A Ddevices_handler.rs291 chip_kind: &CxxString, in add_chip_cxx()