Searched refs:cast_byte (Results 1 – 11 of 11) sorted by relevance
28 c->nupvalues = cast_byte(n); in luaF_newCclosure()37 c->nupvalues = cast_byte(n); in luaF_newLclosure()
53 h ^= ((h<<5) + (h>>2) + cast_byte(str[l - 1])); in luaS_hash()188 ts->shrlen = cast_byte(l); in internshrstr()
63 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
114 #define cast_byte(i) cast(lu_byte, (i)) macro
329 t->lsizenode = cast_byte(lsize); in setnodevector()425 t->flags = cast_byte(~0); in luaH_new()
68 (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()
117 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()
77 ts->extra = cast_byte(i+1); /* reserved word */ in luaX_init()
204 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()
91 L->hookmask = cast_byte(mask); in lua_sethook()
367 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()