/external/rust/crates/same-file/src/ |
D | win.rs | 51 pub struct Handle { struct 59 Owned(winutil::Handle), argument 70 impl Eq for Handle {} implementation 72 impl PartialEq for Handle { implementation 73 fn eq(&self, other: &Handle) -> bool { in eq() 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 { implementation [all …]
|
D | unix.rs | 9 pub struct Handle { struct 18 impl Drop for Handle { implementation 28 impl Eq for Handle {} implementation 30 impl PartialEq for Handle { implementation 31 fn eq(&self, other: &Handle) -> bool { in eq() 36 impl AsRawFd for crate::Handle { implementation 44 impl IntoRawFd for crate::Handle { implementation 52 impl Hash for Handle { implementation 59 impl Handle { implementation 60 pub fn from_path<P: AsRef<Path>>(p: P) -> io::Result<Handle> { in from_path() argument [all …]
|
D | unknown.rs | 10 pub struct Handle; struct 12 impl Eq for Handle {} implementation 14 impl PartialEq for Handle { implementation 15 fn eq(&self, _other: &Handle) -> bool { in eq() 20 impl Handle { impl 21 pub fn from_path<P: AsRef<Path>>(_p: P) -> io::Result<Handle> { in from_path() argument 25 pub fn from_file(_file: File) -> io::Result<Handle> { in from_file() argument 29 pub fn stdin() -> io::Result<Handle> { in stdin() 33 pub fn stdout() -> io::Result<Handle> { in stdout() 37 pub fn stderr() -> io::Result<Handle> { in stderr()
|
D | lib.rs | 109 pub struct Handle(imp::Handle); struct 111 impl Handle { impl 145 pub fn from_path<P: AsRef<Path>>(p: P) -> io::Result<Handle> { in from_path() argument 146 imp::Handle::from_path(p).map(Handle) in from_path() 182 pub fn from_file(file: File) -> io::Result<Handle> { in from_file() argument 183 imp::Handle::from_file(file).map(Handle) in from_file() 248 pub fn stdin() -> io::Result<Handle> { in stdin() 249 imp::Handle::stdin().map(Handle) in stdin() 264 pub fn stdout() -> io::Result<Handle> { in stdout() 265 imp::Handle::stdout().map(Handle) in stdout() [all …]
|
/external/perfetto/src/profiling/memory/ |
D | system_property.h | 41 class Handle { 43 friend void swap(SystemProperties::Handle&, SystemProperties::Handle&); 45 Handle(const Handle&) = delete; 46 Handle& operator=(const Handle&) = delete; 48 Handle(Handle&&) noexcept; 49 Handle& operator=(Handle&&) noexcept; 52 ~Handle(); 56 explicit Handle(SystemProperties* system_properties, std::string property); 57 explicit Handle(SystemProperties* system_properties); 64 Handle SetProperty(std::string name); [all …]
|
D | system_property.cc | 29 SystemProperties::Handle::Handle(Handle&& other) noexcept { in Handle() function in perfetto::profiling::SystemProperties::Handle 36 SystemProperties::Handle& SystemProperties::Handle::operator=( in operator =() 37 Handle&& other) noexcept { in operator =() 40 Handle tmp(std::move(other)); in operator =() 46 SystemProperties::Handle::Handle(SystemProperties* system_properties) in Handle() function in perfetto::profiling::SystemProperties::Handle 49 SystemProperties::Handle::Handle(SystemProperties* system_properties, in Handle() function in perfetto::profiling::SystemProperties::Handle 53 SystemProperties::Handle::~Handle() { in ~Handle() 62 SystemProperties::Handle::operator bool() { in operator bool() 66 SystemProperties::Handle SystemProperties::SetProperty(std::string name) { in SetProperty() 70 return Handle(nullptr); in SetProperty() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/pjrt/ |
D | event_pool.h | 31 class Handle { 33 Handle() = default; 34 ~Handle(); 36 Handle(const Handle&) = delete; 37 Handle(Handle&&) = default; 38 Handle& operator=(const Handle&) = delete; 39 Handle& operator=(Handle&&) = default; 45 inline bool operator<(const Handle& rhs) const { 48 inline bool operator>(const Handle& rhs) const { return rhs < *this; } 49 inline bool operator<=(const Handle& rhs) const { return !(*this > rhs); } [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | DynamicLibrary.cpp | 36 static void DLClose(void *Handle); 37 static void *DLSym(void *Handle, const char *Symbol); 42 HandleList::iterator Find(void *Handle) { in Find() argument 43 return std::find(Handles.begin(), Handles.end(), Handle); in Find() 46 bool Contains(void *Handle) { in Contains() argument 47 return Handle == Process || Find(Handle) != Handles.end(); in Contains() 50 bool AddLibrary(void *Handle, bool IsProcess = false, bool CanClose = true) { in AddLibrary() argument 52 assert((Handle == this ? IsProcess : !IsProcess) && "Bad Handle."); in AddLibrary() 56 if (Find(Handle) != Handles.end()) { in AddLibrary() 58 DLClose(Handle); in AddLibrary() [all …]
|
/external/llvm-project/llvm/lib/Support/ |
D | DynamicLibrary.cpp | 36 static void DLClose(void *Handle); 37 static void *DLSym(void *Handle, const char *Symbol); 42 HandleList::iterator Find(void *Handle) { in Find() argument 43 return std::find(Handles.begin(), Handles.end(), Handle); in Find() 46 bool Contains(void *Handle) { in Contains() argument 47 return Handle == Process || Find(Handle) != Handles.end(); in Contains() 50 bool AddLibrary(void *Handle, bool IsProcess = false, bool CanClose = true) { in AddLibrary() argument 52 assert((Handle == this ? IsProcess : !IsProcess) && "Bad Handle."); in AddLibrary() 56 if (Find(Handle) != Handles.end()) { in AddLibrary() 58 DLClose(Handle); in AddLibrary() [all …]
|
/external/compiler-rt/lib/esan/ |
D | cache_frag.cpp | 80 static void reportStructCounter(StructHashMap::Handle &Handle) { in reportStructCounter() argument 83 StructInfo *Struct = Handle->Struct; in reportStructCounter() 102 Struct->Size, Handle->Count, Handle->Ratio, *Struct->ArrayCounter); in reportStructCounter() 117 static void computeStructRatio(StructHashMap::Handle &Handle) { in computeStructRatio() argument 118 Handle->Ratio = 0; in computeStructRatio() 119 Handle->Count = Handle->Struct->FieldCounters[0]; in computeStructRatio() 120 for (u32 i = 1; i < Handle->Struct->NumFields; ++i) { in computeStructRatio() 121 Handle->Count += Handle->Struct->FieldCounters[i]; in computeStructRatio() 122 Handle->Ratio += computeDifferenceRatio( in computeStructRatio() 123 Handle->Struct->FieldCounters[i - 1], Handle->Struct->FieldCounters[i]); in computeStructRatio() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/archrast/ |
D | archrast.cpp | 137 virtual void Handle(const DrawInstancedEvent& event) in Handle() function in ArchRast::EventHandlerApiStats 154 EventHandlerFile::Handle(e); in Handle() 157 virtual void Handle(const DrawIndexedInstancedEvent& event) in Handle() function in ArchRast::EventHandlerApiStats 174 EventHandlerFile::Handle(e); in Handle() 190 virtual void Handle(const EarlyDepthStencilInfoSingleSample& event) in Handle() function in ArchRast::EventHandlerWorkerStats 215 virtual void Handle(const EarlyDepthStencilInfoSampleRate& event) in Handle() function in ArchRast::EventHandlerWorkerStats 240 virtual void Handle(const EarlyDepthStencilInfoNullPS& event) in Handle() function in ArchRast::EventHandlerWorkerStats 254 virtual void Handle(const LateDepthStencilInfoSingleSample& event) in Handle() function in ArchRast::EventHandlerWorkerStats 279 virtual void Handle(const LateDepthStencilInfoSampleRate& event) in Handle() function in ArchRast::EventHandlerWorkerStats 304 virtual void Handle(const LateDepthStencilInfoNullPS& event) in Handle() function in ArchRast::EventHandlerWorkerStats [all …]
|
/external/openscreen/cast/streaming/ |
D | rpc_broker.h | 30 using Handle = int; 42 Handle GetUniqueHandle(); 49 void RegisterMessageReceiverCallback(Handle handle, 53 void UnregisterMessageReceiverCallback(Handle handle); 62 bool IsRegisteredForTesting(Handle handle); 65 static constexpr Handle kInvalidHandle = -1; 69 static constexpr Handle kAcquireRendererHandle = 0; 70 static constexpr Handle kAcquireDemuxerHandle = 1; 73 static constexpr Handle kFirstHandle = 100; 77 Handle next_handle_; [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | process_function_library_runtime.h | 117 Status GetRetTypes(FunctionLibraryRuntime::Handle h, 128 FunctionLibraryRuntime::Handle AddHandle( 133 FunctionLibraryRuntime::Handle GetHandle(const string& function_key) const; 144 const string& device_name, FunctionLibraryRuntime::Handle handle, 152 Status GetOutputDevices(FunctionLibraryRuntime::Handle handle, 158 FunctionLibraryRuntime::Handle handle) const; 165 FunctionLibraryRuntime::Handle* handle); 169 Status IsCrossProcess(FunctionLibraryRuntime::Handle handle, 179 Status ReleaseHandle(FunctionLibraryRuntime::Handle handle); 184 FunctionLibraryRuntime::Handle handle, gtl::ArraySlice<Tensor> args, [all …]
|
/external/libchrome/base/ |
D | sync_socket.h | 36 typedef HANDLE Handle; typedef 37 typedef Handle TransitDescriptor; 39 typedef int Handle; 42 static const Handle kInvalidHandle; 47 explicit SyncSocket(Handle handle) : handle_(handle) {} in SyncSocket() 56 static Handle UnwrapHandle(const TransitDescriptor& descriptor); 94 Handle handle() const { return handle_; } in handle() 97 Handle Release(); 100 Handle handle_; 112 explicit CancelableSyncSocket(Handle handle); [all …]
|
/external/perfetto/include/perfetto/public/ |
D | consumer_api.h | 92 using Handle = int64_t; variable 93 constexpr Handle kInvalidHandle = -1; 97 using OnStateChangedCb = void (*)(Handle, State, void* /*callback_arg*/); 116 Handle Create(const void* config_proto, 130 void StartTracing(Handle); 146 TraceBuffer ReadTrace(Handle); 151 void Destroy(Handle); 157 State PollState(Handle);
|
/external/e2fsprogs/lib/ext2fs/ |
D | nt_io.c | 54 IN HANDLE Handle 208 HANDLE Handle; member 389 OUT PHANDLE Handle, in _OpenNtName() argument 437 Status = NtOpenFile(Handle, in _OpenNtName() 455 Status = NtOpenFile(Handle, in _OpenNtName() 473 Status = NtOpenFile(Handle, in _OpenNtName() 497 OUT PHANDLE Handle, in _OpenDriveLetter() argument 505 return _OpenNtName(Buffer, ReadOnly, Handle, OpenedReadonly); in _OpenDriveLetter() 517 IN HANDLE Handle in _FlushDrive() argument 521 return NtFlushBuffersFile(Handle, &IoStatusBlock); in _FlushDrive() [all …]
|
/external/libchrome/mojo/public/cpp/system/ |
D | handle.h | 155 class Handle { 157 Handle() : value_(kInvalidHandleValue) {} in Handle() function 158 explicit Handle(MojoHandle value) : value_(value) {} in Handle() function 159 ~Handle() {} in ~Handle() 161 void swap(Handle& other) { in swap() 197 static_assert(sizeof(Handle) == sizeof(MojoHandle), "Bad size for C++ Handle"); 200 typedef ScopedHandleBase<Handle> ScopedHandle; 201 static_assert(sizeof(ScopedHandle) == sizeof(Handle), 212 inline MojoResult CloseRaw(Handle handle) { in CloseRaw() 217 inline bool operator<(const Handle a, const Handle b) { [all …]
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | cache.h | 58 struct Handle {}; struct 69 virtual Handle* Insert(const Slice& key, void* value, size_t charge, 77 virtual Handle* Lookup(const Slice& key) = 0; 82 virtual void Release(Handle* handle) = 0; 88 virtual void* Value(Handle* handle) = 0; 113 void LRU_Remove(Handle* e); 114 void LRU_Append(Handle* e); 115 void Unref(Handle* e);
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_addrhashmap.h | 67 class Handle { 69 Handle(AddrHashMap<T, kSize> *map, uptr addr); 70 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove); 71 Handle(AddrHashMap<T, kSize> *map, uptr addr, bool remove, bool create); 73 ~Handle(); 93 friend class Handle; 96 void acquire(Handle *h); 97 void release(Handle *h); 102 AddrHashMap<T, kSize>::Handle::Handle(AddrHashMap<T, kSize> *map, uptr addr) { in Handle() function 111 AddrHashMap<T, kSize>::Handle::Handle(AddrHashMap<T, kSize> *map, uptr addr, in Handle() function [all …]
|
/external/perfetto/src/tracing/consumer_api_deprecated/ |
D | consumer_api_deprecated.cc | 64 Handle, 105 Handle const handle_; 121 Handle handle, in TracingSession() 280 Handle Create(const void*, size_t, OnStateChangedCb, void* callback_arg); 281 void StartTracing(Handle); 282 State PollState(Handle); 283 TraceBuffer ReadTrace(Handle); 284 void Destroy(Handle); 292 Handle last_handle_ = 0; 293 std::map<Handle, std::unique_ptr<TracingSession>> sessions_; [all …]
|
/external/webrtc/modules/desktop_capture/ |
D | shared_memory.h | 36 typedef HANDLE Handle; typedef 37 static const Handle kInvalidHandle; 39 typedef int Handle; 40 static const Handle kInvalidHandle; 47 Handle handle() const { return handle_; } in handle() 56 SharedMemory(void* data, size_t size, Handle handle, int id); 60 const Handle handle_;
|
/external/rust/crates/tokio/tests/ |
D | rt_handle_block_on.rs | 11 use tokio::runtime::{Handle, Runtime}; 98 let one = Handle::current().block_on(async { 1 }); in basic() 108 Handle::current().block_on(tx.send(42)).unwrap(); in bounded_mpsc_channel() 110 let value = Handle::current().block_on(rx.recv()).unwrap(); in bounded_mpsc_channel() 122 let value = Handle::current().block_on(rx.recv()).unwrap(); in unbounded_mpsc_channel() 135 let contents = Handle::current() 147 let err: std::io::Error = Handle::current() 162 let answer = Handle::current() 178 let join_err = Handle::current() 200 let answer = Handle::current().block_on(handle).unwrap(); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/Windows/ |
D | WindowsSupport.h | 80 handle_type Handle; variable 86 : Handle(HandleTraits::GetInvalid()) {} in ScopedHandle() 89 : Handle(h) {} in ScopedHandle() 92 if (HandleTraits::IsValid(Handle)) in ~ScopedHandle() 93 HandleTraits::Close(Handle); in ~ScopedHandle() 97 handle_type t = Handle; in take() 98 Handle = HandleTraits::GetInvalid(); in take() 103 if (HandleTraits::IsValid(Handle)) 104 HandleTraits::Close(Handle); 105 Handle = h; [all …]
|
/external/llvm-project/llvm/include/llvm/Support/Windows/ |
D | WindowsSupport.h | 80 handle_type Handle; variable 86 : Handle(HandleTraits::GetInvalid()) {} in ScopedHandle() 89 : Handle(h) {} in ScopedHandle() 92 if (HandleTraits::IsValid(Handle)) in ~ScopedHandle() 93 HandleTraits::Close(Handle); in ~ScopedHandle() 97 handle_type t = Handle; in take() 98 Handle = HandleTraits::GetInvalid(); in take() 103 if (HandleTraits::IsValid(Handle)) 104 HandleTraits::Close(Handle); 105 Handle = h; [all …]
|
/external/llvm/lib/Support/Windows/ |
D | WindowsSupport.h | 93 handle_type Handle; variable 99 : Handle(HandleTraits::GetInvalid()) {} in ScopedHandle() 102 : Handle(h) {} in ScopedHandle() 105 if (HandleTraits::IsValid(Handle)) in ~ScopedHandle() 106 HandleTraits::Close(Handle); in ~ScopedHandle() 110 handle_type t = Handle; in take() 111 Handle = HandleTraits::GetInvalid(); in take() 116 if (HandleTraits::IsValid(Handle)) 117 HandleTraits::Close(Handle); 118 Handle = h; [all …]
|