| /src/distrib/common/ |
| buildfloppies.sh | 64 roundup() function 129 blocks=$(roundup ${bytes} 512) 133 numdisks=$(roundup ${blocks}-16 ${floppysize}-16) 150 pad_bytes=$(($(roundup $file_bytes 512) * 512 - $file_bytes))
|
| /src/sys/arch/landisk/stand/boot/ |
| boot.h | 14 #ifndef roundup 15 #define roundup(v,s) ((v + ((s) - 1)) & (~((s) - 1))) macro
|
| /src/sys/arch/hppa/spmath/ |
| sfrem.c | 59 register int roundup = false; local 233 roundup = true; 254 else if (Sgl_isequal(opnd1,opnd2) && roundup) {
|
| dfrem.c | 60 register int roundup = false; local 238 roundup = true; 260 else if (Dbl_isequal(opnd1p1,opnd1p2,opnd2p1,opnd2p2) && roundup) {
|
| /src/usr.sbin/installboot/ |
| cd9660.c | 61 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro 220 roundup(isonum_733(idr->size), blocksize);
|
| /src/sys/arch/macppc/stand/installboot/ |
| installboot.c | 44 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
|
| /src/lib/libc/gdtoa/ |
| hdtoa.c | 75 roundup(char *s0, int ndigits) function 108 adjust = roundup(s0, ndigits); 112 adjust = roundup(s0, ndigits); 116 adjust = roundup(s0, ndigits);
|
| /src/sys/arch/zaurus/stand/zbsdmod/ |
| zbsdmod.c | 171 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro 172 elfv = maxv = roundup(maxv, sizeof(long)); 178 maxv += roundup(sz, sizeof(long)); 186 off = roundup((sizeof(Elf_Ehdr) + sz), sizeof(long)); 202 maxv += roundup(shp[i].sh_size, sizeof(long)); 204 off += roundup(shp[i].sh_size, sizeof(long));
|
| /src/lib/libc/locale/ |
| rune.c | 77 #define roundup(X, N) ((((X) + ((N) - 1))/(N))*(N)) macro 89 nbytes = page_size + roundup(elemsize*nelem, page_size); 116 nbytes = page_size + roundup(elemsize*nelem, page_size);
|
| /src/external/cddl/osnet/dist/uts/common/sys/ |
| sysmacros.h | 233 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
|
| /src/external/gpl2/gettext/dist/gettext-tools/src/ |
| write-mo.c | 58 #ifndef roundup 60 # define roundup(x, y) ({typeof(x) _x = (x); typeof(y) _y = (y); \ macro 63 # define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro 65 #endif /* roundup */ 514 offset = roundup (offset, alignment); 535 offset = roundup (offset, alignment); 608 offset = roundup (offset, alignment); 667 offset = roundup (offset, alignment); 715 fwrite (null, roundup (offset, alignment) - offset, 1, output_file); 716 offset = roundup (offset, alignment) [all...] |
| /src/sys/dev/sdmmc/ |
| sdhc.c | 1038 u_int roundup = dvs & 1; local 1040 if (dvs + roundup <= 16) { 1041 dvs += roundup - 1; 1053 roundup |= dvs & 1;
|
| /src/external/bsd/pcc/dist/pcc/f77/fcom/ |
| defines.h | 264 #define roundup(a,b) ( b * ( (a+b-1)/b) ) macro
|
| /src/external/gpl3/binutils/dist/libctf/ |
| ctf-create.c | 28 #ifndef roundup 29 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro 1280 off = roundup (off, CHAR_BIT) / CHAR_BIT; 1281 off = roundup (off, MAX (malign, 1));
|
| /src/external/gpl3/binutils.old/dist/libctf/ |
| ctf-create.c | 28 #ifndef roundup 29 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro 1280 off = roundup (off, CHAR_BIT) / CHAR_BIT; 1281 off = roundup (off, MAX (malign, 1));
|
| /src/external/gpl3/gdb.old/dist/libctf/ |
| ctf-create.c | 29 #ifndef roundup 30 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro 1277 off = roundup (off, CHAR_BIT) / CHAR_BIT; 1278 off = roundup (off, MAX (malign, 1));
|
| /src/external/gpl3/gdb/dist/libctf/ |
| ctf-create.c | 28 #ifndef roundup 29 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro 1280 off = roundup (off, CHAR_BIT) / CHAR_BIT; 1281 off = roundup (off, MAX (malign, 1));
|
| /src/external/bsd/libpcap/dist/ |
| pcap-bpf.c | 2167 #ifndef roundup 2168 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ macro 2170 pb->zbufsize = roundup(v, getpagesize());
|
| /src/sys/sys/ |
| param.h | 433 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
|
| /src/tools/compat/ |
| compat_defs.h | 1307 #undef roundup macro 1308 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
|
| /src/sys/external/isc/atheros_hal/dist/ |
| ah_internal.h | 34 #ifndef roundup 35 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ macro
|