Home
last modified time | relevance | path

Searched refs:ttisstring (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dldebug.c327 if (ttisstring(kvalue)) { /* literal constant? */ in kname()
441 if (ttisstring(&p->k[b])) { in getobjname()
547 if (ttisstring(p1) || ttisnumber(p1)) p1 = p2; in luaG_concaterror()
548 lua_assert(!ttisstring(p1) && !ttisnumber(p1)); in luaG_concaterror()
H A Dlvm.c38 if (ttisstring(obj) && luaO_str2d(svalue(obj), tsvalue(obj)->len, &num)) { in luaV_tonumber()
235 else if (ttisstring(l) && ttisstring(r)) in luaV_lessthan()
247 else if (ttisstring(l) && ttisstring(r)) in luaV_lessequal()
298 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) { in luaV_concat()
304 else if (ttisstring(top-2) && tsvalue(top-2)->len == 0) { in luaV_concat()
H A Dlvm.h16 #define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o)))
H A Dlobject.h136 #define ttisstring(o) checktype((o), LUA_TSTRING) macro
155 #define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
H A Dlgc.c123 else if (ttisstring(o)) { in iscleared()
438 if (mode && ttisstring(mode) && /* is there a weak mode? */ in traversetable()
829 const char *msg = (ttisstring(L->top - 1)) in GCTM()
H A Dlapi.c390 if (!ttisstring(o)) { in lua_tolstring()