/civetweb-2.7.6/src/third_party/lua-5.3.5/src/ |
D | lobject.h | 163 #define ivalue(o) check_exp(ttisinteger(o), val_(o).i) 164 #define fltvalue(o) check_exp(ttisfloat(o), val_(o).n) 165 #define nvalue(o) check_exp(ttisnumber(o), \ 167 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc) 168 #define pvalue(o) check_exp(ttislightuserdata(o), val_(o).p) 169 #define tsvalue(o) check_exp(ttisstring(o), gco2ts(val_(o).gc)) 170 #define uvalue(o) check_exp(ttisfulluserdata(o), gco2u(val_(o).gc)) 171 #define clvalue(o) check_exp(ttisclosure(o), gco2cl(val_(o).gc)) 172 #define clLvalue(o) check_exp(ttisLclosure(o), gco2lcl(val_(o).gc)) 173 #define clCvalue(o) check_exp(ttisCclosure(o), gco2ccl(val_(o).gc)) [all …]
|
D | lstate.h | 226 check_exp(novariant((o)->tt) == LUA_TSTRING, &((cast_u(o))->ts)) 227 #define gco2u(o) check_exp((o)->tt == LUA_TUSERDATA, &((cast_u(o))->u)) 228 #define gco2lcl(o) check_exp((o)->tt == LUA_TLCL, &((cast_u(o))->cl.l)) 229 #define gco2ccl(o) check_exp((o)->tt == LUA_TCCL, &((cast_u(o))->cl.c)) 231 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl)) 232 #define gco2t(o) check_exp((o)->tt == LUA_TTABLE, &((cast_u(o))->h)) 233 #define gco2p(o) check_exp((o)->tt == LUA_TPROTO, &((cast_u(o))->p)) 234 #define gco2th(o) check_exp((o)->tt == LUA_TTHREAD, &((cast_u(o))->th)) 239 check_exp(novariant((v)->tt) < LUA_TDEADKEY, (&(cast_u(v)->gc)))
|
D | llimits.h | 85 #define check_exp(c,e) (lua_assert(c), (e)) macro 90 #define check_exp(c,e) (e) macro
|
D | lstring.h | 33 #define eqshrstr(a,b) check_exp((a)->tt == LUA_TSHRSTR, (a) == (b))
|
D | lvm.c | 729 #define RB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgR, base+GETARG_B(i)) 730 #define RC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgR, base+GETARG_C(i)) 731 #define RKB(i) check_exp(getBMode(GET_OPCODE(i)) == OpArgK, \ 733 #define RKC(i) check_exp(getCMode(GET_OPCODE(i)) == OpArgK, \
|
D | ldebug.c | 128 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname()
|
D | lcode.c | 1039 : check_exp(e1->k == VNONRELOC, e1->u.info); in codecomp()
|
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/ |
D | lstate.h | 201 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))
|
D | lobject.h | 153 #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 …]
|
D | llimits.h | 62 #define check_exp(c,e) (lua_assert(c), (e)) macro 67 #define check_exp(c,e) (e) macro
|
D | lstring.h | 34 #define eqshrstr(a,b) check_exp((a)->tsv.tt == LUA_TSHRSTR, (a) == (b))
|
D | lvm.c | 491 #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, \
|
D | lgc.h | 69 check_exp(g->gcstate == GCSpropagate || !isgenerational(g), \
|
D | ldebug.c | 111 TString *s = check_exp(uv < p->sizeupvalues, p->upvalues[uv].name); in upvalname()
|
D | lcode.c | 708 : check_exp(vkisinreg(t->k), VLOCAL); in luaK_indexed()
|
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/ |
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))
|
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)))))
|
D | llimits.h | 57 #define check_exp(c,e) (lua_assert(c), (e)) macro 63 #define check_exp(c,e) (e) macro
|
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))
|