Home
last modified time | relevance | path

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

/l4re-core-master/lua/lib/contrib/src/
A Dlgc.h60 #define resetbits(x,m) ((x) &= cast_byte(~(m)))
102 #define luaC_white(g) cast_byte((g)->currentwhite & WHITEBITS)
117 #define setage(o,a) ((o)->marked = cast_byte(((o)->marked & (~AGEBITS)) | a))
A Dlstring.c46 h ^= ((h<<5) + (h>>2) + cast_byte(str[l - 1])); in luaS_hash()
210 ts->shrlen = cast_byte(l); in internshrstr()
A Dlfunc.c30 c->nupvalues = cast_byte(nupvals); in luaF_newCclosure()
39 c->nupvalues = cast_byte(nupvals); in luaF_newLclosure()
A Dlgc.c72 (x->marked = cast_byte((x->marked & ~maskcolors) | luaC_white(g)))
80 (x->marked = cast_byte((x->marked & ~WHITEBITS) | bitmask(BLACKBIT)))
830 curr->marked = cast_byte((marked & ~maskgcbits) | white); in sweeplist()
1110 curr->marked = cast_byte(marked | G_SURVIVAL | white); in sweepgen()
1132 p->marked = cast_byte((p->marked & ~maskgcbits) | white); in whitelist()
1553 g->currentwhite = cast_byte(otherwhite(g)); /* flip current white */ in atomic()
A Dllimits.h130 #define cast_byte(i) cast(lu_byte, (i)) macro
A Dltm.c64 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
A Dltable.c488 t->lsizenode = cast_byte(lsize); in setnodevector()
619 t->flags = cast_byte(maskflags); /* table has no metamethod fields */ in luaH_new()
A Dlundump.c65 return cast_byte(b); in loadByte()
A Dllex.c77 ts->extra = cast_byte(i+1); /* reserved word */ in luaX_init()
A Dlstate.c339 L->status = cast_byte(status); in luaE_resetthread()
A Dlobject.h720 #define setrealasize(t) ((t)->flags &= cast_byte(~BITRAS))
A Dldebug.c139 L->hookmask = cast_byte(mask); in lua_sethook()
A Dldo.c794 L->status = cast_byte(status); /* mark thread as 'dead' */ in lua_resume()
A Dlparser.c375 up->idx = cast_byte(v->u.info); in newupvalue()
971 f->numparams = cast_byte(fs->nactvar); in parlist()
A Dlcode.c471 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()

Completed in 30 milliseconds