/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/ |
D | OrcABISupport.cpp | 151 unsigned PageSize = sys::Process::getPageSize(); in emitIndirectStubsBlock() local 152 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock() 153 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock() 158 2 * NumPages * PageSize, nullptr, in emitIndirectStubsBlock() 165 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock() 167 NumPages * PageSize, in emitIndirectStubsBlock() 168 NumPages * PageSize); in emitIndirectStubsBlock() 172 uint64_t PtrOffsetField = static_cast<uint64_t>(NumPages * PageSize) in emitIndirectStubsBlock() 233 unsigned PageSize = sys::Process::getPageSize(); in emitIndirectStubsBlock() local 234 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock() [all …]
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcABISupport.cpp | 152 unsigned PageSize = sys::Process::getPageSize(); in emitIndirectStubsBlock() local 153 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock() 154 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock() 159 2 * NumPages * PageSize, nullptr, in emitIndirectStubsBlock() 166 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock() 168 NumPages * PageSize, in emitIndirectStubsBlock() 169 NumPages * PageSize); in emitIndirectStubsBlock() 173 uint64_t PtrOffsetField = static_cast<uint64_t>(NumPages * PageSize) in emitIndirectStubsBlock() 234 unsigned PageSize = sys::Process::getPageSize(); in emitIndirectStubsBlock() local 235 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock() [all …]
|
/external/autotest/client/site_tests/platform_DebugDaemonCupsAddPrinters/src/ |
D | GenericPostScript.ppd.gz |
|
/external/syzkaller/sys/targets/ |
D | targets.go | 21 PageSize uint64 member 64 PageSize: 4 << 10, 76 PageSize: 8 << 10, 88 PageSize: 8 << 10, 100 PageSize: 4 << 10, 114 PageSize: 4 << 10, 129 PageSize: 4 << 10, 138 PageSize: 4 << 10, 147 PageSize: 4 << 10, 156 PageSize: 4 << 10, [all …]
|
/external/libcups/cups/ |
D | test.ppd | 46 *UIConstraints: *PageSize Letter *InputSlot Envelope 47 *UIConstraints: *InputSlot Envelope *PageSize Letter 59 *% For PageSize, we have put all of the translations in-line... 60 *OpenUI *PageSize/Page Size: PickOne 61 *fr.Translation PageSize/French Page Size: "" 62 *fr_CA.Translation PageSize/French Canadian Page Size: "" 63 *OrderDependency: 10 AnySetup *PageSize 65 *PageSize Letter/US Letter: "PageSize=Letter" 66 *fr.PageSize Letter/French US Letter: "" 67 *fr_CA.PageSize Letter/French Canadian US Letter: "" [all …]
|
D | test2.ppd | 44 *cupsUIConstraints envelope: "*PageSize Letter *InputSlot Envelope" 45 *cupsUIConstraints envelope: "*PageSize A4 *InputSlot Envelope" 46 *cupsUIResolver envelope: "*InputSlot Manual *PageSize Env10" 48 *cupsUIConstraints envphoto: "*PageSize Env10 *InputSlot Envelope *Quality Photo" 55 *cupsUIConstraints loop1: "*PageSize A4 *Quality Photo" 57 *cupsUIConstraints loop2: "*PageSize A4 *Quality Normal" 60 *% For PageSize, we have put all of the translations in-line... 61 *OpenUI *PageSize/Page Size: PickOne 62 *fr.Translation PageSize/French Page Size: "" 63 *fr_CA.Translation PageSize/French Canadian Page Size: "" [all …]
|
/external/llvm/lib/Support/Unix/ |
D | Memory.inc | 90 static const size_t PageSize = Process::getPageSize(); 91 const size_t NumPages = (NumBytes+PageSize-1)/PageSize; 116 if (Start && Start % PageSize) 117 Start += PageSize - Start % PageSize; 119 void *Addr = ::mmap(reinterpret_cast<void*>(Start), PageSize*NumPages, 131 Result.Size = NumPages*PageSize; 155 static const size_t PageSize = Process::getPageSize(); 164 …ult = ::mprotect((void*)((uintptr_t)M.Address & ~(PageSize-1)), PageSize*((M.Size+PageSize-1)/Page… 184 static const size_t PageSize = Process::getPageSize(); 185 size_t NumPages = (NumBytes+PageSize-1)/PageSize; [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Memory.inc | 90 static const size_t PageSize = Process::getPageSize(); 91 const size_t NumPages = (NumBytes+PageSize-1)/PageSize; 108 if (Start && Start % PageSize) 109 Start += PageSize - Start % PageSize; 111 void *Addr = ::mmap(reinterpret_cast<void*>(Start), PageSize*NumPages, 123 Result.Size = NumPages*PageSize; 147 static const size_t PageSize = Process::getPageSize(); 156 uintptr_t Start = alignAddr((uint8_t *)M.Address - PageSize + 1, PageSize); 157 uintptr_t End = alignAddr((uint8_t *)M.Address + M.Size, PageSize); 179 static const size_t PageSize = Process::getPageSize(); [all …]
|
/external/libcups/filter/ |
D | testraster.c | 376 else if (header.PageSize[0] != 792 || header.PageSize[1] != 612) in do_ps_tests() 378 printf("FAIL (PageSize [%d %d], expected [792 612])\n", header.PageSize[0], in do_ps_tests() 379 header.PageSize[1]); in do_ps_tests() 432 else if (header.PageSize[0] != 792 || header.PageSize[1] != 1224) in do_ps_tests() 435 header.PageSize[0], header.PageSize[1]); in do_ps_tests() 558 header.PageSize[0] = 288; in do_raster_tests() 559 header.PageSize[1] = 288; in do_raster_tests() 690 expected.PageSize[0] = 288; in do_raster_tests() 691 expected.PageSize[1] = 288; in do_raster_tests() 963 if (header->PageSize[0] != expected->PageSize[0] || in print_changes() [all …]
|
D | rastertolabel.c | 175 fprintf(stderr, "DEBUG: PageSize = [ %d %d ]\n", header->PageSize[0], header->PageSize[1]); in StartPage() 193 length = header->PageSize[1] * header->HWResolution[1] / 72; in StartPage() 319 switch (header->PageSize[1]) in StartPage() 354 printf("\033!f%uZ", header->PageSize[1] * 300 / 72); in StartPage() 359 header->PageSize[1] / 12); in StartPage()
|
D | raster.c | 223 h->PageSize[0] = (unsigned)(72 * media->width / 2540); in cupsRasterInitPWGHeader() 224 h->PageSize[1] = (unsigned)(72 * media->length / 2540); in cupsRasterInitPWGHeader() 230 h->ImagingBoundingBox[2] = h->PageSize[0]; in cupsRasterInitPWGHeader() 231 h->ImagingBoundingBox[3] = h->PageSize[1]; in cupsRasterInitPWGHeader() 1048 fh.PageSize[0] = htonl(r->header.PageSize[0]); in cupsRasterWriteHeader() 1049 fh.PageSize[1] = htonl(r->header.PageSize[1]); in cupsRasterWriteHeader() 1245 fh.PageSize[0] = htonl(r->header.PageSize[0]); in cupsRasterWriteHeader2() 1246 fh.PageSize[1] = htonl(r->header.PageSize[1]); in cupsRasterWriteHeader2() 1629 r->header.PageSize[0] = (unsigned)(r->header.cupsWidth * 72 / r->header.HWResolution[0]); in cups_raster_read_header() 1630 r->header.PageSize[1] = (unsigned)(r->header.cupsHeight * 72 / r->header.HWResolution[1]); in cups_raster_read_header()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/ |
D | Memory.inc | 95 static const size_t PageSize = Process::getPageSize(); 96 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; 160 static const size_t PageSize = Process::getPageSize(); 168 uintptr_t Start = alignAddr((uint8_t *)M.Address - PageSize + 1, PageSize); 169 uintptr_t End = alignAddr((uint8_t *)M.Address + M.Size, PageSize);
|
/external/llvm/lib/ExecutionEngine/ |
D | SectionMemoryManager.cpp | 161 static const size_t PageSize = sys::Process::getPageSize(); in trimBlockToPageSize() local 164 (PageSize - ((uintptr_t)M.base() % PageSize)) % PageSize; in trimBlockToPageSize() 168 TrimmedSize -= TrimmedSize % PageSize; in trimBlockToPageSize() 172 assert(((uintptr_t)Trimmed.base() % PageSize) == 0); in trimBlockToPageSize() 173 assert((Trimmed.size() % PageSize) == 0); in trimBlockToPageSize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/ |
D | SectionMemoryManager.cpp | 176 static const size_t PageSize = sys::Process::getPageSize(); in trimBlockToPageSize() local 179 (PageSize - ((uintptr_t)M.base() % PageSize)) % PageSize; in trimBlockToPageSize() 183 TrimmedSize -= TrimmedSize % PageSize; in trimBlockToPageSize() 188 assert(((uintptr_t)Trimmed.base() % PageSize) == 0); in trimBlockToPageSize() 189 assert((Trimmed.size() % PageSize) == 0); in trimBlockToPageSize()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | MemoryBuffer.cpp | 188 static int PageSize = sys::Process::GetPageSize(); in ~MemoryBufferMMapFile() local 192 uintptr_t RealStart = Start & ~(PageSize - 1); in ~MemoryBufferMMapFile() 238 int PageSize) { in shouldUseMmap() argument 270 if ((FileSize & (PageSize -1)) == 0) in shouldUseMmap() 281 static int PageSize = sys::Process::GetPageSize(); in getOpenFile() local 299 PageSize)) { in getOpenFile() 300 off_t RealMapOffset = Offset & ~(PageSize - 1); in getOpenFile()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | dlclose-test.cc | 49 size_t PageSize = sysconf(_SC_PAGESIZE); in main() local 73 size_t page_beg = ((size_t)addr) & ~(PageSize - 1); in main() 74 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/esan/ |
D | working_set_posix.cpp | 91 uptr PageSize = GetPageSizeCached(); in handleMemoryFault() local 92 int Res = internal_mprotect((void *)RoundDownTo(Addr, PageSize), in handleMemoryFault() 93 PageSize, PROT_READ|PROT_WRITE); in handleMemoryFault()
|
/external/syzkaller/sys/syz-sysgen/ |
D | sysgen.go | 47 PageSize uint64 member 181 target.PageSize, target.NumPages, target.DataOffset, 220 PageSize: target.PageSize, 296 #define SYZ_PAGE_SIZE {{.PageSize}}
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.cc | 169 uptr PageSize = GetPageSizeCached(); in MmapNoReserveOrDie() local 171 RoundUpTo(size, PageSize), in MmapNoReserveOrDie() 183 uptr PageSize = GetPageSizeCached(); in MmapFixedOrDie() local 184 uptr p = internal_mmap((void*)(fixed_addr & ~(PageSize - 1)), in MmapFixedOrDie() 185 RoundUpTo(size, PageSize), in MmapFixedOrDie()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 287 int PageSize, in shouldUseMmap() argument 297 if (MapSize < 4 * 4096 || MapSize < (unsigned)PageSize) in shouldUseMmap() 324 if ((FileSize & (PageSize -1)) == 0) in shouldUseMmap() 342 static int PageSize = sys::Process::getPageSize(); in getOpenFileImpl() local 368 PageSize, IsVolatileSize)) { in getOpenFileImpl()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 287 int PageSize, in shouldUseMmap() argument 297 if (MapSize < 4 * 4096 || MapSize < (unsigned)PageSize) in shouldUseMmap() 324 if ((FileSize & (PageSize -1)) == 0) in shouldUseMmap() 342 static int PageSize = sys::Process::getPageSize(); in getOpenFileImpl() local 368 PageSize, IsVolatileSize)) { in getOpenFileImpl()
|
/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_poisoning.cc | 123 uptr PageSize = GetPageSizeCached(); in SetShadow() local 130 uptr page_beg = RoundUpTo(shadow_beg, PageSize); in SetShadow() 131 uptr page_end = RoundDownTo(shadow_end, PageSize); in SetShadow()
|
/external/compiler-rt/lib/lsan/ |
D | lsan_interceptors.cc | 147 uptr PageSize = GetPageSizeCached(); in INTERCEPTOR() local 148 size = RoundUpTo(size, PageSize); in INTERCEPTOR() 151 size = PageSize; in INTERCEPTOR()
|