Home
last modified time | relevance | path

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

/external/lua/src/
Dlstring.c208 if (l == ts->shrlen && (memcmp(str, getstr(ts), l * sizeof(char)) == 0)) { in internshrstr()
222 ts->shrlen = cast_byte(l); in internshrstr()
Dlobject.h365 lu_byte shrlen; /* length for short strings */ member
386 #define tsslen(s) ((s)->tt == LUA_VSHRSTR ? (s)->shrlen : (s)->u.lnglen)
Dlvm.c619 #define isemptystr(o) (ttisshrstring(o) && tsvalue(o)->shrlen == 0)
692 setivalue(s2v(ra), tsvalue(rb)->shrlen); in luaV_objlen()
Dlgc.c793 luaM_freemem(L, o, sizelstring(gco2ts(o)->shrlen)); in freeobj()
Dlapi.c405 case LUA_VSHRSTR: return tsvalue(o)->shrlen; in lua_rawlen()