Home
last modified time | relevance | path

Searched refs:handle_ (Results 1 – 11 of 11) sorted by relevance

/rocksdb-6.9/port/win/
Dwin_thread.cc26 uintptr_t handle_; member
30 handle_(0) { in Data()
49 data_->handle_ = _beginthreadex(NULL, in Init()
56 if (data_->handle_ == 0) { in Init()
104 return (data_ && data_->handle_ != 0); in joinable()
108 return reinterpret_cast<native_handle_type>(data_->handle_); in native_handle()
131 auto ret = WaitForSingleObject(reinterpret_cast<HANDLE>(data_->handle_), in join()
147 rc = CloseHandle(reinterpret_cast<HANDLE>(data_->handle_)); in join()
149 data_->handle_ = 0; in join()
161 BOOL ret = CloseHandle(reinterpret_cast<HANDLE>(data_->handle_)); in detach()
[all …]
Dport_win.cc133 HANDLE handle_; member
138 DIR() : handle_(INVALID_HANDLE_VALUE), in DIR()
145 if (INVALID_HANDLE_VALUE != handle_) { in ~DIR()
146 ::FindClose(handle_); in ~DIR()
162 dir->handle_ = in opendir()
169 if (dir->handle_ == INVALID_HANDLE_VALUE) { in opendir()
180 if (!dirp || dirp->handle_ == INVALID_HANDLE_VALUE) { in readdir()
190 auto ret = RX_FindNextFile(dirp->handle_, &dirp->data_); in readdir()
Dio_win.h430 HANDLE handle_; variable
432 explicit WinDirectory(HANDLE h) noexcept : handle_(h) { in WinDirectory()
433 assert(handle_ != INVALID_HANDLE_VALUE); in WinDirectory()
436 ::CloseHandle(handle_); in ~WinDirectory()
Dio_win.cc1057 return GetUniqueIdFromFile(handle_, id, max_size); in GetUniqueId()
/rocksdb-6.9/table/
Dblock_fetcher.cc57 file_->file_name() + " offset " + ToString(handle_.offset()) + in CheckBlockChecksum()
64 ToString(handle_.offset()) + " size " + ToString(block_size_)); in CheckBlockChecksum()
73 cache_options_, handle_, contents_); in TryGetUncompressBlockFromPersistentCache()
93 handle_.offset(), in TryGetFromPrefetchBuffer()
94 static_cast<size_t>(handle_.size()) + kBlockTrailerSize, &slice_, in TryGetFromPrefetchBuffer()
96 block_size_ = static_cast<size_t>(handle_.size()); in TryGetFromPrefetchBuffer()
113 cache_options_, handle_, &raw_data, block_size_ + kBlockTrailerSize); in TryGetCompressedBlockFromPersistentCache()
152 PersistentCacheHelper::InsertRawPage(cache_options_, handle_, used_buf_, in InsertCompressedBlockToPersistentCacheIfNeeded()
162 PersistentCacheHelper::InsertUncompressedPage(cache_options_, handle_, in InsertUncompressedBlockToPersistentCacheIfNeeded()
198 block_size_ = static_cast<size_t>(handle_.size()); in ReadBlockContents()
[all …]
Dblock_fetcher.h53 handle_(handle), in file_()
75 const BlockHandle& handle_; variable
/rocksdb-6.9/env/
Denv_posix.cc106 : name_(name), handle_(handle) {} in PosixDynamicLibrary()
107 ~PosixDynamicLibrary() override { dlclose(handle_); } in ~PosixDynamicLibrary()
112 *func = dlsym(handle_, sym_name.c_str()); in LoadSymbol()
125 void* handle_; member in ROCKSDB_NAMESPACE::__anon43aff5a30111::PosixDynamicLibrary
/rocksdb-6.9/db/
Dcolumn_family.h758 ColumnFamilyHandleInternal handle_; variable
Dcolumn_family.cc1527 handle_.SetCFD(current_); in Seek()
1543 return &handle_; in GetColumnFamilyHandle()
/rocksdb-6.9/third-party/gtest-1.8.1/fused-src/gtest/
Dgtest-all.cc9606 : handle_(INVALID_HANDLE_VALUE) {} in AutoHandle()
9609 : handle_(handle) {} in AutoHandle()
9616 return handle_; in Get()
9625 if (handle_ != handle) { in Reset()
9627 ::CloseHandle(handle_); in Reset()
9629 handle_ = handle; in Reset()
9640 return handle_ != NULL && handle_ != INVALID_HANDLE_VALUE; in IsCloseable()
Dgtest.h2917 Handle handle_;