Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dstk.c235 bsize = roundof(bsize,STK_FSIZE/16); in stkopen()
238 bsize = roundof(bsize,STK_FSIZE); in stkopen()
351 cp = sp->stkbase + roundof(sizeof(struct frame), STK_ALIGN); in stkset()
366 stream->_data = (unsigned char*)(cp + roundof(loc-cp,STK_ALIGN)); in stkset()
402 n = roundof(n,STK_ALIGN); in stkalloc()
446 stream->_next = stream->_data += roundof(top-old,STK_ALIGN); in stkfreeze()
473 n = roundof(cp-(unsigned char*)str,STK_ALIGN); in stkcopy()
514 n = roundof(n,STK_FSIZE/16); in stkgrow()
517 n = roundof(n,STK_FSIZE); in stkgrow()
548 cp = sp->stkbase + roundof((cp-sp->stkbase),STK_ALIGN); in stkgrow()
[all …]
H A Dcmdarg.c136 m = roundof(m, sizeof(char**)); in cmdopen_20120411()
/illumos-gate/usr/src/contrib/ast/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);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dalign.c56 #define roundof(x,y) (((x)+((y)-1))&~((y)-1)) macro
100 align1 = roundof(align0, 2); in main()
107 align2 = roundof(align0, 4); in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dfmtbuf.c53 bigsiz = roundof(n, 8 * 1024); in fmtbuf()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastcopy.c85 bufsiz = roundof(n, BUFSIZ); in astcopy()
H A Dastconf.c349 n = roundof(n, 32); in synthesize()
457 c = roundof(c, 32); in synthesize()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dvmalloc.c93 size = roundof(size, VM_ALIGN); in _vm_resize()
H A Dast.h94 #define roundof(x,y) (((x)+(y)-1)&~((y)-1)) macro
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dregexp.c47 if (data || (size = roundof(size, ALIGN_BOUND2)) > (env->buf + env->size - env->cur)) in block()
H A Dregcmp.c53 if (data || (size = roundof(size, ALIGN_BOUND2)) > (re->buf + re->size - re->cur)) in block()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Drev.c76 w = roundof(n + 1, 1024); in rev_char()
H A Dcp.c294 …te->pathsiz && !(state->path = newof(state->path, char, state->pathsiz = roundof(state->postsiz + … in visit()
972 …if (state->pathsiz < roundof(state->postsiz + 2, PATH_CHUNK) && !(state->path = newof(state->path,… in b_cp()
H A Drm.c80 #define pathchunk(n) roundof(n,1024)
H A Dfmt.c263 fp->indent = roundof(b, INDENT); in dofmt()
H A Djoin.c704 jp->samesize = roundof(n2, 16); in join()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregcache.c171 cp->size = roundof(i, ROUND); in regcache()
H A Dregsubexec.c38 a = roundof(n, 128); \
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dedit.c1383 if(dest == (genchar*)roundof(cp-(unsigned char*)0,sizeof(genchar)))
1440 dp = (genchar*)roundof((char*)dp-(char*)0,sizeof(genchar));
1441 sp = (const genchar*)roundof((char*)sp-(char*)0,sizeof(genchar));
1451 dp = (genchar*)roundof((char*)dp-(char*)0,sizeof(genchar));
1452 sp = (const genchar*)roundof((char*)sp-(char*)0,sizeof(genchar));
1464 sp = (const genchar*)roundof((char*)sp-(char*)0,sizeof(genchar));
H A Demacs.c214 out = (genchar*)roundof(buff-(char*)0,sizeof(genchar)); in ed_emacsread()
H A Dvi.c361 virtual = (genchar*)roundof((char*)virtual-(char*)0,sizeof(genchar)); in ed_viread()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dast.h207 #define roundof(x,y) (((x)+(y)-1)&~((y)-1)) macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dnvtype.c930 offset = roundof(offset,sizeof(char*)); in nv_mktype()
932 k = roundof(sizeof(Namtype_t),sizeof(Sfdouble_t)) - sizeof(Namtype_t); in nv_mktype()
H A Darray.c178 maxi = roundof(maxi,ARRAY_INCR); in arsize()
H A Dname.c1463 c = roundof(xp->len+1,32); in nv_open()