Home
last modified time | relevance | path

Searched refs:NumPages (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/ExecutionEngine/Orc/
DOrcABISupport.cpp153 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock() local
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()
235 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock() local
236 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock()
241 2 * NumPages * PageSize, nullptr, in emitIndirectStubsBlock()
[all …]
/external/syslinux/gnu-efi/gnu-efi-3.0/apps/
DAllocPages.c121 INTN NumPages = -1; in efi_main() local
171 NumPages = xtoi(argv[3]); in efi_main()
182 if ( (NumPages < 0) || (NumPages > MAX_NUM_PAGES) ) { in efi_main()
194 Print(L"AllocatPage(%d,%d,%d,%lx)\n", AllocType, MemType, NumPages, Addr); in efi_main()
196 efi_status = uefi_call_wrapper(BS->AllocatePages, 4, AllocType, MemType, NumPages, &Addr); in efi_main()
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DMemory.inc37 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/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DMemory.inc91 const size_t NumPages = (NumBytes+PageSize-1)/PageSize;
111 void *Addr = ::mmap(reinterpret_cast<void*>(Start), PageSize*NumPages,
123 Result.Size = NumPages*PageSize;
180 size_t NumPages = (NumBytes+PageSize-1)/PageSize;
196 void *pa = ::mmap(start, PageSize*NumPages, PROT_READ|PROT_EXEC,
199 void *pa = ::mmap(start, PageSize*NumPages, PROT_READ|PROT_WRITE|PROT_EXEC,
212 (vm_size_t)(PageSize*NumPages), 0,
220 (vm_size_t)(PageSize*NumPages), 0,
230 result.Size = NumPages*PageSize;
/external/llvm/lib/Support/Unix/
DMemory.inc91 const size_t NumPages = (NumBytes+PageSize-1)/PageSize;
119 void *Addr = ::mmap(reinterpret_cast<void*>(Start), PageSize*NumPages,
131 Result.Size = NumPages*PageSize;
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,
225 (vm_size_t)(PageSize*NumPages), 0,
233 (vm_size_t)(PageSize*NumPages), 0,
243 result.Size = NumPages*PageSize;
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DMemory.inc33 size_t NumPages = (NumBytes+pageSize-1)/pageSize;
38 void *pa = VirtualAlloc(start, NumPages*pageSize, MEM_RESERVE | MEM_COMMIT,
51 result.Size = NumPages*pageSize;
/external/pdfium/xfa/fxfa/parser/
Dcscript_hostpseudomodel.h27 void NumPages(CFXJSE_Value* pValue, bool bSetting, XFA_ATTRIBUTE eAttribute);
Dcscript_hostpseudomodel.cpp95 void CScript_HostPseudoModel::NumPages(CFXJSE_Value* pValue, in NumPages() function in CScript_HostPseudoModel
Dxfa_basic_data_element_script.cpp1947 (XFA_ATTRIBUTE_CALLBACK)&CScript_HostPseudoModel::NumPages, -1,