Home
last modified time | relevance | path

Searched defs:Self (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs69 fn from_parcel(parcel: &BorrowedParcel<'_>) -> Result<Self>; in from_parcel()
113 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self>; in deserialize()
133 fn serialize_array(slice: &[Self], parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize_array()
179 fn deserialize_array(parcel: &BorrowedParcel<'_>) -> Result<Option<Vec<Self>>> { in deserialize_array()
259 fn serialize_option(this: Option<&Self>, parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize_option()
272 fn deserialize_option(parcel: &BorrowedParcel<'_>) -> Result<Option<Self>> { in deserialize_option()
284 fn deserialize_option_from(this: &mut Option<Self>, parcel: &BorrowedParcel<'_>) -> Result<()> { in deserialize_option_from()
525 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize()
531 fn serialize_array(slice: &[Self], parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize_array()
564 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize()
[all …]
Dfile_descriptor.rs33 pub fn new<F: Into<OwnedFd>>(fd: F) -> Self { in new()
88 fn serialize_option(this: Option<&Self>, parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize_option()
104 fn deserialize_option(parcel: &BorrowedParcel<'_>) -> Result<Option<Self>> { in deserialize_option()
137 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self> { in deserialize()
Dparcelable_holder.rs176 fn clone(&self) -> Self { in clone()
200 fn deserialize(parcel: &BorrowedParcel<'_>) -> Result<Self, StatusCode> { in deserialize()
/frameworks/native/libs/nativewindow/rust/src/
Dhandle.rs38 pub fn new(fds: Vec<OwnedFd>, ints: &[c_int]) -> Option<Self> { in new()
148 pub unsafe fn from_raw(native_handle: NonNull<ffi::native_handle_t>) -> Self { in from_raw()
160 pub unsafe fn clone_from_raw(native_handle: NonNull<ffi::native_handle_t>) -> Option<Self> { in clone_from_raw()
186 fn clone(&self) -> Self { in clone()
204 fn from(aidl_native_handle: AidlNativeHandle) -> Self { in from()
211 fn from(native_handle: NativeHandle) -> Self { in from()
Dlib.rs55 ) -> Self { in new()
139 pub fn new(buffer_description: &HardwareBufferDescription) -> Option<Self> { in new()
159 ) -> Result<Self, StatusCode> { in create_from_handle()
204 pub unsafe fn from_raw(buffer_ptr: NonNull<AHardwareBuffer>) -> Self { in from_raw()
219 pub unsafe fn clone_from_raw(buffer: NonNull<AHardwareBuffer>) -> Self { in clone_from_raw()
477 fn clone(&self) -> Self { in clone()
495 fn from_parcel(parcel: &BorrowedParcel) -> Result<Self, StatusCode> { in from_parcel()
Dsurface.rs218 fn clone(&self) -> Self { in clone()
237 fn from_parcel(parcel: &BorrowedParcel) -> Result<Self, StatusCode> { in from_parcel()
/frameworks/native/libs/bufferstreams/rust/src/buffers/
Dbuffer.rs31 pub fn new(buffer_owner: Box<dyn BufferOwner>, hardware_buffer: HardwareBuffer) -> Self { in new()
36 pub fn new_unowned(hardware_buffer: HardwareBuffer) -> Self { in new_unowned()
Dbuffer_pool.rs66 pub fn new(pool_size: usize, stream_config: StreamConfig) -> Option<Self> { in new()
/frameworks/minikin/rust/
Dhyphenator.rs207 pub const fn new(bytes: &'a [u8]) -> Self { in new()
308 pub const fn new(bytes: &'a [u8]) -> Self { in new()
370 pub fn new(bytes: &'a [u8]) -> Self { in new()
397 pub fn new(bytes: &'a [u8]) -> Self { in new()
440 pub const fn new(entry_value: u32) -> Self { in new()
459 pub const fn new(bytes: &'a [u8]) -> Self { in new()
508 pub fn new(bytes: &'a [u8]) -> Self { in new()
524 pub const fn new(bytes: &'a [u8], pattern_offset: u32, entry: u32) -> Self { in new()
554 pub fn new(data: &'static [u8], min_prefix: u32, min_suffix: u32, locale: &str) -> Self { in new()
/frameworks/native/libs/bufferstreams/rust/src/subscribers/
Dshared.rs40 pub fn new(subscriber: S) -> Self { in new()
58 fn clone(&self) -> Self { in clone()
Dtesting.rs41 pub fn new(config: StreamConfig) -> Self { in new()
/frameworks/compile/mclinker/include/mcld/ADT/
DBinTree.h95 typedef PolicyIteratorBase<value_type, Traits, IteratorType> Self; typedef
138 typedef PolicyIterator<DataType, Traits, IteratorType> Self; typedef
187 typedef TreeIterator<value_type, Traits> Self; typedef
346 typedef BinaryTree<DataType> Self; typedef
DHashEntry.h40 typedef HashEntry<KeyType, ValueType, KeyCompare> Self; typedef
DHashBase.h74 typedef HashTableImpl<HashEntryTy, HashFunctionTy> Self; typedef
/frameworks/native/include/ftl/
Dmixins.h88 constexpr const T& to_underlying(const Constructible<Self, T>& c) { in to_underlying()
/frameworks/native/libs/binder/rust/src/
Dproxy.rs76 pub(crate) unsafe fn from_raw(ptr: *mut sys::AIBinder) -> Option<Self> { in from_raw()
205 fn clone(&self) -> Self { in clone()
408 fn serialize_option(this: Option<&Self>, parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize_option()
481 fn clone(&self) -> Self { in clone()
717 fn from_binder(binder: SpIBinder) -> Result<Self>; in from_binder()
Dbinder.rs395 pub fn new(binder: Box<I>) -> Self { in new()
426 fn clone(&self) -> Self { in clone()
489 fn new(binder: &Strong<I>) -> Self { in new()
502 fn clone(&self) -> Self { in clone()
669 fn try_from(ibinder: SpIBinder) -> Result<Strong<Self>>; in try_from()
/frameworks/native/libs/nativewindow/rust/src/surface/
Dbuffer.rs37 pub(crate) fn new(buffer: ANativeWindow_Buffer, surface: &'a mut Surface) -> Self { in new()
/frameworks/compile/mclinker/include/mcld/
DInputTree.h29 typedef PolicyIterator<Input, Traits, IteratorType> Self; typedef
76 typedef BinaryTree<Input> Self; typedef
/frameworks/native/libs/debugstore/rust/src/
Devent.rs51 ) -> Self { in new()
/frameworks/native/libs/bufferstreams/rust/src/
Dstream_config.rs36 fn from(config: StreamConfig) -> Self { in from()
/frameworks/native/libs/input/rust/
Ddata_store.rs61 pub fn new(file_reader_writer: Box<dyn FileReaderWriter>) -> Self { in new()
150 pub fn new(filepath: String) -> Self { in new()
/frameworks/native/libs/bufferstreams/rust/src/publishers/
Dbuffer_pool_publisher.rs31 pub fn new(stream_config: StreamConfig, size: usize) -> Option<Self> { in new()
Dtesting.rs30 pub fn new(config: StreamConfig) -> Self { in new()
/frameworks/compile/mclinker/include/mcld/Support/
DGCFactory.h63 typedef DataIterator<ChunkType, Traits> Self; typedef

12