/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | stk.c | 235 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 D | cmdarg.c | 136 m = roundof(m, sizeof(char**)); in cmdopen_20120411()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/dir/ |
H A D | getdents.c | 87 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 D | align.c | 56 #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 D | fmtbuf.c | 53 bigsiz = roundof(n, 8 * 1024); in fmtbuf()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/ |
H A D | astcopy.c | 85 bufsiz = roundof(n, BUFSIZ); in astcopy()
|
H A D | astconf.c | 349 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 D | vmalloc.c | 93 size = roundof(size, VM_ALIGN); in _vm_resize()
|
H A D | ast.h | 94 #define roundof(x,y) (((x)+(y)-1)&~((y)-1)) macro
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | regexp.c | 47 if (data || (size = roundof(size, ALIGN_BOUND2)) > (env->buf + env->size - env->cur)) in block()
|
H A D | regcmp.c | 53 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 D | rev.c | 76 w = roundof(n + 1, 1024); in rev_char()
|
H A D | cp.c | 294 …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 D | rm.c | 80 #define pathchunk(n) roundof(n,1024)
|
H A D | fmt.c | 263 fp->indent = roundof(b, INDENT); in dofmt()
|
H A D | join.c | 704 jp->samesize = roundof(n2, 16); in join()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regcache.c | 171 cp->size = roundof(i, ROUND); in regcache()
|
H A D | regsubexec.c | 38 a = roundof(n, 128); \
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | edit.c | 1383 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 D | emacs.c | 214 out = (genchar*)roundof(buff-(char*)0,sizeof(genchar)); in ed_emacsread()
|
H A D | vi.c | 361 virtual = (genchar*)roundof((char*)virtual-(char*)0,sizeof(genchar)); in ed_viread()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | ast.h | 207 #define roundof(x,y) (((x)+(y)-1)&~((y)-1)) macro
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | nvtype.c | 930 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 D | array.c | 178 maxi = roundof(maxi,ARRAY_INCR); in arsize()
|
H A D | name.c | 1463 c = roundof(xp->len+1,32); in nv_open()
|