Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/lib/libast/common/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()
399 n = roundof(n,STK_ALIGN); in stkalloc()
443 stream->_next = stream->_data += roundof(top-old,STK_ALIGN); in stkfreeze()
470 n = roundof(cp-(unsigned char*)str,STK_ALIGN); in stkcopy()
506 n = roundof(n,STK_FSIZE/16); in stkgrow()
509 n = roundof(n,STK_FSIZE); in stkgrow()
529 cp = sp->stkbase + roundof((cp-sp->stkbase),STK_ALIGN); in stkgrow()
[all …]
H A Dcmdarg.c93 m = roundof(m, sizeof(char**)); in cmdopen()
/titanic_41/usr/src/lib/libast/common/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);
/titanic_41/usr/src/lib/libast/common/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()
/titanic_41/usr/src/lib/libast/common/string/
H A Dfmtbuf.c53 bigsiz = roundof(n, 8 * 1024); in fmtbuf()
/titanic_41/usr/src/lib/libast/common/port/
H A Dastcopy.c85 bufsiz = roundof(n, BUFSIZ); in astcopy()
H A Dastconf.c333 n = roundof(n, 32); in synthesize()
441 c = roundof(c, 32); in synthesize()
/titanic_41/usr/src/lib/libcmd/common/
H A Drev.c76 w = roundof(n + 1, 1024); in rev_char()
H A Dcp.c276 …te->pathsiz && !(state->path = newof(state->path, char, state->pathsiz = roundof(state->postsiz + … in visit()
909 …if (state->pathsiz < roundof(state->postsiz + 2, PATH_CHUNK) && !(state->path = newof(state->path,… in b_cp()
H A Drm.c79 #define pathchunk(n) roundof(n,1024)
H A Dgrep.c451 len = roundof(len, SF_BUFSIZE); in execute()
475 len = roundof(len, SF_BUFSIZE); in execute()
H A Dfmt.c263 fp->indent = roundof(b, INDENT); in dofmt()
H A Djoin.c714 jp->samesize = roundof(n2, 16); in join()
/titanic_41/usr/src/lib/libast/common/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()
/titanic_41/usr/src/lib/libshell/common/edit/
H A Dedit.c1362 if(dest == (genchar*)roundof(cp-(unsigned char*)0,sizeof(genchar)))
1419 dp = (genchar*)roundof((char*)dp-(char*)0,sizeof(genchar));
1420 sp = (const genchar*)roundof((char*)sp-(char*)0,sizeof(genchar));
1430 dp = (genchar*)roundof((char*)dp-(char*)0,sizeof(genchar));
1431 sp = (const genchar*)roundof((char*)sp-(char*)0,sizeof(genchar));
1442 sp = (const genchar*)roundof((char*)sp-(char*)0,sizeof(genchar));
H A Demacs.c211 out = (genchar*)roundof(buff-(char*)0,sizeof(genchar)); in ed_emacsread()
/titanic_41/usr/src/lib/libast/common/regex/
H A Dregcache.c171 cp->size = roundof(i, ROUND); in regcache()
H A Dregsubexec.c38 a = roundof(n, 128); \
/titanic_41/usr/src/lib/libast/common/include/
H A Dast.h195 #define roundof(x,y) (((x)+(y)-1)&~((y)-1)) macro
/titanic_41/usr/src/lib/libast/amd64/include/ast/
H A Dast.h204 #define roundof(x,y) (((x)+(y)-1)&~((y)-1)) macro
/titanic_41/usr/src/lib/libast/sparc/include/ast/
H A Dast.h204 #define roundof(x,y) (((x)+(y)-1)&~((y)-1)) macro
/titanic_41/usr/src/lib/libast/sparcv9/include/ast/
H A Dast.h204 #define roundof(x,y) (((x)+(y)-1)&~((y)-1)) macro
/titanic_41/usr/src/lib/libast/i386/include/ast/
H A Dast.h204 #define roundof(x,y) (((x)+(y)-1)&~((y)-1)) macro
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dnvtype.c895 offset = roundof(offset,sizeof(char*)); in nv_mktype()
899 k = roundof(sizeof(Namtype_t),sizeof(Sfdouble_t)) - sizeof(Namtype_t); in nv_mktype()

12