Home
last modified time | relevance | path

Searched refs:ScopedHandle (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm/lib/Support/Windows/
DWindowsSupport.h91 class ScopedHandle {
95 ScopedHandle(const ScopedHandle &other); // = delete;
96 void operator=(const ScopedHandle &other); // = delete;
98 ScopedHandle() in ScopedHandle() function
101 explicit ScopedHandle(handle_type h) in ScopedHandle() function
104 ~ScopedHandle() { in ~ScopedHandle()
115 ScopedHandle &operator=(handle_type h) {
194 typedef ScopedHandle<CommonHandleTraits> ScopedCommonHandle;
195 typedef ScopedHandle<FileHandleTraits> ScopedFileHandle;
196 typedef ScopedHandle<CryptContextTraits> ScopedCryptContext;
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DWindowsSupport.h92 class ScopedHandle {
96 ScopedHandle(const ScopedHandle &other); // = delete;
97 void operator=(const ScopedHandle &other); // = delete;
99 ScopedHandle() in ScopedHandle() function
102 explicit ScopedHandle(handle_type h) in ScopedHandle() function
105 ~ScopedHandle() { in ~ScopedHandle()
116 ScopedHandle &operator=(handle_type h) {
195 typedef ScopedHandle<CommonHandleTraits> ScopedCommonHandle;
196 typedef ScopedHandle<FileHandleTraits> ScopedFileHandle;
197 typedef ScopedHandle<CryptContextTraits> ScopedCryptContext;
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DWindows.h67 class ScopedHandle {
71 ScopedHandle() : Handle(InvalidHandle) {} in ScopedHandle() function
72 ScopedHandle(HandleType handle) : Handle(handle) {} in ScopedHandle() function
74 ~ScopedHandle() { in ~ScopedHandle()
87 ScopedHandle &operator=(HandleType handle) {
105 typedef ScopedHandle<HANDLE, uintptr_t(-1),
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp79 class ScopedHandle { class
85 ScopedHandle() in ScopedHandle() function in __anon734601aa0111::ScopedHandle
88 explicit ScopedHandle(handle_type handle) in ScopedHandle() function in __anon734601aa0111::ScopedHandle
91 ~ScopedHandle() { in ~ScopedHandle()
95 ScopedHandle& operator=(handle_type handle) { in operator =()
166 typedef ScopedHandle<FileMappingHandle> FileMappingScopedHandle;
167 typedef ScopedHandle<MappedViewOfFileHandle> MappedViewOfFileScopedHandle;
168 typedef ScopedHandle<ProcessHandle> ProcessScopedHandle;
169 typedef ScopedHandle<ThreadHandle> ThreadScopedHandle;
170 typedef ScopedHandle<TokenHandle> TokenScopedHandle;
[all …]
/external/libmojo/ipc/
Dipc_mojo_handle_attachment.h25 explicit MojoHandleAttachment(mojo::ScopedHandle handle);
35 mojo::ScopedHandle TakeHandle();
39 mojo::ScopedHandle handle_;
Dipc_mojo_handle_attachment.cc14 MojoHandleAttachment::MojoHandleAttachment(mojo::ScopedHandle handle) in MojoHandleAttachment()
31 mojo::ScopedHandle MojoHandleAttachment::TakeHandle() { in TakeHandle()
Dipc_mojo_message_helper.cc18 mojo::ScopedHandle::From(std::move(handle)))); in WriteMessagePipeTo()
/external/swiftshader/third_party/LLVM/utils/KillTheDoctor/
DKillTheDoctor.cpp74 class ScopedHandle { class
80 ScopedHandle() in ScopedHandle() function in __anonb3e151560111::ScopedHandle
83 explicit ScopedHandle(handle_type handle) in ScopedHandle() function in __anonb3e151560111::ScopedHandle
86 ~ScopedHandle() { in ~ScopedHandle()
90 ScopedHandle& operator=(handle_type handle) { in operator =()
161 typedef ScopedHandle<FileMappingHandle> FileMappingScopedHandle;
162 typedef ScopedHandle<MappedViewOfFileHandle> MappedViewOfFileScopedHandle;
163 typedef ScopedHandle<ProcessHandle> ProcessScopedHandle;
164 typedef ScopedHandle<ThreadHandle> ThreadScopedHandle;
165 typedef ScopedHandle<TokenHandle> TokenScopedHandle;
[all …]
/external/libmojo/mojo/public/cpp/bindings/tests/
Dserialization_warning_unittest.cc29 Array<Array<ScopedHandle>> CreateTestNestedHandleArray() { in CreateTestNestedHandleArray()
30 Array<Array<ScopedHandle>> array(2); in CreateTestNestedHandleArray()
32 Array<ScopedHandle> nested_array(3); in CreateTestNestedHandleArray()
35 nested_array[j] = ScopedHandle::From(std::move(pipe.handle1)); in CreateTestNestedHandleArray()
102 test_struct->hdl = ScopedHandle::From(std::move(pipe.handle1)); in TEST_F()
156 Array<Array<ScopedHandle>> test_array = CreateTestNestedHandleArray(); in TEST_F()
158 test_array[1][0] = ScopedHandle(); in TEST_F()
174 test_array[1][0] = ScopedHandle(); in TEST_F()
Dstruct_with_traits_impl.h102 ScopedHandle& get_mutable_handle() { return handle_; } in get_mutable_handle()
105 ScopedHandle handle_;
Dstruct_with_traits_impl_traits.h104 static ScopedHandle f_handle(test::PassByValueStructWithTraitsImpl& value) {
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_win.cc152 struct ScopedHandle { struct
153 ScopedHandle() : h_(nullptr) {} in ScopedHandle() function
154 explicit ScopedHandle(HANDLE h) : h_(h) {} in ScopedHandle() argument
155 ~ScopedHandle() { in ~ScopedHandle() argument
172 ScopedHandle stdin_read, stdin_write; in StartSymbolizerSubprocess()
173 ScopedHandle stdout_read, stdout_write; in StartSymbolizerSubprocess()
/external/libmojo/mojo/public/cpp/system/
Dplatform_handle.h53 ScopedHandle WrapPlatformFile(base::PlatformFile platform_file);
56 MojoResult UnwrapPlatformFile(ScopedHandle handle, base::PlatformFile* file);
Dplatform_handle.cc29 ScopedHandle WrapPlatformFile(base::PlatformFile platform_file) { in WrapPlatformFile()
39 return ScopedHandle(Handle(mojo_handle)); in WrapPlatformFile()
42 MojoResult UnwrapPlatformFile(ScopedHandle handle, base::PlatformFile* file) { in UnwrapPlatformFile()
Dhandle.h183 typedef ScopedHandleBase<Handle> ScopedHandle; typedef
184 static_assert(sizeof(ScopedHandle) == sizeof(Handle),
/external/libchrome/base/synchronization/
Dwaitable_event.h63 explicit WaitableEvent(win::ScopedHandle event_handle);
147 win::ScopedHandle handle_;
/external/libchrome/base/win/
Dscoped_handle_test_dll.cc34 ScopedHandle handle_holder(handle); in ThreadFunc()
90 ScopedHandle handle_holder(handle); in InternalRunLocationTest()
/external/libchrome/base/message_loop/
Dmessage_loop_unittest.cc333 win::ScopedHandle event(CreateEvent(NULL, FALSE, FALSE, NULL)); in RunTest_RecursiveDenial2()
377 win::ScopedHandle event(CreateEvent(NULL, FALSE, FALSE, NULL)); in RunTest_RecursiveSupport2()
446 win::ScopedHandle file_;
481 win::ScopedHandle callback_called(CreateEvent(NULL, TRUE, FALSE, NULL)); in RunTest_IOHandler()
485 win::ScopedHandle server( in RunTest_IOHandler()
514 win::ScopedHandle callback1_called( in RunTest_WaitForIO()
516 win::ScopedHandle callback2_called( in RunTest_WaitForIO()
523 win::ScopedHandle server1( in RunTest_WaitForIO()
525 win::ScopedHandle server2( in RunTest_WaitForIO()
/external/libmojo/mojo/public/cpp/bindings/
Dsync_handle_registry.h56 ScopedHandle wait_set_handle_;
/external/libmojo/mojo/public/cpp/bindings/lib/
Dsync_handle_registry.h57 ScopedHandle wait_set_handle_;
/external/libchrome/base/process/
Dprocess.h133 win::ScopedHandle process_;
/external/libchrome/base/files/
Dmemory_mapped_file.h128 win::ScopedHandle file_mapping_;
/external/libchrome/base/memory/
Dshared_memory_unittest.cc391 win::ScopedHandle writable_handle(temp_handle); in TEST()
398 win::ScopedHandle writable_handle(temp_handle); in TEST()
581 base::win::ScopedHandle file_handle(::CreateFile( in TEST()
584 base::win::ScopedHandle section_handle( in TEST()
/external/libmojo/mojo/message_pump/
Dmessage_pump_mojo.h163 ScopedHandle wait_set_handle_;
/external/libmojo/mojo/edk/js/
Dhandle.h45 mojo::ScopedHandle handle_;

12