/third_party/rust/crates/io-lifetimes/src/ |
H A D | impls_mio.rs | 43 fn from(owned: mio::net::TcpStream) -> Self { in from() 44 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 59 fn from(owned: mio::net::TcpStream) -> Self { in from() 60 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from() 67 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 68 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 75 fn from(owned: OwnedFd) -> Self { in from() 76 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 83 fn from_socket(owned: OwnedSocket) -> Self { in from_socket() 84 unsafe { Self::from_raw_socket(owned in from_socket() [all...] |
H A D | impls_async_std.rs | 50 fn from(owned: async_std::fs::File) -> Self { in from() 51 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 66 fn from(owned: async_std::fs::File) -> Self { in from() 67 unsafe { Self::from_raw_handle(owned.into_raw_handle()) } in from() 74 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 75 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 82 fn from(owned: OwnedFd) -> Self { in from() 83 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 90 fn from_handle(owned: OwnedHandle) -> Self { in from_handle() 91 unsafe { Self::from_raw_handle(owned in from_handle() [all...] |
H A D | impls_os_pipe.rs | 43 fn from(owned: os_pipe::PipeReader) -> Self { in from() 44 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 59 fn from(owned: os_pipe::PipeReader) -> Self { in from() 60 unsafe { Self::from_raw_handle(owned.into_raw_handle()) } in from() 67 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 68 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 75 fn from(owned: OwnedFd) -> Self { in from() 76 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 83 fn from_handle(owned: OwnedHandle) -> Self { in from_handle() 84 unsafe { Self::from_raw_handle(owned in from_handle() [all...] |
H A D | impls_std.rs | 95 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 96 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 103 fn from_handle(owned: OwnedHandle) -> Self { in from_handle() 104 unsafe { Self::from_raw_handle(owned.into_raw_handle()) } in from_handle() 111 fn from_socket(owned: OwnedSocket) -> Self { in from_socket() 112 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from_socket() 119 fn from_handle(owned: OwnedHandle) -> Self { in from_handle() 120 unsafe { Self::from_raw_handle(owned.into_raw_handle()) } in from_handle() 127 fn from(owned: OwnedHandle) -> Self { in from() 128 unsafe { Self::from_raw_handle(owned in from() [all...] |
H A D | portability.rs | 41 /// An owned filelike object. 48 /// An owned filelike object. 55 /// An owned socketlike object. 62 /// An owned socketlike object. 379 fn from_filelike(owned: OwnedFilelike) -> Self; in from_filelike() 395 fn from_into_filelike<Owned: IntoFilelike>(owned: Owned) -> Self; in from_into_filelike() 401 fn from_filelike(owned: OwnedFilelike) -> Self { in from_filelike() 402 Self::from(owned) in from_filelike() 406 fn from_into_filelike<Owned: IntoFilelike>(owned: Owned) -> Self { in from_into_filelike() 407 Self::from_filelike(owned in from_into_filelike() [all...] |
H A D | impls_socket2.rs | 43 fn from(owned: socket2::Socket) -> Self { in from() 44 unsafe { OwnedFd::from_raw_fd(owned.into_raw_fd()) } in from() 59 fn from(owned: socket2::Socket) -> Self { in from() 60 unsafe { Self::from_raw_socket(owned.into_raw_socket()) } in from() 67 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 68 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 75 fn from(owned: OwnedFd) -> Self { in from() 76 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 83 fn from_socket(owned: OwnedSocket) -> Self { in from_socket() 84 unsafe { Self::from_raw_socket(owned in from_socket() [all...] |
H A D | impls_tokio.rs | 35 fn from_fd(owned: OwnedFd) -> Self { in from_fd() 36 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from_fd() 43 fn from(owned: OwnedFd) -> Self { in from() 44 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 51 fn from_handle(owned: OwnedHandle) -> Self { in from_handle() 52 unsafe { Self::from_raw_handle(owned.into_raw_handle()) } in from_handle() 59 fn from(owned: OwnedHandle) -> Self { in from() 60 unsafe { Self::from_raw_handle(owned.into_raw_handle()) } in from()
|
H A D | impls_fs_err.rs | 43 fn from(owned: fs_err::File) -> Self { in from() 44 unsafe { Self::from_raw_fd(owned.into_raw_fd()) } in from() 59 fn from(owned: fs_err::File) -> Self { in from() 60 unsafe { Self::from_raw_handle(owned.into_raw_handle()) } in from()
|
H A D | traits.rs | 146 fn from_fd(owned: OwnedFd) -> Self; in from_fd() 192 fn from_handle(owned: OwnedHandle) -> Self; in from_handle() 225 fn from_socket(owned: OwnedSocket) -> Self; in from_socket()
|
H A D | views.rs | 100 let owned = OwnedFilelike::from_raw_filelike(raw); in view_raw() 102 target: ManuallyDrop::new(Target::from_filelike(owned)), in view_raw() 130 let owned = OwnedSocketlike::from_raw_socketlike(raw); in view_raw() 132 target: ManuallyDrop::new(Target::from_socketlike(owned)), in view_raw()
|
/third_party/rust/crates/foreign-types/foreign-types/src/ |
H A D | lib.rs | 10 //! `str`. One type represents an owned value and references to the other represent borrowed 37 //! // The owned type is simply a newtype wrapper around the raw C type. 199 /// /// Documentation for the owned type. 215 pub struct $owned:ident; 220 pub struct $owned(*mut $ctype); 223 impl $crate::ForeignType for $owned { 228 unsafe fn from_ptr(ptr: *mut $ctype) -> $owned { in from_ptr() 229 $owned(ptr) in from_ptr() 238 impl Drop for $owned { 246 impl Clone for $owned { [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | lsr.cpp | 26 owned = langScript.cloneData(errorCode); in LSR() 28 language = owned; in LSR() 29 script = owned + scriptOffset; in LSR() 45 owned = data.cloneData(errorCode); in LSR() 47 language = owned; in LSR() 48 script = owned + scriptOffset; in LSR() 49 region = owned + regionOffset; in LSR() 55 language(other.language), script(other.script), region(other.region), owned(other.owned), 58 if (owned ! in hashCode() [all...] |
H A D | lsr.h | 30 char *owned = nullptr; member 45 * copies those into owned memory, and aliases the region. 55 if (owned != nullptr) { in ~LSR()
|
/third_party/icu/icu4c/source/common/ |
H A D | lsr.cpp | 26 owned = langScript.cloneData(errorCode); in LSR() 28 language = owned; in LSR() 29 script = owned + scriptOffset; in LSR() 35 language(other.language), script(other.script), region(other.region), owned(other.owned), 38 if (owned != nullptr) { in hashCode() 40 other.owned = nullptr; in hashCode() 46 uprv_free(owned); in deleteOwned() 56 owned = other.owned; [all...] |
H A D | lsr.h | 29 char *owned = nullptr; member 44 * copies those into owned memory, and aliases the region. 52 if (owned != nullptr) { in ~LSR()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | lsr.cpp | 26 owned = langScript.cloneData(errorCode); in LSR() 28 language = owned; in LSR() 29 script = owned + scriptOffset; in LSR() 35 language(other.language), script(other.script), region(other.region), owned(other.owned), 38 if (owned != nullptr) { in hashCode() 40 other.owned = nullptr; in hashCode() 46 uprv_free(owned); in deleteOwned() 56 owned = other.owned; [all...] |
H A D | lsr.h | 29 char *owned = nullptr; member 44 * copies those into owned memory, and aliases the region. 52 if (owned != nullptr) { in ~LSR()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | macros.rs | 142 pub struct $owned:ident; 153 pub struct $owned; 158 unsafe impl Send for $owned{} 160 unsafe impl Sync for $owned{} 173 pub struct $owned:ident<T>; 178 pub struct $owned<T>(*mut $ctype, ::std::marker::PhantomData<T>); 181 impl<T> ::foreign_types::ForeignType for $owned<T> { 186 unsafe fn from_ptr(ptr: *mut $ctype) -> $owned<T> { in from_ptr() 187 $owned(ptr, ::std::marker::PhantomData) in from_ptr() 196 impl<T> Drop for $owned< [all...] |
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_mempool.c | 35 * In "owned" mode, a single parent owns the entire pool, and the pool owns all 58 if (pool->owned) in panfrost_pool_alloc_backing() 73 bool prealloc, bool owned) in panfrost_pool_init() 77 pool->owned = owned; in panfrost_pool_init() 79 if (owned) in panfrost_pool_init() 89 if (!pool->owned) { in panfrost_pool_cleanup() 103 assert(pool->owned && "pool does not track BOs in unowned mode"); in panfrost_pool_get_bo_handles() 70 panfrost_pool_init(struct panfrost_pool *pool, void *memctx, struct panfrost_device *dev, unsigned create_flags, size_t slab_size, const char *label, bool prealloc, bool owned) panfrost_pool_init() argument
|
H A D | pan_mempool.h | 30 /* Represents grow-only memory. It may be owned by the batch (OpenGL), or may 46 /* Mode of the pool. BO management is in the pool for owned mode, but 48 bool owned; member 73 if (!pool->owned) in panfrost_pool_take_ref() 86 owned); 94 assert(pool->owned && "pool does not track BOs in unowned mode"); in panfrost_pool_num_bos()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | listformatter.cpp | 273 owned(other.owned), data(other.data) { in ListFormatter() 274 if (other.owned != nullptr) { in ListFormatter() 275 owned = new ListFormatInternal(*other.owned); in ListFormatter() 276 data = owned; in ListFormatter() 284 delete owned; in operator =() 285 if (other.owned) { in operator =() 286 owned = new ListFormatInternal(*other.owned); in operator =() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | listformatter.cpp | 273 owned(other.owned), data(other.data) { in ListFormatter() 274 if (other.owned != nullptr) { in ListFormatter() 275 owned = new ListFormatInternal(*other.owned); in ListFormatter() 276 data = owned; in ListFormatter() 284 delete owned; in operator =() 285 if (other.owned) { in operator =() 286 owned = new ListFormatInternal(*other.owned); in operator =() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | listformatter.cpp | 273 owned(other.owned), data(other.data) { in ListFormatter() 274 if (other.owned != nullptr) { in ListFormatter() 275 owned = new ListFormatInternal(*other.owned); in ListFormatter() 276 data = owned; in ListFormatter() 284 delete owned; in operator =() 285 if (other.owned) { in operator =() 286 owned = new ListFormatInternal(*other.owned); in operator =() [all...] |
/third_party/rust/crates/rustix/src/io/fd/ |
H A D | mod.rs | 14 mod owned; modules 16 pub use owned::*;
|
/third_party/rust/crates/rustix/src/io/ |
H A D | procfs.rs | 257 .map(|(owned, stat)| (owned.as_fd(), stat)) in proc_self() 288 .map(|(owned, _stat)| owned.as_fd()) 325 .map(|(owned, stat)| (owned.as_fd(), stat)) in proc_self_fdinfo()
|