Searched refs:shrlen (Results 1 – 5 of 5) sorted by relevance
208 if (l == ts->shrlen && (memcmp(str, getstr(ts), l * sizeof(char)) == 0)) { in internshrstr()222 ts->shrlen = cast_byte(l); in internshrstr()
365 lu_byte shrlen; /* length for short strings */ member386 #define tsslen(s) ((s)->tt == LUA_VSHRSTR ? (s)->shrlen : (s)->u.lnglen)
619 #define isemptystr(o) (ttisshrstring(o) && tsvalue(o)->shrlen == 0)692 setivalue(s2v(ra), tsvalue(rb)->shrlen); in luaV_objlen()
793 luaM_freemem(L, o, sizelstring(gco2ts(o)->shrlen)); in freeobj()
405 case LUA_VSHRSTR: return tsvalue(o)->shrlen; in lua_rawlen()