Home
last modified time | relevance | path

Searched refs:roundup (Results 1 – 17 of 17) sorted by relevance

/external/valgrind/memcheck/tests/amd64/
Dinsn-pcmpistri.c40 const size_t roundup = ((len+15)/16)*16; in test_strlen() local
44 posix_memalign(&space, 16, roundup); in test_strlen()
45 memset(space, 'x', roundup); in test_strlen()
53 for (i=len ; i < roundup ; ++i) in test_strlen()
/external/mesa3d/src/mesa/main/
Dvsnprintf.c44 #ifndef roundup
45 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
74 e = (char *)roundup((unsigned long)e, pgsize);
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress09.c77 #ifdef roundup
78 #undef roundup
80 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
219 mappages = roundup(mapsize, pagesize) / pagesize; in main()
Dmmapstress01.c94 #ifdef roundup
95 #undef roundup
97 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
508 mappages = roundup(mapsize, pagesize) / pagesize;
651 mappages = roundup(mapsize, pagesize) / pagesize;
Dmmapstress10.c105 #ifdef roundup
106 #undef roundup
108 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
585 mappages = roundup(mapsize_mapper, pagesize) / pagesize;
834 mappages = roundup(mapsize, pagesize) / pagesize;
/external/vboot_reference/futility/
Dvb1_helper.c90 static uint64_t roundup(uint64_t val, uint64_t alignment) in roundup() function
188 roundup(kernel32_size, CROS_ALIGN) + in PickApartVmlinuz()
645 g_bootloader_size = roundup(bootloader_size, CROS_ALIGN); in CreateKernelBlob()
648 roundup(g_kernel_size, CROS_ALIGN) + in CreateKernelBlob()
663 now += roundup(g_kernel_size, CROS_ALIGN); in CreateKernelBlob()
/external/openssh/
Dsshbuf.c255 rlen = roundup(buf->size, SSHBUF_SIZE_INC); in sshbuf_set_max_size()
345 rlen = roundup(buf->alloc + need, SSHBUF_SIZE_INC); in sshbuf_reserve()
Ddefines.h460 #ifndef roundup
461 # define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
Dkex.c772 if ((digest = calloc(1, roundup(need, mdsz))) == NULL) { in derive_key()
Dscp.c1325 size = roundup(stb.st_blksize, blksize);
Dsshconnect.c1378 size = roundup(strlen(password) + 1, 32); in ssh_put_password()
Dpacket.c1120 roundup(state->extra_pad, block_size); in ssh_packet_send2_wrapped()
/external/syslinux/core/fs/xfs/
Dxfs.h495 #define roundup(x, y) ( \ macro
504 return (int)roundup(offsetof(struct xfs_dir2_data_entry, name[0]) + n + in xfs_dir2_data_entsize()
/external/libpcap/
Dpcap-bpf.c1720 #ifndef roundup
1721 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ macro
1723 pb->zbufsize = roundup(v, getpagesize());
/external/elfutils/src/
Dstrings.c485 roundup (2 * min_len_bytes + 1, ps)); in map_file()
/external/ImageMagick/coders/
Djpeg.c1975 roundup; in WriteProfile() local
1982 roundup=(size_t) (length & 0x01); in WriteProfile()
1997 if (roundup != 0) in WriteProfile()
2000 custom_profile),(unsigned int) (length+tag_length+roundup)); in WriteProfile()
/external/jline/src/src/test/resources/jline/example/
Denglish.gz