Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlundump.c249 *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()
Dltm.c56 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
Dlfunc.c25 c->c.nupvalues = cast_byte(n); in luaF_newCclosure()
33 c->l.nupvalues = cast_byte(n); in luaF_newLclosure()
Dllimits.h95 #define cast_byte(i) cast(lu_byte, (i)) macro
Dlstring.c56 h = h ^ ((h<<5) + (h>>2) + cast_byte(str[l1 - 1])); in luaS_hash()
Dltable.c299 t->lsizenode = cast_byte(lsize); in setnodevector()
371 t->flags = cast_byte(~0); in luaH_new()
Dlgc.c60 (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()
Dldo.c109 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()
Dllex.c70 ts->tsv.extra = cast_byte(i+1); /* reserved word */ in luaX_init()
Dlparser.c207 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()
Dldebug.c63 L->hookmask = cast_byte(mask); in lua_sethook()
Dlcode.c266 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()