/civetweb-2.7.6/src/third_party/lua-5.1.5/src/ |
D | lobject.h | 43 #define CommonHeader GCObject *next; lu_byte tt; lu_byte marked 71 #define TValuefields Value value; int tt 90 #define ttype(o) ((o)->tt) 109 lua_assert(!iscollectable(obj) || (ttype(obj) == (obj)->value.gc->gch.tt)) 113 ((ttype(obj) == (obj)->value.gc->gch.tt) && !isdead(g, (obj)->value.gc))) 117 #define setnilvalue(obj) ((obj)->tt=LUA_TNIL) 120 { TValue *i_o=(obj); i_o->value.n=(x); i_o->tt=LUA_TNUMBER; } 123 { TValue *i_o=(obj); i_o->value.p=(x); i_o->tt=LUA_TLIGHTUSERDATA; } 126 { TValue *i_o=(obj); i_o->value.b=(x); i_o->tt=LUA_TBOOLEAN; } 130 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TSTRING; \ [all …]
|
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 | lgc.c | 72 switch (o->gch.tt) { in reallymarkobject() 281 switch (o->gch.tt) { in propagatemark() 379 switch (o->gch.tt) { in freeobj() 412 if (curr->gch.tt == LUA_TTHREAD) /* sweep open upvalues of each thread */ in sweeplist() 685 void luaC_link (lua_State *L, GCObject *o, lu_byte tt) { in luaC_link() argument 690 o->gch.tt = tt; in luaC_link()
|
D | lstring.c | 60 ts->tsv.tt = LUA_TSTRING; in newlstr() 102 u->uv.tt = LUA_TUSERDATA; in luaS_newudata()
|
D | lgc.h | 104 LUAI_FUNC void luaC_link (lua_State *L, GCObject *o, lu_byte tt);
|
D | ltable.c | 425 gkey(mp)->value = key->value; gkey(mp)->tt = key->tt; in newkey()
|
D | lfunc.c | 68 uv->tt = LUA_TUPVAL; in luaF_findupval()
|
D | lstate.c | 152 L->tt = LUA_TTHREAD; in lua_newstate()
|
/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 | lstring.c | 35 lua_assert(a->tsv.tt == LUA_TLNGSTR && b->tsv.tt == LUA_TLNGSTR); in luaS_eqlngstr() 46 return (a->tsv.tt == b->tsv.tt) && in luaS_eqstr() 47 (a->tsv.tt == LUA_TSHRSTR ? eqshrstr(a, b) : luaS_eqlngstr(a, b)); in luaS_eqstr()
|
D | lgc.c | 139 lua_assert(gch(o)->tt != LUA_TTABLE); in luaC_barrier_() 157 lua_assert(isblack(o) && !isdead(g, o) && gch(o)->tt == LUA_TTABLE); in luaC_barrierback_() 212 GCObject *luaC_newobj (lua_State *L, int tt, size_t sz, GCObject **list, in luaC_newobj() argument 215 char *raw = cast(char *, luaM_newobject(L, novariant(tt), sz)); in luaC_newobj() 220 gch(o)->tt = tt; in luaC_newobj() 246 switch (gch(o)->tt) { in reallymarkobject() 526 switch (gch(o)->tt) { in propagatemark() 664 switch (gch(o)->tt) { in freeobj() 744 if (gch(curr)->tt == LUA_TTHREAD) in sweeplist()
|
D | lstring.h | 28 #define isreserved(s) ((s)->tsv.tt == LUA_TSHRSTR && (s)->tsv.extra > 0) 34 #define eqshrstr(a,b) check_exp((a)->tsv.tt == LUA_TSHRSTR, (a) == (b))
|
D | lobject.h | 77 #define CommonHeader GCObject *next; lu_byte tt; lu_byte marked 177 #define righttt(obj) (ttype(obj) == gcvalue(obj)->gch.tt) 203 val_(io).gc=i_g; settt_(io, ctb(gch(i_g)->tt)); } 208 val_(io).gc=cast(GCObject *, x_); settt_(io, ctb(x_->tsv.tt)); \
|
D | lgc.h | 148 LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz,
|
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/ |
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 | ltablib.c | 132 int tt = !lua_isnoneornil(L, 5) ? 5 : 1; /* destination table */ in tmove() local 134 checktab(L, tt, TAB_W); in tmove() 142 if (t > e || t <= f || (tt != 1 && !lua_compare(L, 1, tt, LUA_OPEQ))) { in tmove() 145 lua_seti(L, tt, t + i); in tmove() 151 lua_seti(L, tt, t + i); in tmove() 155 lua_pushvalue(L, tt); /* return destination table */ in tmove()
|
D | lstring.h | 27 #define isreserved(s) ((s)->tt == LUA_TSHRSTR && (s)->extra > 0) 33 #define eqshrstr(a,b) check_exp((a)->tt == LUA_TSHRSTR, (a) == (b))
|
D | lobject.h | 79 #define CommonHeader GCObject *next; lu_byte tt; lu_byte marked 188 #define righttt(obj) (ttype(obj) == gcvalue(obj)->tt) 223 val_(io).gc = i_g; settt_(io, ctb(i_g->tt)); } 227 val_(io).gc = obj2gco(x_); settt_(io, ctb(x_->tt)); \ 336 #define tsslen(s) ((s)->tt == LUA_TSHRSTR ? (s)->shrlen : (s)->u.lnglen)
|
D | lauxlib.c | 776 int tt; in luaL_getmetafield() local 778 tt = lua_rawget(L, -2); in luaL_getmetafield() 779 if (tt == LUA_TNIL) /* is metafield nil? */ in luaL_getmetafield() 783 return tt; /* return metafield type */ in luaL_getmetafield() 834 int tt = luaL_getmetafield(L, idx, "__name"); /* try name */ in luaL_tolstring() local 835 const char *kind = (tt == LUA_TSTRING) ? lua_tostring(L, -1) : in luaL_tolstring() 838 if (tt != LUA_TNIL) in luaL_tolstring()
|
D | lstring.c | 42 lua_assert(a->tt == LUA_TLNGSTR && b->tt == LUA_TLNGSTR); in luaS_eqlngstr() 59 lua_assert(ts->tt == LUA_TLNGSTR); in luaS_hashlongstr()
|
D | lgc.c | 208 GCObject *luaC_newobj (lua_State *L, int tt, size_t sz) { in luaC_newobj() argument 210 GCObject *o = cast(GCObject *, luaM_newobject(L, novariant(tt), sz)); in luaC_newobj() 212 o->tt = tt; in luaC_newobj() 238 switch (o->tt) { in reallymarkobject() 564 switch (o->tt) { in propagatemark() 698 switch (o->tt) { in freeobj()
|
D | lstate.c | 263 L1->tt = LUA_TTHREAD; in lua_newthread() 304 L->tt = LUA_TTHREAD; in lua_newstate()
|
D | lgc.h | 139 LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz);
|
D | ltable.c | 541 lua_assert(key->tt == LUA_TSHRSTR); in luaH_getshortstr() 576 if (key->tt == LUA_TSHRSTR) in luaH_getstr()
|
/civetweb-2.7.6/test/ajax/ |
D | jquery.js | 2 …tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init… function
|