Searched refs:luaS_newlstr (Results 1 – 7 of 7) sorted by relevance
/external/lua/src/ |
D | lstring.h | 28 #define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \ 53 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
|
D | lstring.c | 233 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr() function 265 p[0] = luaS_newlstr(L, str, strlen(str)); in luaS_new()
|
D | lobject.c | 377 setsvalue(L, obj, luaS_newlstr(L, buff, len)); in luaO_tostring() 407 setsvalue2s(L, L->top, luaS_newlstr(L, str, l)); in pushstr()
|
D | lundump.c | 119 ts = luaS_newlstr(L, buff, size); /* create string */ in loadStringN()
|
D | llex.c | 132 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring()
|
D | lapi.c | 505 ts = (len == 0) ? luaS_new(L, "") : luaS_newlstr(L, s, len); in lua_pushlstring() 1259 setsvalue2s(L, L->top, luaS_newlstr(L, "", 0)); /* push empty string */ in lua_concat()
|
D | lvm.c | 664 ts = luaS_newlstr(L, buff, tl); in luaV_concat()
|