Searched refs:roundof (Results 1 - 25 of 26) sorted by relevance

12

/macosx-10.10/ksh-23/ksh/src/lib/libast/string/
H A Dfmtbuf.c53 bigsiz = roundof(n, 8 * 1024);
/macosx-10.10/ksh-23/ksh/src/lib/libast/dir/
H A Dgetdents.c87 m = roundof(m, 8);
107 up->d_reclen = roundof(up->d_reclen, 8);
120 #define MAXREC roundof(sizeof(*up)-sizeof(up->d_name)+sizeof(sp->d_name)+1,8)
153 up->d_reclen = roundof(up->d_reclen, 8);
/macosx-10.10/ksh-23/ksh/src/lib/libast/misc/
H A Dstk.c235 bsize = roundof(bsize,STK_FSIZE/16);
238 bsize = roundof(bsize,STK_FSIZE);
351 cp = sp->stkbase + roundof(sizeof(struct frame), STK_ALIGN);
366 stream->_data = (unsigned char*)(cp + roundof(loc-cp,STK_ALIGN));
399 n = roundof(n,STK_ALIGN);
443 stream->_next = stream->_data += roundof(top-old,STK_ALIGN);
470 n = roundof(cp-(unsigned char*)str,STK_ALIGN);
511 n = roundof(n,STK_FSIZE/16);
514 n = roundof(n,STK_FSIZE);
544 cp = sp->stkbase + roundof((c
[all...]
H A Dcmdarg.c136 m = roundof(m, sizeof(char**));
/macosx-10.10/ksh-23/ksh/src/lib/libast/features/
H A Dalign.c56 #define roundof(x,y) (((x)+((y)-1))&~((y)-1)) macro
100 align1 = roundof(align0, 2);
107 align2 = roundof(align0, 4);
/macosx-10.10/ksh-23/ksh/src/lib/libast/port/
H A Dastcopy.c85 bufsiz = roundof(n, BUFSIZ);
H A Dastconf.c349 n = roundof(n, 32);
457 c = roundof(c, 32);
/macosx-10.10/ksh-23/ksh/src/lib/libast/astsa/
H A Dvmalloc.c93 size = roundof(size, VM_ALIGN);
H A Dast.h94 #define roundof(x,y) (((x)+(y)-1)&~((y)-1)) macro
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/
H A Dregexp.c47 if (data || (size = roundof(size, ALIGN_BOUND2)) > (env->buf + env->size - env->cur))
H A Dregcmp.c53 if (data || (size = roundof(size, ALIGN_BOUND2)) > (re->buf + re->size - re->cur))
/macosx-10.10/ksh-23/ksh/src/lib/libcmd/
H A Drev.c76 w = roundof(n + 1, 1024);
H A Drm.c80 #define pathchunk(n) roundof(n,1024)
H A Dcp.c294 if ((state->postsiz + len) > state->pathsiz && !(state->path = newof(state->path, char, state->pathsiz = roundof(state->postsiz + len, PATH_CHUNK), 0)))
972 if (state->pathsiz < roundof(state->postsiz + 2, PATH_CHUNK) && !(state->path = newof(state->path, char, state->pathsiz = roundof(state->postsiz + 2, PATH_CHUNK), 0)))
H A Dfmt.c263 fp->indent = roundof(b, INDENT);
H A Djoin.c704 jp->samesize = roundof(n2, 16);
/macosx-10.10/ksh-23/ksh/src/lib/libast/regex/
H A Dregcache.c171 cp->size = roundof(i, ROUND);
H A Dregsubexec.c38 a = roundof(n, 128); \
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/edit/
H A Dedit.c1382 if(dest == (genchar*)roundof(cp-(unsigned char*)0,sizeof(genchar)))
1439 dp = (genchar*)roundof((char*)dp-(char*)0,sizeof(genchar));
1440 sp = (const genchar*)roundof((char*)sp-(char*)0,sizeof(genchar));
1450 dp = (genchar*)roundof((char*)dp-(char*)0,sizeof(genchar));
1451 sp = (const genchar*)roundof((char*)sp-(char*)0,sizeof(genchar));
1463 sp = (const genchar*)roundof((char*)sp-(char*)0,sizeof(genchar));
H A Demacs.c212 out = (genchar*)roundof(buff-(char*)0,sizeof(genchar));
H A Dvi.c361 virtual = (genchar*)roundof((char*)virtual-(char*)0,sizeof(genchar));
/macosx-10.10/ksh-23/ksh/src/lib/libast/include/
H A Dast.h207 #define roundof(x,y) (((x)+(y)-1)&~((y)-1)) macro
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/sh/
H A Dnvtype.c930 offset = roundof(offset,sizeof(char*));
934 k = roundof(sizeof(Namtype_t),sizeof(Sfdouble_t)) - sizeof(Namtype_t);
H A Darray.c178 maxi = roundof(maxi,ARRAY_INCR);
H A Darray.c.orig178 maxi = roundof(maxi,ARRAY_INCR);

Completed in 293 milliseconds

12