Home
last modified time | relevance | path

Searched refs:m_handle (Results 1 – 16 of 16) sorted by relevance

/third_party/boost/boost/interprocess/
Dshared_memory_object.hpp89 : m_handle(file_handle_t(ipcdetail::invalid_file())) in shared_memory_object()
144 file_handle_t m_handle; member in boost::interprocess::shared_memory_object
153 : m_handle(file_handle_t(ipcdetail::invalid_file())) in shared_memory_object()
165 { return ipcdetail::get_file_size((file_handle_t)m_handle, size); } in get_size()
169 boost::adl_move_swap(m_handle, other.m_handle); in swap()
176 return ipcdetail::mapping_handle_from_file_handle(m_handle); in get_mapping_handle()
199 m_handle = ipcdetail::open_existing_file(shmfile.c_str(), mode, true); in priv_open_or_create()
202 m_handle = ipcdetail::create_new_file(shmfile.c_str(), mode, perm, true); in priv_open_or_create()
205 m_handle = ipcdetail::create_or_open_file(shmfile.c_str(), mode, perm, true); in priv_open_or_create()
215 if(m_handle == ipcdetail::invalid_file()){ in priv_open_or_create()
[all …]
Dwindows_shared_memory.hpp93 : m_handle(0) in windows_shared_memory()
137 void * m_handle; member in boost::interprocess::windows_shared_memory
146 : m_handle(0) in windows_shared_memory()
157 (simple_swap)(m_handle, other.m_handle); in swap()
163 { mapping_handle_t mhnd = { m_handle, true}; return mhnd; } in get_mapping_handle()
171 return (m_handle && winapi::get_file_mapping_size(m_handle, size)) ? size : 0; in get_size()
210 m_handle = winapi::open_file_mapping(map_access, filename); in priv_open_or_create()
215 m_handle = winapi::create_file_mapping in priv_open_or_create()
227 …if(!m_handle || (type == ipcdetail::DoCreate && winapi::get_last_error() == winapi::error_already_… in priv_open_or_create()
239 if(m_handle){ in priv_close()
[all …]
Dfile_mapping.hpp67 : m_handle(file_handle_t(ipcdetail::invalid_file())) in file_mapping()
111 file_handle_t m_handle; member in boost::interprocess::file_mapping
118 : m_handle(file_handle_t(ipcdetail::invalid_file())) in file_mapping()
130 (simple_swap)(m_handle, other.m_handle); in swap()
136 { return ipcdetail::mapping_handle_from_file_handle(m_handle); } in get_mapping_handle()
152 m_handle = ipcdetail::open_existing_file(filename, mode); in file_mapping()
155 if(m_handle == ipcdetail::invalid_file()){ in file_mapping()
170 if(m_handle != ipcdetail::invalid_file()){ in priv_close()
171 ipcdetail::close_file(m_handle); in priv_close()
172 m_handle = ipcdetail::invalid_file(); in priv_close()
/third_party/boost/libs/log/src/windows/
Dauto_handle.hpp36 boost::winapi::HANDLE_ m_handle; member in boost::ipc::aux::auto_handle
39 explicit auto_handle(boost::winapi::HANDLE_ h = NULL) BOOST_NOEXCEPT : m_handle(h) in auto_handle()
45 if (m_handle) in ~auto_handle()
46 BOOST_VERIFY(boost::winapi::CloseHandle(m_handle) != 0); in ~auto_handle()
51 BOOST_ASSERT(m_handle == NULL); in init()
52 m_handle = h; in init()
55 boost::winapi::HANDLE_ get() const BOOST_NOEXCEPT { return m_handle; } in get()
56 boost::winapi::HANDLE_* get_ptr() BOOST_NOEXCEPT { return &m_handle; } in get_ptr()
60 boost::winapi::HANDLE_ h = m_handle; in swap()
61 m_handle = that.m_handle; in swap()
[all …]
Dobject_name.cpp48 HANDLE m_handle;
51 explicit auto_boundary_descriptor(HANDLE h = NULL) BOOST_NOEXCEPT : m_handle(h)
57 if (m_handle)
58 DeleteBoundaryDescriptor(m_handle);
63 BOOST_ASSERT(m_handle == NULL);
64 m_handle = h;
67 HANDLE get() const BOOST_NOEXCEPT { return m_handle; }
68 HANDLE* get_ptr() BOOST_NOEXCEPT { return &m_handle; }
72 HANDLE h = m_handle;
73 m_handle = that.m_handle;
[all …]
Dmapped_shared_memory.cpp53 if (m_handle) in ~mapped_shared_memory()
55 BOOST_VERIFY(boost::winapi::CloseHandle(m_handle) != 0); in ~mapped_shared_memory()
56 m_handle = NULL; in ~mapped_shared_memory()
63 BOOST_ASSERT(m_handle == NULL); in create()
88 m_handle = h; in create()
95 BOOST_ASSERT(m_handle == NULL); in create_or_open()
137 m_handle = h; in create_or_open()
145 BOOST_ASSERT(m_handle == NULL); in open()
166 m_handle = h; in open()
172 BOOST_ASSERT(m_handle != NULL); in map()
[all …]
Dmapped_shared_memory.hpp52 boost::winapi::HANDLE_ m_handle; member in boost::ipc::aux::mapped_shared_memory
59 m_handle(NULL), in mapped_shared_memory()
/third_party/boost/boost/interprocess/detail/
Dfile_wrapper.hpp65 : m_handle(file_handle_t(ipcdetail::invalid_file())) in file_wrapper()
115 file_handle_t m_handle; member in boost::interprocess::ipcdetail::file_wrapper
121 : m_handle(file_handle_t(ipcdetail::invalid_file())) in file_wrapper()
132 { return get_file_size((file_handle_t)m_handle, size); } in get_size()
136 (simple_swap)(m_handle, other.m_handle); in swap()
142 { return mapping_handle_from_file_handle(m_handle); } in get_mapping_handle()
163 m_handle = open_existing_file(filename, mode); in priv_open_or_create()
166 m_handle = create_new_file(filename, mode, perm); in priv_open_or_create()
169 m_handle = create_or_open_file(filename, mode, perm); in priv_open_or_create()
179 if(m_handle == invalid_file()){ in priv_open_or_create()
[all …]
Dos_thread_functions.hpp88 : m_handle() in OS_thread_t()
93 { return m_handle; } in handle()
95 void* m_handle; member
527 thread->m_handle = h; in thread_create()
534 thread->m_handle = (void*)_beginthreadex( 0, 0, start_routine, arg, 0, 0 ); in thread_create()
535 return thread->m_handle != 0; in thread_create()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeDirectoryIterator.cpp43 m_handle = _findfirst32((std::string(m_path.getPath()) + "/*").c_str(), &m_fileInfo); in DirectoryIterator()
44 m_hasItem = m_handle != -1; in DirectoryIterator()
51 if (m_handle != -1) in ~DirectoryIterator()
52 _findclose(m_handle); in ~DirectoryIterator()
68 m_hasItem = (_findnext32(m_handle, &m_fileInfo) == 0); in next()
75 m_hasItem = (_findnext32(m_handle, &m_fileInfo) == 0); in skipCurAndParent()
82 , m_handle (DE_NULL)
88 m_handle = opendir(m_path.getPath());
89 DE_CHECK_RUNTIME_ERR(m_handle);
97 closedir(m_handle);
[all …]
DdeDirectoryIterator.hpp72 deIntptr m_handle; member in de::DirectoryIterator
76 DIR* m_handle; member in de::DirectoryIterator
/third_party/vk-gl-cts/execserver/
DxsWin32TestProcess.cpp78 : m_handle(0) in Event()
80 m_handle = CreateEvent(NULL, manualReset ? TRUE : FALSE, initialState ? TRUE : FALSE, NULL); in Event()
81 if (!m_handle) in Event()
87 CloseHandle(m_handle); in ~Event()
92 if (!SetEvent(m_handle)) in setSignaled()
98 if (!ResetEvent(m_handle)) in reset()
204 , m_handle (INVALID_HANDLE_VALUE) in FileReader()
217 m_handle = file; in start()
243 if (!ReadFile(m_handle, &tmpBuf[0], (DWORD)tmpBuf.size(), NULL, &overlapped)) in run()
270 if (!GetOverlappedResult(m_handle, &overlapped, &numBytesRead, FALSE)) in run()
[all …]
DxsWin32TestProcess.hpp67 HANDLE getHandle (void) const { return m_handle; } in getHandle()
73 HANDLE m_handle; member in xs::win32::Event
106 HANDLE m_handle; member in xs::win32::FileReader
/third_party/boost/boost/interprocess/sync/posix/
Dsemaphore_wrapper.hpp200 : m_handle(handle) in semaphore_wrapper_try_wrapper()
204 { semaphore_wait(m_handle); } in wait()
207 { return semaphore_try_wait(m_handle); } in try_wait()
210 sem_t *m_handle; member
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fFboSRGBWriteControlTests.cpp483 glw::GLuint m_handle; member in deqp::gles31::Functional::__anonec6b4ae80111::TestTexture2D
508 m_gl->genTextures(1, &m_handle); in TestTexture2D()
510 m_gl->bindTexture(GL_TEXTURE_2D, m_handle); in TestTexture2D()
523 m_gl->deleteTextures(1, &m_handle); in ~TestTexture2D()
533 return m_handle; in getHandle()
540 m_gl->bindTexture(GL_TEXTURE_2D, m_handle); in bind()
/third_party/flutter/glfw/docs/
Dwindow.dox848 glfwSetWindowRefreshCallback(m_handle, window_refresh_callback);