Searched refs:luaS_new (Results 1 – 7 of 7) sorted by relevance
/external/lua/src/ |
D | ltm.c | 49 G(L)->tmname[i] = luaS_new(L, luaT_eventname[i]); in luaT_init() 94 const TValue *name = luaH_getshortstr(mt, luaS_new(L, "__name")); in luaT_objtypename()
|
D | lstring.h | 45 LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
|
D | lapi.c | 482 ts = (len == 0) ? luaS_new(L, "") : luaS_newlstr(L, s, len); in lua_pushlstring() 497 ts = luaS_new(L, s); in lua_pushstring() 590 TString *str = luaS_new(L, k); in auxgetstr() 745 TString *str = luaS_new(L, k); in auxsetstr()
|
D | lstring.c | 219 TString *luaS_new (lua_State *L, const char *str) { in luaS_new() function
|
D | llex.c | 75 TString *ts = luaS_new(L, luaX_tokens[i]); in luaX_init()
|
D | lparser.c | 455 TString *n = luaS_new(ls->L, "break"); in breaklabel() 1195 label = luaS_new(ls->L, "break"); in gotostat() 1637 funcstate.f->source = luaS_new(L, name); /* create and anchor TString */ in luaY_parser()
|
D | ldo.c | 605 setsvalue2s(L, L->top, luaS_new(L, msg)); /* push error message */ in resume_error()
|