Searched refs:shrlen (Results 1 – 5 of 5) sorted by relevance
174 if (l == ts->shrlen && in internshrstr()188 ts->shrlen = cast_byte(l); in internshrstr()
306 lu_byte shrlen; /* length for short strings */ member336 #define tsslen(s) ((s)->tt == LUA_TSHRSTR ? (s)->shrlen : (s)->u.lnglen)
241 g->GCmemtrav += sizelstring(gco2ts(o)->shrlen); in reallymarkobject()713 luaM_freemem(L, o, sizelstring(gco2ts(o)->shrlen)); in freeobj()
457 #define isemptystr(o) (ttisshrstring(o) && tsvalue(o)->shrlen == 0)528 setivalue(ra, tsvalue(rb)->shrlen); in luaV_objlen()
395 case LUA_TSHRSTR: return tsvalue(o)->shrlen; in lua_rawlen()