Searched refs:luaS_newlstr (Results 1 - 14 of 14) sorted by relevance
/freebsd-13-stable/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) { function 172 return luaS_newlstr(L, str, strlen(str));
|
H A D | lobject.c | 169 setsvalue2s(L, L->top++, luaS_newlstr(L, str, l));
|
H A D | llex.c | 124 TString *ts = luaS_newlstr(L, str, l); /* create new string */
|
H A D | lvm.c | 53 setsvalue2s(L, obj, luaS_newlstr(L, s, l)); 328 setsvalue2s(L, top-n, luaS_newlstr(L, buffer, tl));
|
H A D | lapi.c | 502 ts = luaS_newlstr(L, s, len); 1136 setsvalue2s(L, L->top, luaS_newlstr(L, "", 0));
|
H A D | lcode.c | 331 setsvalue(L, L->top++, luaS_newlstr(L, (char *)&r, sizeof(r)));
|
/freebsd-13-stable/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 | 221 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { function 253 p[0] = luaS_newlstr(L, str, strlen(str));
|
H A D | lobject.c | 377 setsvalue(L, obj, luaS_newlstr(L, buff, len)); 407 setsvalue2s(L, L->top, luaS_newlstr(L, str, l));
|
H A D | llex.c | 132 TString *ts = luaS_newlstr(L, str, l); /* create new string */
|
H A D | lundump.c | 119 ts = luaS_newlstr(L, buff, size); /* create string */
|
H A D | lapi.c | 505 ts = (len == 0) ? luaS_new(L, "") : luaS_newlstr(L, s, len); 1259 setsvalue2s(L, L->top, luaS_newlstr(L, "", 0)); /* push empty string */
|
H A D | lvm.c | 671 ts = luaS_newlstr(L, buff, tl);
|
Completed in 190 milliseconds