Searched refs:luaS_newlstr (Results 1 – 14 of 14) sorted by relevance
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lstring.h | 20 #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \ 43 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
|
H A D | lstring.c | 157 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr() function 172 return luaS_newlstr(L, str, strlen(str)); in luaS_new()
|
H A D | lobject.c | 169 setsvalue2s(L, L->top++, luaS_newlstr(L, str, l)); in pushstr()
|
H A D | llex.c | 124 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring()
|
H A D | lvm.c | 53 setsvalue2s(L, obj, luaS_newlstr(L, s, l)); in luaV_tostring() 328 setsvalue2s(L, top-n, luaS_newlstr(L, buffer, tl)); in luaV_concat()
|
H A D | lapi.c | 504 ts = luaS_newlstr(L, s, len); in lua_pushlstring() 1138 setsvalue2s(L, L->top, luaS_newlstr(L, "", 0)); in lua_concat()
|
H A D | lcode.c | 335 setsvalue(L, L->top++, luaS_newlstr(L, (char *)&r, sizeof(r))); in luaK_numberK()
|
/freebsd/contrib/lua/src/ |
H A D | lstring.h | 28 #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \ 52 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
|
H A D | lstring.c | 222 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr() function 254 p[0] = luaS_newlstr(L, str, strlen(str)); in luaS_new()
|
H A D | lobject.c | 377 setsvalue(L, obj, luaS_newlstr(L, buff, len)); in luaO_tostring() 416 setsvalue2s(L, L->top.p, luaS_newlstr(L, str, lstr)); in pushstr()
|
H A D | lundump.c | 119 ts = luaS_newlstr(L, buff, size); /* create string */ in loadStringN()
|
H A D | llex.c | 136 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring()
|
H A D | lapi.c | 529 ts = (len == 0) ? luaS_new(L, "") : luaS_newlstr(L, s, len); in lua_pushlstring() 1291 setsvalue2s(L, L->top.p, luaS_newlstr(L, "", 0)); /* push empty string */ in lua_concat()
|
H A D | lvm.c | 680 ts = luaS_newlstr(L, buff, tl); in luaV_concat()
|