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

123

/macosx-10.9.5/dcerpc-58/dcerpc/idl_lib/
H A Dround.c.h179 int roundup, more_bits; variable
197 roundup = r[i] & bit_mask;
200 roundup = 0;
225 if ( ! ( roundup = more_bits ) )
228 roundup = r[i] & (bit_mask << 1);
230 roundup = r[i-1] & 1;
237 roundup = (r[i] & bit_mask) | more_bits;
242 roundup = (r[i] & bit_mask) | more_bits;
246 if ( roundup ) { /* Perform rounding if necessary */
/macosx-10.9.5/Heimdal-323.92.1/appl/rcp/
H A Dutil.c141 #ifndef roundup
142 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
158 size = roundup(stb.st_blksize, blksize);
/macosx-10.9.5/network_cmds-433/traceroute.tproj/
H A Dfindsaddr-socket.c109 #ifndef roundup
110 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ macro
160 cp += roundup(SALEN((struct sockaddr *)sp), sizeof(u_int32_t));
229 cp += roundup(SALEN(sa), sizeof (u_int32_t));
/macosx-10.9.5/smb-697.95.1/lib/librpc/
H A Dmemory.hpp88 #ifndef roundup
89 #define roundup(value, boundary) ( \ macro
100 tmp = roundup(tmp, (uintptr_t)alignof(T));
110 tmp = roundup(tmp, (uintptr_t)alignof(T));
120 tmp = roundup(tmp, (uintptr_t)n);
130 tmp = roundup(tmp, n);
H A Drpc_helpers.hpp44 return roundup(sizeof(struct rpc_mempool), 16);
/macosx-10.9.5/remote_cmds-41.90.1/rlogin.tproj/
H A Ddes_rw.c155 rd_len = roundup(net_len, 8);
223 (void) write(fd, des_outbuf, roundup(len,8));
/macosx-10.9.5/Libc-997.90.3/gdtoa/FreeBSD/
H A D_hdtoa.c49 roundup(char *s0, int ndigits) function
82 adjust = roundup(s0, ndigits);
86 adjust = roundup(s0, ndigits);
90 adjust = roundup(s0, ndigits);
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libtiff/tools/
H A Drgb2ycbcr.c47 #define roundup(x, y) (howmany(x,y)*((uint32)(y))) macro
250 uint32 rwidth = roundup(width, horizSubSampling);
251 uint32 rheight = roundup(height, vertSubSampling);
253 uint32 rnrows = roundup(nrows,vertSubSampling);
261 nr = roundup(nr, vertSubSampling);
H A Dtiff2rgba.c47 #define roundup(x, y) (howmany(x,y)*((uint32)(y))) macro
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dbuffer.c129 newlen = roundup(buffer->alloc + len, BUFFER_ALLOCSZ);
155 if (roundup(buffer->alloc + len, BUFFER_ALLOCSZ) <= BUFFER_MAX_LEN)
H A Ddefines.h431 #ifndef roundup
432 # define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
/macosx-10.9.5/dtrace-118.1/libdtrace/
H A Ddt_buf.c94 size_t adj = roundup(off, align) - off;
147 return (roundup(off, align));
H A Ddt_dof.c856 lsize = roundup(h.dofh_loadsz, sizeof (uint64_t));
922 roundup(sizeof (dof_sec_t), sizeof (uint64_t));
951 roundup(sizeof (dof_sec_t), sizeof (uint64_t)));
/macosx-10.9.5/text_cmds-87/column/
H A Dcolumn.c140 maxlength = roundup(maxlength + 1, TAB);
170 while ((cnt = roundup(chcnt + 1, TAB)) <= endcol) {
198 while ((cnt = roundup(chcnt + 1, TAB)) <= endcol) {
/macosx-10.9.5/remote_cmds-41.90.1/rcp.tproj/
H A Dutil.c139 size = roundup(stb.st_blksize, blksize);
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Dparam.h219 #define roundup(x, y) ((((x) % (y)) == 0) ? \ macro
H A Dtty.h178 #define TTMAXHIWAT roundup(2048, CBSIZE)
179 #define TTMINHIWAT roundup(100, CBSIZE)
/macosx-10.9.5/eap8021x-180/EAP8021X.fproj/
H A DEAPSIMAKA.h151 return (roundup(length, TLV_ALIGNMENT));
253 #define AT_ENCR_DATA_ROUNDUP(size) roundup((size), AT_ENCR_DATA_ALIGNMENT)
H A Deapttls_plugin.c381 password_length_r = roundup(plugin->password_length, 16);
382 user_length_r = roundup(plugin->username_length, 4);
504 user_length_r = roundup(plugin->username_length, 4);
520 data_length_r = roundup(data_length, 4);
608 user_length_r = roundup(plugin->username_length, 4);
624 data_length_r = roundup(data_length, 4);
722 user_length_r = roundup(plugin->username_length, 4);
739 data_length_r = roundup(data_length, 4);
/macosx-10.9.5/emacs-92/emacs/src/
H A Dunexhp9k800.c79 #undef roundup macro
80 #define roundup(x,n) (((x) + ((n) - 1)) & ~((n) - 1)) /* n is power of 2 */
78 #undef roundup macro
/macosx-10.9.5/libutil-34/
H A Dwipefs.cpp37 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
284 newEndOffset = roundup(byteOffset + numBytes, nativeBlockSize);
/macosx-10.9.5/xnu-2422.115.4/bsd/vfs/
H A Dvfs_attrlist.c118 ab->fixedcursor += roundup(count, 4);
173 ab->varcursor = (char *)roundup((uintptr_t)ab->varcursor, 4);
258 ab->varcursor += roundup((count+1), 4);
1000 varsize += roundup(cnl + 1, 4);
1003 varsize += roundup(strlen(mnt->mnt_vfsstat.f_mntonname) + 1, 4);
1006 varsize += roundup(strlen(vs.f_vol_name) + 1, 4);
1009 varsize += roundup(strlen(mnt->mnt_vfsstat.f_mntfromname) + 1, 4);
1602 varsize += roundup(cnl + 1, 4);
1622 varsize += roundup(fullpathlen+1, 4);
1640 varsize += roundup((KAUTH_FILESEC_SIZ
[all...]
/macosx-10.9.5/bootp-268.1/bootplib/
H A Dcfutil.c230 *buffer_size = roundup(space, sizeof(char *));
244 space = roundup(count * sizeof(*list), sizeof(char *));
H A Dinetroute.c64 ? roundup(sa->sa_len, sizeof(uint32_t))
/macosx-10.9.5/BootCache-106/
H A Dkext.c1254 (int) roundup(nextoffset + nextlength, PAGE_SIZE),
2819 * optional for power-of-two blocksize roundup:
2849 roundsize = roundup(ce->ce_length, PAGE_SIZE);
2857 if (roundup(ce->ce_length, PAGE_SIZE) > roundsize) {
3820 size += roundup(ce->ce_length, PAGE_SIZE);
3931 size += roundup(cache_extents->ce_length, PAGE_SIZE);
3964 size = roundup(size, PAGE_SIZE * CB_MAPFIELDBITS);
4003 p = last_ce->ce_cacheoffset + roundup(last_ce->ce_length, PAGE_SIZE);
4010 p += roundup(cache_extents[ce_idx].ce_length, PAGE_SIZE);

Completed in 208 milliseconds

123