Home
last modified time | relevance | path

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

/external/lua/src/
Dlfunc.c28 c->nupvalues = cast_byte(n); in luaF_newCclosure()
37 c->nupvalues = cast_byte(n); in luaF_newLclosure()
Dlstring.c53 h ^= ((h<<5) + (h>>2) + cast_byte(str[l - 1])); in luaS_hash()
188 ts->shrlen = cast_byte(l); in internshrstr()
Dltm.c63 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
Dllimits.h114 #define cast_byte(i) cast(lu_byte, (i)) macro
Dltable.c329 t->lsizenode = cast_byte(lsize); in setnodevector()
425 t->flags = cast_byte(~0); in luaH_new()
Dlgc.c68 (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()
Dldo.c117 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()
Dllex.c77 ts->extra = cast_byte(i+1); /* reserved word */ in luaX_init()
Dlparser.c204 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()
Dldebug.c91 L->hookmask = cast_byte(mask); in lua_sethook()
Dlcode.c367 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()