Searched refs:ttisstring (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/module/lua/
H A Dlvm.h17 #define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o)))
H A Dldebug.c326 if (ttisstring(kvalue)) { /* literal constant? */
440 if (ttisstring(&p->k[b])) {
546 if (ttisstring(p1) || ttisnumber(p1)) p1 = p2;
547 lua_assert(!ttisstring(p1) && !ttisnumber(p1));
H A Dlvm.c37 if (ttisstring(obj) && luaO_str2d(svalue(obj), tsvalue(obj)->len, &num)) {
236 else if (ttisstring(l) && ttisstring(r))
248 else if (ttisstring(l) && ttisstring(r))
299 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) {
305 else if (ttisstring(top-2) && tsvalue(top-2)->len == 0) {
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)) {
437 if (mode && ttisstring(mode) && /* is there a weak mode? */
828 const char *msg = (ttisstring(L->top - 1))
H A Dlapi.c388 if (!ttisstring(o)) {
/freebsd-13-stable/contrib/lua/src/
H A Dlvm.h24 #define cvt2num(o) ttisstring(o)
H A Dlvm.c532 if (ttisstring(l) && ttisstring(r)) /* both are strings? */
554 if (ttisstring(l) && ttisstring(r)) /* both are strings? */
624 (ttisstring(o) || (cvt2str(o) && (luaO_tostring(L, o), 1)))
649 if (!(ttisstring(s2v(top - 2)) || cvt2str(s2v(top - 2))) ||
H A Dlobject.h341 #define ttisstring(o) checktype((o), LUA_TSTRING) macro
347 #define tsvalue(o) check_exp(ttisstring(o), gco2ts(val_(o).gc))
H A Dltm.c96 if (ttisstring(name)) /* is '__name' a string? */
H A Dldebug.c432 *name = (ttisstring(kvalue)) ? svalue(kvalue) : "?";
574 if (ttisstring(&p->k[b])) {
707 if (ttisstring(p1) || cvt2str(p1)) p1 = p2;
H A Dlstate.c424 const char *msg = (ttisstring(errobj))
H A Dlapi.c294 return (ttisstring(o) || cvt2str(o));
385 if (!ttisstring(o)) {
H A Dlgc.c540 if (mode && ttisstring(mode) && /* is there a weak mode? */

Completed in 210 milliseconds