Searched refs:LUA_OK (Results 1 – 11 of 11) sorted by relevance
/l4re-core-master/lua/lib/contrib/src/ |
A D | lua.c | 121 if (status != LUA_OK) { in report() 194 if (status == LUA_OK) status = docall(L, 0, 0); in dochunk() 218 if (status == LUA_OK) in dolibrary() 246 if (status == LUA_OK) { in handle_script() 336 if (status != LUA_OK) return 0; in runargs() 355 if (init == NULL) return LUA_OK; in handle_luainit() 508 if (status == LUA_OK) { in addreturn() 566 if (lua_pcall(L, n, 0, 0) != LUA_OK) in l_print() 583 if (status == LUA_OK) in doREPL() 585 if (status == LUA_OK) l_print(L); in doREPL() [all …]
|
A D | lcorolib.c | 40 if (l_likely(status == LUA_OK || status == LUA_YIELD)) { in auxresume() 78 if (stat != LUA_OK && stat != LUA_YIELD) { /* error in the coroutine? */ in luaB_auxwrap() 80 lua_assert(stat != LUA_OK); in luaB_auxwrap() 133 case LUA_OK: { in auxstatus() 176 if (status == LUA_OK) { in luaB_close()
|
A D | ldo.c | 101 case LUA_OK: { /* special case only for closing upvalues */ in luaD_seterrorobj() 141 lj.status = LUA_OK; in luaD_rawrunprotected() 617 if (l_likely(status == LUA_OK)) /* no error? */ in finishpcallk() 626 setcistrecst(ci, LUA_OK); /* clear original status */ in finishpcallk() 730 if (L->status == LUA_OK) /* starting a coroutine? */ in resume() 734 L->status = LUA_OK; /* mark that it is running (again) */ in resume() 777 if (L->status == LUA_OK) { /* may be starting a coroutine */ in lua_resume() 787 api_checknelems(L, (L->status == LUA_OK) ? nargs + 1 : nargs); in lua_resume() 870 if (l_likely(status == LUA_OK)) /* no more errors? */ in luaD_closeprotected() 893 if (l_unlikely(status != LUA_OK)) { /* an error occurred? */ in luaD_pcall()
|
A D | lstate.c | 263 L->status = LUA_OK; in preinit_thread() 274 luaD_closeprotected(L, 1, LUA_OK); /* close all upvalues */ in close_state() 332 status = LUA_OK; in luaE_resetthread() 334 if (status != LUA_OK) /* errors? */ in luaE_resetthread() 401 if (luaD_rawrunprotected(L, f_luaopen, NULL) != LUA_OK) { in lua_newstate()
|
A D | lbaselib.c | 303 if (l_likely(status == LUA_OK)) { in load_aux() 397 if (l_unlikely(luaL_loadfile(L, fname) != LUA_OK)) in luaB_dofile() 441 if (l_unlikely(status != LUA_OK && status != LUA_YIELD)) { /* error? */ in finishpcall()
|
A D | luac.c | 151 if (lua_load(L,reader,&i,"=(" PROGNAME ")",NULL)!=LUA_OK) fatal(lua_tostring(L,-1)); in combine() 180 if (luaL_loadfile(L,filename)!=LUA_OK) fatal(lua_tostring(L,-1)); in pmain() 208 if (lua_pcall(L,2,0,0)!=LUA_OK) fatal(lua_tostring(L,-1)); in main()
|
A D | lapi.c | 1004 api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread"); in lua_callk() 1045 api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread"); in lua_pcallk() 1072 status = LUA_OK; /* if it is here, there were no errors */ in lua_pcallk() 1088 if (status == LUA_OK) { /* no errors? */ in lua_load()
|
A D | loadlib.c | 550 return checkload(L, (luaL_loadfile(L, filename) == LUA_OK), filename); in searcher_Lua()
|
A D | lua.h | 49 #define LUA_OK 0 macro
|
A D | lgc.c | 919 if (l_unlikely(status != LUA_OK)) { /* error while running __gc? */ in GCTM()
|
A D | lvm.c | 1539 Protect(luaF_close(L, ra, LUA_OK, 1)); in luaV_execute()
|
Completed in 24 milliseconds