TValue 49 lib/lua/lapi.c static TValue *index2adr (lua_State *L, int idx) { TValue 51 lib/lua/lapi.c TValue *o = L->base + (idx - 1); TValue 53 lib/lua/lapi.c if (o >= L->top) return cast(TValue *, luaO_nilobject); TValue 73 lib/lua/lapi.c : cast(TValue *, luaO_nilobject); TValue 89 lib/lua/lapi.c LUAI_FUNC void luaA_pushobject (lua_State *L, const TValue *o) { TValue 261 lib/lua/lapi.c TValue n; TValue 262 lib/lua/lapi.c const TValue *o = index2adr(L, idx); TValue 274 lib/lua/lapi.c const TValue *o = index2adr(L, idx); TValue 314 lib/lua/lapi.c TValue n; TValue 315 lib/lua/lapi.c const TValue *o = index2adr(L, idx); TValue 324 lib/lua/lapi.c TValue n; TValue 325 lib/lua/lapi.c const TValue *o = index2adr(L, idx); TValue 338 lib/lua/lapi.c const TValue *o = index2adr(L, idx); TValue 546 lib/lua/lapi.c TValue key; TValue 588 lib/lua/lapi.c const TValue *obj; TValue 659 lib/lua/lapi.c TValue key; TValue 698 lib/lua/lapi.c TValue *obj; TValue 877 lib/lua/lapi.c TValue *o; TValue 1039 lib/lua/lapi.c static const char *aux_upvalue (StkId fi, int n, TValue **val) { TValue 1059 lib/lua/lapi.c TValue *val; TValue 1073 lib/lua/lapi.c TValue *val; TValue 14 lib/lua/lapi.h LUAI_FUNC void luaA_pushobject (lua_State *L, const TValue *o); TValue 229 lib/lua/lcode.c static int addk (FuncState *fs, TValue *k, TValue *v) { TValue 231 lib/lua/lcode.c TValue *idx = luaH_set(L, fs->h, k); TValue 240 lib/lua/lcode.c luaM_growvector(L, f->k, fs->nk, f->sizek, TValue, TValue 251 lib/lua/lcode.c TValue o; TValue 258 lib/lua/lcode.c TValue o; TValue 265 lib/lua/lcode.c TValue o; TValue 272 lib/lua/lcode.c TValue k, v; TValue 559 lib/lua/ldebug.c static int isinstack (CallInfo *ci, const TValue *o) { TValue 567 lib/lua/ldebug.c LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o, const char *op) { TValue 588 lib/lua/ldebug.c LUAI_FUNC void luaG_aritherror (lua_State *L, const TValue *p1, const TValue *p2) { TValue 589 lib/lua/ldebug.c TValue temp; TValue 596 lib/lua/ldebug.c LUAI_FUNC int luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2) { TValue 21 lib/lua/ldebug.h LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o, TValue 24 lib/lua/ldebug.h LUAI_FUNC void luaG_aritherror (lua_State *L, const TValue *p1, TValue 25 lib/lua/ldebug.h const TValue *p2); TValue 26 lib/lua/ldebug.h LUAI_FUNC int luaG_ordererror (lua_State *L, const TValue *p1, TValue 27 lib/lua/ldebug.h const TValue *p2); TValue 126 lib/lua/ldo.c static void correctstack (lua_State *L, TValue *oldstack) { TValue 142 lib/lua/ldo.c TValue *oldstack = L->stack; TValue 145 lib/lua/ldo.c luaM_reallocvector(L, L->stack, L->stacksize, realsize, TValue); TValue 245 lib/lua/ldo.c const TValue *tm = luaT_gettmbyobj(L, func, TM_CALL); TValue 17 lib/lua/ldo.h if ((char *)L->stack_last - (char *)L->top <= (n)*(int)sizeof(TValue)) \ TValue 25 lib/lua/ldo.h #define restorestack(L,n) ((TValue *)((char *)L->stack + (n))) TValue 86 lib/lua/ldump.c const TValue* o=&f->k[i]; TValue 144 lib/lua/lfunc.c luaM_freearray(L, f->k, f->sizek, TValue); TValue 15 lib/lua/lfunc.h cast(int, sizeof(TValue)*((n)-1))) TValue 18 lib/lua/lfunc.h cast(int, sizeof(TValue *)*((n)-1))) TValue 162 lib/lua/lgc.c const TValue *mode; TValue 287 lib/lua/lgc.c return sizeof(Table) + sizeof(TValue) * h->sizearray + TValue 304 lib/lua/lgc.c return sizeof(lua_State) + sizeof(TValue) * th->stacksize + TValue 313 lib/lua/lgc.c sizeof(TValue) * p->sizek + TValue 337 lib/lua/lgc.c static int iscleared (const TValue *o, int iskey) { TValue 359 lib/lua/lgc.c TValue *o = &h->array[i]; TValue 449 lib/lua/lgc.c const TValue *tm; TValue 120 lib/lua/llex.c TValue *o = luaH_setstr(L, ls->fs->h, ts); /* entry for `str' */ TValue 27 lib/lua/lobject.c const TValue luaO_nilobject_ = {{NULL}, LUA_TNIL}; TValue 72 lib/lua/lobject.c LUAI_FUNC int luaO_rawequalObj (const TValue *t1, const TValue *t2) { TValue 120 lib/lua/lobject.h { TValue *i_o=(obj); i_o->value.n=(x); i_o->tt=LUA_TNUMBER; } TValue 123 lib/lua/lobject.h { TValue *i_o=(obj); i_o->value.p=(x); i_o->tt=LUA_TLIGHTUSERDATA; } TValue 126 lib/lua/lobject.h { TValue *i_o=(obj); i_o->value.b=(x); i_o->tt=LUA_TBOOLEAN; } TValue 129 lib/lua/lobject.h { TValue *i_o=(obj); \ TValue 134 lib/lua/lobject.h { TValue *i_o=(obj); \ TValue 139 lib/lua/lobject.h { TValue *i_o=(obj); \ TValue 144 lib/lua/lobject.h { TValue *i_o=(obj); \ TValue 149 lib/lua/lobject.h { TValue *i_o=(obj); \ TValue 154 lib/lua/lobject.h { TValue *i_o=(obj); \ TValue 162 lib/lua/lobject.h { const TValue *o2=(obj2); TValue *o1=(obj1); \ TValue 193 lib/lua/lobject.h typedef TValue *StkId; /* index to stack elements */ TValue 233 lib/lua/lobject.h TValue *k; /* constants used by the function */ TValue 276 lib/lua/lobject.h TValue *v; /* points to stack or to its own value */ TValue 278 lib/lua/lobject.h TValue value; /* the value (when closed) */ TValue 298 lib/lua/lobject.h TValue upvalue[1]; TValue 328 lib/lua/lobject.h TValue tvk; TValue 333 lib/lua/lobject.h TValue i_val; TValue 343 lib/lua/lobject.h TValue *array; /* array part */ TValue 365 lib/lua/lobject.h LUAI_DATA const TValue luaO_nilobject_; TValue 372 lib/lua/lobject.h LUAI_FUNC int luaO_rawequalObj (const TValue *t1, const TValue *t2); TValue 366 lib/lua/lparser.c luaM_reallocvector(L, f->k, f->sizek, fs->nk, TValue); TValue 49 lib/lua/lstate.c L1->stack = luaM_newvector(L, BASIC_STACK_SIZE + EXTRA_STACK, TValue); TValue 63 lib/lua/lstate.c luaM_freearray(L, L1->stack, L1->stacksize, TValue); TValue 89 lib/lua/lstate.h TValue l_registry; TValue 121 lib/lua/lstate.h TValue l_gt; /* table of globals */ TValue 122 lib/lua/lstate.h TValue env; /* temporary place for environments */ TValue 100 lib/lua/ltable.c static Node *mainposition (const Table *t, const TValue *key) { TValue 120 lib/lua/ltable.c static int arrayindex (const TValue *key) { TValue 211 lib/lua/ltable.c static int countint (const TValue *key, int *nums) { TValue 265 lib/lua/ltable.c luaM_reallocvector(L, t->array, t->sizearray, size, TValue); TValue 314 lib/lua/ltable.c luaM_reallocvector(L, t->array, oldasize, nasize, TValue); TValue 333 lib/lua/ltable.c static void rehash (lua_State *L, Table *t, const TValue *ek) { TValue 377 lib/lua/ltable.c luaM_freearray(L, t->array, t->sizearray, TValue); TValue 399 lib/lua/ltable.c static TValue *newkey (lua_State *L, Table *t, const TValue *key) { TValue 435 lib/lua/ltable.c LUAI_FUNC const TValue *luaH_getnum (Table *t, int key) { TValue 455 lib/lua/ltable.c LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key) { TValue 469 lib/lua/ltable.c LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key) { TValue 494 lib/lua/ltable.c LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key) { TValue 495 lib/lua/ltable.c const TValue *p = luaH_get(t, key); TValue 498 lib/lua/ltable.c return cast(TValue *, p); TValue 508 lib/lua/ltable.c LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key) { TValue 509 lib/lua/ltable.c const TValue *p = luaH_getnum(t, key); TValue 511 lib/lua/ltable.c return cast(TValue *, p); TValue 513 lib/lua/ltable.c TValue k; TValue 520 lib/lua/ltable.c LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key) { TValue 521 lib/lua/ltable.c const TValue *p = luaH_getstr(t, key); TValue 523 lib/lua/ltable.c return cast(TValue *, p); TValue 525 lib/lua/ltable.c TValue k; TValue 582 lib/lua/ltable.c Node *luaH_mainposition (const Table *t, const TValue *key) { TValue 21 lib/lua/ltable.h LUAI_FUNC const TValue *luaH_getnum (Table *t, int key); TValue 22 lib/lua/ltable.h LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key); TValue 23 lib/lua/ltable.h LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); TValue 24 lib/lua/ltable.h LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key); TValue 25 lib/lua/ltable.h LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); TValue 26 lib/lua/ltable.h LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key); TValue 35 lib/lua/ltable.h LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key); TValue 50 lib/lua/ltm.c LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename) { TValue 51 lib/lua/ltm.c const TValue *tm = luaH_getstr(events, ename); TValue 61 lib/lua/ltm.c LUAI_FUNC const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { TValue 49 lib/lua/ltm.h LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename); TValue 50 lib/lua/ltm.h LUAI_FUNC const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TValue 104 lib/lua/lundump.c f->k=luaM_newvector(S->L,n,TValue); TValue 109 lib/lua/lundump.c TValue* o=&f->k[i]; TValue 51 lib/lua/lvm.c LUAI_FUNC const TValue *luaV_tonumber (const TValue *obj, TValue *n) { TValue 96 lib/lua/lvm.c static void callTMres (lua_State *L, StkId res, const TValue *f, TValue 97 lib/lua/lvm.c const TValue *p1, const TValue *p2) { TValue 112 lib/lua/lvm.c static void callTM (lua_State *L, const TValue *f, const TValue *p1, TValue 113 lib/lua/lvm.c const TValue *p2, const TValue *p3) { TValue 124 lib/lua/lvm.c LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val) { TValue 127 lib/lua/lvm.c const TValue *tm; TValue 130 lib/lua/lvm.c const TValue *res = luaH_get(h, key); /* do a primitive get */ TValue 150 lib/lua/lvm.c LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val) { TValue 152 lib/lua/lvm.c TValue temp; TValue 154 lib/lua/lvm.c const TValue *tm; TValue 157 lib/lua/lvm.c TValue *oldval = luaH_set(L, h, key); /* do a primitive set */ TValue 181 lib/lua/lvm.c static int call_binTM (lua_State *L, const TValue *p1, const TValue *p2, TValue 183 lib/lua/lvm.c const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ TValue 192 lib/lua/lvm.c static const TValue *get_compTM (lua_State *L, Table *mt1, Table *mt2, TValue 194 lib/lua/lvm.c const TValue *tm1 = fasttm(L, mt1, event); TValue 195 lib/lua/lvm.c const TValue *tm2; TValue 206 lib/lua/lvm.c static int call_orderTM (lua_State *L, const TValue *p1, const TValue *p2, TValue 208 lib/lua/lvm.c const TValue *tm1 = luaT_gettmbyobj(L, p1, event); TValue 209 lib/lua/lvm.c const TValue *tm2; TValue 241 lib/lua/lvm.c LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r) { TValue 255 lib/lua/lvm.c static int lessequal (lua_State *L, const TValue *l, const TValue *r) { TValue 271 lib/lua/lvm.c LUAI_FUNC int luaV_equalval (lua_State *L, const TValue *t1, const TValue *t2) { TValue 272 lib/lua/lvm.c const TValue *tm; TValue 333 lib/lua/lvm.c static void Arith (lua_State *L, StkId ra, const TValue *rb, TValue 334 lib/lua/lvm.c const TValue *rc, TMS op) { TValue 335 lib/lua/lvm.c TValue tempb, tempc; TValue 336 lib/lua/lvm.c const TValue *b, *c; TValue 381 lib/lua/lvm.c TValue *rb = RKB(i); \ TValue 382 lib/lua/lvm.c TValue *rc = RKC(i); \ TValue 396 lib/lua/lvm.c TValue *k; TValue 437 lib/lua/lvm.c TValue *rb = RB(i); TValue 449 lib/lua/lvm.c TValue g; TValue 450 lib/lua/lvm.c TValue *rb = KBx(i); TValue 461 lib/lua/lvm.c TValue g; TValue 515 lib/lua/lvm.c TValue *rb = RB(i); TValue 531 lib/lua/lvm.c const TValue *rb = RB(i); TValue 562 lib/lua/lvm.c TValue *rb = RKB(i); TValue 563 lib/lua/lvm.c TValue *rc = RKC(i); TValue 594 lib/lua/lvm.c TValue *rb = RB(i); TValue 683 lib/lua/lvm.c const TValue *init = ra; TValue 684 lib/lua/lvm.c const TValue *plimit = ra+1; TValue 685 lib/lua/lvm.c const TValue *pstep = ra+2; TValue 729 lib/lua/lvm.c TValue *val = ra+n; TValue 25 lib/lua/lvm.h LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r); TValue 26 lib/lua/lvm.h LUAI_FUNC int luaV_equalval (lua_State *L, const TValue *t1, const TValue *t2); TValue 27 lib/lua/lvm.h LUAI_FUNC const TValue *luaV_tonumber (const TValue *obj, TValue *n); TValue 29 lib/lua/lvm.h LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key, TValue 31 lib/lua/lvm.h LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key, TValue 53 lib/lua/print.c const TValue* o=&f->k[i];