Home
last modified time | relevance | path

Searched refs:RegionSize (Results 1 – 20 of 20) sorted by relevance

/external/scudo/standalone/
Dprimary32.h99 RegionSize); in unmapTestOnly()
102 unmap(reinterpret_cast<void *>(I * RegionSize), RegionSize); in unmapTestOnly()
162 const uptr From = I * RegionSize; in iterateOverBlocks()
163 const uptr To = From + (RegionSize / BlockSize) * BlockSize; in iterateOverBlocks()
214 static const uptr RegionSize = 1UL << RegionSizeLog; variable
251 uptr MapSize = 2 * RegionSize; in allocateRegionSlow()
258 if (isAligned(Region, RegionSize)) { in allocateRegionSlow()
261 RegionsStash[NumberOfStashedRegions++] = MapBase + RegionSize; in allocateRegionSlow()
263 MapSize = RegionSize; in allocateRegionSlow()
265 Region = roundUpTo(MapBase, RegionSize); in allocateRegionSlow()
[all …]
Drelease.h186 uptr RegionSize, uptr NumberOfRegions, uptr BlockSize, in releaseFreeMemoryToOS() argument
224 const uptr PagesCount = roundUpTo(RegionSize, PageSize) / PageSize; in releaseFreeMemoryToOS()
248 const uptr RegionIndex = NumberOfRegions == 1U ? 0 : P / RegionSize; in releaseFreeMemoryToOS()
249 const uptr PInRegion = P - RegionIndex * RegionSize; in releaseFreeMemoryToOS()
265 const uptr RegionIndex = NumberOfRegions == 1U ? 0 : P / RegionSize; in releaseFreeMemoryToOS()
266 const uptr PInRegion = P - RegionIndex * RegionSize; in releaseFreeMemoryToOS()
Dprimary64.h216 static const uptr RegionSize = 1UL << RegionSizeLog;
218 static const uptr PrimarySize = RegionSize * NumClasses;
305 if (UNLIKELY(RegionBase + MappedUser + UserMapSize > RegionSize)) { in populateFreeList()
312 RegionSize >> 20, Size); in populateFreeList()
/external/clang/lib/StaticAnalyzer/Checkers/
DCastSizeChecker.cpp49 static bool evenFlexibleArraySize(ASTContext &Ctx, CharUnits RegionSize, in evenFlexibleArraySize() argument
81 CharUnits Left = RegionSize - TypeSize; in evenFlexibleArraySize()
/external/compiler-rt/lib/builtins/
Denable_execute_stack.c54 VirtualProtect (mbi.BaseAddress, mbi.RegionSize, PAGE_EXECUTE_READWRITE, &mbi.Protect); in __enable_execute_stack()
/external/compiler-rt/test/builtins/Unit/
Denable_execute_stack_test.c27 if (!VirtualProtect(b.BaseAddress, b.RegionSize, PAGE_EXECUTE_READWRITE, &b.Protect)) in __enable_execute_stack()
Dclear_cache_test.c66 if (!VirtualProtect(b.BaseAddress, b.RegionSize, PAGE_EXECUTE_READWRITE, &b.Protect)) in main()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_win.cc83 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize; in GetThreadStackTopAndBottom()
250 (uptr)mbi.BaseAddress + mbi.RegionSize >= range_end; in MemoryRangeIsAvailable()
805 if (info.RegionSize == 0) in IsAccessibleMemoryRange()
808 page += info.RegionSize; in IsAccessibleMemoryRange()
/external/compiler-rt/lib/interception/
Dinterception_win.cc311 if (info.State == MEM_FREE && info.RegionSize >= granularity) { in AllocateTrampolineRegion()
320 address = (uptr)info.BaseAddress + info.RegionSize; in AllocateTrampolineRegion()
321 scanned += info.RegionSize; in AllocateTrampolineRegion()
/external/u-boot/common/
Ddlmalloc.c100 if ((info.State == MEM_FREE) && (info.RegionSize >= size)) in findRegion()
109 start_address = (char*)info.BaseAddress + info.RegionSize; in findRegion()
Ddlmalloc.src1015 if ((info.State == MEM_FREE) && (info.RegionSize >= size))
1024 start_address = (char*)info.BaseAddress + info.RegionSize;
/external/google-breakpad/src/client/windows/handler/
Dexception_handler.cc993 + info.RegionSize); in WriteMinidumpWithExceptionForProcess()
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c1389 minfo.State != MEM_COMMIT || minfo.RegionSize > size) in win32munmap()
1393 cptr += minfo.RegionSize; in win32munmap()
1394 size -= minfo.RegionSize; in win32munmap()
/external/libffi/src/
Ddlmalloc.c1384 minfo.State != MEM_COMMIT || minfo.RegionSize > size) in win32munmap()
1388 cptr += minfo.RegionSize; in win32munmap()
1389 size -= minfo.RegionSize; in win32munmap()
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp1309 CharUnits RegionSize = CharUnits::fromQuantity(SizeInt->getSExtValue()); in getSizeInElements() local
1323 return svalBuilder.makeIntVal(RegionSize / EleSize, false); in getSizeInElements()
/external/python/cpython3/Modules/
D_winapi.c1653 region_size = mem_basic_info.RegionSize; in _winapi_VirtualQuerySize_impl()
/external/dlmalloc/
Dmalloc.c1687 minfo.State != MEM_COMMIT || minfo.RegionSize > size) in win32munmap()
1691 cptr += minfo.RegionSize; in win32munmap()
1692 size -= minfo.RegionSize; in win32munmap()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DPath.inc575 Size = mbi.RegionSize;
/external/llvm/lib/Support/Windows/
DPath.inc581 Size = mbi.RegionSize;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DPath.inc827 Size = mbi.RegionSize;