Home
last modified time | relevance | path

Searched defs:o (Results 1 – 25 of 69) sorted by relevance

123

/civetweb-2.7.6/src/third_party/lua-5.2.4/src/
Dlobject.h113 #define val_(o) ((o)->value_) argument
114 #define num_(o) (val_(o).n) argument
118 #define rttype(o) ((o)->tt_) argument
124 #define ttype(o) (rttype(o) & 0x3F) argument
127 #define ttypenv(o) (novariant(rttype(o))) argument
131 #define checktag(o,t) (rttype(o) == (t)) argument
132 #define checktype(o,t) (ttypenv(o) == (t)) argument
133 #define ttisnumber(o) checktag((o), LUA_TNUMBER) argument
134 #define ttisnil(o) checktag((o), LUA_TNIL) argument
135 #define ttisboolean(o) checktag((o), LUA_TBOOLEAN) argument
[all …]
Dlapi.c41 #define isvalid(o) ((o) != luaO_nilobject) argument
47 #define isstackindex(i, o) (isvalid(o) && !ispseudo(i)) argument
49 #define api_checkvalidindex(L, o) api_check(L, isvalid(o), "invalid index") argument
51 #define api_checkstackindex(L, i, o) \ argument
58 TValue *o = ci->func + idx; in index2addr() local
250 StkId o = index2addr(L, idx); in lua_type() local
262 StkId o = index2addr(L, idx); in lua_iscfunction() local
269 const TValue *o = index2addr(L, idx); in lua_isnumber() local
281 const TValue *o = index2addr(L, idx); in lua_isuserdata() local
337 const TValue *o = index2addr(L, idx); in lua_tonumberx() local
[all …]
Dlstate.h197 #define gch(o) (&(o)->gch) argument
200 #define rawgco2ts(o) \ argument
202 #define gco2ts(o) (&rawgco2ts(o)->tsv) argument
203 #define rawgco2u(o) check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u)) argument
204 #define gco2u(o) (&rawgco2u(o)->uv) argument
205 #define gco2lcl(o) check_exp((o)->gch.tt == LUA_TLCL, &((o)->cl.l)) argument
206 #define gco2ccl(o) check_exp((o)->gch.tt == LUA_TCCL, &((o)->cl.c)) argument
207 #define gco2cl(o) \ argument
209 #define gco2t(o) check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h)) argument
210 #define gco2p(o) check_exp((o)->gch.tt == LUA_TPROTO, &((o)->p)) argument
[all …]
Dlgc.c75 #define markvalue(g,o) { checkconsistency(o); \ argument
121 static int iscleared (global_State *g, const TValue *o) { in iscleared()
135 void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v) { in luaC_barrier_()
155 void luaC_barrierback_ (lua_State *L, GCObject *o) { in luaC_barrierback_()
191 GCObject *o = obj2gco(uv); in luaC_checkupvalcolor() local
216 GCObject *o = obj2gco(raw + offset); in luaC_newobj() local
243 static void reallymarkobject (global_State *g, GCObject *o) { in reallymarkobject()
312 GCObject *o; in markbeingfnz() local
497 StkId o = th->stack; in traversestack() local
523 GCObject *o = g->gray; in propagatemark() local
[all …]
Dlvm.h16 #define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o))) argument
18 #define tonumber(o,n) (ttisnumber(o) || (((o) = luaV_tonumber(o,n)) != NULL)) argument
Dlfunc.c53 GCObject *o = obj2gco(p); in luaF_findupval() local
93 GCObject *o = obj2gco(uv); in luaF_close() local
Dlgc.h108 #define resetoldbit(o) resetbit((o)->gch.marked, OLDBIT) argument
133 #define luaC_objbarrier(L,p,o) \ argument
137 #define luaC_objbarrierback(L,p,o) \ argument
Dlopcodes.h90 #define SET_OPCODE(i,o) ((i) = (((i)&MASK0(SIZE_OP,POS_OP)) | \ argument
116 #define CREATE_ABC(o,a,b,c) ((cast(Instruction, o)<<POS_OP) \ argument
121 #define CREATE_ABx(o,a,bc) ((cast(Instruction, o)<<POS_OP) \ argument
125 #define CREATE_Ax(o,a) ((cast(Instruction, o)<<POS_OP) \ argument
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/
Dlobject.h123 #define val_(o) ((o)->value_) argument
127 #define rttype(o) ((o)->tt_) argument
133 #define ttype(o) (rttype(o) & 0x3F) argument
136 #define ttnov(o) (novariant(rttype(o))) argument
140 #define checktag(o,t) (rttype(o) == (t)) argument
141 #define checktype(o,t) (ttnov(o) == (t)) argument
142 #define ttisnumber(o) checktype((o), LUA_TNUMBER) argument
143 #define ttisfloat(o) checktag((o), LUA_TNUMFLT) argument
144 #define ttisinteger(o) checktag((o), LUA_TNUMINT) argument
145 #define ttisnil(o) checktag((o), LUA_TNIL) argument
[all …]
Dlvm.h17 #define cvt2str(o) ttisnumber(o) argument
19 #define cvt2str(o) 0 /* no conversion from numbers to strings */ argument
24 #define cvt2num(o) ttisstring(o) argument
26 #define cvt2num(o) 0 /* no conversion from strings to numbers */ argument
40 #define tonumber(o,n) \ argument
43 #define tointeger(o,i) \ argument
Dlapi.c43 #define isvalid(o) ((o) != luaO_nilobject) argument
52 #define isstackindex(i, o) (isvalid(o) && !ispseudo(i)) argument
54 #define api_checkvalidindex(l,o) api_check(l, isvalid(o), "invalid index") argument
56 #define api_checkstackindex(l, i, o) \ argument
63 TValue *o = ci->func + idx; in index2addr() local
252 StkId o = index2addr(L, idx); in lua_type() local
265 StkId o = index2addr(L, idx); in lua_iscfunction() local
271 StkId o = index2addr(L, idx); in lua_isinteger() local
278 const TValue *o = index2addr(L, idx); in lua_isnumber() local
284 const TValue *o = index2addr(L, idx); in lua_isstring() local
[all …]
Dlgc.c83 #define markvalue(g,o) { checkconsistency(o); \ argument
113 #define linkgclist(o,p) ((o)->gclist = (p), (p) = obj2gco(o)) argument
139 static int iscleared (global_State *g, const TValue *o) { in iscleared()
155 void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v) { in luaC_barrier_()
187 GCObject *o = gcvalue(uv->v); in luaC_upvalbarrier_() local
194 void luaC_fix (lua_State *L, GCObject *o) { in luaC_fix()
210 GCObject *o = cast(GCObject *, luaM_newobject(L, novariant(tt), sz)); in luaC_newobj() local
235 static void reallymarkobject (global_State *g, GCObject *o) { in reallymarkobject()
300 GCObject *o; in markbeingfnz() local
531 StkId o = th->stack; in traversethread() local
[all …]
Dlstate.h222 #define cast_u(o) cast(union GCUnion *, (o)) argument
225 #define gco2ts(o) \ argument
227 #define gco2u(o) check_exp((o)->tt == LUA_TUSERDATA, &((cast_u(o))->u)) argument
228 #define gco2lcl(o) check_exp((o)->tt == LUA_TLCL, &((cast_u(o))->cl.l)) argument
229 #define gco2ccl(o) check_exp((o)->tt == LUA_TCCL, &((cast_u(o))->cl.c)) argument
230 #define gco2cl(o) \ argument
232 #define gco2t(o) check_exp((o)->tt == LUA_TTABLE, &((cast_u(o))->h)) argument
233 #define gco2p(o) check_exp((o)->tt == LUA_TPROTO, &((cast_u(o))->p)) argument
234 #define gco2th(o) check_exp((o)->tt == LUA_TTHREAD, &((cast_u(o))->th)) argument
Dlfunc.c26 GCObject *o = luaC_newobj(L, LUA_TCCL, sizeCclosure(n)); in luaF_newCclosure() local
34 GCObject *o = luaC_newobj(L, LUA_TLCL, sizeLclosure(n)); in luaF_newLclosure() local
100 GCObject *o = luaC_newobj(L, LUA_TPROTO, sizeof(Proto)); in luaF_newproto() local
Dlopcodes.h90 #define SET_OPCODE(i,o) ((i) = (((i)&MASK0(SIZE_OP,POS_OP)) | \ argument
116 #define CREATE_ABC(o,a,b,c) ((cast(Instruction, o)<<POS_OP) \ argument
121 #define CREATE_ABx(o,a,bc) ((cast(Instruction, o)<<POS_OP) \ argument
125 #define CREATE_Ax(o,a) ((cast(Instruction, o)<<POS_OP) \ argument
Dltm.c70 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { in luaT_gettmbyobj()
90 const char *luaT_objtypename (lua_State *L, const TValue *o) { in luaT_objtypename()
Dlcode.c312 int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) { in luaK_codeABC()
324 int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) { in luaK_codeABx()
459 TValue o; in luaK_stringK() local
472 TValue k, o; in luaK_intK() local
482 TValue o; in luaK_numberK() local
492 TValue o; in boolK() local
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dlobject.h79 #define ttisnil(o) (ttype(o) == LUA_TNIL) argument
80 #define ttisnumber(o) (ttype(o) == LUA_TNUMBER) argument
81 #define ttisstring(o) (ttype(o) == LUA_TSTRING) argument
82 #define ttistable(o) (ttype(o) == LUA_TTABLE) argument
83 #define ttisfunction(o) (ttype(o) == LUA_TFUNCTION) argument
84 #define ttisboolean(o) (ttype(o) == LUA_TBOOLEAN) argument
85 #define ttisuserdata(o) (ttype(o) == LUA_TUSERDATA) argument
86 #define ttisthread(o) (ttype(o) == LUA_TTHREAD) argument
87 #define ttislightuserdata(o) (ttype(o) == LUA_TLIGHTUSERDATA) argument
90 #define ttype(o) ((o)->tt) argument
[all …]
Dlapi.c51 TValue *o = L->base + (idx - 1); in index2adr() local
89 void luaA_pushobject (lua_State *L, const TValue *o) { in luaA_pushobject()
204 StkId o; in lua_replace() local
243 StkId o = index2adr(L, idx); in lua_type() local
255 StkId o = index2adr(L, idx); in lua_iscfunction() local
262 const TValue *o = index2adr(L, idx); in lua_isnumber() local
274 const TValue *o = index2adr(L, idx); in lua_isuserdata() local
315 const TValue *o = index2adr(L, idx); in lua_tonumber() local
325 const TValue *o = index2adr(L, idx); in lua_tointeger() local
338 const TValue *o = index2adr(L, idx); in lua_toboolean() local
[all …]
Dlgc.c52 #define markvalue(g,o) { checkconsistency(o); \ argument
69 static void reallymarkobject (global_State *g, GCObject *o) { in reallymarkobject()
257 StkId o, lim; in traversestack() local
278 GCObject *o = g->gray; in propagatemark() local
337 static int iscleared (const TValue *o, int iskey) { in iscleared()
359 TValue *o = &h->array[i]; in cleartable() local
378 static void freeobj (lua_State *L, GCObject *o) { in freeobj()
447 GCObject *o = g->tmudata->gch.next; /* get first element */ in GCTM() local
661 void luaC_barrierf (lua_State *L, GCObject *o, GCObject *v) { in luaC_barrierf()
676 GCObject *o = obj2gco(t); in luaC_barrierback() local
[all …]
Dlstate.h149 #define rawgco2ts(o) check_exp((o)->gch.tt == LUA_TSTRING, &((o)->ts)) argument
150 #define gco2ts(o) (&rawgco2ts(o)->tsv) argument
151 #define rawgco2u(o) check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u)) argument
152 #define gco2u(o) (&rawgco2u(o)->uv) argument
153 #define gco2cl(o) check_exp((o)->gch.tt == LUA_TFUNCTION, &((o)->cl)) argument
154 #define gco2h(o) check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h)) argument
155 #define gco2p(o) check_exp((o)->gch.tt == LUA_TPROTO, &((o)->p)) argument
156 #define gco2uv(o) check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv)) argument
157 #define ngcotouv(o) \ argument
159 #define gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th)) argument
Dlvm.h16 #define tostring(L,o) ((ttype(o) == LUA_TSTRING) || (luaV_tostring(L, o))) argument
18 #define tonumber(o,n) (ttype(o) == LUA_TNUMBER || \ argument
Dprint.c53 const TValue* o=&f->k[i]; in PrintConstant() local
81 OpCode o=GET_OPCODE(i); in PrintCode() local
Dlcode.c251 TValue o; in luaK_stringK() local
258 TValue o; in luaK_numberK() local
265 TValue o; in boolK() local
804 int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) { in luaK_codeABC()
812 int luaK_codeABx (FuncState *fs, OpCode o, int a, unsigned int bc) { in luaK_codeABx()
Dlopcodes.h81 #define SET_OPCODE(i,o) ((i) = (((i)&MASK0(SIZE_OP,POS_OP)) | \ argument
104 #define CREATE_ABC(o,a,b,c) ((cast(Instruction, o)<<POS_OP) \ argument
109 #define CREATE_ABx(o,a,bc) ((cast(Instruction, o)<<POS_OP) \ argument

123