Searched refs:ttisstring (Results 1 – 6 of 6) sorted by relevance
327 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()
38 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()
16 #define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o)))
136 #define ttisstring(o) checktype((o), LUA_TSTRING) macro155 #define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
123 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()
390 if (!ttisstring(o)) { in lua_tolstring()