Lines Matching defs:handle_
39 GenericScopedHandle() : handle_(Traits::NullHandle()) {}
41 explicit GenericScopedHandle(Handle handle) : handle_(Traits::NullHandle()) {
46 : handle_(Traits::NullHandle()) {
52 bool IsValid() const { return Traits::IsHandleValid(handle_); }
61 if (handle_ != handle) {
67 handle_ = handle;
73 Handle Get() const { return handle_; }
77 Handle temp = handle_;
78 handle_ = Traits::NullHandle();
84 if (Traits::IsHandleValid(handle_)) {
85 Traits::CloseHandle(handle_);
86 handle_ = Traits::NullHandle();
93 Handle handle_;