Searched refs:ScopedHandle (Results 1 – 11 of 11) sorted by relevance
78 class ScopedHandle {82 ScopedHandle(const ScopedHandle &other) = delete;83 void operator=(const ScopedHandle &other) = delete;85 ScopedHandle() in ScopedHandle() function88 explicit ScopedHandle(handle_type h) in ScopedHandle() function91 ~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 …]
92 class ScopedHandle {96 ScopedHandle(const ScopedHandle &other); // = delete;97 void operator=(const ScopedHandle &other); // = delete;99 ScopedHandle() in ScopedHandle() function102 explicit ScopedHandle(handle_type h) in ScopedHandle() function105 ~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 …]
62 ScopedHandle process_handle_;63 ScopedHandle thread_handle_;
18 bool CheckAndDuplicateHandle(HANDLE source, ScopedHandle* target) { in CheckAndDuplicateHandle()
163 typedef GenericScopedHandle<HandleTraits, VerifierTraits> ScopedHandle; typedef
64 base::win::ScopedHandle scoped_out_read(out_read); in ExecProcess()65 base::win::ScopedHandle scoped_out_write(out_write); in ExecProcess()74 base::win::ScopedHandle scoped_err_read(err_read); in ExecProcess()75 base::win::ScopedHandle scoped_err_write(err_write); in ExecProcess()
68 base::win::ScopedHandle file_;
34 file_ = base::win::ScopedHandle(::CreateFile( in Create()
439 win::ScopedHandle file_handle( in NormalizeToNativeFilePath()448 win::ScopedHandle file_map_handle( in NormalizeToNativeFilePath()533 win::ScopedHandle file(CreateFile(ToWCharT(&filename.value()), GENERIC_READ, in ReadFile()548 win::ScopedHandle file(CreateFile(ToWCharT(&filename.value()), GENERIC_WRITE, in WriteFile()575 win::ScopedHandle file(CreateFile(ToWCharT(&filename.value()), in AppendToFile()
25 using ScopedPlatformFile = ::base::win::ScopedHandle;
63 ScopedCryptContext ScopedHandle(hProvider); in getRandomBytes() local