Searched refs:luaS_newlstr (Results 1 – 14 of 14) sorted by relevance
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lstring.h | 20 #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 D | lstring.c | 75 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr() function
|
| H A D | lobject.c | 117 setsvalue2s(L, L->top, luaS_newlstr(L, fmt, e-fmt)); in luaO_pushvfstring()
|
| H A D | lundump.c | 86 return luaS_newlstr(S->L,s,size-1); /* remove trailing '\0' */ in LoadString()
|
| H A D | llex.c | 119 TString *ts = luaS_newlstr(L, str, l); in luaX_newstring()
|
| H A D | lapi.c | 448 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 D | lvm.c | 309 setsvalue2s(L, top-n, luaS_newlstr(L, buffer, tl)); in luaV_concat()
|
| /f-stack/freebsd/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 | 502 ts = luaS_newlstr(L, s, len); in lua_pushlstring() 1136 setsvalue2s(L, L->top, luaS_newlstr(L, "", 0)); in lua_concat()
|
| H A D | lcode.c | 331 setsvalue(L, L->top++, luaS_newlstr(L, (char *)&r, sizeof(r))); in luaK_numberK()
|