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

123

/macosx-10.10.1/dcerpc-61/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.10.1/Heimdal-398.1.2/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.10.1/network_cmds-457/traceroute.tproj/
H A Dfindsaddr-socket.c104 #ifndef roundup
105 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ macro
155 cp += roundup(SALEN((struct sockaddr *)sp), sizeof(u_int32_t));
224 cp += roundup(SALEN(sa), sizeof (u_int32_t));
/macosx-10.10.1/smb-759.0/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.10.1/remote_cmds-47/rlogin.tproj/
H A Ddes_rw.c155 rd_len = roundup(net_len, 8);
223 (void) write(fd, des_outbuf, roundup(len,8));
/macosx-10.10.1/Libc-1044.1.2/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.10.1/tcl-105/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.10.1/OpenSSH-189/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.10.1/dtrace-147/libdtrace/
H A Ddt_buf.c88 size_t adj = roundup(off, align) - off;
141 return (roundup(off, align));
/macosx-10.10.1/text_cmds-88/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.10.1/remote_cmds-47/rcp.tproj/
H A Dutil.c139 size = roundup(stb.st_blksize, blksize);
/macosx-10.10.1/xnu-2782.1.97/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.10.1/bootp-298/IPConfiguration.bproj/
H A DIPv6Socket.c216 opt_len = roundup(link_addr_length + sizeof(*ndopt), ND_OPT_ALIGN);
242 + roundup(sizeof(struct nd_opt_hdr) \
H A DRTADVSocket.c118 + roundup(sizeof(struct nd_opt_hdr) \
587 opt_len = roundup(if_link_length(if_p) + sizeof(*ndopt), ND_OPT_ALIGN);
/macosx-10.10.1/eap8021x-198/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.c382 password_length_r = roundup(plugin->password_length, 16);
383 user_length_r = roundup(plugin->username_length, 4);
505 user_length_r = roundup(plugin->username_length, 4);
521 data_length_r = roundup(data_length, 4);
609 user_length_r = roundup(plugin->username_length, 4);
625 data_length_r = roundup(data_length, 4);
723 user_length_r = roundup(plugin->username_length, 4);
740 data_length_r = roundup(data_length, 4);
/macosx-10.10.1/emacs-93/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.10.1/libutil-38/
H A Dwipefs.cpp37 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
284 newEndOffset = roundup(byteOffset + numBytes, nativeBlockSize);
/macosx-10.10.1/bootp-298/bootplib/
H A Dcfutil.c236 *buffer_size = roundup(space, sizeof(char *));
250 space = roundup((int)count * sizeof(*list), sizeof(char *));
H A Dinetroute.c64 ? roundup(sa->sa_len, sizeof(uint32_t))
/macosx-10.10.1/xnu-2782.1.97/bsd/vfs/
H A Dvfs_attrlist.c109 ab->fixedcursor += roundup(count, 4);
163 ab->varcursor = (char *)roundup((uintptr_t)ab->varcursor, 4);
249 bytes_to_zero = min((roundup(fit, 4) - fit),
258 ab->varcursor += roundup((count+1), 4);
1060 varsize += roundup(cnl + 1, 4);
1063 varsize += roundup(strlen(mnt->mnt_vfsstat.f_mntonname) + 1, 4);
1066 varsize += roundup(strlen(vs.f_vol_name) + 1, 4);
1069 varsize += roundup(strlen(mnt->mnt_vfsstat.f_mntfromname) + 1, 4);
1873 ralloc = roundup(rsize, blksize);
2147 *varsizep += roundup(*cnl
[all...]

Completed in 302 milliseconds

123