Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dltm.c54 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
H A Dllimits.h78 #define cast_byte(i) cast(lu_byte, (i)) macro
H A Dlfunc.c28 c->c.nupvalues = cast_byte(nelems); in luaF_newCclosure()
38 c->l.nupvalues = cast_byte(nelems); in luaF_newLclosure()
H A Dlgc.c32 #define maskmarks cast_byte(~(bitmask(BLACKBIT)|WHITEBITS))
35 ((x)->gch.marked = cast_byte(((x)->gch.marked & maskmarks) | luaC_white(g)))
171 h->marked |= cast_byte((weakkey << KEYWEAKBIT) | in traversetable()
548 g->currentwhite = cast_byte(otherwhite(g)); in atomic()
H A Dltable.c292 t->lsizenode = cast_byte(lsize); in setnodevector()
362 t->flags = cast_byte(~0); in luaH_new()
H A Dldo.c100 L->status = cast_byte(errcode); in luaD_throw()
430 L->status = cast_byte(status); /* mark thread as `dead' */ in lua_resume()
H A Dlparser.c169 fs->nactvar = cast_byte(fs->nactvar + nvars); in adjustlocalvars()
201 fs->upvalues[f->nups].k = cast_byte(v->k); in indexupvalue()
202 fs->upvalues[f->nups].info = cast_byte(v->u.s.info); in indexupvalue()
571 f->numparams = cast_byte(fs->nactvar - (f->is_vararg & VARARG_HASARG)); in parlist()
H A Dllex.c70 ts->tsv.reserved = cast_byte(i+1); /* reserved word */ in luaX_init()
H A Dldebug.c64 L->hookmask = cast_byte(mask); in lua_sethook()
H A Dlcode.c204 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dltm.c55 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
H A Dlfunc.c24 c->c.nupvalues = cast_byte(n); in luaF_newCclosure()
32 c->l.nupvalues = cast_byte(n); in luaF_newLclosure()
H A Dllimits.h92 #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.c55 h = h ^ ((h<<5) + (h>>2) + cast_byte(str[l1 - 1])); in luaS_hash()
H A Dlgc.c59 (gch(x)->marked = cast_byte((gch(x)->marked & maskcolors) | luaC_white(g)))
746 gch(curr)->marked = cast_byte((marked & toclear) | toset); in sweeplist()
1033 g->currentwhite = cast_byte(otherwhite(g)); /* flip current white */ in atomic()
H A Dldo.c178 L->status = cast_byte(errcode); /* mark it as dead */ in luaD_throw()
626 L->status = cast_byte(status); /* mark thread as `dead' */ in lua_resume()
H A Dllex.c67 ts->tsv.extra = cast_byte(i+1); /* reserved word */ in luaX_init()
H A Dlparser.c205 fs->nactvar = cast_byte(fs->nactvar + nvars); in adjustlocalvars()
237 f->upvalues[fs->nups].idx = cast_byte(v->u.info); in newupvalue()
787 f->numparams = cast_byte(fs->nactvar); in parlist()
H A Dldebug.c69 L->hookmask = cast_byte(mask); in lua_sethook()
H A Dlcode.c264 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()