Searched refs:check_exp (Results 1 – 4 of 4) sorted by relevance
| /redis-3.2.3/deps/lua/src/ |
| H A D | lstate.h | 149 #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 D | lobject.h | 91 #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 D | llimits.h | 57 #define check_exp(c,e) (lua_assert(c), (e)) macro 63 #define check_exp(c,e) (e) macro
|
| H A D | lvm.c | 349 #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))
|