Searched refs:FileMappingHandle (Results 1 – 2 of 2) sorted by relevance
/developtools/profiler/device/plugins/native_daemon/src/ |
D | utilities.cpp | 526 HANDLE FileMappingHandle = ::CreateFileMappingW(FileHandle, 0, PAGE_READONLY, 0, 0, 0); in mmap() local 527 CHECK_NOTNULL(FileMappingHandle, MMAP_FAILED, in mmap() 530 void *mapAddr = ::MapViewOfFile(FileMappingHandle, FILE_MAP_READ, 0, 0, 0); in mmap() 536 ::CloseHandle(FileMappingHandle); in mmap()
|
/developtools/hiperf/src/ |
D | utilities.cpp | 833 HANDLE FileMappingHandle = ::CreateFileMappingW(FileHandle, 0, PAGE_READONLY, 0, 0, 0); in mmap() local 834 if (FileMappingHandle == nullptr) { in mmap() 840 void *mapAddr = ::MapViewOfFile(FileMappingHandle, FILE_MAP_READ, 0, 0, 0); in mmap() 849 ::CloseHandle(FileMappingHandle); in mmap()
|