Home
last modified time | relevance | path

Searched defs:Handle (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/external/rust/android-crates-io/crates/same-file/src/
Dunix.rs9 pub struct Handle { struct
18 impl Drop for Handle { argument
28 impl Eq for Handle {} implementation
30 impl PartialEq for Handle { implementation
36 impl AsRawFd for crate::Handle { implementation
44 impl IntoRawFd for crate::Handle { implementation
52 impl Hash for Handle { implementation
59 impl Handle { impl
60 pub fn from_path<P: AsRef<Path>>(p: P) -> io::Result<Handle> { in from_path()
64 pub fn from_file(file: File) -> io::Result<Handle> { in from_file()
[all …]
Dwin.rs51 pub struct Handle { struct
52 kind: HandleKind, argument
59 Owned(winutil::Handle), argument
70 impl Eq for Handle {} implementation
72 impl PartialEq for Handle { implementation
76 if self as *const Handle == other as *const Handle { in eq() constant
85 impl AsRawHandle for crate::Handle { implementation
94 impl IntoRawHandle for crate::Handle { implementation
103 impl Hash for Handle { implementation
109 impl Handle { impl
[all …]
Dunknown.rs10 pub struct Handle; struct
12 impl Eq for Handle {} implementation
14 impl PartialEq for Handle { implementation
20 impl Handle { implementation
21 pub fn from_path<P: AsRef<Path>>(_p: P) -> io::Result<Handle> { in from_path()
25 pub fn from_file(_file: File) -> io::Result<Handle> { in from_file()
/external/rust/android-crates-io/crates/tokio/src/runtime/scheduler/
Dmod.rs33 pub(crate) enum Handle { enum
61 impl Handle { implementation
63 pub(crate) fn driver(&self) -> &driver::Handle { in driver()
103 impl Handle { impl
221 impl Handle { impl
244 impl Handle { impl
320 impl Handle { impl
/external/rust/android-crates-io/crates/tokio/src/runtime/scheduler/multi_thread_alt/
Dhandle.rs18 pub(crate) struct Handle { struct
23 pub(crate) driver: driver::Handle, argument
35 impl Handle { impl
74 impl Handle { impl
81 impl fmt::Debug for Handle { implementation
Dpark.rs66 pub(crate) fn park(&mut self, handle: &driver::Handle) { in park()
70 pub(crate) fn park_timeout(&mut self, handle: &driver::Handle, duration: Duration) { in park_timeout()
79 pub(crate) fn shutdown(&mut self, handle: &driver::Handle) { in shutdown()
98 pub(crate) fn unpark(&self, driver: &driver::Handle) { in unpark()
105 fn park(&self, handle: &driver::Handle) { in park()
163 fn park_driver(&self, driver: &mut Driver, handle: &driver::Handle) { in park_driver()
193 fn unpark(&self, driver: &driver::Handle) { in unpark()
225 fn shutdown(&self, handle: &driver::Handle) { in shutdown()
/external/rust/android-crates-io/crates/tokio/src/runtime/scheduler/multi_thread/
Dhandle.rs20 pub(crate) struct Handle { struct
25 pub(crate) driver: driver::Handle, argument
37 impl Handle { argument
72 impl Handle { impl
79 impl fmt::Debug for Handle { implementation
Dpark.rs69 pub(crate) fn park(&mut self, handle: &driver::Handle) { in park()
73 pub(crate) fn park_timeout(&mut self, handle: &driver::Handle, duration: Duration) { in park_timeout()
89 pub(crate) fn shutdown(&mut self, handle: &driver::Handle) { in shutdown()
108 pub(crate) fn unpark(&self, driver: &driver::Handle) { in unpark()
115 fn park(&self, handle: &driver::Handle) { in park()
173 fn park_driver(&self, driver: &mut Driver, handle: &driver::Handle) { in park_driver()
203 fn unpark(&self, driver: &driver::Handle) { in unpark()
235 fn shutdown(&self, handle: &driver::Handle) { in shutdown()
/external/tink/go/keyset/
Dhandle.go36 type Handle struct { struct
55 return nil, fmt.Errorf("keyset.Handle: cannot generate new keyset: %s", err)
121 return nil, fmt.Errorf("keyset.Handle: %s", err)
139 func (h *Handle) String() string {
149 func (h *Handle) KeysetInfo() *tinkpb.KeysetInfo {
154 func (h *Handle) Write(writer Writer, masterKey tink.AEAD) error {
159 …*Handle) WriteWithAssociatedData(writer Writer, masterKey tink.AEAD, associatedData []byte) error {
169 func (h *Handle) WriteWithNoSecrets(w Writer) error {
183 func (h *Handle) Primitives() (*primitiveset.PrimitiveSet, error) {
199 … (h *Handle) PrimitivesWithKeyManager(km registry.KeyManager) (*primitiveset.PrimitiveSet, error) {
[all …]
/external/rust/android-crates-io/crates/tokio/src/runtime/time/
Dhandle.rs5 pub(crate) struct Handle { struct
10 impl Handle { argument
31 impl Handle { impl
58 impl fmt::Debug for Handle { implementation
/external/rust/android-crates-io/crates/tokio/src/runtime/
Ddriver.rs21 pub(crate) struct Handle { struct
23 pub(crate) io: IoHandle, argument
27 pub(crate) signal: SignalHandle, argument
30 pub(crate) time: TimeHandle, argument
47 pub(crate) fn new(cfg: Cfg) -> io::Result<(Self, Handle)> { in new() argument
70 pub(crate) fn park(&mut self, handle: &Handle) { in park()
74 pub(crate) fn park_timeout(&mut self, handle: &Handle, duration: Duration) { in park_timeout()
78 pub(crate) fn shutdown(&mut self, handle: &Handle) { in shutdown()
83 impl Handle { implementation
/external/rust/android-crates-io/crates/tokio/src/runtime/signal/
Dmod.rs33 pub(crate) struct Handle { struct
43 pub(crate) fn new(io: io::Driver, io_handle: &io::Handle) -> std_io::Result<Self> { in new() argument
85 pub(crate) fn handle(&self) -> Handle { in handle()
91 pub(crate) fn park(&mut self, handle: &driver::Handle) { in park()
96 pub(crate) fn park_timeout(&mut self, handle: &driver::Handle, duration: Duration) { in park_timeout()
101 pub(crate) fn shutdown(&mut self, handle: &driver::Handle) { in shutdown()
132 impl Handle { impl
/external/rust/android-crates-io/crates/drm/src/control/
Dsyncobj.rs20 pub struct Handle(control::RawResourceHandle); struct
23 unsafe impl bytemuck::ZeroableInOption for Handle {} implementation
24 unsafe impl bytemuck::PodInOption for Handle {} implementation
25 unsafe impl bytemuck::NoUninit for Handle {} implementation
39 impl From<control::RawResourceHandle> for Handle { implementation
45 impl std::fmt::Debug for Handle { implementation
Dplane.rs24 pub struct Handle(control::RawResourceHandle); struct
27 unsafe impl bytemuck::ZeroableInOption for Handle {} implementation
28 unsafe impl bytemuck::PodInOption for Handle {} implementation
42 impl From<control::RawResourceHandle> for Handle { implementation
48 impl control::ResourceHandle for Handle { implementation
52 impl std::fmt::Debug for Handle { implementation
76 pub fn handle(&self) -> Handle { in handle()
81 pub fn crtc(&self) -> Option<control::crtc::Handle> { in crtc()
94 pub fn framebuffer(&self) -> Option<control::framebuffer::Handle> { in framebuffer()
Dcrtc.rs21 pub struct Handle(control::RawResourceHandle); struct
24 unsafe impl bytemuck::ZeroableInOption for Handle {} implementation
25 unsafe impl bytemuck::PodInOption for Handle {} implementation
39 impl From<control::RawResourceHandle> for Handle { implementation
45 impl control::ResourceHandle for Handle { implementation
49 impl std::fmt::Debug for Handle { implementation
73 pub fn handle(&self) -> Handle { in handle()
88 pub fn framebuffer(&self) -> Option<control::framebuffer::Handle> { in framebuffer()
Dencoder.rs12 pub struct Handle(control::RawResourceHandle); struct
15 unsafe impl bytemuck::ZeroableInOption for Handle {} implementation
16 unsafe impl bytemuck::PodInOption for Handle {} implementation
30 impl From<control::RawResourceHandle> for Handle { implementation
36 impl control::ResourceHandle for Handle { implementation
40 impl std::fmt::Debug for Handle { implementation
64 pub fn handle(&self) -> Handle { in handle()
74 pub fn crtc(&self) -> Option<control::crtc::Handle> { in crtc()
Dframebuffer.rs13 pub struct Handle(control::RawResourceHandle); struct
16 unsafe impl bytemuck::ZeroableInOption for Handle {} implementation
17 unsafe impl bytemuck::PodInOption for Handle {} implementation
31 impl From<control::RawResourceHandle> for Handle { implementation
37 impl control::ResourceHandle for Handle { implementation
41 impl std::fmt::Debug for Handle { implementation
66 pub fn handle(&self) -> Handle { in handle()
91 pub fn buffer(&self) -> Option<buffer::Handle> { in buffer()
111 pub fn handle(&self) -> Handle { in handle()
/external/rust/android-crates-io/crates/tokio/src/runtime/io/
Ddriver.rs32 pub(crate) struct Handle { struct
34 registry: mio::Registry,
37 registrations: RegistrationSet,
40 synced: Mutex<registration_set::Synced>,
45 waker: mio::Waker,
47 pub(crate) metrics: IoDriverMetrics,
94 pub(crate) fn new(nevents: usize) -> io::Result<(Driver, Handle)> { in new() argument
120 pub(crate) fn park(&mut self, rt_handle: &driver::Handle) { in park()
125 pub(crate) fn park_timeout(&mut self, rt_handle: &driver::Handle, duration: Duration) { in park_timeout()
130 pub(crate) fn shutdown(&mut self, rt_handle: &driver::Handle) { in shutdown()
[all …]
/external/compiler-rt/lib/msan/
Dmsan_chained_origin_depot.cc88 struct Handle { struct
89 ChainedOriginDepotNode *node_;
90 Handle() : node_(nullptr) {} in Handle() function
91 explicit Handle(ChainedOriginDepotNode *node) : node_(node) {} in Handle() argument
92 bool valid() { return node_; } in valid()
93 u32 id() { return node_->id; } in id()
94 int here_id() { return node_->here_id; } in here_id()
95 int prev_id() { return node_->prev_id; } in prev_id()
/external/pytorch/aten/src/ATen/cuda/detail/
DDeviceThreadHandles.h31 struct Handle { struct
32 Handle_t handle;
33 Handle(bool create = false) : handle(nullptr) in handle()
48 Handle(Handle&& rhs) noexcept : Handle() { std::swap(handle, rhs.handle); } in Handle() argument
51 ~Handle() { in ~Handle()
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/winapi-util-0.1.9/src/
Dwin.rs15 pub struct Handle(File); struct
17 impl AsRawHandle for Handle { implementation
23 impl FromRawHandle for Handle { implementation
24 unsafe fn from_raw_handle(handle: RawHandle) -> Handle { in from_raw_handle()
29 impl IntoRawHandle for Handle { implementation
35 impl Handle { impl
47 pub fn from_file(file: File) -> Handle { in from_file()
58 pub fn from_path<P: AsRef<Path>>(path: P) -> io::Result<Handle> { in from_path()
66 pub fn from_path_any<P: AsRef<Path>>(path: P) -> io::Result<Handle> { in from_path_any()
194 impl AsHandleRef for Handle { implementation
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/winapi-util-0.1.9/src/
Dwin.rs15 pub struct Handle(File); struct
17 impl AsRawHandle for Handle { implementation
23 impl FromRawHandle for Handle { implementation
24 unsafe fn from_raw_handle(handle: RawHandle) -> Handle { in from_raw_handle()
29 impl IntoRawHandle for Handle { implementation
35 impl Handle { implementation
47 pub fn from_file(file: File) -> Handle { in from_file()
58 pub fn from_path<P: AsRef<Path>>(path: P) -> io::Result<Handle> { in from_path()
66 pub fn from_path_any<P: AsRef<Path>>(path: P) -> io::Result<Handle> { in from_path_any()
194 impl AsHandleRef for Handle { implementation
/external/rust/android-crates-io/crates/mio/src/sys/windows/
Dhandle.rs6 pub struct Handle(HANDLE); struct
8 impl Handle { impl
26 impl Drop for Handle { implementation
/external/rust/android-crates-io/crates/tower/src/buffer/
Dworker.rs47 pub(crate) struct Handle { struct
48 inner: Arc<Mutex<Option<ServiceError>>>,
76 ) -> (Handle, Worker<T, Request>) { in new()
239 impl Handle { implementation
250 impl Clone for Handle { implementation
251 fn clone(&self) -> Handle { in clone()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DDynamicLibrary.cpp42 HandleList::iterator Find(void *Handle) { in Find()
46 bool Contains(void *Handle) { in Contains()
50 bool AddLibrary(void *Handle, bool IsProcess = false, bool CanClose = true) { in AddLibrary()
78 for (void *Handle : Handles) { in LibLookup() local
83 for (void *Handle : llvm::reverse(Handles)) { in LibLookup() local
154 void *Handle = HandleSet::DLOpen(FileName, Err); in getPermanentLibrary() local
163 DynamicLibrary DynamicLibrary::addPermanentLibrary(void *Handle, in addPermanentLibrary()

12345678910>>...17