Searched refs:tsvalue (Results 1 – 8 of 8) sorted by relevance
/l4re-core-master/lua/lib/contrib/src/ |
A D | lvm.c | 523 return l_strcmp(tsvalue(l), tsvalue(r)) < 0; in lessthanothers() 545 return l_strcmp(tsvalue(l), tsvalue(r)) <= 0; in lessequalothers() 587 case LUA_VSHRSTR: return eqshrstr(tsvalue(t1), tsvalue(t2)); in luaV_equalobj() 588 case LUA_VLNGSTR: return luaS_eqlngstr(tsvalue(t1), tsvalue(t2)); in luaV_equalobj() 694 setivalue(s2v(ra), tsvalue(rb)->shrlen); in luaV_objlen() 698 setivalue(s2v(ra), tsvalue(rb)->u.lnglen); in luaV_objlen() 1226 TString *key = tsvalue(rc); /* key must be a string */ in luaV_execute() 1266 TString *key = tsvalue(rc); /* key must be a string */ in luaV_execute() 1279 TString *key = tsvalue(rb); /* key must be a string */ in luaV_execute() 1319 TString *key = tsvalue(rb); /* key must be a string */ in luaV_execute() [all …]
|
A D | lobject.h | 356 #define tsvalue(o) check_exp(ttisstring(o), gco2ts(val_(o).gc)) macro 394 #define svalue(o) getstr(tsvalue(o)) 400 #define vslen(o) tsslen(tsvalue(o))
|
A D | ldump.c | 125 dumpString(D, tsvalue(o)); in dumpConstants()
|
A D | ltm.c | 97 return getstr(tsvalue(name)); /* use it as type name */ in luaT_objtypename()
|
A D | ltable.c | 223 return luaS_eqlngstr(tsvalue(k1), keystrval(n2)); in equalkey() 779 case LUA_VSHRSTR: return luaH_getshortstr(t, tsvalue(key)); in luaH_get()
|
A D | lapi.c | 423 case LUA_VSHRSTR: return tsvalue(o)->shrlen; in lua_rawlen() 424 case LUA_VLNGSTR: return tsvalue(o)->u.lnglen; in lua_rawlen() 1236 if (ttisshrstring(errobj) && eqshrstr(tsvalue(errobj), G(L)->memerrmsg)) in lua_error()
|
A D | luac.c | 322 PrintString(tsvalue(o)); in PrintConstant()
|
A D | lcode.c | 692 e->k = VKSTR; e->u.strval = tsvalue(v); in const2exp()
|
Completed in 20 milliseconds