Searched refs:ttisstring (Results 1 – 14 of 14) sorted by relevance
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | ldebug.c | 326 if (ttisstring(kvalue)) { /* literal constant? */ in kname() 440 if (ttisstring(&p->k[b])) { in getobjname() 546 if (ttisstring(p1) || ttisnumber(p1)) p1 = p2; in luaG_concaterror() 547 lua_assert(!ttisstring(p1) && !ttisnumber(p1)); in luaG_concaterror()
|
H A D | lvm.c | 36 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 D | lvm.h | 16 #define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o)))
|
H A D | lobject.h | 134 #define ttisstring(o) checktype((o), LUA_TSTRING) macro 153 #define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
|
H A D | lgc.c | 121 else if (ttisstring(o)) { in iscleared() 436 if (mode && ttisstring(mode) && /* is there a weak mode? */ in traversetable() 827 const char *msg = (ttisstring(L->top - 1)) in GCTM()
|
H A D | lapi.c | 389 if (!ttisstring(o)) { in lua_tolstring()
|
/freebsd/contrib/lua/src/ |
H A D | lvm.h | 24 #define cvt2num(o) ttisstring(o)
|
H A D | ldebug.c | 429 *name = (ttisstring(kvalue)) ? svalue(kvalue) : "?"; in kname() 571 if (ttisstring(&p->k[b])) { in getobjname() 762 if (ttisstring(p1) || cvt2str(p1)) p1 = p2; in luaG_concaterror()
|
H A D | lvm.c | 526 if (ttisstring(l) && ttisstring(r)) /* both are strings? */ in lessthanothers() 548 if (ttisstring(l) && ttisstring(r)) /* both are strings? */ in lessequalothers() 623 (ttisstring(o) || (cvt2str(o) && (luaO_tostring(L, o), 1))) 648 if (!(ttisstring(s2v(top - 2)) || cvt2str(s2v(top - 2))) || in luaV_concat()
|
H A D | lobject.h | 363 #define ttisstring(o) checktype((o), LUA_TSTRING) macro 369 #define tsvalue(o) check_exp(ttisstring(o), gco2ts(val_(o).gc))
|
H A D | ltm.c | 96 if (ttisstring(name)) /* is '__name' a string? */ in luaT_objtypename()
|
H A D | lstate.c | 435 const char *msg = (ttisstring(errobj)) in luaE_warnerror()
|
H A D | lapi.c | 318 return (ttisstring(o) || cvt2str(o)); in lua_isstring() 409 if (!ttisstring(o)) { in lua_tolstring()
|
H A D | lgc.c | 546 if (mode && ttisstring(mode) && /* is there a weak mode? */ in traversetable()
|