Searched refs:cast_byte (Results 1 – 12 of 12) sorted by relevance
249 *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()
25 c->c.nupvalues = cast_byte(n); in luaF_newCclosure()33 c->l.nupvalues = cast_byte(n); in luaF_newLclosure()
56 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
95 #define cast_byte(i) cast(lu_byte, (i)) macro
300 t->lsizenode = cast_byte(lsize); in setnodevector()372 t->flags = cast_byte(~0); in luaH_new()
56 h = h ^ ((h<<5) + (h>>2) + cast_byte(str[l1 - 1])); in luaS_hash()
60 (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()
109 L->status = cast_byte(errcode); /* mark it as dead */ in luaD_throw()551 L->status = cast_byte(status); /* mark thread as `dead' */ in lua_resume()
74 ts->tsv.extra = cast_byte(i+1); /* reserved word */ in luaX_init()
207 fs->nactvar = cast_byte(fs->nactvar + nvars); in adjustlocalvars()239 f->upvalues[fs->nups].idx = cast_byte(v->u.info); in newupvalue()783 f->numparams = cast_byte(fs->nactvar); in parlist()
63 L->hookmask = cast_byte(mask); in lua_sethook()
266 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()