/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | memory.cpp | 26 // This was a static in pageSize(), but due to the following TSAN false-positive 30 inline size_t pageSize() { in pageSize() function 34 auto mapping = mmap(nullptr, count * pageSize(), PROT_READ | PROT_WRITE, in allocatePages() 43 auto res = munmap(ptr, count * pageSize()); in freePages() 48 auto res = mprotect(addr, pageSize(), PROT_NONE); in protectPage() 58 // This was a static in pageSize(), but due to the following TSAN false-positive 62 inline size_t pageSize() { in pageSize() function 99 inline size_t pageSize() { in pageSize() function 108 auto mapping = VirtualAlloc(nullptr, count * pageSize(), in allocatePages() 121 auto res = VirtualProtect(addr, pageSize(), PAGE_NOACCES in protectPage() [all...] |
/third_party/glslang/glslang/MachineIndependent/ |
H A D | PoolAlloc.cpp | 67 pageSize(growthIncrement), in TPoolAllocator() 77 if (pageSize < 4*1024) in TPoolAllocator() 78 pageSize = 4*1024; in TPoolAllocator() 84 currentPageOffset = pageSize; in TPoolAllocator() 169 currentPageOffset = pageSize; in push() 236 if (currentPageOffset + allocationSize <= pageSize) { in allocate() 247 if (allocationSize + headerSkip > pageSize) { in allocate() 258 new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize); in allocate() 261 currentPageOffset = pageSize; // mak in allocate() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A 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; // mak in allocate() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/mman/mman_gtest/ |
H A D | mman_mprotect_test.cpp | 23 size_t pageSize = getpagesize(); in HWTEST_F() local 24 void* memoryBuffer = memalign(pageSize, SIZE * pageSize); in HWTEST_F() 25 int protectResult = mprotect(memoryBuffer, pageSize, PROT_WRITE); in HWTEST_F() 29 protectResult = mprotect(memoryBuffer, pageSize, PROT_READ | PROT_WRITE | PROT_EXEC); in HWTEST_F()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | ExecutableMemory.cpp | 223 static int pageSize = [] { in memoryPageSize() local 233 return pageSize; in memoryPageSize() 275 size_t pageSize = memoryPageSize(); in allocateMemoryPages() local 276 size_t length = roundUp(bytes, pageSize); in allocateMemoryPages() 334 ASSERT(roundUp(reservation, pageSize) == reservation); in allocateMemoryPages() 357 mapping = allocate(length, pageSize); in allocateMemoryPages() 400 size_t pageSize = memoryPageSize(); in deallocateMemoryPages() 401 size_t length = (bytes + pageSize - 1) & ~(pageSize - 1); in deallocateMemoryPages() 405 size_t pageSize in deallocateMemoryPages() [all...] |
H A D | LLVMJIT.cpp | 270 size_t pageSize = rr::memoryPageSize(); variable 271 numBytes = (numBytes + pageSize - 1) & ~(pageSize - 1); 289 size_t pageSize = rr::memoryPageSize(); in protectMappedMemory() local 291 reinterpret_cast<uintptr_t>(addr) & ~(pageSize - 1)); in protectMappedMemory()
|
/third_party/skia/tests/ |
H A D | PDFTaggedPruningTest.cpp | 29 SkSize pageSize = SkSize::Make(612, 792); // U.S. Letter in DEF_TEST() local 67 document->beginPage(pageSize.width(), in DEF_TEST() 68 pageSize.height()); in DEF_TEST() 94 SkSize pageSize = SkSize::Make(612, 792); // U.S. Letter in DEF_TEST() local 132 document->beginPage(pageSize.width(), in DEF_TEST() 133 pageSize.height()); in DEF_TEST()
|
H A D | PDFTaggedTest.cpp | 28 SkSize pageSize = SkSize::Make(612, 792); // U.S. Letter in DEF_TEST() local 110 document->beginPage(pageSize.width(), in DEF_TEST() 111 pageSize.height()); in DEF_TEST() 153 canvas = document->beginPage(pageSize.width(), in DEF_TEST() 154 pageSize.height()); in DEF_TEST()
|
H A D | PDFTaggedLinkTest.cpp | 30 SkSize pageSize = SkSize::Make(612, 792); // U.S. Letter in DEF_TEST() local 60 document->beginPage(pageSize.width(), in DEF_TEST() 61 pageSize.height()); in DEF_TEST()
|
H A D | PDFTaggedTableTest.cpp | 29 SkSize pageSize = SkSize::Make(612, 792); // U.S. Letter in DEF_TEST() local 113 document->beginPage(pageSize.width(), in DEF_TEST() 114 pageSize.height()); in DEF_TEST()
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Memory.cpp | 74 static int pageSize = 0; in memoryPageSize() local 76 if(pageSize == 0) in memoryPageSize() 81 pageSize = systemInfo.dwPageSize; in memoryPageSize() 83 pageSize = sysconf(_SC_PAGESIZE); in memoryPageSize() 87 return pageSize; in memoryPageSize()
|
/third_party/skia/third_party/externals/piex/src/binary_parse/ |
H A 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::__anon21691::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()
|
H A D | cached_paged_byte_array.h | 42 virtual size_t pageSize() const { return paged_byte_array_->pageSize(); } in pageSize() function in piex::binary_parse::CachedPagedByteArray
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_attr_setstack.c | 42 int pageSize = getpagesize(); in pthread_attr_setstack_0100() local 43 if (pageSize == 0) { in pthread_attr_setstack_0100() 48 ret = posix_memalign(&stackAddr, pageSize, THREAD_STACK_LEN); in pthread_attr_setstack_0100()
|
H A D | pthread_create.c | 92 int32_t pageSize = getpagesize(); in pthread_create_0400() local 94 ret = posix_memalign(&stackAddr, pageSize, PTHREADSTACK); in pthread_create_0400()
|
/third_party/skia/docs/examples/ |
H A D | PDF.cpp | 12 SkSize pageSize) { in REG_FIDDLE() 21 SkCanvas* pageCanvas = pdfDocument->beginPage(pageSize.width(), in REG_FIDDLE() 22 pageSize.height()); in REG_FIDDLE() 8 WritePDF(SkWStream* outputStream, const char* documentTitle, void (*writePage)(SkCanvas*, int page), int numberOfPages, SkSize pageSize) REG_FIDDLE() argument
|
/third_party/musl/libc-test/src/functionalext/supplement/legacy/legacy_gtest/ |
H A D | legacy_getpagesize_test.cpp | 20 long pageSize = sysconf(_SC_PAGESIZE); in HWTEST_F() local 21 EXPECT_EQ(pageSize, naturalPageSize); in HWTEST_F()
|
/third_party/skia/tools/ |
H A D | ProcStats.cpp | 65 const long pageSize = sysconf(_SC_PAGESIZE); in getCurrResidentSetSizeBytes() local 75 return rssPages * pageSize; in getCurrResidentSetSizeBytes()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A 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()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | Memory.cpp | 63 static int pageSize = [] { in memoryPageSize() local 73 return pageSize; in memoryPageSize()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_memory_stream.cpp | 27 uint32 pageSize) in dng_memory_stream() 34 , fPageSize (pageSize ) in dng_memory_stream() 25 dng_memory_stream(dng_memory_allocator &allocator, dng_abort_sniffer *sniffer, uint32 pageSize) dng_memory_stream() argument
|
H A D | dng_memory_stream.h | 54 /// \param pageSize Unit of allocation for data stored in stream. 58 uint32 pageSize = 64 * 1024);
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | PoolAlloc.h | 74 void initialize(int pageSize, int alignment);
|
H A D | PoolAlloc.cpp | 172 void PoolAllocator::initialize(int pageSize, int alignment) in initialize() argument 176 mPageSize = pageSize; in initialize()
|
/third_party/skia/src/pdf/ |
H A D | SkPDFDocument.cpp | 274 SkISize pageSize = (SkSize{width, height} * fRasterScale).toRound(); in onBeginPage() local 279 0, fInverseRasterScale * pageSize.height()); in onBeginPage() 280 fPageDevice = sk_make_sp<SkPDFDevice>(pageSize, this, initialTransform); in onBeginPage()
|