/external/swiftshader/src/Reactor/ |
D | ExecutableMemory.cpp | 136 static int pageSize = 0; in memoryPageSize() local 138 if(pageSize == 0) in memoryPageSize() 143 pageSize = systemInfo.dwPageSize; in memoryPageSize() 145 pageSize = sysconf(_SC_PAGESIZE); in memoryPageSize() 149 return pageSize; in memoryPageSize() 188 size_t pageSize = memoryPageSize(); in allocateExecutable() local 189 size_t length = roundUp(bytes, pageSize); in allocateExecutable() 229 zx_vaddr_t alignedReservation = roundUp(reservation, pageSize); in allocateExecutable() 249 mapping = allocate(length, pageSize); in allocateExecutable() 277 size_t pageSize = memoryPageSize(); in deallocateExecutable() [all …]
|
D | LLVMRoutineManager.cpp | 70 size_t pageSize = memoryPageSize(); in startFunctionBody() local 71 actualSize = (actualSize + pageSize - 1) & ~(pageSize - 1); in startFunctionBody()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | PoolAlloc.cpp | 73 pageSize(growthIncrement), in TPoolAllocator() 83 if (pageSize < 4*1024) in TPoolAllocator() 84 pageSize = 4*1024; in TPoolAllocator() 90 currentPageOffset = pageSize; in TPoolAllocator() 185 currentPageOffset = pageSize; in push() 252 if (currentPageOffset + allocationSize <= pageSize) { in allocate() 263 if (allocationSize + headerSkip > pageSize) { in allocate() 274 new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize); in allocate() 277 currentPageOffset = pageSize; // make next allocation come from a new page in allocate() 291 memory = reinterpret_cast<tHeader*>(::new char[pageSize]); in allocate()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | PoolAlloc.cpp | 63 , pageSize(growthIncrement), in TPoolAllocator() 89 if (pageSize < 4*1024) in TPoolAllocator() 90 pageSize = 4*1024; in TPoolAllocator() 96 currentPageOffset = pageSize; in TPoolAllocator() 185 currentPageOffset = pageSize; in push() 263 if (allocationSize <= pageSize - currentPageOffset) { in allocate() 274 if (allocationSize > pageSize - headerSkip) { in allocate() 289 new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize); in allocate() 292 currentPageOffset = pageSize; // make next allocation come from a new page in allocate() 306 memory = reinterpret_cast<tHeader*>(::new char[pageSize]); in allocate()
|
/external/syzkaller/vendor/google.golang.org/api/iterator/ |
D | iterator.go | 68 fetch func(pageSize int, pageToken string) (nextPageToken string, err error) 161 pageSize int member 170 func NewPager(iter Pageable, pageSize int, pageToken string) *Pager { 173 pageSize: pageSize, 176 if pageSize <= 0 { 219 for p.pageInfo.bufLen() < p.pageSize { 220 if err := p.pageInfo.fill(p.pageSize - p.pageInfo.bufLen()); err != nil {
|
/external/compiler-rt/lib/builtins/ |
D | enable_execute_stack.c | 58 const uintptr_t pageSize = 4096; in __enable_execute_stack() 62 const uintptr_t pageSize = sysconf(_SC_PAGESIZE); in __enable_execute_stack() 65 const uintptr_t pageAlignMask = ~(pageSize-1); in __enable_execute_stack() 68 unsigned char* endPage = (unsigned char*)((p+TRAMPOLINE_SIZE+pageSize) & pageAlignMask); in __enable_execute_stack()
|
/external/swiftshader/src/Common/ |
D | Memory.cpp | 85 static int pageSize = 0; in memoryPageSize() local 87 if(pageSize == 0) in memoryPageSize() 92 pageSize = systemInfo.dwPageSize; in memoryPageSize() 94 pageSize = sysconf(_SC_PAGESIZE); in memoryPageSize() 98 return pageSize; in memoryPageSize()
|
/external/swiftshader/src/System/ |
D | Memory.cpp | 85 static int pageSize = 0; in memoryPageSize() local 87 if(pageSize == 0) in memoryPageSize() 92 pageSize = systemInfo.dwPageSize; in memoryPageSize() 94 pageSize = sysconf(_SC_PAGESIZE); in memoryPageSize() 98 return pageSize; in memoryPageSize()
|
/external/swiftshader/third_party/LLVM/lib/Support/Unix/ |
D | Memory.inc | 36 size_t pageSize = Process::GetPageSize(); 37 size_t NumPages = (NumBytes+pageSize-1)/pageSize; 61 void *pa = ::mmap(start, pageSize*NumPages, PROT_READ|PROT_EXEC, 64 void *pa = ::mmap(start, pageSize*NumPages, PROT_READ|PROT_WRITE|PROT_EXEC, 77 (vm_size_t)(pageSize*NumPages), 0, 85 (vm_size_t)(pageSize*NumPages), 0, 95 result.Size = NumPages*pageSize;
|
/external/piex/src/binary_parse/ |
D | range_checked_byte_ptr.cc | 38 virtual size_t pageSize() const; 53 size_t MemoryPagedByteArray::pageSize() const { return len_; } in pageSize() function in piex::binary_parse::__anon59ac88330111::MemoryPagedByteArray 196 size_t page_index = offset / array_->pageSize(); in loadPageForOffset() 205 size_t expected_page_size = array_->pageSize(); in loadPageForOffset() 206 if (page_index == (array_->length() - 1) / array_->pageSize()) { in loadPageForOffset() 207 expected_page_size = array_->length() - array_->pageSize() * page_index; in loadPageForOffset() 217 page_begin_offset_ = page_index * array_->pageSize(); in loadPageForOffset()
|
D | cached_paged_byte_array.h | 42 virtual size_t pageSize() const { return paged_byte_array_->pageSize(); } in pageSize() function
|
/external/syzkaller/prog/ |
D | prog_test.go | 77 pageSize := target.PageSize 106 check(c.Args[0], c.Args[1], 1*pageSize, 1e5*pageSize) 107 check(c.Args[2], c.Args[3], 5*pageSize, 5*pageSize) 108 check(c.Args[4], c.Args[5], 7*pageSize, 9*pageSize)
|
/external/skqp/tests/ |
D | PDFTaggedTest.cpp | 27 SkSize pageSize = SkSize::Make(612, 792); // U.S. Letter in DEF_TEST() local 105 document->beginPage(pageSize.width(), in DEF_TEST() 106 pageSize.height()); in DEF_TEST() 148 canvas = document->beginPage(pageSize.width(), in DEF_TEST() 149 pageSize.height()); in DEF_TEST()
|
/external/skia/tests/ |
D | PDFTaggedTest.cpp | 27 SkSize pageSize = SkSize::Make(612, 792); // U.S. Letter in DEF_TEST() local 105 document->beginPage(pageSize.width(), in DEF_TEST() 106 pageSize.height()); in DEF_TEST() 148 canvas = document->beginPage(pageSize.width(), in DEF_TEST() 149 pageSize.height()); in DEF_TEST()
|
/external/swiftshader/third_party/LLVM/lib/Support/Windows/ |
D | Memory.inc | 32 static const size_t pageSize = Process::GetPageSize(); 33 size_t NumPages = (NumBytes+pageSize-1)/pageSize; 38 void *pa = VirtualAlloc(start, NumPages*pageSize, MEM_RESERVE | MEM_COMMIT, 51 result.Size = NumPages*pageSize;
|
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/ |
D | ShadowMediaBrowserCompat.java | 134 final int pageSize = options.getInt(EXTRA_PAGE_SIZE, -1); in applyOptionsToResults() local 135 if (page == -1 && pageSize == -1) { in applyOptionsToResults() 139 final int firstItemIndex = page * pageSize; in applyOptionsToResults() 140 final int lastItemIndex = firstItemIndex + pageSize; in applyOptionsToResults() 141 if (page < 0 || pageSize < 1 || firstItemIndex >= resultsSize) { in applyOptionsToResults()
|
/external/compiler-rt/lib/safestack/ |
D | safestack.cc | 73 static unsigned pageSize; variable 192 CHECK_EQ((guard & (pageSize - 1)), 0); in INTERCEPTOR() 224 pageSize = sysconf(_SC_PAGESIZE); in __safestack_init()
|
/external/skqp/tools/ |
D | ProcStats.cpp | 49 const long pageSize = sysconf(_SC_PAGESIZE); in getCurrResidentSetSizeMB() local 59 return rssPages * pageSize / 1024 / 1024; in getCurrResidentSetSizeMB()
|
/external/skia/tools/ |
D | ProcStats.cpp | 49 const long pageSize = sysconf(_SC_PAGESIZE); in getCurrResidentSetSizeMB() local 59 return rssPages * pageSize / 1024 / 1024; in getCurrResidentSetSizeMB()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkBinaryRegistry.hpp | 158 const size_t pageSize = (size_t)(1<<ELEMENTS_PER_PAGE_LOG2)*sizeof(Element); in makePageResident() local 159 const size_t pageOffset = pageNdx*pageSize; in makePageResident() 160 const size_t numBytesToRead = de::min(m_elements.size()*sizeof(Element) - pageOffset, pageSize); in makePageResident()
|
/external/skia/site/user/sample/ |
D | pdf.md | 15 SkSize pageSize) { 27 SkCanvas* pageCanvas = pdfDocument->beginPage(pageSize.width(), 28 pageSize.height());
|
/external/skqp/site/user/sample/ |
D | pdf.md | 15 SkSize pageSize) { 27 SkCanvas* pageCanvas = pdfDocument->beginPage(pageSize.width(), 28 pageSize.height());
|
/external/syzkaller/vendor/cloud.google.com/go/storage/ |
D | bucket.go | 654 func (it *ObjectIterator) fetch(pageSize int, pageToken string) (string, error) { 665 if pageSize > 0 { 666 req.MaxResults(int64(pageSize)) 736 func (it *BucketIterator) fetch(pageSize int, pageToken string) (string, error) { 742 if pageSize > 0 { 743 req.MaxResults(int64(pageSize))
|
/external/dng_sdk/source/ |
D | dng_memory_stream.cpp | 27 uint32 pageSize) in dng_memory_stream() argument 34 , fPageSize (pageSize ) in dng_memory_stream()
|
D | dng_memory_stream.h | 58 uint32 pageSize = 64 * 1024);
|