Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/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.c37 if (ttisstring(obj) && luaO_str2d(svalue(obj), tsvalue(obj)->len, &num)) { in luaV_tonumber()
236 else if (ttisstring(l) && ttisstring(r)) in luaV_lessthan()
248 else if (ttisstring(l) && ttisstring(r)) in luaV_lessequal()
299 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) { in luaV_concat()
305 else if (ttisstring(top-2) && tsvalue(top-2)->len == 0) { in luaV_concat()
H A Dlvm.h17 #define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o)))
H A Dlobject.h135 #define ttisstring(o) checktype((o), LUA_TSTRING) macro
154 #define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
H A Dlgc.c122 else if (ttisstring(o)) { in iscleared()
437 if (mode && ttisstring(mode) && /* is there a weak mode? */ in traversetable()
828 const char *msg = (ttisstring(L->top - 1)) in GCTM()
H A Dlapi.c390 if (!ttisstring(o)) { in lua_tolstring()
/freebsd/contrib/lua/src/
H A Dlvm.h24 #define cvt2num(o) ttisstring(o)
H A Dlvm.c533 if (ttisstring(l) && ttisstring(r)) /* both are strings? */ in lessthanothers()
555 if (ttisstring(l) && ttisstring(r)) /* both are strings? */ in lessequalothers()
630 (ttisstring(o) || (cvt2str(o) && (luaO_tostring(L, o), 1)))
656 if (!(ttisstring(s2v(top - 2)) || cvt2str(s2v(top - 2))) || in luaV_concat()
H A Dlobject.h363 #define ttisstring(o) checktype((o), LUA_TSTRING) macro
369 #define tsvalue(o) check_exp(ttisstring(o), gco2ts(val_(o).gc))
H A Dltm.c96 if (ttisstring(name)) /* is '__name' a string? */ in luaT_objtypename()
H A Dldebug.c487 if (ttisstring(kvalue)) { in kname()
788 if (ttisstring(p1) || cvt2str(p1)) p1 = p2; in luaG_concaterror()
H A Dlstate.c438 const char *msg = (ttisstring(errobj)) in luaE_warnerror()
H A Dlapi.c318 return (ttisstring(o) || cvt2str(o)); in lua_isstring()
409 if (!ttisstring(o)) { in lua_tolstring()