Home
last modified time | relevance | path

Searched refs:Handle (Results 1 – 25 of 627) sorted by relevance

12345678910>>...26

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DDynamicLibrary.cpp36 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 …]
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/
Dhandle.cc17 IMPLEMENT_WRAPPERTYPEINFO(zircon, Handle);
19 Handle::Handle(zx_handle_t handle) : handle_(handle) { in Handle() function in zircon::dart::Handle
43 Handle::~Handle() { in ~Handle()
50 fml::RefPtr<Handle> Handle::Create(zx_handle_t handle) { in Create()
51 return fml::MakeRefCounted<Handle>(handle); in Create()
54 Dart_Handle Handle::CreateInvalid() { in CreateInvalid()
58 zx_handle_t Handle::ReleaseHandle() { in ReleaseHandle()
75 zx_status_t Handle::Close() { in Close()
83 fml::RefPtr<HandleWaiter> Handle::AsyncWait(zx_signals_t signals, in AsyncWait()
97 void Handle::ReleaseWaiter(HandleWaiter* waiter) { in ReleaseWaiter()
[all …]
Dhandle.h25 class Handle : public fml::RefCountedThreadSafe<Handle>,
28 FML_FRIEND_REF_COUNTED_THREAD_SAFE(Handle);
29 FML_FRIEND_MAKE_REF_COUNTED(Handle);
32 ~Handle();
36 static fml::RefPtr<Handle> Create(zx_handle_t handle);
37 static fml::RefPtr<Handle> Create(zx::handle handle) { in Create()
41 static fml::RefPtr<Handle> Unwrap(Dart_Handle handle) { in Unwrap()
42 return fml::RefPtr<Handle>( in Unwrap()
43 tonic::DartConverter<zircon::dart::Handle*>::FromDart(handle)); in Unwrap()
68 explicit Handle(zx_handle_t handle);
Dsystem.h37 static zx_status_t ChannelWrite(fml::RefPtr<Handle> channel,
39 std::vector<Handle*> handles);
41 static Dart_Handle ChannelQueryAndRead(fml::RefPtr<Handle> channel);
46 static Dart_Handle SocketWrite(fml::RefPtr<Handle> socket,
49 static Dart_Handle SocketRead(fml::RefPtr<Handle> socket, size_t size);
53 static Dart_Handle VmoGetSize(fml::RefPtr<Handle> vmo);
54 static zx_status_t VmoSetSize(fml::RefPtr<Handle> vmo, uint64_t size);
55 static zx_status_t VmoWrite(fml::RefPtr<Handle> vmo,
58 static Dart_Handle VmoRead(fml::RefPtr<Handle> vmo,
62 static Dart_Handle VmoMap(fml::RefPtr<Handle> vmo);
[all …]
Dsystem.cc111 Dart_ListSetAt(list, i, ToDart(Handle::Create(in_handles[i]))); in MakeHandleList()
178 ToDart(Handle::Create(out0)), in ChannelCreate()
179 ToDart(Handle::Create(out1))); in ChannelCreate()
184 fml::RefPtr<Handle> channel) { in ConnectToService()
219 ToDart(Handle::Create(channel.release()))); in ChannelFromFile()
222 zx_status_t System::ChannelWrite(fml::RefPtr<Handle> channel, in ChannelWrite()
224 std::vector<Handle*> handles) { in ChannelWrite()
231 for (Handle* handle : handles) { in ChannelWrite()
239 for (Handle* handle : handles) { in ChannelWrite()
247 Dart_Handle System::ChannelQueryAndRead(fml::RefPtr<Handle> channel) { in ChannelQueryAndRead()
[all …]
/third_party/gn/src/base/win/
Dscoped_handle.h37 typedef typename Traits::Handle Handle; typedef
41 explicit GenericScopedHandle(Handle handle) : handle_(Traits::NullHandle()) { in GenericScopedHandle()
60 void Set(Handle handle) { in Set()
73 Handle Get() const { return handle_; } in Get()
76 Handle Take() { in Take()
77 Handle temp = handle_; in Take()
93 Handle handle_;
104 typedef HANDLE Handle; typedef
126 typedef HANDLE Handle; typedef
146 typedef HANDLE Handle; typedef
/third_party/skia/third_party/externals/tint/src/utils/io/
Dcommand_windows.cc28 class Handle { class
31 Handle() : handle_(nullptr) {} in Handle() function in tint::utils::__anon8a74a8200111::Handle
34 explicit Handle(HANDLE handle) : handle_(handle) {} in Handle() function in tint::utils::__anon8a74a8200111::Handle
37 ~Handle() { Close(); } in ~Handle()
40 Handle& operator=(Handle&& rhs) { in operator =()
62 Handle(const Handle&) = delete;
63 Handle& operator=(const Handle&) = delete;
81 read = Handle(hread); in Pipe()
82 write = Handle(hwrite); in Pipe()
96 Handle read;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/Windows/
DWindowsSupport.h80 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 …]
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/zircon/lib/src/
Dsystem.dart44 final Handle handle;
53 final Handle first;
54 final Handle second;
67 final List<Handle> handles;
99 final Handle handle;
128 static int connectToService(String path, Handle channel)
130 static int channelWrite(Handle channel, ByteData data, List<Handle> handles)
132 static ReadResult channelQueryAndRead(Handle channel)
142 static WriteResult socketWrite(Handle socket, ByteData data, int options)
144 static ReadResult socketRead(Handle socket, int size)
[all …]
Dhandle.dart11 class Handle extends NativeFieldWrapperClass2 {
14 Handle._();
17 factory Handle.invalid() {
20 static Handle _createInvalid() native 'Handle_CreateInvalid';
25 String toString() => 'Handle($_handle)';
29 (other is Handle) && (_handle == other._handle);
40 Handle duplicate(int rights) native 'Handle_Duplicate';
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/fuchsia/lib/
Dfuchsia.dart16 Handle _environment;
19 Handle _outgoingServices;
22 // TODO: refactor Handle to a Channel
23 static Handle takeEnvironment() {
28 Handle handle = _environment;
33 // TODO: refactor Handle to a Channel
34 static Handle takeOutgoingServices() {
39 Handle handle = _outgoingServices;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DWindowsSupport.h94 handle_type Handle; variable
100 : Handle(HandleTraits::GetInvalid()) {} in ScopedHandle()
103 : Handle(h) {} in ScopedHandle()
106 if (HandleTraits::IsValid(Handle)) in ~ScopedHandle()
107 HandleTraits::Close(Handle); in ~ScopedHandle()
111 handle_type t = Handle; in take()
112 Handle = HandleTraits::GetInvalid(); in take()
117 if (HandleTraits::IsValid(Handle))
118 HandleTraits::Close(Handle);
119 Handle = h;
[all …]
/third_party/libcoap/examples/
DREADME.etsi_iot23 [+] TD_COAP_CORE_10 Handle request containing Token option
24 [+] TD_COAP_CORE_11 Handle request not containing Token option
25 [+] TD_COAP_CORE_12 Handle request containing several Uri-Path options
26 [+] TD_COAP_CORE_13 Handle request containing several Uri-Query options
34 [+] TD_COAP_BLOCK_01 Handle GET blockwise transfer for large resource (early negotiation)
35 [+] TD_COAP_BLOCK_02 Handle GET blockwise transfer for large resource (late negotiation)
36 [-] TD_COAP_BLOCK_03 Handle PUT blockwise transfer for large resource
37 [-] TD_COAP_BLOCK_04 Handle POST blockwise transfer for large resource
38 [-] TD_COAP_OBS_01 Handle resource observation
/third_party/flutter/engine/flutter/fml/
Dnative_library.h23 using Handle = HMODULE;
25 using Handle = void*;
31 Handle handle,
39 Handle handle_ = nullptr;
44 NativeLibrary(Handle handle, bool close_handle);
48 Handle GetHandle() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DDynamicLibrary.inc18 for (void *Handle : llvm::reverse(Handles))
19 ::dlclose(Handle);
28 void *Handle = ::dlopen(File, RTLD_LAZY|RTLD_GLOBAL);
29 if (!Handle) {
38 Handle = RTLD_DEFAULT;
41 return Handle;
44 void DynamicLibrary::HandleSet::DLClose(void *Handle) {
45 ::dlclose(Handle);
48 void *DynamicLibrary::HandleSet::DLSym(void *Handle, const char *Symbol) {
49 return ::dlsym(Handle, Symbol);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcCBindings.cpp76 if (auto Handle = in LLVMOrcAddEagerlyCompiledIR() local
78 *RetHandle = *Handle; in LLVMOrcAddEagerlyCompiledIR()
81 return wrap(Handle.takeError()); in LLVMOrcAddEagerlyCompiledIR()
91 if (auto Handle = in LLVMOrcAddLazilyCompiledIR() local
93 *RetHandle = *Handle; in LLVMOrcAddLazilyCompiledIR()
96 return wrap(Handle.takeError()); in LLVMOrcAddLazilyCompiledIR()
106 if (auto Handle = in LLVMOrcAddObjectFile() local
108 *RetHandle = *Handle; in LLVMOrcAddObjectFile()
111 return wrap(Handle.takeError()); in LLVMOrcAddObjectFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DDynamicLibrary.inc26 for (void *Handle : llvm::reverse(Handles))
27 FreeLibrary(HMODULE(Handle));
30 assert((!Process || Process==this) && "Bad Handle");
48 HMODULE Handle = LoadLibraryW(FileUnicode.data());
49 if (Handle == NULL) {
54 return reinterpret_cast<void*>(Handle);
57 static DynamicLibrary::HandleSet *IsOpenedHandlesInstance(void *Handle) {
61 return Handle == &Inst ? &Inst : nullptr;
64 void DynamicLibrary::HandleSet::DLClose(void *Handle) {
65 if (HandleSet* HS = IsOpenedHandlesInstance(Handle))
[all …]
/third_party/flutter/engine/flutter/vulkan/
Dvulkan_handle.h21 using Handle = T;
22 using Disposer = std::function<void(Handle)>;
26 VulkanHandle(Handle handle, Disposer disposer = nullptr)
53 operator Handle() const { return handle_; } in Handle() function
63 Handle handle_;
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/zircon/test/
Dhandle_test.dart15 final Handle duplicate = pair.first.duplicate(ZX.RIGHT_SAME_RIGHTS);
18 final Handle failedDuplicate = pair.first.duplicate(-1);
23 final Handle handle = Handle.invalid();
24 final Handle duplicate = handle.duplicate(ZX.RIGHT_SAME_RIGHTS);
/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_native_window.h19 using Handle = ANativeWindow*;
23 Handle handle() const;
28 Handle window_;
32 explicit AndroidNativeWindow(Handle window);
/third_party/flutter/skia/include/core/
DSkRasterHandleAllocator.h41 typedef void* Handle; typedef
50 Handle fHandle; // public handle returned by SkCanvas::accessTopRasterHandle()
69 virtual void updateHandle(Handle, const SkMatrix&, const SkIRect&) = 0;
84 Handle allocBitmap(const SkImageInfo&, SkBitmap*);
/third_party/cef/libcef/renderer/
Dv8_impl.h188 using Handle = CefV8Handle<v8::Context>;
189 scoped_refptr<Handle> handle_;
289 class Handle : public CefV8HandleBase {
294 Handle(v8::Isolate* isolate,
299 Handle(const Handle&) = delete;
300 Handle& operator=(const Handle&) = delete;
309 ~Handle() override;
313 static void FirstWeakCallback(const v8::WeakCallbackInfo<Handle>& data);
314 static void SecondWeakCallback(const v8::WeakCallbackInfo<Handle>& data);
354 scoped_refptr<Handle> handle_;
/third_party/skia/include/core/
DSkRasterHandleAllocator.h41 typedef void* Handle; typedef
50 Handle fHandle; // public handle returned by SkCanvas::accessTopRasterHandle()
69 virtual void updateHandle(Handle, const SkMatrix&, const SkIRect&) = 0;
89 Handle allocBitmap(const SkImageInfo&, SkBitmap*);
/third_party/skia/src/gpu/vk/
DGrVkResourceProvider.h159 GrVkDescriptorSetManager::Handle* handle);
167 void getZeroSamplerDescriptorSetHandle(GrVkDescriptorSetManager::Handle* handle);
182 VkDescriptorSetLayout getSamplerDSLayout(const GrVkDescriptorSetManager::Handle&) const;
191 const GrVkDescriptorSet* getSamplerDescriptorSet(const GrVkDescriptorSetManager::Handle&);
200 const GrVkDescriptorSetManager::Handle&);
335 GrVkDescriptorSetManager::Handle fUniformDSHandle;
336 GrVkDescriptorSetManager::Handle fInputDSHandle;
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkDefs.hpp41 #define VK_DEFINE_NON_DISPATCHABLE_HANDLE(NAME, TYPE) typedef Handle<TYPE> NAME
83 class Handle class
86 Handle (void) {} // \note Left uninitialized on purpose in Handle() function in vk::Handle
87 Handle (deUint64 internal) : m_internal(internal) {} in Handle() function in vk::Handle
89 Handle& operator= (deUint64 internal) { m_internal = internal; return *this; } in operator =()
91 bool operator== (const Handle<Type>& other) const { return this->m_internal == other.m_internal; } in operator ==()
92 bool operator!= (const Handle<Type>& other) const { return this->m_internal != other.m_internal; } in operator !=()

12345678910>>...26