Home
last modified time | relevance | path

Searched refs:tsvalue (Results 1 – 8 of 8) sorted by relevance

/external/lua/src/
Dlvm.c526 return l_strcmp(tsvalue(l), tsvalue(r)) < 0; in lessthanothers()
548 return l_strcmp(tsvalue(l), tsvalue(r)) <= 0; in lessequalothers()
585 case LUA_VSHRSTR: return eqshrstr(tsvalue(t1), tsvalue(t2)); in luaV_equalobj()
586 case LUA_VLNGSTR: return luaS_eqlngstr(tsvalue(t1), tsvalue(t2)); in luaV_equalobj()
619 #define isemptystr(o) (ttisshrstring(o) && tsvalue(o)->shrlen == 0)
692 setivalue(s2v(ra), tsvalue(rb)->shrlen); in luaV_objlen()
696 setivalue(s2v(ra), tsvalue(rb)->u.lnglen); in luaV_objlen()
1218 TString *key = tsvalue(rc); /* key must be a string */ in luaV_execute()
1258 TString *key = tsvalue(rc); /* key must be a string */ in luaV_execute()
1271 TString *key = tsvalue(rb); /* key must be a string */ in luaV_execute()
[all …]
Dlobject.h345 #define tsvalue(o) check_exp(ttisstring(o), gco2ts(val_(o).gc)) macro
383 #define svalue(o) getstr(tsvalue(o))
389 #define vslen(o) tsslen(tsvalue(o))
Dldump.c125 dumpString(D, tsvalue(o)); in dumpConstants()
Dltm.c97 return getstr(tsvalue(name)); /* use it as type name */ in luaT_objtypename()
Dltable.c191 return luaS_eqlngstr(tsvalue(k1), keystrval(n2)); in equalkey()
743 case LUA_VSHRSTR: return luaH_getshortstr(t, tsvalue(key)); in luaH_get()
Dlapi.c405 case LUA_VSHRSTR: return tsvalue(o)->shrlen; in lua_rawlen()
406 case LUA_VLNGSTR: return tsvalue(o)->u.lnglen; in lua_rawlen()
1211 if (ttisshrstring(errobj) && eqshrstr(tsvalue(errobj), G(L)->memerrmsg)) in lua_error()
Dluac.c322 PrintString(tsvalue(o)); in PrintConstant()
Dlcode.c697 e->k = VKSTR; e->u.strval = tsvalue(v); in const2exp()