Searched refs:cast_byte (Results 1 – 10 of 10) sorted by relevance
54 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
78 #define cast_byte(i) cast(lu_byte, (i)) macro
28 c->c.nupvalues = cast_byte(nelems); in luaF_newCclosure()38 c->l.nupvalues = cast_byte(nelems); in luaF_newLclosure()
32 #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()
292 t->lsizenode = cast_byte(lsize); in setnodevector()362 t->flags = cast_byte(~0); in luaH_new()
100 L->status = cast_byte(errcode); in luaD_throw()430 L->status = cast_byte(status); /* mark thread as `dead' */ in lua_resume()
169 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()
70 ts->tsv.reserved = cast_byte(i+1); /* reserved word */ in luaX_init()
64 L->hookmask = cast_byte(mask); in lua_sethook()
204 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()