Searched refs:roundup (Results 1 - 15 of 15) sorted by relevance

/external/valgrind/memcheck/tests/amd64/
H A Dinsn-pcmpistri.c40 const size_t roundup = ((len+15)/16)*16; local
44 posix_memalign(&space, 16, roundup);
45 memset(space, 'x', roundup);
53 for (i=len ; i < roundup ; ++i)
/external/mesa3d/src/mesa/main/
H A 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/
H A Dmmapstress09.c77 #ifdef roundup
78 #undef roundup macro
80 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
219 mappages = roundup(mapsize, pagesize) / pagesize;
H A Dmmapstress01.c94 #ifdef roundup
95 #undef roundup macro
97 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
508 mappages = roundup(mapsize, pagesize) / pagesize;
651 mappages = roundup(mapsize, pagesize) / pagesize;
H A Dmmapstress10.c105 #ifdef roundup
106 #undef roundup macro
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/
H A Dvb1_helper.c90 static uint64_t roundup(uint64_t val, uint64_t alignment) function
188 roundup(kernel32_size, CROS_ALIGN) +
645 g_bootloader_size = roundup(bootloader_size, CROS_ALIGN);
648 roundup(g_kernel_size, CROS_ALIGN) +
663 now += roundup(g_kernel_size, CROS_ALIGN);
/external/openssh/
H A Dsshbuf.c21 #include <sys/param.h> /* roundup */
255 rlen = roundup(buf->size, SSHBUF_SIZE_INC);
345 rlen = roundup(buf->alloc + need, SSHBUF_SIZE_INC);
H A Ddefines.h460 #ifndef roundup
461 # define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
H A Dkex.c28 #include <sys/param.h> /* MAX roundup */
772 if ((digest = calloc(1, roundup(need, mdsz))) == NULL) {
H A Dsshconnect.c18 #include <sys/param.h> /* roundup */
1378 size = roundup(strlen(password) + 1, 32);
H A Dpacket.c42 #include <sys/param.h> /* MIN roundup */
195 /* roundup current message to extra_pad bytes */
1120 roundup(state->extra_pad, block_size);
2922 /* roundup current message to pad bytes */
/external/syslinux/core/fs/xfs/
H A Dxfs.h495 #define roundup(x, y) ( \ macro
504 return (int)roundup(offsetof(struct xfs_dir2_data_entry, name[0]) + n +
/external/libpcap/
H A 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/ImageMagick/coders/
H A Djpeg.c1983 roundup;
1990 roundup=(size_t) (length & 0x01);
2005 if (roundup != 0)
2008 custom_profile),(unsigned int) (length+tag_length+roundup));
1975 roundup; local
/external/elfutils/src/
H A Dstrings.c485 roundup (2 * min_len_bytes + 1, ps));

Completed in 355 milliseconds