HomeSort by relevance Sort by last modified time
    Searched full:pagesize (Results 26 - 50 of 425) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/compiler-rt/lib/sanitizer_common/
sanitizer_common.cc 23 static uptr PageSize;
24 if (!PageSize)
25 PageSize = GetPageSize();
26 return PageSize;
99 uptr PageSize = GetPageSizeCached();
100 uptr kMinFileLen = PageSize;
115 while (read_len + PageSize <= size) {
116 uptr just_read = internal_read(fd, *buff + read_len, PageSize);
145 // uptr PageSize = GetPageSizeCached();
sanitizer_posix.cc 84 uptr PageSize = GetPageSizeCached();
85 uptr p = internal_mmap((void*)(fixed_addr & ~(PageSize - 1)),
86 RoundUpTo(size, PageSize),
99 uptr PageSize = GetPageSizeCached();
100 uptr p = internal_mmap((void*)(fixed_addr & ~(PageSize - 1)),
101 RoundUpTo(size, PageSize),
  /external/harfbuzz_ng/test/api/
test-blob.c 116 uintptr_t pagesize = -1; local
119 pagesize = (uintptr_t) sysconf (_SC_PAGE_SIZE);
121 pagesize = (uintptr_t) sysconf (_SC_PAGESIZE);
123 pagesize = (uintptr_t) getpagesize ();
126 g_assert (pagesize != (uintptr_t) -1);
128 return pagesize;
172 uintptr_t pagesize = get_pagesize (); local
174 data = mmap (NULL, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
177 mprotect ((char *) data, pagesize, PROT_READ);
  /external/chromium_org/third_party/mach_override/
mach_override.c 163 vm_size_t pageSize;
164 host_page_size( mach_host_self(), &pageSize );
165 uintptr_t page = (uintptr_t)address & ~(uintptr_t)(pageSize-1);
167 e |= mprotect((void *)page, pageSize, PROT_EXEC | PROT_READ);
168 e |= msync((void *)page, pageSize, MS_INVALIDATE );
396 vm_size_t pageSize;
397 err = host_page_size( mach_host_self(), &pageSize );
399 assert( sizeof( BranchIsland ) <= pageSize );
402 mach_error_t err = vm_allocate( mach_task_self(), &page, pageSize, VM_FLAGS_ANYWHERE );
412 vm_address_t last = 0xfe000000 + pageSize;
    [all...]
  /external/chromium_org/base/process/
process_metrics_openbsd.cc 151 int pagesize; local
163 pagesize = getpagesize();
165 return mem_total - (mem_free*pagesize) - (mem_inactive*pagesize);
  /external/chromium_org/third_party/tcmalloc/chromium/src/
system-alloc.cc 253 static size_t pagesize = 0; variable
425 if (pagesize == 0) pagesize = getpagesize();
426 if (alignment < pagesize) alignment = pagesize;
439 // Ask for extra memory if alignment > pagesize
441 if (alignment > pagesize) {
442 extra = alignment - pagesize;
505 if (pagesize == 0) pagesize = getpagesize()
    [all...]
  /external/chromium_org/tools/gyp/data/win/
large-pdb-shim.cc 5 // This file is used to generate an empty .pdb -- with a 4KB pagesize -- that is
  /libcore/luni/src/main/java/java/nio/
MappedByteBuffer.java 62 int pageSize = (int) Libcore.os.sysconf(_SC_PAGE_SIZE);
63 int pageOffset = (int) (address % pageSize);
66 int pageCount = (int) ((size + pageSize - 1) / pageSize);
  /external/libselinux/src/
sestatus.c 259 long pagesize; local
266 pagesize = sysconf(_SC_PAGESIZE);
267 if (pagesize < 0)
275 selinux_status = mmap(NULL, pagesize, PROT_READ, MAP_SHARED, fd, 0);
325 long pagesize; local
340 pagesize = sysconf(_SC_PAGESIZE);
342 if (pagesize > 0)
343 munmap(selinux_status, pagesize);
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_common_test.cc 69 uptr PageSize = GetPageSizeCached();
74 size * PageSize, alignment * PageSize, "MmapAlignedOrDieTest");
75 EXPECT_EQ(0U, res % (alignment * PageSize));
76 internal_memset((void*)res, 1, size * PageSize);
77 UnmapOrDie((void*)res, size * PageSize);
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-blob.cc 390 uintptr_t pagesize = -1, mask, length; local
394 pagesize = (uintptr_t) sysconf (_SC_PAGE_SIZE);
396 pagesize = (uintptr_t) sysconf (_SC_PAGESIZE);
398 pagesize = (uintptr_t) getpagesize ();
401 if ((uintptr_t) -1L == pagesize) {
402 DEBUG_MSG_FUNC (BLOB, blob, "failed to get pagesize: %s", strerror (errno));
405 DEBUG_MSG_FUNC (BLOB, blob, "pagesize is %lu", (unsigned long) pagesize);
407 mask = ~(pagesize-1);
409 length = (const char *) (((uintptr_t) blob->data + blob->length + pagesize-1) & mask) - addr
    [all...]
  /frameworks/native/libs/binder/
MemoryDealer.cpp 185 size_t pagesize = getpagesize(); local
188 start &= ~(pagesize-1);
189 end = (end + pagesize-1) & ~(pagesize-1);
198 start = (start + pagesize-1) & ~(pagesize-1);
199 end &= ~(pagesize-1);
274 size_t pagesize = getpagesize(); local
275 mHeapSize = ((size + pagesize-1) & ~(pagesize-1))
319 size_t pagesize = getpagesize(); local
    [all...]
  /external/chromium_org/third_party/sqlite/src/test/
filefmt.test 61 foreach pagesize {512 1024 2048 4096 8192 16384 32768} {
63 && $pagesize>$SQLITE_MAX_PAGE_SIZE} continue
64 do_test filefmt-1.5.$pagesize.1 {
69 db eval "PRAGMA page_size=$pagesize"
72 } [expr $pagesize*2]
73 do_test filefmt-1.5.$pagesize.2 {
75 } $pagesize
  /external/chromium_org/chrome/browser/resources/print_preview/data/
document_info.js 142 get pageSize() {
203 * @param {!print_preview.Size} pageSize Size of the pages of the document
210 printableArea, pageSize, hasCssMediaStyles, margins) {
213 !this.pageSize_.equals(pageSize) ||
217 this.pageSize_ = pageSize;
  /frameworks/base/core/java/android/database/sqlite/
SQLiteDebug.java 125 public long pageSize;
136 public DbStats(String dbName, long pageCount, long pageSize, int lookaside,
139 this.pageSize = pageSize / 1024;
140 dbSize = (pageCount * pageSize) / 1024;
  /external/chromium_org/third_party/skia/src/pdf/
SkPDFDeviceFlattener.cpp 16 SkPDFDeviceFlattener::SkPDFDeviceFlattener(const SkSize& pageSize, const SkRect* trimBox)
17 : SkPDFDevice(SkSizeToISize(pageSize),
18 SkSizeToISize(pageSize),
  /external/compiler-rt/lib/asan/lit_tests/TestCases/
dlclose-test.cc 45 size_t PageSize = sysconf(_SC_PAGESIZE);
69 size_t page_beg = ((size_t)addr) & ~(PageSize - 1);
70 void *res = mmap((void*)(page_beg), PageSize,
  /external/skia/src/pdf/
SkPDFDeviceFlattener.cpp 16 SkPDFDeviceFlattener::SkPDFDeviceFlattener(const SkSize& pageSize, const SkRect* trimBox)
17 : SkPDFDevice(SkSizeToISize(pageSize),
18 SkSizeToISize(pageSize),
  /system/extras/kexec_tools/
kexecload.c 23 #define ROUND_TO_PAGE(address,pagesize) ((address + pagesize - 1) & (~(pagesize - 1)))
  /external/chromium_org/third_party/WebKit/Source/heap/
Heap.cpp 65 static const size_t pageSize = getpagesize();
67 static size_t pageSize = 0;
68 if (!pageSize) {
71 pageSize = info.dwPageSize;
72 ASSERT(IsPowerOf2(pageSize));
75 return pageSize;
  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
memalign_unittest.cc 194 const int pagesize = getpagesize(); local
199 CheckAlignment(p, pagesize);
210 CheckAlignment(p, pagesize);
211 int alloc_needed = ((s + pagesize - 1) / pagesize) * pagesize;
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
memalign_unittest.cc 194 const int pagesize = getpagesize(); local
199 CheckAlignment(p, pagesize);
210 CheckAlignment(p, pagesize);
211 int alloc_needed = ((s + pagesize - 1) / pagesize) * pagesize;
  /external/chromium_org/skia/ext/
vector_platform_device_skia.cc 23 const SkISize& pageSize,
26 : SkPDFDevice(pageSize, contentSize, initialTransform) {
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
mmapped_buffer.h 40 const int pagesize = getpagesize(); local
41 const int offset = bufferOffset % pagesize;
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/
limits.h 92 #ifndef PAGESIZE
93 #define PAGESIZE PAGE_SIZE

Completed in 1070 milliseconds

12 3 4 5 6 7 8 91011>>