Home
last modified time | relevance | path

Searched refs:LUA_VSHRSTR (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlstring.h35 #define isreserved(s) ((s)->tt == LUA_VSHRSTR && (s)->extra > 0)
41 #define eqshrstr(a,b) check_exp((a)->tt == LUA_VSHRSTR, (a) == (b))
H A Dlobject.h360 #define LUA_VSHRSTR makevariant(LUA_TSTRING, 0) /* short strings */ macro
364 #define ttisshrstring(o) checktag((o), ctb(LUA_VSHRSTR))
410 #define tsslen(s) ((s)->tt == LUA_VSHRSTR ? (s)->shrlen : (s)->u.lnglen)
761 #define keyisshrstr(node) (keytt(node) == ctb(LUA_VSHRSTR))
H A Dltable.c161 case LUA_VSHRSTR: { in mainpositionTV()
760 lua_assert(key->tt == LUA_VSHRSTR); in luaH_getshortstr()
775 if (key->tt == LUA_VSHRSTR) in luaH_getstr()
790 case LUA_VSHRSTR: return luaH_getshortstr(t, tsvalue(key)); in luaH_get()
H A Dluac.c283 case LUA_VSHRSTR: in PrintType()
319 case LUA_VSHRSTR: in PrintConstant()
H A Dldump.c127 case LUA_VSHRSTR: in dumpConstants()
H A Dlstring.c208 ts = createstrobj(L, l, LUA_VSHRSTR, h); in internshrstr()
H A Dlundump.c181 case LUA_VSHRSTR: in loadConstants()
H A Dltests.c318 if (o->tt == LUA_VSHRSTR || o->tt == LUA_VLNGSTR) in printobj()
491 case LUA_VSHRSTR: in checkrefs()
641 assert(o->tt == LUA_VSHRSTR && isgray(o) && getage(o) == G_OLD); in lua_checkmemory()
H A Dlgc.c299 case LUA_VSHRSTR: in reallymarkobject()
799 case LUA_VSHRSTR: { in freeobj()
H A Dlvm.c591 case LUA_VSHRSTR: return eqshrstr(tsvalue(t1), tsvalue(t2)); in luaV_equalobj()
699 case LUA_VSHRSTR: { in luaV_objlen()
H A Dlapi.c429 case LUA_VSHRSTR: return tsvalue(o)->shrlen; in lua_rawlen()
H A Dlcode.c716 case LUA_VSHRSTR: case LUA_VLNGSTR: in const2exp()