Home
last modified time | relevance | path

Searched refs:TValue (Results 1 – 25 of 25) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dltm.h74 LUAI_FUNC const char *luaT_objtypename (lua_State *L, const TValue *o);
77 LUAI_FUNC const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o,
81 LUAI_FUNC void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1,
82 const TValue *p2, const TValue *p3);
83 LUAI_FUNC void luaT_callTMres (lua_State *L, const TValue *f,
84 const TValue *p1, const TValue *p2, StkId p3);
85 LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2,
88 LUAI_FUNC void luaT_trybinassocTM (lua_State *L, const TValue *p1,
89 const TValue *p2, int inv, StkId res, TMS event);
92 LUAI_FUNC int luaT_callorderTM (lua_State *L, const TValue *p1,
[all …]
A Dltable.h38 LUAI_FUNC const TValue *luaH_getint (Table *t, lua_Integer key);
40 TValue *value);
41 LUAI_FUNC const TValue *luaH_getshortstr (Table *t, TString *key);
42 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
43 LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
44 LUAI_FUNC void luaH_newkey (lua_State *L, Table *t, const TValue *key,
45 TValue *value);
46 LUAI_FUNC void luaH_set (lua_State *L, Table *t, const TValue *key,
47 TValue *value);
49 const TValue *slot, TValue *value);
[all …]
A Dlvm.h109 { setobj2t(L, cast(TValue *,slot), v); \
115 LUAI_FUNC int luaV_equalobj (lua_State *L, const TValue *t1, const TValue *t2);
116 LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r);
117 LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r);
118 LUAI_FUNC int luaV_tonumber_ (const TValue *obj, lua_Number *n);
120 LUAI_FUNC int luaV_tointegerns (const TValue *obj, lua_Integer *p,
123 LUAI_FUNC void luaV_finishget (lua_State *L, const TValue *t, TValue *key,
124 StkId val, const TValue *slot);
125 LUAI_FUNC void luaV_finishset (lua_State *L, const TValue *t, TValue *key,
126 TValue *val, const TValue *slot);
[all …]
A Dltm.c61 const TValue *tm = luaH_getshortstr(events, ename); in luaT_gettm()
71 const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { in luaT_gettmbyobj()
103 void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1, in luaT_callTM()
104 const TValue *p2, const TValue *p3) { in luaT_callTM()
119 void luaT_callTMres (lua_State *L, const TValue *f, const TValue *p1, in luaT_callTMres()
137 static int callbinTM (lua_State *L, const TValue *p1, const TValue *p2, in callbinTM()
148 void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_trybinTM()
175 void luaT_trybinassocTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_trybinassocTM()
186 TValue aux; in luaT_trybiniTM()
201 int luaT_callorderTM (lua_State *L, const TValue *p1, const TValue *p2, in luaT_callorderTM()
[all …]
A Dldebug.h42 LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o,
44 LUAI_FUNC l_noret luaG_callerror (lua_State *L, const TValue *o);
45 LUAI_FUNC l_noret luaG_forerror (lua_State *L, const TValue *o,
47 LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1,
48 const TValue *p2);
49 LUAI_FUNC l_noret luaG_opinterror (lua_State *L, const TValue *p1,
50 const TValue *p2,
52 LUAI_FUNC l_noret luaG_tointerror (lua_State *L, const TValue *p1,
53 const TValue *p2);
54 LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1,
[all …]
A Dlvm.c90 static int l_strton (const TValue *obj, TValue *result) { in l_strton()
104 TValue v; in luaV_tonumber_()
153 TValue v; in luaV_tointeger()
330 void luaV_finishset (lua_State *L, const TValue *t, TValue *key, in luaV_finishset()
331 TValue *val, const TValue *slot) { in luaV_finishset()
476 static int LTnum (const TValue *l, const TValue *r) { in LTnum()
498 static int LEnum (const TValue *l, const TValue *r) { in LEnum()
532 int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r) { in luaV_lessthan()
566 const TValue *tm; in luaV_equalobj()
684 const TValue *tm; in luaV_objlen()
[all …]
A Dlobject.h65 typedef struct TValue { struct
67 } TValue; typedef
117 { TValue *io1=(obj1); const TValue *io2=(obj2); \
147 TValue val;
297 { TValue *io = (obj); GCObject *i_g=(x); \
359 { TValue *io = (obj); TString *x_ = (x); \
432 { TValue *io = (obj); Udata *x_ = (x); \
439 TValue uv;
672 { TValue *io = (obj); Table *x_ = (x); \
729 TValue *array; /* array part */
[all …]
A Dltable.c288 static const TValue *getgeneric (Table *t, const TValue *key, int deadok) { in getgeneric()
505 TValue k; in reinsert()
547 TValue *newarray; in luaH_resize()
654 void luaH_newkey (lua_State *L, Table *t, const TValue *key, TValue *value) { in luaH_newkey()
656 TValue aux; in luaH_newkey()
767 TValue ko; in luaH_getstr()
777 const TValue *luaH_get (Table *t, const TValue *key) { in luaH_get()
801 const TValue *slot, TValue *value) { in luaH_finishset()
813 void luaH_set (lua_State *L, Table *t, const TValue *key, TValue *value) { in luaH_set()
814 const TValue *slot = luaH_get(t, key); in luaH_set()
[all …]
A Dlapi.c400 TValue *o; in lua_tolstring()
670 TValue *t; in lua_gettable()
690 TValue *t; in lua_geti()
748 TValue k; in lua_rawgetp()
797 TValue *o; in lua_getiuservalue()
850 TValue *t; in lua_settable()
872 TValue *t; in lua_seti()
909 TValue k; in lua_rawsetp()
968 TValue *o; in lua_setiuservalue()
1105 TValue *o; in lua_dump()
[all …]
A Dlobject.c89 int luaO_rawarith (lua_State *L, int op, const TValue *p1, const TValue *p2, in luaO_rawarith()
90 TValue *res) { in luaO_rawarith()
126 void luaO_arith (lua_State *L, int op, const TValue *p1, const TValue *p2, in luaO_arith()
308 size_t luaO_str2num (const char *s, TValue *o) { in luaO_str2num()
355 static int tostringbuff (TValue *obj, char *buff) { in tostringbuff()
374 void luaO_tostring (lua_State *L, TValue *obj) { in luaO_tostring()
459 static void addnum2buff (BuffFS *buff, TValue *num) { in addnum2buff()
490 TValue num; in luaO_pushvfstring()
496 TValue num; in luaO_pushvfstring()
502 TValue num; in luaO_pushvfstring()
A Dldebug.c297 TValue v; in collectvalidlines()
386 TValue *func; in lua_getinfo()
427 TValue *kvalue = &p->k[c]; in kname()
649 static int isinstack (CallInfo *ci, const TValue *o) { in isinstack()
678 static const char *varinfo (lua_State *L, const TValue *o) { in varinfo()
698 l_noret luaG_callerror (lua_State *L, const TValue *o) { in luaG_callerror()
717 l_noret luaG_concaterror (lua_State *L, const TValue *p1, const TValue *p2) { in luaG_concaterror()
723 l_noret luaG_opinterror (lua_State *L, const TValue *p1, in luaG_opinterror()
724 const TValue *p2, const char *msg) { in luaG_opinterror()
734 l_noret luaG_tointerror (lua_State *L, const TValue *p1, const TValue *p2) { in luaG_tointerror()
[all …]
A Dlfunc.c108 static void callclosemethod (lua_State *L, TValue *obj, TValue *err, int yy) { in callclosemethod()
110 const TValue *tm = luaT_gettmbyobj(L, obj, TM_CLOSE); in callclosemethod()
127 const TValue *tm = luaT_gettmbyobj(L, s2v(level), TM_CLOSE); in checkclosemth()
145 TValue *uv = s2v(level); /* value being closed */ in prepcallclosemth()
146 TValue *errobj; in prepcallclosemth()
198 TValue *slot = &uv->u.value; /* new position for value */ in luaF_closeupval()
A Dlfunc.h15 cast_int(sizeof(TValue)) * (n))
18 cast_int(sizeof(TValue *)) * (n))
A Dlcode.c55 static int tonumeral (const expdesc *e, TValue *v) { in tonumeral()
542 static int addk (FuncState *fs, TValue *key, TValue *v) { in addk()
543 TValue val; in addk()
575 TValue o; in stringK()
588 TValue k, o; in luaK_intK()
598 TValue o; in luaK_numberK()
608 TValue o; in boolF()
618 TValue o; in boolT()
628 TValue k, v; in nilK()
1296 static int validop (int op, TValue *v1, TValue *v2) { in validop()
[all …]
A Dlstate.h257 TValue l_registry;
258 TValue nilvalue; /* a nil value */
A Dlparser.h104 TValue k; /* constant value (if any) */
A Dllex.c137 const TValue *o = luaH_getstr(ls->h, ts); in luaX_newstring()
141 TValue *stv = s2v(L->top++); /* reserve stack space for string */ in luaX_newstring()
228 TValue obj; in read_numeral()
A Dlundump.c158 f->k = luaM_newvectorchecked(S->L, n, TValue); in loadConstants()
163 TValue *o = &f->k[i]; in loadConstants()
A Dlcode.h68 LUAI_FUNC int luaK_exp2const (FuncState *fs, const expdesc *e, TValue *v);
A Dlgc.c53 #define WORK2MEM sizeof(TValue)
538 const TValue *mode = gfasttm(g, h->metatable, TM_MODE); in traversetable()
743 TValue *o = &h->array[i]; in clearbyvalues()
901 const TValue *tm; in GCTM()
902 TValue v; in GCTM()
A Dldump.c113 const TValue *o = &f->k[i]; in dumpConstants()
A Dluac.c268 const TValue* o=&f->k[i]; in PrintType()
297 const TValue* o=&f->k[i]; in PrintConstant()
A Dlstate.c428 TValue *errobj = s2v(L->top - 1); /* error object */ in luaE_warnerror()
A Dldo.c391 const TValue *tm = luaT_gettmbyobj(L, s2v(func), TM_CALL); in luaD_tryfuncTM()
A Dlparser.c756 luaM_shrinkvector(L, f->k, f->sizek, fs->nk, TValue); in close_func()

Completed in 661 milliseconds