/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise07.c | 52 const size_t msize = getpagesize(); in run_child() local 57 msize); in run_child() 59 msize, in run_child() 64 memset(mem, 'L', msize); in run_child() 66 tst_res(TINFO, "madvise(%p, %zu, MADV_HWPOISON)", mem, msize); in run_child() 67 if (madvise(mem, msize, MADV_HWPOISON) == -1) { in run_child()
|
/external/syslinux/com32/mboot/ |
D | map.c | 179 addr_t msize = ph->p_memsz; in map_image() local 180 addr_t dsize = min(msize, ph->p_filesz); in map_image() 183 && eh->e_entry < ph->p_vaddr + msize) in map_image() 187 addr, dsize, msize); in map_image() 189 if (syslinux_memmap_type(amap, addr, msize) != SMT_FREE) { in map_image() 192 addr, msize); in map_image() 197 if (syslinux_add_memmap(&amap, addr, msize, SMT_ALLOC)) { in map_image() 210 if (msize > dsize) { in map_image() 213 (&mmap, addr + dsize, msize - dsize, SMT_ZERO)) { in map_image() 218 if (addr + msize > mboot_high_water_mark) in map_image() [all …]
|
/external/syslinux/com32/modules/ |
D | elf.c | 134 addr_t msize = ph->p_memsz; in boot_elf() local 135 addr_t dsize = min(msize, ph->p_filesz); in boot_elf() 138 addr, dsize, msize); in boot_elf() 140 if (syslinux_memmap_type(amap, addr, msize) != SMT_FREE) { in boot_elf() 142 addr, msize); in boot_elf() 156 if (msize > dsize) { in boot_elf() 159 (&mmap, addr + dsize, msize - dsize, SMT_ZERO)) in boot_elf()
|
/external/tcpdump/ |
D | print-tipc.c | 164 u_int msize; in print_payload() local 179 msize = TIPC_MSIZE(w0); in print_payload() 190 hsize*4, msize, in print_payload() 203 hsize*4, msize, in print_payload() 229 u_int msize; in print_internal() local 249 msize = TIPC_MSIZE(w0); in print_internal() 258 hsize*4, msize, in print_internal() 297 u_int msize; in print_link_conf() local 309 msize = TIPC_MSIZE(w0); in print_link_conf() 319 hsize*4, msize, in print_link_conf()
|
/external/linux-kselftest/tools/testing/selftests/ipc/ |
D | msgque.c | 14 int msize; member 67 msgque->messages[i].msize, IPC_NOWAIT) != 0) { in restore_queue() 96 if (ret != msgque->messages[cnt].msize) { in check_and_destroy_queue() 98 msgque->messages[cnt].msize); in check_and_destroy_queue() 167 msgque->messages[i].msize = ret; in dump_queue()
|
/external/eigen/bench/ |
D | benchmark-blocking-sizes.cpp | 573 for (size_t msize = minsize; msize <= maxsize; msize *= 2) { in run() local 576 for (size_t mblock = minsize; mblock <= msize; mblock *= 2) { in run() 578 benchmarks.emplace_back(ksize, msize, nsize, kblock, mblock, nblock); in run() 604 for (size_t msize = minsize; msize <= maxsize; msize *= 2) { in run() local 606 benchmarks.emplace_back(ksize, msize, nsize); in run()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv03.c | 69 int msize; member 101 TEST(msgrcv(*(TC[i].queue_id), &rcv_buf, TC[i].msize, in main()
|
/external/v8/src/base/platform/ |
D | platform-solaris.cc | 57 const size_t msize = RoundUp(requested, getpagesize()); in Allocate() local 59 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() 62 *allocated = msize; in Allocate()
|
D | platform-macos.cc | 57 const size_t msize = RoundUp(requested, getpagesize()); in Allocate() local 60 msize, in Allocate() 66 *allocated = msize; in Allocate()
|
D | platform-aix.cc | 68 const size_t msize = RoundUp(requested, getpagesize()); in Allocate() local 70 void* mbase = mmapHelper(msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 73 *allocated = msize; in Allocate()
|
D | platform-cygwin.cc | 55 const size_t msize = RoundUp(requested, sysconf(_SC_PAGESIZE)); in Allocate() local 57 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 59 *allocated = msize; in Allocate()
|
D | platform-freebsd.cc | 62 const size_t msize = RoundUp(requested, getpagesize()); in Allocate() local 64 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() 67 *allocated = msize; in Allocate()
|
D | platform-qnx.cc | 111 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate() local 114 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 116 *allocated = msize; in Allocate()
|
D | platform-openbsd.cc | 60 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate() local 63 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() 65 *allocated = msize; in Allocate()
|
D | platform-linux.cc | 114 const size_t msize = RoundUp(requested, AllocateAlignment()); in Allocate() local 117 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 119 *allocated = msize; in Allocate()
|
D | platform-win32.cc | 783 size_t msize = RoundUp(requested, static_cast<int>(GetPageSize())); in Allocate() local 788 LPVOID mbase = RandomizedVirtualAlloc(msize, in Allocate() 796 *allocated = msize; in Allocate()
|
/external/elfutils/libelf/ |
D | elf32_fsize.c | 68 local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize))
|
/external/python/cpython2/Modules/_ctypes/ |
D | libffi.diff | 179 if (capacity > msize + TOP_FOOT_SIZE && 180 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) {
|
/external/python/cpython3/Modules/_ctypes/ |
D | libffi.diff | 179 if (capacity > msize + TOP_FOOT_SIZE && 180 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) {
|
/external/libevent/ |
D | evmap.c | 204 evmap_make_space(struct event_signal_map *map, int slot, int msize) in evmap_make_space() argument 213 tmp = (void **)mm_realloc(map->entries, nentries * msize); in evmap_make_space() 218 (nentries - map->nentries) * msize); in evmap_make_space()
|
/external/python/cpython3/Modules/_ctypes/libffi/src/ |
D | dlmalloc.c | 4474 size_t msize = pad_request(sizeof(struct malloc_state)); in init_user_mstate() local 4478 memset(m, 0, msize); in init_user_mstate() 4480 msp->head = (msize|PINUSE_BIT|CINUSE_BIT); in init_user_mstate() 4495 size_t msize = pad_request(sizeof(struct malloc_state)); in create_mspace() local 4498 if (capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace() 4500 (capacity + TOP_FOOT_SIZE + msize)); in create_mspace() 4514 size_t msize = pad_request(sizeof(struct malloc_state)); in create_mspace_with_base() local 4517 if (capacity > msize + TOP_FOOT_SIZE && in create_mspace_with_base() 4518 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace_with_base()
|
/external/libffi/src/ |
D | dlmalloc.c | 4469 size_t msize = pad_request(sizeof(struct malloc_state)); in init_user_mstate() local 4473 memset(m, 0, msize); in init_user_mstate() 4475 msp->head = (msize|PINUSE_BIT|CINUSE_BIT); in init_user_mstate() 4490 size_t msize = pad_request(sizeof(struct malloc_state)); in create_mspace() local 4493 if (capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace() 4495 (capacity + TOP_FOOT_SIZE + msize)); in create_mspace() 4509 size_t msize = pad_request(sizeof(struct malloc_state)); in create_mspace_with_base() local 4512 if (capacity > msize + TOP_FOOT_SIZE && in create_mspace_with_base() 4513 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace_with_base()
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
D | dlmalloc.c | 4474 size_t msize = pad_request(sizeof(struct malloc_state)); in init_user_mstate() local 4478 memset(m, 0, msize); in init_user_mstate() 4480 msp->head = (msize|PINUSE_BIT|CINUSE_BIT); in init_user_mstate() 4495 size_t msize = pad_request(sizeof(struct malloc_state)); in create_mspace() local 4498 if (capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace() 4500 (capacity + TOP_FOOT_SIZE + msize)); in create_mspace() 4514 size_t msize = pad_request(sizeof(struct malloc_state)); in create_mspace_with_base() local 4517 if (capacity > msize + TOP_FOOT_SIZE && in create_mspace_with_base() 4518 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace_with_base()
|
/external/dlmalloc/ |
D | malloc.c | 5438 size_t msize = pad_request(sizeof(struct malloc_state)); in init_user_mstate() local 5442 memset(m, 0, msize); in init_user_mstate() 5444 msp->head = (msize|INUSE_BITS); in init_user_mstate() 5462 size_t msize; in create_mspace() local 5464 msize = pad_request(sizeof(struct malloc_state)); in create_mspace() 5465 if (capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace() 5467 (capacity + TOP_FOOT_SIZE + msize)); in create_mspace() 5481 size_t msize; in create_mspace_with_base() local 5483 msize = pad_request(sizeof(struct malloc_state)); in create_mspace_with_base() 5484 if (capacity > msize + TOP_FOOT_SIZE && in create_mspace_with_base() [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3ext.h | 260 sqlite3_uint64 (*msize)(void*); member 533 #define sqlite3_msize sqlite3_api->msize
|