Home
last modified time | relevance | path

Searched refs:cast_byte (Results 1 – 23 of 23) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlundump.c249 *h++=cast_byte(VERSION); in luaU_header()
250 *h++=cast_byte(FORMAT); in luaU_header()
251 *h++=cast_byte(*(char*)&x); /* endianness */ in luaU_header()
252 *h++=cast_byte(sizeof(int)); in luaU_header()
253 *h++=cast_byte(sizeof(size_t)); in luaU_header()
254 *h++=cast_byte(sizeof(Instruction)); in luaU_header()
255 *h++=cast_byte(sizeof(lua_Number)); in luaU_header()
256 *h++=cast_byte(((lua_Number)0.5)==0); /* is lua_Number integral? */ in luaU_header()
H A Dlfunc.c25 c->c.nupvalues = cast_byte(n); in luaF_newCclosure()
33 c->l.nupvalues = cast_byte(n); in luaF_newLclosure()
H A Dltm.c56 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
H A Dllimits.h93 #define cast_byte(i) cast(lu_byte, (i)) macro
H A Dltable.c299 t->lsizenode = cast_byte(lsize); in setnodevector()
371 t->flags = cast_byte(~0); in luaH_new()
H A Dlstring.c56 h = h ^ ((h<<5) + (h>>2) + cast_byte(str[l1 - 1])); in luaS_hash()
H A Dlgc.c60 (gch(x)->marked = cast_byte((gch(x)->marked & maskcolors) | luaC_white(g)))
747 gch(curr)->marked = cast_byte((marked & toclear) | toset); in sweeplist()
1034 g->currentwhite = cast_byte(otherwhite(g)); /* flip current white */ in atomic()
H A Dldo.c119 L->status = cast_byte(errcode); /* mark it as dead */ in luaD_throw()
561 L->status = cast_byte(status); /* mark thread as `dead' */ in lua_resume()
H A Dllex.c68 ts->tsv.extra = cast_byte(i+1); /* reserved word */ in luaX_init()
H A Dlparser.c206 fs->nactvar = cast_byte(fs->nactvar + nvars); in adjustlocalvars()
238 f->upvalues[fs->nups].idx = cast_byte(v->u.info); in newupvalue()
782 f->numparams = cast_byte(fs->nactvar); in parlist()
H A Dldebug.c70 L->hookmask = cast_byte(mask); in lua_sethook()
H A Dlcode.c265 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()
/freebsd-12.1/contrib/lua/src/
H A Dlfunc.c28 c->nupvalues = cast_byte(n); in luaF_newCclosure()
37 c->nupvalues = cast_byte(n); in luaF_newLclosure()
H A Dlstring.c53 h ^= ((h<<5) + (h>>2) + cast_byte(str[l - 1])); in luaS_hash()
188 ts->shrlen = cast_byte(l); in internshrstr()
H A Dltm.c63 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
H A Dllimits.h116 #define cast_byte(i) cast(lu_byte, (i)) macro
H A Dltable.c329 t->lsizenode = cast_byte(lsize); in setnodevector()
425 t->flags = cast_byte(~0); in luaH_new()
H A Dlgc.c68 (x->marked = cast_byte((x->marked & maskcolors) | luaC_white(g)))
747 curr->marked = cast_byte((marked & maskcolors) | white); in sweeplist()
1023 g->currentwhite = cast_byte(otherwhite(g)); /* flip current white */ in atomic()
H A Dldo.c117 L->status = cast_byte(errcode); /* mark it as dead */ in luaD_throw()
673 L->status = cast_byte(status); /* mark thread as 'dead' */ in lua_resume()
H A Dllex.c77 ts->extra = cast_byte(i+1); /* reserved word */ in luaX_init()
H A Dlparser.c204 fs->nactvar = cast_byte(fs->nactvar + nvars); in adjustlocalvars()
237 f->upvalues[fs->nups].idx = cast_byte(v->u.info); in newupvalue()
777 f->numparams = cast_byte(fs->nactvar); in parlist()
H A Dldebug.c91 L->hookmask = cast_byte(mask); in lua_sethook()
H A Dlcode.c367 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()