Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlvm.c38 if (ttisstring(obj) && luaO_str2d(svalue(obj), tsvalue(obj)->len, &num)) { in luaV_tonumber()
302 else if (tsvalue(top-1)->len == 0) /* second operand is empty? */ in luaV_concat()
304 else if (ttisstring(top-2) && tsvalue(top-2)->len == 0) { in luaV_concat()
309 size_t tl = tsvalue(top-1)->len; in luaV_concat()
314 size_t l = tsvalue(top-i-1)->len; in luaV_concat()
323 size_t l = tsvalue(top-i)->len; in luaV_concat()
346 setnvalue(ra, cast_num(tsvalue(rb)->len)); in luaV_objlen()
Dlobject.h157 #define tsvalue(o) (&rawtsvalue(o)->tsv) macro
Dlapi.c402 if (len != NULL) *len = tsvalue(o)->len; in lua_tolstring()
410 case LUA_TSTRING: return tsvalue(o)->len; in lua_rawlen()