Home
last modified time | relevance | path

Searched refs:luaS_newlstr (Results 1 – 7 of 7) sorted by relevance

/redis-3.2.3/deps/lua/src/
H A Dlstring.h20 #define luaS_new(L, s) (luaS_newlstr(L, s, strlen(s)))
21 #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \
28 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
H A Dlstring.c75 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr() function
H A Dlobject.c117 setsvalue2s(L, L->top, luaS_newlstr(L, fmt, e-fmt)); in luaO_pushvfstring()
H A Dlundump.c86 return luaS_newlstr(S->L,s,size-1); /* remove trailing '\0' */ in LoadString()
H A Dllex.c119 TString *ts = luaS_newlstr(L, str, l); in luaX_newstring()
H A Dlapi.c448 setsvalue2s(L, L->top, luaS_newlstr(L, s, len)); in lua_pushlstring()
999 setsvalue2s(L, L->top, luaS_newlstr(L, "", 0)); in lua_concat()
H A Dlvm.c309 setsvalue2s(L, top-n, luaS_newlstr(L, buffer, tl)); in luaV_concat()