Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlstate.h203 check_exp(novariant((o)->gch.tt) == LUA_TSTRING, &((o)->ts))
205 #define rawgco2u(o) check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u))
207 #define gco2lcl(o) check_exp((o)->gch.tt == LUA_TLCL, &((o)->cl.l))
208 #define gco2ccl(o) check_exp((o)->gch.tt == LUA_TCCL, &((o)->cl.c))
210 check_exp(novariant((o)->gch.tt) == LUA_TFUNCTION, &((o)->cl))
211 #define gco2t(o) check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h))
212 #define gco2p(o) check_exp((o)->gch.tt == LUA_TPROTO, &((o)->p))
213 #define gco2uv(o) check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv))
214 #define gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th))
H A Dlobject.h151 #define nvalue(o) check_exp(ttisnumber(o), num_(o))
152 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc)
153 #define pvalue(o) check_exp(ttislightuserdata(o), val_(o).p)
154 #define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
156 #define rawuvalue(o) check_exp(ttisuserdata(o), &val_(o).gc->u)
158 #define clvalue(o) check_exp(ttisclosure(o), &val_(o).gc->cl)
159 #define clLvalue(o) check_exp(ttisLclosure(o), &val_(o).gc->cl.l)
161 #define fvalue(o) check_exp(ttislcf(o), val_(o).f)
162 #define hvalue(o) check_exp(ttistable(o), &val_(o).gc->h)
163 #define bvalue(o) check_exp(ttisboolean(o), val_(o).b)
[all …]
H A Dllimits.h59 #define check_exp(c,e) (lua_assert(c), (e)) macro
64 #define check_exp(c,e) (e) macro
H A Dlstring.h35 #define eqshrstr(a,b) check_exp((a)->tsv.tt == LUA_TSHRSTR, (a) == (b))
H A Dlgc.h70 check_exp(g->gcstate == GCSpropagate || !isgenerational(g), \
H A Dlvm.c552 #define RB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgR, base+GETARG_B(i))
553 #define RC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgR, base+GETARG_C(i))
554 #define RKB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgK, \
556 #define RKC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgK, \
H A Dldebug.c107 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname()
H A Dlcode.c706 : check_exp(vkisinreg(t->k), VLOCAL); in luaK_indexed()
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlstate.h149 #define rawgco2ts(o) check_exp((o)->gch.tt == LUA_TSTRING, &((o)->ts))
151 #define rawgco2u(o) check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u))
153 #define gco2cl(o) check_exp((o)->gch.tt == LUA_TFUNCTION, &((o)->cl))
154 #define gco2h(o) check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h))
155 #define gco2p(o) check_exp((o)->gch.tt == LUA_TPROTO, &((o)->p))
156 #define gco2uv(o) check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv))
158 check_exp((o) == NULL || (o)->gch.tt == LUA_TUPVAL, &((o)->uv))
159 #define gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th))
H A Dlobject.h91 #define gcvalue(o) check_exp(iscollectable(o), (o)->value.gc)
92 #define pvalue(o) check_exp(ttislightuserdata(o), (o)->value.p)
93 #define nvalue(o) check_exp(ttisnumber(o), (o)->value.n)
94 #define rawtsvalue(o) check_exp(ttisstring(o), &(o)->value.gc->ts)
96 #define rawuvalue(o) check_exp(ttisuserdata(o), &(o)->value.gc->u)
98 #define clvalue(o) check_exp(ttisfunction(o), &(o)->value.gc->cl)
99 #define hvalue(o) check_exp(ttistable(o), &(o)->value.gc->h)
100 #define bvalue(o) check_exp(ttisboolean(o), (o)->value.b)
101 #define thvalue(o) check_exp(ttisthread(o), &(o)->value.gc->th)
356 (check_exp((size&(size-1))==0, (cast(int, (s) & ((size)-1)))))
H A Dllimits.h57 #define check_exp(c,e) (lua_assert(c), (e)) macro
63 #define check_exp(c,e) (e) macro
H A Dlvm.c349 #define RB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgR, base+GETARG_B(i))
350 #define RC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgR, base+GETARG_C(i))
351 #define RKB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgK, \
353 #define RKC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgK, \
355 #define KBx(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgK, k+GETARG_Bx(i))