/external/llvm/lib/Support/Windows/ |
D | WindowsSupport.h | 91 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-7.0/llvm/lib/Support/Windows/ |
D | WindowsSupport.h | 94 class ScopedHandle { 98 ScopedHandle(const ScopedHandle &other); // = delete; 99 void operator=(const ScopedHandle &other); // = delete; 101 ScopedHandle() in ScopedHandle() function 104 explicit ScopedHandle(handle_type h) in ScopedHandle() function 107 ~ScopedHandle() { in ~ScopedHandle() 118 ScopedHandle &operator=(handle_type h) { 197 typedef ScopedHandle<CommonHandleTraits> ScopedCommonHandle; 198 typedef ScopedHandle<FileHandleTraits> ScopedFileHandle; 199 typedef ScopedHandle<CryptContextTraits> ScopedCryptContext; [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/ |
D | WindowsSupport.h | 92 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/libchrome/mojo/public/cpp/system/ |
D | platform_handle.h | 81 MOJO_CPP_SYSTEM_EXPORT ScopedHandle WrapPlatformHandle(PlatformHandle handle); 85 MOJO_CPP_SYSTEM_EXPORT PlatformHandle UnwrapPlatformHandle(ScopedHandle handle); 90 ScopedHandle WrapPlatformFile(base::PlatformFile platform_file); 94 MojoResult UnwrapPlatformFile(ScopedHandle handle, base::PlatformFile* file); 176 MOJO_CPP_SYSTEM_EXPORT ScopedHandle WrapMachPort(mach_port_t port); 180 MOJO_CPP_SYSTEM_EXPORT MojoResult UnwrapMachPort(ScopedHandle handle,
|
D | platform_handle.cc | 182 ScopedHandle WrapPlatformHandle(PlatformHandle handle) { in WrapPlatformHandle() 190 return ScopedHandle(); in WrapPlatformHandle() 191 return ScopedHandle(Handle(wrapped_handle)); in WrapPlatformHandle() 194 PlatformHandle UnwrapPlatformHandle(ScopedHandle handle) { in UnwrapPlatformHandle() 205 ScopedHandle WrapPlatformFile(base::PlatformFile platform_file) { in WrapPlatformFile() 216 return ScopedHandle(Handle(mojo_handle)); in WrapPlatformFile() 219 MojoResult UnwrapPlatformFile(ScopedHandle handle, base::PlatformFile* file) { in UnwrapPlatformFile() 399 ScopedHandle WrapMachPort(mach_port_t port) { in WrapMachPort() 405 return ScopedHandle(); in WrapMachPort() 417 return ScopedHandle(Handle(mojo_handle)); in WrapMachPort() [all …]
|
D | handle.h | 200 typedef ScopedHandleBase<Handle> ScopedHandle; typedef 201 static_assert(sizeof(ScopedHandle) == sizeof(Handle),
|
/external/swiftshader/third_party/LLVM/lib/Support/Windows/ |
D | Windows.h | 67 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/libchrome/mojo/public/cpp/bindings/lib/ |
D | serialization_context.h | 34 void AddHandle(mojo::ScopedHandle handle, Handle_Data* out_data); in COMPONENT_EXPORT() 54 const std::vector<mojo::ScopedHandle>* handles() { return &handles_; } in COMPONENT_EXPORT() 55 std::vector<mojo::ScopedHandle>* mutable_handles() { return &handles_; } in COMPONENT_EXPORT() 71 mojo::ScopedHandle TakeHandle(const Handle_Data& encoded_handle); in COMPONENT_EXPORT() 87 std::vector<mojo::ScopedHandle> handles_; in COMPONENT_EXPORT()
|
D | native_struct_serialization.cc | 89 ScopedHandle handle = attachment->TakeMojoHandle(); in SerializeMessageContents() 90 internal::Serializer<ScopedHandle, ScopedHandle>::Serialize( in SerializeMessageContents() 112 ScopedHandle handle; in DeserializeMessageAttachments() 113 internal::Serializer<ScopedHandle, ScopedHandle>::Deserialize( in DeserializeMessageAttachments()
|
D | serialization_context.cc | 20 void SerializationContext::AddHandle(mojo::ScopedHandle handle, in AddHandle() 35 AddHandle(ScopedHandle::From(std::move(handle)), &out_data->handle); in AddInterfaceInfo() 67 mojo::ScopedHandle SerializationContext::TakeHandle( in TakeHandle() 70 return mojo::ScopedHandle(); in TakeHandle()
|
/external/llvm/utils/KillTheDoctor/ |
D | KillTheDoctor.cpp | 79 class ScopedHandle { class 85 ScopedHandle() in ScopedHandle() function in __anon169d18b40111::ScopedHandle 88 explicit ScopedHandle(handle_type handle) in ScopedHandle() function in __anon169d18b40111::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/swiftshader/third_party/llvm-7.0/llvm/utils/KillTheDoctor/ |
D | KillTheDoctor.cpp | 79 class ScopedHandle { class 85 ScopedHandle() in ScopedHandle() function in __anon21d0330c0111::ScopedHandle 88 explicit ScopedHandle(handle_type handle) in ScopedHandle() function in __anon21d0330c0111::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/libchrome/ipc/ |
D | ipc_message_attachment.cc | 47 mojo::ScopedHandle MessageAttachment::TakeMojoHandle() { in TakeMojoHandle() 61 return mojo::ScopedHandle(); in TakeMojoHandle() 76 return mojo::ScopedHandle(); in TakeMojoHandle() 90 return mojo::ScopedHandle(); in TakeMojoHandle() 103 return mojo::ScopedHandle(); in TakeMojoHandle() 108 mojo::ScopedHandle handle, in CreateFromMojoHandle()
|
D | ipc_mojo_handle_attachment.h | 26 explicit MojoHandleAttachment(mojo::ScopedHandle handle); 31 mojo::ScopedHandle TakeHandle(); 35 mojo::ScopedHandle handle_;
|
D | ipc_mojo_handle_attachment.cc | 14 MojoHandleAttachment::MojoHandleAttachment(mojo::ScopedHandle handle) in MojoHandleAttachment() 23 mojo::ScopedHandle MojoHandleAttachment::TakeHandle() { in TakeHandle()
|
D | ipc_message_attachment.h | 32 mojo::ScopedHandle handle, 37 mojo::ScopedHandle TakeMojoHandle();
|
/external/swiftshader/third_party/LLVM/utils/KillTheDoctor/ |
D | KillTheDoctor.cpp | 74 class ScopedHandle { class 80 ScopedHandle() in ScopedHandle() function in __anon74a0a6600111::ScopedHandle 83 explicit ScopedHandle(handle_type handle) in ScopedHandle() function in __anon74a0a6600111::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/libchrome/mojo/public/cpp/bindings/tests/ |
D | serialization_warning_unittest.cc | 27 std::vector<base::Optional<std::vector<ScopedHandle>>> 29 std::vector<base::Optional<std::vector<ScopedHandle>>> array(2); in CreateTestNestedHandleArray() 31 std::vector<ScopedHandle> nested_array(3); in CreateTestNestedHandleArray() 34 nested_array[j] = ScopedHandle::From(std::move(pipe.handle1)); in CreateTestNestedHandleArray() 106 test_struct->hdl = ScopedHandle::From(std::move(pipe.handle1)); in TEST_F() 160 using MojomType = ArrayDataView<ArrayDataView<ScopedHandle>>; in TEST_F() 163 (*test_array[1])[0] = ScopedHandle(); in TEST_F() 181 (*test_array[1])[0] = ScopedHandle(); in TEST_F()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_win.cc | 152 struct ScopedHandle { struct 153 ScopedHandle() : h_(nullptr) {} in ScopedHandle() function 154 explicit ScopedHandle(HANDLE h) : h_(h) {} in ScopedHandle() function 155 ~ScopedHandle() { in ~ScopedHandle() argument 172 ScopedHandle stdin_read, stdin_write; in StartSymbolizerSubprocess() 173 ScopedHandle stdout_read, stdout_write; in StartSymbolizerSubprocess()
|
/external/libchrome/mojo/public/cpp/platform/ |
D | platform_handle.cc | 38 base::win::ScopedHandle CloneHandle(const base::win::ScopedHandle& handle) { in CloneHandle() 46 return base::win::ScopedHandle(); in CloneHandle() 48 return base::win::ScopedHandle(dupe); in CloneHandle() 91 PlatformHandle::PlatformHandle(base::win::ScopedHandle handle) in PlatformHandle() 186 base::win::ScopedHandle(LongToHandle(static_cast<long>(handle->value)))); in FromMojoPlatformHandle()
|
D | platform_handle.h | 60 explicit PlatformHandle(base::win::ScopedHandle handle); in COMPONENT_EXPORT() 104 const base::win::ScopedHandle& GetHandle() const { return handle_; } in COMPONENT_EXPORT() 105 base::win::ScopedHandle TakeHandle() { in COMPONENT_EXPORT() 173 base::win::ScopedHandle handle_; in COMPONENT_EXPORT()
|
D | named_platform_channel_win.cc | 71 PlatformHandle handle(base::win::ScopedHandle(::CreateNamedPipeW( in CreateServerEndpoint() 97 PlatformHandle handle(base::win::ScopedHandle( in CreateClientEndpoint()
|
D | platform_channel.cc | 57 *local_endpoint = PlatformHandle(base::win::ScopedHandle( in CreateChannel() 74 *remote_endpoint = PlatformHandle(base::win::ScopedHandle( in CreateChannel() 247 PlatformHandle(base::win::ScopedHandle(LongToHandle(handle_value)))); in RecoverPassedEndpointFromString()
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | message.h | 69 std::vector<ScopedHandle>* handles); in COMPONENT_EXPORT() 160 const std::vector<ScopedHandle>* handles() const { return &handles_; } in COMPONENT_EXPORT() 161 std::vector<ScopedHandle>* mutable_handles() { return &handles_; } in COMPONENT_EXPORT() 231 std::vector<ScopedHandle> handles_; in COMPONENT_EXPORT()
|
/external/libchrome/base/synchronization/ |
D | waitable_event.h | 74 explicit WaitableEvent(win::ScopedHandle event_handle); 166 win::ScopedHandle handle_;
|