Lines Matching refs:o

70 #define val_(o)		((o)->value_)  argument
71 #define valraw(o) (&val_(o)) argument
75 #define rawtt(o) ((o)->tt_) argument
82 #define ttypetag(o) withvariant(rawtt(o)) argument
85 #define ttype(o) (novariant(rawtt(o))) argument
89 #define checktag(o,t) (rawtt(o) == (t)) argument
90 #define checktype(o,t) (ttype(o) == (t)) argument
112 #define settt_(o,t) ((o)->tt_=(t)) argument
159 #define s2v(o) (&(o)->val) argument
184 #define ttisstrictnil(o) checktag((o), LUA_VNIL) argument
229 #define ttisboolean(o) checktype((o), LUA_TBOOLEAN) argument
230 #define ttisfalse(o) checktag((o), LUA_VFALSE) argument
231 #define ttistrue(o) checktag((o), LUA_VTRUE) argument
234 #define l_isfalse(o) (ttisfalse(o) || ttisnil(o)) argument
251 #define ttisthread(o) checktag((o), ctb(LUA_VTHREAD)) argument
253 #define thvalue(o) check_exp(ttisthread(o), gco2th(val_(o).gc)) argument
260 #define setthvalue2s(L,o,t) setthvalue(L,s2v(o),t) argument
287 #define iscollectable(o) (rawtt(o) & BIT_ISCOLLECTABLE) argument
292 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc) argument
313 #define ttisnumber(o) checktype((o), LUA_TNUMBER) argument
314 #define ttisfloat(o) checktag((o), LUA_VNUMFLT) argument
315 #define ttisinteger(o) checktag((o), LUA_VNUMINT) argument
317 #define nvalue(o) check_exp(ttisnumber(o), \ argument
318 (ttisinteger(o) ? cast_num(ivalue(o)) : fltvalue(o)))
319 #define fltvalue(o) check_exp(ttisfloat(o), val_(o).n) argument
320 #define ivalue(o) check_exp(ttisinteger(o), val_(o).i) argument
350 #define ttisstring(o) checktype((o), LUA_TSTRING) argument
351 #define ttisshrstring(o) checktag((o), ctb(LUA_VSHRSTR)) argument
352 #define ttislngstring(o) checktag((o), ctb(LUA_VLNGSTR)) argument
356 #define tsvalue(o) check_exp(ttisstring(o), gco2ts(val_(o).gc)) argument
364 #define setsvalue2s(L,o,s) setsvalue(L,s2v(o),s) argument
394 #define svalue(o) getstr(tsvalue(o)) argument
400 #define vslen(o) tsslen(tsvalue(o)) argument
420 #define ttislightuserdata(o) checktag((o), LUA_VLIGHTUSERDATA) argument
421 #define ttisfulluserdata(o) checktag((o), ctb(LUA_VUSERDATA)) argument
423 #define pvalue(o) check_exp(ttislightuserdata(o), val_(o).p) argument
424 #define uvalue(o) check_exp(ttisfulluserdata(o), gco2u(val_(o).gc)) argument
581 #define ttisfunction(o) checktype(o, LUA_TFUNCTION) argument
582 #define ttisLclosure(o) checktag((o), ctb(LUA_VLCL)) argument
583 #define ttislcf(o) checktag((o), LUA_VLCF) argument
584 #define ttisCclosure(o) checktag((o), ctb(LUA_VCCL)) argument
585 #define ttisclosure(o) (ttisLclosure(o) || ttisCclosure(o)) argument
588 #define isLfunction(o) ttisLclosure(o) argument
590 #define clvalue(o) check_exp(ttisclosure(o), gco2cl(val_(o).gc)) argument
591 #define clLvalue(o) check_exp(ttisLclosure(o), gco2lcl(val_(o).gc)) argument
592 #define fvalue(o) check_exp(ttislcf(o), val_(o).f) argument
593 #define clCvalue(o) check_exp(ttisCclosure(o), gco2ccl(val_(o).gc)) argument
602 #define setclLvalue2s(L,o,cl) setclLvalue(L,s2v(o),cl) argument
654 #define getproto(o) (clLvalue(o)->p) argument
667 #define ttistable(o) checktag((o), ctb(LUA_VTABLE)) argument
669 #define hvalue(o) check_exp(ttistable(o), gco2t(val_(o).gc)) argument
676 #define sethvalue2s(L,o,h) sethvalue(L,s2v(o),h) argument
790 LUAI_FUNC size_t luaO_str2num (const char *s, TValue *o);