/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/Windows/ |
D | WindowsSupport.h | 78 class ScopedHandle { 82 ScopedHandle(const ScopedHandle &other) = delete; 83 void operator=(const ScopedHandle &other) = delete; 85 ScopedHandle() in ScopedHandle() function 88 explicit ScopedHandle(handle_type h) in ScopedHandle() function 91 ~ScopedHandle() { in ~ScopedHandle() 102 ScopedHandle &operator=(handle_type h) { 181 typedef ScopedHandle<CommonHandleTraits> ScopedCommonHandle; 182 typedef ScopedHandle<FileHandleTraits> ScopedFileHandle; 183 typedef ScopedHandle<CryptContextTraits> ScopedCryptContext; [all …]
|
/external/llvm-project/llvm/include/llvm/Support/Windows/ |
D | WindowsSupport.h | 78 class ScopedHandle { 82 ScopedHandle(const ScopedHandle &other) = delete; 83 void operator=(const ScopedHandle &other) = delete; 85 ScopedHandle() in ScopedHandle() function 88 explicit ScopedHandle(handle_type h) in ScopedHandle() function 91 ~ScopedHandle() { in ~ScopedHandle() 102 ScopedHandle &operator=(handle_type h) { 181 typedef ScopedHandle<CommonHandleTraits> ScopedCommonHandle; 182 typedef ScopedHandle<FileHandleTraits> ScopedFileHandle; 183 typedef ScopedHandle<CryptContextTraits> ScopedCryptContext; [all …]
|
/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-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 …]
|
/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/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/llvm/utils/KillTheDoctor/ |
D | KillTheDoctor.cpp | 79 class ScopedHandle { class 85 ScopedHandle() in ScopedHandle() function in __anond6cdad920111::ScopedHandle 88 explicit ScopedHandle(handle_type handle) in ScopedHandle() function in __anond6cdad920111::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/llvm-project/llvm/utils/KillTheDoctor/ |
D | KillTheDoctor.cpp | 78 class ScopedHandle { class 84 ScopedHandle() in ScopedHandle() function in __anon008993c00111::ScopedHandle 87 explicit ScopedHandle(handle_type handle) in ScopedHandle() function in __anon008993c00111::ScopedHandle 90 ~ScopedHandle() { in ~ScopedHandle() 94 ScopedHandle& operator=(handle_type handle) { in operator =() 165 typedef ScopedHandle<FileMappingHandle> FileMappingScopedHandle; 166 typedef ScopedHandle<MappedViewOfFileHandle> MappedViewOfFileScopedHandle; 167 typedef ScopedHandle<ProcessHandle> ProcessScopedHandle; 168 typedef ScopedHandle<ThreadHandle> ThreadScopedHandle; 169 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() argument 155 ~ScopedHandle() { in ~ScopedHandle() argument 172 ScopedHandle stdin_read, stdin_write; in StartSymbolizerSubprocess() 173 ScopedHandle stdout_read, stdout_write; in StartSymbolizerSubprocess()
|
/external/webrtc/modules/audio_device/win/ |
D | core_audio_utility_win.h | 281 class ScopedHandle { 283 ScopedHandle() : handle_(nullptr) {} in ScopedHandle() function 284 explicit ScopedHandle(HANDLE h) : handle_(nullptr) { Set(h); } in ScopedHandle() function 286 ~ScopedHandle() { Close(); } in ~ScopedHandle() 288 ScopedHandle& operator=(const ScopedHandle&) = delete; 289 bool operator==(const ScopedHandle&) const = delete; 290 bool operator!=(const ScopedHandle&) const = delete;
|
D | core_audio_base_win.h | 149 ScopedHandle audio_samples_event_; 150 ScopedHandle stop_event_; 151 ScopedHandle restart_event_;
|
/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()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_win.cpp | 182 struct ScopedHandle { struct 183 ScopedHandle() : h_(nullptr) {} in ScopedHandle() argument 184 explicit ScopedHandle(HANDLE h) : h_(h) {} in ScopedHandle() argument 185 ~ScopedHandle() { in ~ScopedHandle() argument 202 ScopedHandle stdin_read, stdin_write; in StartSymbolizerSubprocess() 203 ScopedHandle stdout_read, stdout_write; in StartSymbolizerSubprocess()
|
/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/llvm-project/compiler-rt/lib/fuzzer/ |
D | FuzzerUtilFuchsia.cpp | 239 struct ScopedHandle { in CrashHandler() struct 240 ~ScopedHandle() { _zx_handle_close(Handle); } in CrashHandler() argument 248 ScopedHandle Channel; in CrashHandler() 266 ScopedHandle Exception; in CrashHandler() 285 ScopedHandle Thread; in CrashHandler()
|
/external/rust/crates/libfuzzer-sys/libfuzzer/ |
D | FuzzerUtilFuchsia.cpp | 239 struct ScopedHandle { in CrashHandler() struct 240 ~ScopedHandle() { _zx_handle_close(Handle); } in CrashHandler() argument 248 ScopedHandle Channel; in CrashHandler() 266 ScopedHandle Exception; in CrashHandler() 285 ScopedHandle Thread; in CrashHandler()
|