Home
last modified time | relevance | path

Searched refs:VirtualAlloc (Results 1 – 25 of 1946) sorted by relevance

12345678910>>...78

/dports/lang/smalltalk/smalltalk-3.2.5/libgst/sysdep/win32/
H A Dmem.c112 addr = VirtualAlloc(NULL, size, MEM_RESERVE, PAGE_NOACCESS); in _gst_osmem_alloc()
115 PTR result = VirtualAlloc (addr, size, MEM_COMMIT, PAGE_EXECUTE_READWRITE); in _gst_osmem_alloc()
137 base = VirtualAlloc(address, size, MEM_RESERVE, PAGE_NOACCESS); in _gst_osmem_reserve()
139 base = VirtualAlloc(NULL, size, MEM_RESERVE, PAGE_NOACCESS); in _gst_osmem_reserve()
156 addr = VirtualAlloc (base, size, MEM_COMMIT, PAGE_EXECUTE_READWRITE); in _gst_osmem_commit()
/dports/games/libretro-mu/Mu-ff746b8/src/armv5te/os/
H A Dos-win32.c17 return VirtualAlloc(NULL, size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); in os_reserve()
29 return VirtualAlloc(addr, size, MEM_COMMIT, PAGE_READWRITE); in os_commit()
34 return VirtualAlloc(page, size, MEM_COMMIT, PAGE_READWRITE); in os_sparse_commit()
46 return VirtualAlloc(NULL, size, MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE); in os_alloc_executable()
72 addr_cache = VirtualAlloc(NULL, AC_NUM_ENTRIES * sizeof(ac_entry), flags, PAGE_READWRITE); in addr_cache_init()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/gwp_asan/client/
H A Dguarded_page_allocator_win.cc19 if (void* ptr = VirtualAlloc(MapRegionHint(), RegionSize(), MEM_RESERVE, in MapRegion()
24 return VirtualAlloc(nullptr, RegionSize(), MEM_RESERVE, PAGE_NOACCESS); in MapRegion()
36 LPVOID ret = VirtualAlloc(ptr, state_.page_size, MEM_COMMIT, PAGE_READWRITE); in MarkPageReadWrite()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/gwp_asan/client/
H A Dguarded_page_allocator_win.cc19 if (void* ptr = VirtualAlloc(MapRegionHint(), RegionSize(), MEM_RESERVE, in MapRegion()
24 return VirtualAlloc(nullptr, RegionSize(), MEM_RESERVE, PAGE_NOACCESS); in MapRegion()
36 LPVOID ret = VirtualAlloc(ptr, state_.page_size, MEM_COMMIT, PAGE_READWRITE); in MarkPageReadWrite()
/dports/x11-wm/afterstep-stable/afterstep-devel-2.2.12/libAfterBase/
H A Dsafemalloc.c75 lpvAddr = VirtualAlloc(NULL, in alloc_guarded_memory()
88 commit = VirtualAlloc(lpvAddr,cbSize,MEM_COMMIT,PAGE_READWRITE); in alloc_guarded_memory()
89 commit_guard = VirtualAlloc(lpvAddr+cbSize,WIN32_PAGE_SIZE,MEM_COMMIT,PAGE_READONLY|PAGE_GUARD); in alloc_guarded_memory()
91 commit_size = VirtualAlloc(lpvAddr,WIN32_PAGE_SIZE,MEM_COMMIT,PAGE_READWRITE); in alloc_guarded_memory()
97 …commit_guard = VirtualAlloc(lpvAddr+WIN32_PAGE_SIZE,WIN32_PAGE_SIZE,MEM_COMMIT,PAGE_READONLY|PAGE_… in alloc_guarded_memory()
98 commit = VirtualAlloc(lpvAddr+WIN32_PAGE_SIZE+WIN32_PAGE_SIZE,cbSize,MEM_COMMIT,PAGE_READWRITE); in alloc_guarded_memory()
/dports/lang/polyml/polyml-5.8.2/libpolyml/
H A Dosmemwin.cpp63 memBase = (char*)VirtualAlloc(0, space, MEM_RESERVE, PAGE_NOACCESS); in Initialise()
69 void* newSpace = VirtualAlloc(0, space, MEM_RESERVE, PAGE_NOACCESS); in Initialise()
108 return VirtualAlloc(baseAddr, space, MEM_COMMIT, PAGE_READWRITE); in AllocateDataArea()
147VirtualAlloc(baseAddr, space, MEM_COMMIT, memUsage == UsageExecutableCode ? PAGE_EXECUTE_READWRITE… in AllocateCodeArea()
213 return VirtualAlloc(0, space, options, PAGE_READWRITE); in AllocateDataArea()
235 void * dataAddr = VirtualAlloc(0, space, options, in AllocateCodeArea()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/JavaScriptCore/wtf/
H A DOSAllocatorWin.cpp43 void* result = VirtualAlloc(0, bytes, MEM_RESERVE, protection(writable, executable)); in reserveUncommitted()
51 … void* result = VirtualAlloc(0, bytes, MEM_RESERVE | MEM_COMMIT, protection(writable, executable)); in reserveAndCommit()
59 void* result = VirtualAlloc(address, bytes, MEM_COMMIT, protection(writable, executable)); in commit()
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/allocator/partition_allocator/
H A Dpage_allocator_internals_win.h45 void* ret = VirtualAlloc(hint, length, type_flags, access_flag); in SystemAllocPagesInternal()
75 return nullptr != VirtualAlloc(address, length, MEM_COMMIT, in TrySetSystemPagesAccessInternal()
90 if (!VirtualAlloc(address, length, MEM_COMMIT, in SetSystemPagesAccessInternal()
137 void* ptr = VirtualAlloc(address, length, MEM_RESET, PAGE_READWRITE); in DiscardSystemPagesInternal()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/allocator/partition_allocator/
H A Dpage_allocator_internals_win.h43 void* ret = VirtualAlloc(hint, length, type_flags, access_flag); in SystemAllocPagesInternal()
75 return nullptr != VirtualAlloc(address, length, MEM_COMMIT, in TrySetSystemPagesAccessInternal()
90 if (!VirtualAlloc(address, length, MEM_COMMIT, in SetSystemPagesAccessInternal()
137 void* ptr = VirtualAlloc(address, length, MEM_RESET, PAGE_READWRITE); in DiscardSystemPagesInternal()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/third_party/base/allocator/partition_allocator/
H A Dpage_allocator_internals_win.h43 void* ret = VirtualAlloc(hint, length, type_flags, access_flag); in SystemAllocPagesInternal()
75 return nullptr != VirtualAlloc(address, length, MEM_COMMIT, in TrySetSystemPagesAccessInternal()
90 if (!VirtualAlloc(address, length, MEM_COMMIT, in SetSystemPagesAccessInternal()
137 void* ptr = VirtualAlloc(address, length, MEM_RESET, PAGE_READWRITE); in DiscardSystemPagesInternal()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/third_party/base/allocator/partition_allocator/
H A Dpage_allocator_internals_win.h45 void* ret = VirtualAlloc(hint, length, type_flags, access_flag); in SystemAllocPagesInternal()
77 return nullptr != VirtualAlloc(address, length, MEM_COMMIT, in TrySetSystemPagesAccessInternal()
92 if (!VirtualAlloc(address, length, MEM_COMMIT, in SetSystemPagesAccessInternal()
139 void* ptr = VirtualAlloc(address, length, MEM_RESET, PAGE_READWRITE); in DiscardSystemPagesInternal()
/dports/games/quake2-source/quake2-r0.16.2/src/rhapsody/
H A Dsys_rhap.m46 membase = VirtualAlloc (NULL, maxsize, MEM_RESERVE, PAGE_NOACCESS);
52 Sys_Error ("VirtualAlloc reserve failed");
65 // buf = VirtualAlloc (membase+cursize, size, MEM_COMMIT, PAGE_READWRITE);
66 buf = VirtualAlloc (membase, cursize+size, MEM_COMMIT, PAGE_READWRITE);
70 Sys_Error ("VirtualAlloc commit failed.\n%s", buf);
88 buf = VirtualAlloc (membase, cursize, MEM_COMMIT, PAGE_READONLY);
90 Sys_Error ("VirtualAlloc commit failed");
/dports/games/quake2lnx/quake2-r0.16.2/src/rhapsody/
H A Dsys_rhap.m46 membase = VirtualAlloc (NULL, maxsize, MEM_RESERVE, PAGE_NOACCESS);
52 Sys_Error ("VirtualAlloc reserve failed");
65 // buf = VirtualAlloc (membase+cursize, size, MEM_COMMIT, PAGE_READWRITE);
66 buf = VirtualAlloc (membase, cursize+size, MEM_COMMIT, PAGE_READWRITE);
70 Sys_Error ("VirtualAlloc commit failed.\n%s", buf);
88 buf = VirtualAlloc (membase, cursize, MEM_COMMIT, PAGE_READONLY);
90 Sys_Error ("VirtualAlloc commit failed");
/dports/archivers/upx/upx-3.96/src/lzma-sdk/C/Common/
H A DAlloc.cpp51 return ::VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in MidAlloc()
98 void *res = ::VirtualAlloc(0, (size + g_LargePageSize - 1) & (~(g_LargePageSize - 1)), in BigAlloc()
103 return ::VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in BigAlloc()
/dports/archivers/lzmalib/lzmalib-0.0.1/Common/
H A DAlloc.cpp51 return ::VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in MidAlloc()
98 void *res = ::VirtualAlloc(0, (size + g_LargePageSize - 1) & (~(g_LargePageSize - 1)), in BigAlloc()
103 return ::VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in BigAlloc()
/dports/www/firefox-legacy/firefox-52.8.0esr/other-licenses/7zstub/src/Common/
H A DAlloc.cpp51 return ::VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in MidAlloc()
98 void *res = ::VirtualAlloc(0, (size + g_LargePageSize - 1) & (~(g_LargePageSize - 1)), in BigAlloc()
103 return ::VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in BigAlloc()
/dports/devel/libhoard/Hoard/src/Heap-Layers/heaps/special/
H A Dsbrk.c44 base = VirtualAlloc(NULL, remainingReserved, MEM_RESERVE, PAGE_NOACCESS); in sbrk()
46 base = VirtualAlloc(NULL, remainingReserved, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE); in sbrk()
103 result = VirtualAlloc((LPVOID) nextPage, bytesToCommit, MEM_COMMIT, PAGE_EXECUTE_READWRITE); in sbrk()
/dports/x11-toolkits/qt5-declarative-test/kde-qtdeclarative-5.15.2p41/src/3rdparty/masm/wtf/
H A DOSAllocatorWin.cpp46 void* result = VirtualAlloc(0, bytes, MEM_RESERVE, protection(writable, executable)); in reserveUncommitted()
55 … void* result = VirtualAlloc(0, bytes, MEM_RESERVE | MEM_COMMIT, protection(writable, executable)); in reserveAndCommit()
71 void* result = VirtualAlloc(address, bytes, MEM_COMMIT, protection(writable, executable)); in commit()
/dports/x11-toolkits/qt5-declarative/kde-qtdeclarative-5.15.2p41/src/3rdparty/masm/wtf/
H A DOSAllocatorWin.cpp46 void* result = VirtualAlloc(0, bytes, MEM_RESERVE, protection(writable, executable)); in reserveUncommitted()
55 … void* result = VirtualAlloc(0, bytes, MEM_RESERVE | MEM_COMMIT, protection(writable, executable)); in reserveAndCommit()
71 void* result = VirtualAlloc(address, bytes, MEM_COMMIT, protection(writable, executable)); in commit()
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/src/trusted/service_runtime/arch/x86_64/
H A Dsel_addrspace_win_x86_64.c64 allocated = VirtualAlloc(request_addr, NACL_ADDRSPACE_LOWER_GUARD_SIZE, in NaClAllocateSpaceAslr()
72 allocated = VirtualAlloc(request_addr, NACL_ADDRSPACE_UPPER_GUARD_SIZE, in NaClAllocateSpaceAslr()
86 allocated = VirtualAlloc((void *) mem_ptr, in NaClAllocateSpaceAslr()
/dports/graphics/blender/blender-2.91.0/extern/lzma/
H A DAlloc.c56 return VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in MidAlloc()
106 void *res = VirtualAlloc(0, (size + g_LargePageSize - 1) & (~(g_LargePageSize - 1)), in BigAlloc()
112 return VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in BigAlloc()
/dports/comms/flamp/flamp-2.2.07/src/lzma/
H A DAlloc.c56 return VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in MidAlloc()
106 void *res = VirtualAlloc(0, (size + g_LargePageSize - 1) & (~(g_LargePageSize - 1)), in BigAlloc()
112 return VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in BigAlloc()
/dports/archivers/lrzip/lrzip-0.631/lzma/C/
H A DAlloc.c56 return VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in MidAlloc()
106 void *res = VirtualAlloc(0, (size + g_LargePageSize - 1) & (~(g_LargePageSize - 1)), in BigAlloc()
112 return VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in BigAlloc()
/dports/cad/openctm/OpenCTM-1.0.3/lib/liblzma/
H A DAlloc.c56 return VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in MidAlloc()
106 void *res = VirtualAlloc(0, (size + g_LargePageSize - 1) & (~(g_LargePageSize - 1)), in BigAlloc()
112 return VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in BigAlloc()
/dports/sysutils/afflib/AFFLIBv3-3.7.16/lzma443/C/Common/
H A DAlloc.cpp58 return ::VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in MidAlloc()
105 void *res = ::VirtualAlloc(0, (size + g_LargePageSize - 1) & (~(g_LargePageSize - 1)), in BigAlloc()
110 return ::VirtualAlloc(0, size, MEM_COMMIT, PAGE_READWRITE); in BigAlloc()

12345678910>>...78