Home
last modified time | relevance | path

Searched refs:hMapFile (Results 1 – 25 of 55) sorted by relevance

123

/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.core_8.2.0.202102211157/pysrc/pydevd_attach_to_process/windows/
H A Drun_code_in_memory.hpp34 HANDLE hMapFile; member in DataToFree
39 this->hMapFile = nullptr; in DataToFree()
45 if (this->hMapFile != nullptr) { in ~DataToFree()
46 CloseHandle(this->hMapFile); in ~DataToFree()
47 this->hMapFile = nullptr; in ~DataToFree()
71 HANDLE hMapFile; in RunCodeInMemoryInAttachedDll() local
79 hMapFile = OpenFileMappingA( in RunCodeInMemoryInAttachedDll()
84 if (hMapFile == nullptr) { in RunCodeInMemoryInAttachedDll()
91 dataToFree.hMapFile = hMapFile; in RunCodeInMemoryInAttachedDll()
93 mapViewOfFile = reinterpret_cast < char* > (MapViewOfFile(hMapFile, // handle to map object in RunCodeInMemoryInAttachedDll()
/dports/devel/py-debugpy/debugpy-1.5.1/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/
H A Drun_code_in_memory.hpp34 HANDLE hMapFile; member in DataToFree
39 this->hMapFile = nullptr; in DataToFree()
45 if (this->hMapFile != nullptr) { in ~DataToFree()
46 CloseHandle(this->hMapFile); in ~DataToFree()
47 this->hMapFile = nullptr; in ~DataToFree()
71 HANDLE hMapFile; in RunCodeInMemoryInAttachedDll() local
79 hMapFile = OpenFileMappingA( in RunCodeInMemoryInAttachedDll()
84 if (hMapFile == nullptr) { in RunCodeInMemoryInAttachedDll()
91 dataToFree.hMapFile = hMapFile; in RunCodeInMemoryInAttachedDll()
93 mapViewOfFile = reinterpret_cast < char* > (MapViewOfFile(hMapFile, // handle to map object in RunCodeInMemoryInAttachedDll()
/dports/audio/fasttracker2/ft2-clone-1.49/src/
H A Dft2_events.c185 if (hMapFile != NULL) in instanceAlreadyOpen()
222 CloseHandle(hMapFile); in handleSingleInstancing()
223 hMapFile = NULL; in handleSingleInstancing()
226 if (hMapFile != NULL) in handleSingleInstancing()
239 CloseHandle(hMapFile); in handleSingleInstancing()
240 hMapFile = NULL; in handleSingleInstancing()
249 CloseHandle(hMapFile); in handleSingleInstancing()
250 hMapFile = NULL; in handleSingleInstancing()
266 if (hMapFile != NULL) in handleSysMsg()
278 CloseHandle(hMapFile); in handleSysMsg()
[all …]
/dports/www/c-icap/c_icap-0.5.10/os/win32/
H A Dshared_mem.c30 HANDLE hMapFile; in ci_shared_mem_create() local
38 hMapFile = CreateFileMapping(INVALID_HANDLE_VALUE, // current file handle in ci_shared_mem_create()
45 if (hMapFile == NULL) { in ci_shared_mem_create()
53 lpMapAddress = MapViewOfFile(hMapFile, // handle to mapping object in ci_shared_mem_create()
62 CloseHandle(hMapFile); in ci_shared_mem_create()
68 id->id = hMapFile; in ci_shared_mem_create()
/dports/editors/libreoffice/libreoffice-7.2.6.2/setup_native/source/win32/customactions/tools/
H A Dseterror.cxx53 HANDLE hMapFile; in SetMsiErrorCode() local
56 hMapFile = OpenFileMappingW( in SetMsiErrorCode()
61 if ( hMapFile == nullptr ) // can not set error code in SetMsiErrorCode()
67 pBuf = static_cast<int*>(MapViewOfFile( hMapFile, // handle to map object in SetMsiErrorCode()
80 CloseHandle( hMapFile ); in SetMsiErrorCode()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/setup_native/source/win32/customactions/tools/
H A Dseterror.cxx53 HANDLE hMapFile; in SetMsiErrorCode() local
56 hMapFile = OpenFileMappingW( in SetMsiErrorCode()
61 if ( hMapFile == nullptr ) // can not set error code in SetMsiErrorCode()
67 pBuf = static_cast<int*>(MapViewOfFile( hMapFile, // handle to map object in SetMsiErrorCode()
80 CloseHandle( hMapFile ); in SetMsiErrorCode()
/dports/audio/protracker/pt2-clone-1.37/src/
H A Dpt2_main.c752 if (hMapFile != NULL) in instanceAlreadyOpen()
788 CloseHandle(hMapFile); in handleSingleInstancing()
789 hMapFile = NULL; in handleSingleInstancing()
792 if (hMapFile != NULL) in handleSingleInstancing()
804 CloseHandle(hMapFile); in handleSingleInstancing()
805 hMapFile = NULL; in handleSingleInstancing()
814 CloseHandle(hMapFile); in handleSingleInstancing()
815 hMapFile = NULL; in handleSingleInstancing()
831 if (hMapFile != NULL) in handleSysMsg()
841 CloseHandle(hMapFile); in handleSysMsg()
[all …]
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/ext/process/
H A Dsagittarius-process.c108 HANDLE hMapFile; in Sg_OpenSharedMemory() local
117 hMapFile = CreateFileMappingW(INVALID_HANDLE_VALUE, in Sg_OpenSharedMemory()
124 hMapFile = OpenFileMappingW(FILE_MAP_ALL_ACCESS, FALSE, memname); in Sg_OpenSharedMemory()
126 if (hMapFile == NULL) { in Sg_OpenSharedMemory()
139 ptr = (uint8_t *)MapViewOfFile(hMapFile, FILE_MAP_ALL_ACCESS, 0, high, low); in Sg_OpenSharedMemory()
143 CloseHandle(hMapFile); in Sg_OpenSharedMemory()
152 return SG_OBJ(make_shared_memory(name, hMapFile, bv)); in Sg_OpenSharedMemory()
H A Dtest-shm.c31 HANDLE hMapFile = OpenFileMappingW(FILE_MAP_ALL_ACCESS, FALSE, in main() local
33 uint8_t *ptr = (uint8_t *)MapViewOfFile(hMapFile, FILE_MAP_ALL_ACCESS, in main()
37 CloseHandle(hMapFile); in main()
H A Dtest-sem.c41 HANDLE hMapFile = CreateFileMappingW(INVALID_HANDLE_VALUE, in ipc() local
47 char *ptr = (char *)MapViewOfFile(hMapFile, FILE_MAP_ALL_ACCESS, 0, in ipc()
52 CloseHandle(hMapFile); in ipc()
/dports/security/john/john-1.9.0-jumbo-1/src/
H A Dwin32_memmap.c12 static HANDLE hMapFile; variable
20 hMapFile = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, FName); in init_sharedmem()
21 if (hMapFile == NULL) { in init_sharedmem()
25 pData = (IPCData*) MapViewOfFile(hMapFile, FILE_MAP_ALL_ACCESS, 0, 0, sizeof(IPCData)); in init_sharedmem()
37 CloseHandle(hMapFile); in shutdown_sharedmem()
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/win-ivcam/seg_library/
H A DSegServerImpl.cpp150 HANDLE hMapFile = OpenFileMapping(FILE_MAP_READ, FALSE, m_bufferName); in GetFrame() local
152 if (hMapFile == NULL) in GetFrame()
158 m_sharedBuffer = (LPTSTR)MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, frameSize * 2); in GetFrame()
162 CloseHandle(hMapFile); in GetFrame()
166 CloseHandle(hMapFile); in GetFrame()
/dports/cad/gtkwave/gtkwave-3.3.107/src/helpers/
H A Dshmidcat.c222 HANDLE hMapFile; local
248 hMapFile = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, WAVE_PARTIAL_VCD_RING_B…
249 if(hMapFile != NULL)
251 …buf_top = buf_curr = buf = MapViewOfFile(hMapFile, FILE_MAP_ALL_ACCESS, 0, 0, WAVE_PARTIAL_VCD_RIN…
302 CloseHandle(hMapFile);
/dports/sysutils/plasma5-drkonqi/drkonqi-5.23.5/src/kdbgwin/
H A Dabstract_generator.cpp95 HANDLE hMapFile = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, L"Local\\KCrashShared"); in Run() local
96 if (hMapFile == NULL) { in Run()
100 …CONTEXT *othercontext = (CONTEXT *)MapViewOfFile(hMapFile, FILE_MAP_ALL_ACCESS, 0, 0, sizeof(CONTE… in Run()
103 SafeCloseHandle(hMapFile); in Run()
108 SafeCloseHandle(hMapFile); in Run()
/dports/graphics/megapov/megapov-1.2.1/libraries/tiff/libtiff/
H A Dtif_win32.c117 HANDLE hMapFile; in _tiffMapProc() local
121 hMapFile = CreateFileMapping(fd, NULL, PAGE_READONLY, 0, size, NULL); in _tiffMapProc()
122 if (hMapFile == NULL) in _tiffMapProc()
124 *pbase = MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, 0); in _tiffMapProc()
125 CloseHandle(hMapFile); in _tiffMapProc()
/dports/graphics/povray36/povray-3.6.1/libraries/tiff/libtiff/
H A Dtif_win32.c117 HANDLE hMapFile; in _tiffMapProc() local
121 hMapFile = CreateFileMapping(fd, NULL, PAGE_READONLY, 0, size, NULL); in _tiffMapProc()
122 if (hMapFile == NULL) in _tiffMapProc()
124 *pbase = MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, 0); in _tiffMapProc()
125 CloseHandle(hMapFile); in _tiffMapProc()
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/src/tiff/
H A Dtif_win32.c117 HANDLE hMapFile; in _tiffMapProc() local
121 hMapFile = CreateFileMapping(fd, NULL, PAGE_READONLY, 0, size, NULL); in _tiffMapProc()
122 if (hMapFile == NULL) in _tiffMapProc()
124 *pbase = MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, 0); in _tiffMapProc()
125 CloseHandle(hMapFile); in _tiffMapProc()
/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/src/tiff/
H A Dtif_win32.c117 HANDLE hMapFile; in _tiffMapProc() local
121 hMapFile = CreateFileMapping(fd, NULL, PAGE_READONLY, 0, size, NULL); in _tiffMapProc()
122 if (hMapFile == NULL) in _tiffMapProc()
124 *pbase = MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, 0); in _tiffMapProc()
125 CloseHandle(hMapFile); in _tiffMapProc()
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/src/tiff/
H A Dtif_win32.c117 HANDLE hMapFile; in _tiffMapProc() local
121 hMapFile = CreateFileMapping(fd, NULL, PAGE_READONLY, 0, size, NULL); in _tiffMapProc()
122 if (hMapFile == NULL) in _tiffMapProc()
124 *pbase = MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, 0); in _tiffMapProc()
125 CloseHandle(hMapFile); in _tiffMapProc()
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/src/tiff/
H A Dtif_win32.c117 HANDLE hMapFile; in _tiffMapProc() local
121 hMapFile = CreateFileMapping(fd, NULL, PAGE_READONLY, 0, size, NULL); in _tiffMapProc()
122 if (hMapFile == NULL) in _tiffMapProc()
124 *pbase = MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, 0); in _tiffMapProc()
125 CloseHandle(hMapFile); in _tiffMapProc()
/dports/math/vtk9/VTK-9.1.0/ThirdParty/tiff/vtktiff/libtiff/
H A Dtif_win32.c190 HANDLE hMapFile; in _tiffMapProc() local
199 hMapFile = CreateFileMapping(fd, NULL, PAGE_READONLY, 0, 0, NULL); in _tiffMapProc()
200 if (hMapFile == NULL) in _tiffMapProc()
202 *pbase = MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, 0); in _tiffMapProc()
203 CloseHandle(hMapFile); in _tiffMapProc()
/dports/devel/upp/upp/uppsrc/plugin/tif/lib/
H A Dtif_win32.c184 HANDLE hMapFile; in _tiffMapProc() local
193 hMapFile = CreateFileMapping(fd, NULL, PAGE_READONLY, 0, 0, NULL); in _tiffMapProc()
194 if (hMapFile == NULL) in _tiffMapProc()
196 *pbase = MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, 0); in _tiffMapProc()
197 CloseHandle(hMapFile); in _tiffMapProc()
/dports/graphics/povray37/povray-3.7.0.10/libraries/tiff/libtiff/
H A Dtif_win32.c116 HANDLE hMapFile; in _tiffMapProc() local
120 hMapFile = CreateFileMapping(fd, NULL, PAGE_READONLY, 0, size, NULL); in _tiffMapProc()
121 if (hMapFile == NULL) in _tiffMapProc()
123 *pbase = MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, 0); in _tiffMapProc()
124 CloseHandle(hMapFile); in _tiffMapProc()
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/tiff/libtiff/
H A Dtif_win32.c184 HANDLE hMapFile; in _tiffMapProc() local
193 hMapFile = CreateFileMapping(fd, NULL, PAGE_READONLY, 0, 0, NULL); in _tiffMapProc()
194 if (hMapFile == NULL) in _tiffMapProc()
196 *pbase = MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, 0); in _tiffMapProc()
197 CloseHandle(hMapFile); in _tiffMapProc()
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/tiff/libtiff/
H A Dtif_win32.c184 HANDLE hMapFile; in _tiffMapProc() local
193 hMapFile = CreateFileMapping(fd, NULL, PAGE_READONLY, 0, 0, NULL); in _tiffMapProc()
194 if (hMapFile == NULL) in _tiffMapProc()
196 *pbase = MapViewOfFile(hMapFile, FILE_MAP_READ, 0, 0, 0); in _tiffMapProc()
197 CloseHandle(hMapFile); in _tiffMapProc()

123