Home
last modified time | relevance | path

Searched refs:shrlen (Results 1 – 5 of 5) sorted by relevance

/external/lua/src/
Dlstring.c174 if (l == ts->shrlen && in internshrstr()
188 ts->shrlen = cast_byte(l); in internshrstr()
Dlobject.h306 lu_byte shrlen; /* length for short strings */ member
336 #define tsslen(s) ((s)->tt == LUA_TSHRSTR ? (s)->shrlen : (s)->u.lnglen)
Dlgc.c241 g->GCmemtrav += sizelstring(gco2ts(o)->shrlen); in reallymarkobject()
713 luaM_freemem(L, o, sizelstring(gco2ts(o)->shrlen)); in freeobj()
Dlvm.c457 #define isemptystr(o) (ttisshrstring(o) && tsvalue(o)->shrlen == 0)
528 setivalue(ra, tsvalue(rb)->shrlen); in luaV_objlen()
Dlapi.c395 case LUA_TSHRSTR: return tsvalue(o)->shrlen; in lua_rawlen()