Searched refs:luaS_newlstr (Results 1 - 15 of 15) sorted by relevance
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
H A D | lstring.h | 19 #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 D | lstring.c | 156 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { function 171 return luaS_newlstr(L, str, strlen(str));
|
H A D | lobject.c | 170 setsvalue2s(L, L->top++, luaS_newlstr(L, str, l));
|
H A D | lundump.c | 82 return luaS_newlstr(S->L,s,size-1); /* remove trailing '\0' */
|
H A D | llex.c | 125 TString *ts = luaS_newlstr(L, str, l); /* create new string */
|
H A D | lvm.c | 54 setsvalue2s(L, obj, luaS_newlstr(L, s, l)); 327 setsvalue2s(L, top-n, luaS_newlstr(L, buffer, tl));
|
H A D | lapi.c | 504 ts = luaS_newlstr(L, s, len); 1138 setsvalue2s(L, L->top, luaS_newlstr(L, "", 0));
|
H A D | lcode.c | 332 setsvalue(L, L->top++, luaS_newlstr(L, (char *)&r, sizeof(r)));
|
/freebsd-11-stable/contrib/lua/src/ |
H A D | lstring.h | 20 #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 D | lstring.c | 199 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { function 231 p[0] = luaS_newlstr(L, str, strlen(str));
|
H A D | lobject.c | 386 setsvalue2s(L, obj, luaS_newlstr(L, buff, len)); 391 setsvalue2s(L, L->top, luaS_newlstr(L, str, l));
|
H A D | llex.c | 130 TString *ts = luaS_newlstr(L, str, l); /* create new string */
|
H A D | lundump.c | 97 return luaS_newlstr(S->L, buff, size);
|
H A D | lapi.c | 482 ts = (len == 0) ? luaS_new(L, "") : luaS_newlstr(L, s, len); 1147 setsvalue2s(L, L->top, luaS_newlstr(L, "", 0));
|
H A D | lvm.c | 500 ts = luaS_newlstr(L, buff, tl);
|
Completed in 124 milliseconds