Searched refs:luaS_newlstr (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/external/mit/lua/dist/src/ |
H A D | lstring.h | 30 #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \ 54 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
|
H A D | lstring.c | 225 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr() function 257 p[0] = luaS_newlstr(L, str, strlen(str)); in luaS_new()
|
H A D | lobject.c | 406 setsvalue(L, obj, luaS_newlstr(L, buff, len)); in luaO_tostring() 445 setsvalue2s(L, L->top.p, luaS_newlstr(L, str, lstr)); in pushstr()
|
H A D | lundump.c | 123 ts = luaS_newlstr(L, buff, size); /* create string */ in loadStringN()
|
H A D | llex.c | 144 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring()
|
H A D | lapi.c | 539 ts = (len == 0) ? luaS_new(L, "") : luaS_newlstr(L, s, len); in lua_pushlstring() 1301 setsvalue2s(L, L->top.p, luaS_newlstr(L, "", 0)); /* push empty string */ in lua_concat()
|
H A D | lvm.c | 714 ts = luaS_newlstr(L, buff, tl);
|