/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common.cc | 25 static uptr PageSize; in GetPageSizeCached() local 26 if (!PageSize) in GetPageSizeCached() 27 PageSize = GetPageSize(); in GetPageSizeCached() 28 return PageSize; in GetPageSizeCached() 85 uptr PageSize = GetPageSizeCached(); in ReadFileToBuffer() local 86 uptr kMinFileLen = PageSize; in ReadFileToBuffer() 101 while (read_len + PageSize <= size) { in ReadFileToBuffer() 102 uptr just_read = internal_read(fd, *buff + read_len, PageSize); in ReadFileToBuffer()
|
D | sanitizer_posix.cc | 139 uptr PageSize = GetPageSizeCached(); in MmapNoReserveOrDie() local 141 RoundUpTo(size, PageSize), in MmapNoReserveOrDie() 157 uptr PageSize = GetPageSizeCached(); in MmapFixedNoReserve() local 158 uptr p = internal_mmap((void*)(fixed_addr & ~(PageSize - 1)), in MmapFixedNoReserve() 159 RoundUpTo(size, PageSize), in MmapFixedNoReserve() 173 uptr PageSize = GetPageSizeCached(); in MmapFixedOrDie() local 174 uptr p = internal_mmap((void*)(fixed_addr & ~(PageSize - 1)), in MmapFixedOrDie() 175 RoundUpTo(size, PageSize), in MmapFixedOrDie()
|
/external/llvm/lib/Support/Unix/ |
D | Memory.inc | 91 static const size_t PageSize = process::get_self()->page_size(); 92 const size_t NumPages = (NumBytes+PageSize-1)/PageSize; 117 if (Start && Start % PageSize) 118 Start += PageSize - Start % PageSize; 120 void *Addr = ::mmap(reinterpret_cast<void*>(Start), PageSize*NumPages, 132 Result.Size = NumPages*PageSize; 184 size_t PageSize = process::get_self()->page_size(); 185 size_t NumPages = (NumBytes+PageSize-1)/PageSize; 209 void *pa = ::mmap(start, PageSize*NumPages, PROT_READ|PROT_EXEC, 212 void *pa = ::mmap(start, PageSize*NumPages, PROT_READ|PROT_WRITE|PROT_EXEC, [all …]
|
D | Process.inc | 106 self_process::self_process() : PageSize(getPageSize()) {
|
/external/compiler-rt/test/asan/TestCases/ |
D | dlclose-test.cc | 42 size_t PageSize = sysconf(_SC_PAGESIZE); in main() local 66 size_t page_beg = ((size_t)addr) & ~(PageSize - 1); in main() 67 void *res = mmap((void*)(page_beg), PageSize, in main()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_common_test.cc | 74 uptr PageSize = GetPageSizeCached(); in TEST() local 79 size * PageSize, alignment * PageSize, "MmapAlignedOrDieTest"); in TEST() 80 EXPECT_EQ(0U, res % (alignment * PageSize)); in TEST() 81 internal_memset((void*)res, 1, size * PageSize); in TEST() 82 UnmapOrDie((void*)res, size * PageSize); in TEST()
|
/external/compiler-rt/lib/asan/ |
D | asan_poisoning.h | 38 uptr PageSize = GetPageSizeCached(); in FastPoisonShadow() local 51 uptr page_beg = RoundUpTo(shadow_beg, PageSize); in FastPoisonShadow() 52 uptr page_end = RoundDownTo(shadow_end, PageSize); in FastPoisonShadow()
|
D | asan_thread.cc | 80 uptr PageSize = GetPageSizeCached(); in Create() local 81 uptr size = RoundUpTo(sizeof(AsanThread), PageSize); in Create()
|
D | asan_rtl.cc | 742 uptr PageSize = GetPageSizeCached(); in __asan_handle_no_return() local 744 uptr bottom = ((uptr)&local_stack - PageSize) & ~(PageSize-1); in __asan_handle_no_return()
|
D | asan_allocator2.cc | 631 uptr PageSize = GetPageSizeCached(); in asan_pvalloc() local 632 size = RoundUpTo(size, PageSize); in asan_pvalloc() 635 size = PageSize; in asan_pvalloc() 637 return Allocate(size, PageSize, stack, FROM_MALLOC, true); in asan_pvalloc()
|
D | asan_interceptors.cc | 238 uptr PageSize = GetPageSizeCached(); in DEFINE_REAL() local 239 uptr bottom = stack & ~(PageSize - 1); in DEFINE_REAL() 241 ssize = RoundUpTo(ssize, PageSize); in DEFINE_REAL()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 268 int PageSize, in shouldUseMmap() argument 278 if (MapSize < 4 * 4096 || MapSize < (unsigned)PageSize) in shouldUseMmap() 305 if ((FileSize & (PageSize -1)) == 0) in shouldUseMmap() 315 static int PageSize = sys::process::get_self()->page_size(); in getOpenFileImpl() local 341 PageSize, IsVolatileSize)) { in getOpenFileImpl()
|
/external/llvm/include/llvm/Support/ |
D | Process.h | 124 size_t page_size() const { return PageSize; }; in page_size() 133 size_t PageSize;
|
/external/compiler-rt/lib/msan/ |
D | msan_thread.cc | 12 uptr PageSize = GetPageSizeCached(); in Create() local 13 uptr size = RoundUpTo(sizeof(MsanThread), PageSize); in Create()
|
D | msan_interceptors.cc | 189 uptr PageSize = GetPageSizeCached(); in INTERCEPTOR() local 190 size = RoundUpTo(size, PageSize); in INTERCEPTOR() 193 size = PageSize; in INTERCEPTOR() 195 void *ptr = MsanReallocate(&stack, 0, size, PageSize, false); in INTERCEPTOR() 1297 uptr PageSize = GetPageSizeCached(); in PoisonShadow() local 1304 uptr page_beg = RoundUpTo(shadow_beg, PageSize); in PoisonShadow() 1305 uptr page_end = RoundDownTo(shadow_end, PageSize); in PoisonShadow()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_interceptors.cc | 152 uptr PageSize = GetPageSizeCached(); in INTERCEPTOR() local 153 size = RoundUpTo(size, PageSize); in INTERCEPTOR() 156 size = PageSize; in INTERCEPTOR()
|
/external/lldb/tools/debugserver/source/MacOSX/ |
D | MachVMMemory.cpp | 33 MachVMMemory::PageSize(task_t task) in PageSize() function in MachVMMemory 66 const nub_size_t page_size = PageSize(task); in MaxBytesLeftInPage() 210 stolenPages = stolen / PageSize (task); in GetStolenPages() 301 vm_size_t pagesize = PageSize (task); in GetRegionSizes() 348 vm_size_t pagesize = PageSize (task); in GetMemorySizes()
|
D | MachVMMemory.h | 29 nub_size_t PageSize(task_t task);
|
D | MachTask.h | 95 nub_size_t PageSize ();
|
D | MachTask.cpp | 427 pagesize = PageSize(); in GetProfileData() 1034 if (function_addresses_buffer[*count-1] < PageSize()) in EnumerateMallocFrames() 1040 MachTask::PageSize () in PageSize() function in MachTask 1042 return m_vm_memory.PageSize (m_task); in PageSize()
|
/external/llvm/unittests/Support/ |
D | MemoryTest.cpp | 24 PageSize = sys::process::get_self()->page_size(); in MappedMemoryTest() 56 size_t PageSize; member in __anon5e8935b70111::MappedMemoryTest 266 MemoryBlock Near((void*)(3*PageSize), 16); in TEST_P() 314 MemoryBlock Near((void*)(4*PageSize), 0); in TEST_P() 340 MemoryBlock Near((void*)(2*PageSize+5), 0); in TEST_P()
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/ |
D | win_platform_backend.py | 47 return performance_info.CommitTotal * performance_info.PageSize / 1024 52 return performance_info.PhysicalTotal * performance_info.PageSize / 1024
|
/external/chromium_org/win8/metro_driver/ |
D | print_document_source.cc | 186 D2D1_SIZE_F page_size = D2D1::SizeF(page_desc.PageSize.Width, in MakeDocument() 187 page_desc.PageSize.Height); in MakeDocument() 241 width_ = page_desc.PageSize.Width; in Paginate() 242 height_ = page_desc.PageSize.Height; in Paginate()
|
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
D | CSSPropertyParser.h | 282 PageSize, enumerator
|
/external/llvm/lib/Support/Windows/ |
D | Process.inc | 101 self_process::self_process() : PageSize(getPageSize()) {
|