Home
last modified time | relevance | path

Searched refs:pageSize (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dascending_page_allocator.d7 import core.memory : pageSize;
42 pagesUsed -= goodSize / pageSize; in AscendingPageAllocatorImpl()
52 return Ternary(buf.ptr >= data && buf.ptr < buf.ptr + numPages * pageSize); in AscendingPageAllocatorImpl()
60 auto ret = munmap(cast(void*) data, numPages * pageSize); in AscendingPageAllocatorImpl()
83 return n.roundUpToMultipleOf(cast(uint) pageSize); in AscendingPageAllocatorImpl()
93 pageSize = .pageSize; in AscendingPageAllocatorImpl()
94 numPages = n.roundUpToMultipleOf(cast(uint) pageSize) / pageSize; in AscendingPageAllocatorImpl()
101 data = cast(typeof(data)) mmap(null, pageSize * numPages, in AscendingPageAllocatorImpl()
111 data = cast(typeof(data)) VirtualAlloc(null, pageSize * numPages, in AscendingPageAllocatorImpl()
132 auto size = numPages * pageSize + data - offset; in AscendingPageAllocatorImpl()
[all …]
H A Dallocator_list.d7 import core.memory : pageSize;
831 for (int i = 0; i < b.length; i += pageSize) in testrw()
839 AllocatorList!((n) => AscendingPageAllocator(max(n, numPages * pageSize)), Mallocator) a;
848 void[] b2 = a.allocate((numPages + 1) * pageSize);
849 assert(b2.length == (numPages + 1) * pageSize);
864 assert(a.expand(b1, pageSize - b1.length));
865 assert(b1.length == pageSize);
889 for (int i = 0; i < b.length; i += pageSize) in testrw()
897 AllocatorList!((n) => AscendingPageAllocator(max(n, numPages * pageSize)), NullAllocator) a;
905 void[] b2 = a.allocate((numPages + 1) * pageSize);
[all …]
H A Daligned_block_list.d592 enum pageSize = 4096; variable
614 auto size = uniform(1, pageSize + 1, rnd); in fun()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/builtins/
H A Denable_execute_stack.c58 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()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/safestack/
H A Dsafestack.cc77 static unsigned pageSize; variable
239 CHECK_EQ((guard & (pageSize - 1)), 0); in INTERCEPTOR()
284 pageSize = sysconf(_SC_PAGESIZE); in __safestack_init()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/gc/
H A Dos.d296 const pageSize = sysconf(_SC_PAGESIZE); in version() local
298 return pageSize * pages; in version()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/
H A Dmemory.d178 immutable size_t pageSize; variable
183 ubyte[] buffer = new ubyte[pageSize];
212 (cast() pageSize) = cast(size_t) sysconf(_SC_PAGESIZE); in private()
220 (cast() pageSize) = cast(size_t) si.dwPageSize; in private()
/netbsd-src/external/bsd/openldap/dist/clients/tools/
H A Dldapsearch.c259 static ber_int_t pageSize = 0; variable
483 pageSize = (ber_int_t) tmp; in handle_private_option()
1290 pageSize, &pr_cookie, &c[i].ldctl_value ) ) in main()
1523 pageSize ); in main()
1581 if (( rc == LDAP_SUCCESS ) && pageSize && pr_morePagedResults ) { in main()
1593 (int)pageSize ); in main()
1613 pageSize = (ber_int_t)tmpSize; in main()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Duni.d3888 enum pageSize = 1 << Prefix[level].bitSize; in addValue() local
3902 if (j % pageSize == 0) in addValue()
3908 immutable nextPB = (j + pageSize) & ~(pageSize-1); in addValue()
3929 numVals/pageSize); in addValue()
3931 numVals %= pageSize; in addValue()
3935 while (numVals >= pageSize) in addValue()
3937 numVals -= pageSize; in addValue()
3938 ptr[j .. j+pageSize] = val; in addValue()
3939 j += pageSize; in addValue()
3966 enum pageSize = 1 << Prefix[level].bitSize; in spillToNextPageImpl() local
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/uni/
H A Dpackage.d3878 enum pageSize = 1 << Prefix[level].bitSize;
3892 if (j % pageSize == 0)
3898 immutable nextPB = (j + pageSize) & ~(pageSize-1);
3919 numVals/pageSize);
3921 numVals %= pageSize;
3925 while (numVals >= pageSize)
3927 numVals -= pageSize;
3928 ptr[j .. j+pageSize] = val;
3929 j += pageSize;
3956 enum pageSize = 1 << Prefix[level].bitSize;
[all …]
/netbsd-src/external/bsd/openldap/dist/doc/rfc/
H A Drfc2696.txt121 optionally a modified pageSize. The cookie MUST be the octet string
212 size parameter may be mapped onto pageSize. The cookie parameter may
/netbsd-src/external/public-domain/sqlite/dist/
H A Dsqlite3.c15774 #define PAGER_SJ_PGNO_COMPUTED(x) ((Pgno)((PENDING_BYTE/((x)->pageSize))+1))
57434 i64 pageSize; /* Number of bytes in a page */
57511 #define JOURNAL_PG_SZ(pPager) ((pPager->pageSize) + 8)
57966 int szPage = pPager->pageSize;
57999 return pager_datahash(pPage->pPager->pageSize, (unsigned char *)pPage->pData);
58191 u32 nHeader = (u32)pPager->pageSize;/* Size of buffer pointed to by zHeader */
58275 put32bits(&zHeader[sizeof(aJournalMagic)+16], pPager->pageSize);
58394 iPageSize = pPager->pageSize;
58983 int i = pPager->pageSize-200; /* Loop counter */
59069 rc = sqlite3OsRead(jfd, (u8*)aData, pPager->pageSize, (*pOffset)+4);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
H A DMachO.h2164 uint8_t pageSize; /* log2(page size in bytes); 0 => infinite */ member