Home
last modified time | relevance | path

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

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlstring.h19 #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \
42 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
H A Dlstring.c156 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr() function
171 return luaS_newlstr(L, str, strlen(str)); in luaS_new()
H A Dlobject.c170 setsvalue2s(L, L->top++, luaS_newlstr(L, str, l)); in pushstr()
H A Dlundump.c82 return luaS_newlstr(S->L,s,size-1); /* remove trailing '\0' */ in LoadString()
H A Dllex.c125 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring()
H A Dlvm.c54 setsvalue2s(L, obj, luaS_newlstr(L, s, l)); in luaV_tostring()
327 setsvalue2s(L, top-n, luaS_newlstr(L, buffer, tl)); in luaV_concat()
H A Dlapi.c504 ts = luaS_newlstr(L, s, len); in lua_pushlstring()
1138 setsvalue2s(L, L->top, luaS_newlstr(L, "", 0)); in lua_concat()
H A Dlcode.c332 setsvalue(L, L->top++, luaS_newlstr(L, (char *)&r, sizeof(r))); in luaK_numberK()
/freebsd-12.1/contrib/lua/src/
H A Dlstring.h20 #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \
44 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
H A Dlstring.c199 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr() function
231 p[0] = luaS_newlstr(L, str, strlen(str)); in luaS_new()
H A Dlobject.c386 setsvalue2s(L, obj, luaS_newlstr(L, buff, len)); in luaO_tostring()
391 setsvalue2s(L, L->top, luaS_newlstr(L, str, l)); in pushstr()
H A Dlundump.c97 return luaS_newlstr(S->L, buff, size); in LoadString()
H A Dllex.c130 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring()
H A Dlapi.c482 ts = (len == 0) ? luaS_new(L, "") : luaS_newlstr(L, s, len); in lua_pushlstring()
1147 setsvalue2s(L, L->top, luaS_newlstr(L, "", 0)); in lua_concat()
H A Dlvm.c500 ts = luaS_newlstr(L, buff, tl); in luaV_concat()