/external/chromium_org/components/nacl/loader/nonsfi/ |
D | nonsfi_sandbox_unittest.cc | 309 return mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE, in DoAllowedAnonymousMmap() 318 BPF_ASSERT_EQ(0, munmap(ptr, getpagesize())); in BPF_TEST_C() 325 mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE, in BPF_DEATH_TEST_C() 333 mmap(NULL, getpagesize(), PROT_READ | PROT_GROWSDOWN, in BPF_DEATH_TEST_C() 341 mmap(NULL, getpagesize(), PROT_EXEC, MAP_ANONYMOUS, -1, 0); in BPF_DEATH_TEST_C() 348 mmap(NULL, getpagesize(), PROT_READ | PROT_EXEC, MAP_ANONYMOUS, -1, 0); in BPF_DEATH_TEST_C() 355 mmap(NULL, getpagesize(), PROT_WRITE | PROT_EXEC, MAP_ANONYMOUS, -1, 0); in BPF_DEATH_TEST_C() 362 mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE | PROT_EXEC, in BPF_DEATH_TEST_C() 371 BPF_ASSERT_EQ(0, mprotect(ptr, getpagesize(), PROT_READ)); in BPF_TEST_C() 372 BPF_ASSERT_EQ(0, munmap(ptr, getpagesize())); in BPF_TEST_C() [all …]
|
/external/libunwind/tests/ |
D | Gtest-dyn1.c | 179 mem = malloc (getpagesize ()); in main() 187 mprotect ((void *) ((long) mem & ~(getpagesize () - 1)), in main() 188 2*getpagesize(), PROT_READ | PROT_WRITE | PROT_EXEC); in main()
|
D | ia64-test-setjmp.c | 87 size_t page_size = getpagesize (); in doit()
|
/external/qemu/util/ |
D | oslib-posix.c | 47 # define QEMU_VMALLOC_ALIGN getpagesize() 111 return qemu_memalign(getpagesize(), size); in qemu_vmalloc() 118 size_t total = size + align - getpagesize(); in qemu_anon_ram_alloc()
|
/external/chromium_org/base/process/ |
D | process_metrics_freebsd.cc | 50 return info.ki_rssize * getpagesize(); in GetWorkingSetSize() 117 pagesize = getpagesize(); in GetSystemCommitCharge()
|
D | process_metrics_openbsd.cc | 52 return info.p_vm_rssize * getpagesize(); in GetWorkingSetSize() 156 pagesize = getpagesize(); in GetSystemCommitCharge()
|
/external/bison/lib/ |
D | unistd.in.h | 816 # define getpagesize rpl_getpagesize 818 _GL_FUNCDECL_RPL (getpagesize, int, (void)); 819 _GL_CXXALIAS_RPL (getpagesize, int, (void)); 822 # if !defined getpagesize 867 # define getpagesize() _gl_getpagesize () 871 getpagesize () 881 _GL_CXXALIAS_SYS_CAST (getpagesize, int, (void)); 884 _GL_CXXALIASWARN (getpagesize); 887 # undef getpagesize 889 _GL_WARN_ON_USE (getpagesize, "getpagesize is unportable - "
|
/external/bison/darwin-lib/ |
D | unistd.h | 1128 # define getpagesize rpl_getpagesize 1130 _GL_FUNCDECL_RPL (getpagesize, int, (void)); 1131 _GL_CXXALIAS_RPL (getpagesize, int, (void)); 1134 # if !defined getpagesize 1179 # define getpagesize() _gl_getpagesize () 1183 getpagesize () 1193 _GL_CXXALIAS_SYS_CAST (getpagesize, int, (void)); 1196 _GL_CXXALIASWARN (getpagesize); 1199 # undef getpagesize 1201 _GL_WARN_ON_USE (getpagesize, "getpagesize is unportable - "
|
/external/bison/linux-lib/ |
D | unistd.h | 1128 # define getpagesize rpl_getpagesize 1130 _GL_FUNCDECL_RPL (getpagesize, int, (void)); 1131 _GL_CXXALIAS_RPL (getpagesize, int, (void)); 1134 # if !defined getpagesize 1179 # define getpagesize() _gl_getpagesize () 1183 getpagesize () 1193 _GL_CXXALIAS_SYS_CAST (getpagesize, int, (void)); 1196 _GL_CXXALIASWARN (getpagesize); 1199 # undef getpagesize 1201 _GL_WARN_ON_USE (getpagesize, "getpagesize is unportable - "
|
/external/chromium_org/tools/android/purge_ashmem/ |
D | purge_ashmem.c | 18 pages_purged, pages_purged * getpagesize() / 1024); in main()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
D | system-alloc.cc | 425 if (pagesize == 0) pagesize = getpagesize(); in Alloc() 505 if (pagesize == 0) pagesize = getpagesize(); in Alloc() 643 pagesize = getpagesize(); in TCMalloc_SystemAddGuard() 662 if (pagesize == 0) pagesize = getpagesize(); in TCMalloc_SystemRelease()
|
D | stacktrace_x86-inl.h | 215 page_size = getpagesize(); in NextStackFrame() 267 static int page_size = getpagesize(); in NextStackFrame()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
D | port.cc | 53 int getpagesize() { in getpagesize() function 226 const int pagesize = getpagesize(); in TCMalloc_SystemAlloc()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
D | stacktrace_x86-inl.h | 212 page_size = getpagesize(); in NextStackFrame() 264 static int page_size = getpagesize(); in NextStackFrame()
|
D | system-alloc.cc | 284 if (pagesize == 0) pagesize = getpagesize(); in Alloc() 368 if (pagesize == 0) pagesize = getpagesize(); in Alloc() 503 if (pagesize == 0) pagesize = getpagesize(); in TCMalloc_SystemRelease()
|
/external/compiler-rt/test/lsan/TestCases/ |
D | register_root_region.cc | 17 size_t size = getpagesize() * 2; in main()
|
/external/kernel-headers/original/uapi/linux/ |
D | shm.h | 19 #define SHMALL (SHMMAX/getpagesize()*(SHMMNI/16))
|
/external/e2fsprogs/lib/ext2fs/ |
D | getsectsize.c | 81 align = getpagesize(); in ext2fs_get_dio_alignment()
|
/external/valgrind/main/none/tests/ |
D | mmap_fcntl_bug.c | 48 if (mmap(NULL, getpagesize(), PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0) == MAP_FAILED) in main()
|
D | map_unmap.c | 52 pagesize = getpagesize(); in main()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
D | port.cc | 54 int getpagesize() { in getpagesize() function 228 const int pagesize = getpagesize(); in TCMalloc_SystemAlloc()
|
/external/chromium_org/ppapi/proxy/ |
D | file_mapping_resource_posix.cc | 85 return getpagesize(); in DoGetMapPageSize()
|
/external/chromium_org/base/ |
D | sys_info_posix.cc | 130 return getpagesize(); in VMAllocationGranularity()
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
D | sunos4.h | 157 extern int getpagesize(void);
|
/external/mesa3d/src/mesa/main/ |
D | vsnprintf.c | 69 pgsize = getpagesize();
|