Home
last modified time | relevance | path

Searched refs:check_exp (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlstate.h201 check_exp(novariant((o)->gch.tt) == LUA_TSTRING, &((o)->ts))
203 #define rawgco2u(o) check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u))
205 #define gco2lcl(o) check_exp((o)->gch.tt == LUA_TLCL, &((o)->cl.l))
206 #define gco2ccl(o) check_exp((o)->gch.tt == LUA_TCCL, &((o)->cl.c))
208 check_exp(novariant((o)->gch.tt) == LUA_TFUNCTION, &((o)->cl))
209 #define gco2t(o) check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h))
210 #define gco2p(o) check_exp((o)->gch.tt == LUA_TPROTO, &((o)->p))
211 #define gco2uv(o) check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv))
212 #define gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th))
Dlobject.h153 #define nvalue(o) check_exp(ttisnumber(o), num_(o))
154 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc)
155 #define pvalue(o) check_exp(ttislightuserdata(o), val_(o).p)
156 #define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
158 #define rawuvalue(o) check_exp(ttisuserdata(o), &val_(o).gc->u)
160 #define clvalue(o) check_exp(ttisclosure(o), &val_(o).gc->cl)
161 #define clLvalue(o) check_exp(ttisLclosure(o), &val_(o).gc->cl.l)
162 #define clCvalue(o) check_exp(ttisCclosure(o), &val_(o).gc->cl.c)
163 #define fvalue(o) check_exp(ttislcf(o), val_(o).f)
164 #define hvalue(o) check_exp(ttistable(o), &val_(o).gc->h)
[all …]
Dlstring.h34 #define eqshrstr(a,b) check_exp((a)->tsv.tt == LUA_TSHRSTR, (a) == (b))
Dllimits.h62 #define check_exp(c,e) (lua_assert(c), (e)) macro
67 #define check_exp(c,e) (e) macro
Dlgc.h69 check_exp(g->gcstate == GCSpropagate || !isgenerational(g), \
Dlvm.c491 #define RB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgR, base+GETARG_B(i))
492 #define RC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgR, base+GETARG_C(i))
493 #define RKB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgK, \
495 #define RKC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgK, \
Dldebug.c101 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname()
Dlcode.c708 : check_exp(vkisinreg(t->k), VLOCAL); in luaK_indexed()