Searched refs:tsvalue (Results 1 – 8 of 8) sorted by relevance
/external/lua/src/ |
D | lvm.c | 526 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 …]
|
D | lobject.h | 345 #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))
|
D | ldump.c | 125 dumpString(D, tsvalue(o)); in dumpConstants()
|
D | ltm.c | 97 return getstr(tsvalue(name)); /* use it as type name */ in luaT_objtypename()
|
D | ltable.c | 191 return luaS_eqlngstr(tsvalue(k1), keystrval(n2)); in equalkey() 743 case LUA_VSHRSTR: return luaH_getshortstr(t, tsvalue(key)); in luaH_get()
|
D | lapi.c | 405 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()
|
D | luac.c | 322 PrintString(tsvalue(o)); in PrintConstant()
|
D | lcode.c | 697 e->k = VKSTR; e->u.strval = tsvalue(v); in const2exp()
|