Searched defs:ScopedHandle (Results 1 - 5 of 5) sorted by relevance

/external/qemu/android/base/files/
H A DScopedHandle.h30 class ScopedHandle { class in namespace:android::base
33 ScopedHandle() : handle_(INVALID_HANDLE_VALUE) {} function in class:android::base::ScopedHandle
36 explicit ScopedHandle(HANDLE handle) : handle_(handle) {} function in class:android::base::ScopedHandle
39 ~ScopedHandle() { close(); }
62 // Swap the content of two ScopedHandle instances.
63 void swap(ScopedHandle* other) {
70 DISALLOW_COPY_AND_ASSIGN(ScopedHandle);
/external/llvm/lib/Support/Windows/
H A DWindowsSupport.h59 class ScopedHandle { class
63 ScopedHandle(const ScopedHandle &other); // = delete;
64 void operator=(const ScopedHandle &other); // = delete;
66 ScopedHandle() function in class:ScopedHandle
69 explicit ScopedHandle(handle_type h) function in class:ScopedHandle
72 ~ScopedHandle() {
83 ScopedHandle &operator=(handle_type h) {
146 typedef ScopedHandle<CommonHandleTraits> ScopedCommonHandle;
147 typedef ScopedHandle<FileHandleTrait
[all...]
/external/chromium_org/base/win/
H A Dscoped_handle.h165 typedef GenericScopedHandle<HandleTraits, VerifierTraits> ScopedHandle; typedef in namespace:base::win
169 // for ScopedHandle.
174 // tracked by the handle verifier and ScopedHandle is not the one closing it,
/external/llvm/utils/KillTheDoctor/
H A DKillTheDoctor.cpp78 class ScopedHandle { class in namespace:__anon26560
84 ScopedHandle() function in class:__anon26560::ScopedHandle
87 explicit ScopedHandle(handle_type handle) function in class:__anon26560::ScopedHandle
90 ~ScopedHandle() {
94 ScopedHandle& operator=(handle_type handle) {
165 typedef ScopedHandle<FileMappingHandle> FileMappingScopedHandle;
166 typedef ScopedHandle<MappedViewOfFileHandle> MappedViewOfFileScopedHandle;
167 typedef ScopedHandle<ProcessHandle> ProcessScopedHandle;
168 typedef ScopedHandle<ThreadHandle> ThreadScopedHandle;
169 typedef ScopedHandle<TokenHandl
[all...]
/external/chromium_org/mojo/public/cpp/system/
H A Dhandle.h43 // |ScopedHandle| is just (a typedef of) a |ScopedHandleBase<Handle>|.
46 // |ScopedMessagePipeHandle| is *not* a (subclass of) |ScopedHandle|.
74 // have to be all of the same type (probably |Handle|/|ScopedHandle|). Fourth,
192 typedef ScopedHandleBase<Handle> ScopedHandle; typedef in namespace:mojo
193 MOJO_COMPILE_ASSERT(sizeof(ScopedHandle) == sizeof(Handle),

Completed in 1773 milliseconds