Searched refs:LUA_OK (Results 1 – 10 of 10) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | lua.c | 136 if (status != LUA_OK && !lua_isnil(L, -1)) { in report() 150 if (status != LUA_OK) { in finalreport() 212 if (status == LUA_OK) status = docall(L, 0, 0); in dofile() 219 if (status == LUA_OK) status = docall(L, 0, 0); in dostring() 229 if (status == LUA_OK) in dolibrary() 308 if (status == LUA_OK) status = docall(L, 0, LUA_MULTRET); in dotty() 310 if (status == LUA_OK && lua_gettop(L) > 0) { /* any result to print? */ in dotty() 314 if (lua_pcall(L, lua_gettop(L)-1, 0, 0) != LUA_OK) in dotty() 336 if (status == LUA_OK) in handle_script() 404 if (dostring(L, chunk, "=(command line)") != LUA_OK) in runargs() [all …]
|
D | lcorolib.c | 26 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) { in auxresume() 32 if (status == LUA_OK || status == LUA_YIELD) { in auxresume() 113 case LUA_OK: { in luaB_costatus()
|
D | lbaselib.c | 246 if (status == LUA_OK) { in load_aux() 339 if (luaL_loadfile(L, fname) != LUA_OK) in luaB_dofile() 394 return finishpcall(L, (status == LUA_OK)); in luaB_pcall() 406 return finishpcall(L, (status == LUA_OK)); in luaB_xpcall()
|
D | ldo.c | 128 lj.status = LUA_OK; in luaD_rawrunprotected() 422 lua_assert(ci->u.c.status != LUA_OK); in finishCcall() 502 if (L->status == LUA_OK) { /* may be starting a coroutine */ in resume() 512 L->status = LUA_OK; in resume() 542 api_checknelems(L, (L->status == LUA_OK) ? nargs + 1 : nargs); in lua_resume() 547 while (status != LUA_OK && status != LUA_YIELD) { /* error? */ in lua_resume() 604 if (status != LUA_OK) { /* an error occurred? */ in luaD_pcall()
|
D | luac.c | 144 if (lua_load(L,reader,&i,"=(" PROGNAME ")",NULL)!=LUA_OK) fatal(lua_tostring(L,-1)); in combine() 172 if (luaL_loadfile(L,filename)!=LUA_OK) fatal(lua_tostring(L,-1)); in pmain() 200 if (lua_pcall(L,2,0,0)!=LUA_OK) fatal(lua_tostring(L,-1)); in main()
|
D | lstate.c | 218 L->status = LUA_OK; in preinit_state() 308 if (luaD_rawrunprotected(L, f_luaopen, NULL) != LUA_OK) { in lua_newstate()
|
D | lapi.c | 103 res = (luaD_rawrunprotected(L, &growstack, &size) == LUA_OK); in lua_checkstack() 885 else return LUA_OK; in lua_getctx() 896 api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread"); in lua_callk() 937 api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread"); in lua_pcallk() 965 status = LUA_OK; /* if it is here, there were no errors */ in lua_pcallk() 981 if (status == LUA_OK) { /* no errors? */ in lua_load()
|
D | loadlib.c | 415 return checkload(L, (luaL_loadfile(L, filename) == LUA_OK), filename); in searcher_Lua()
|
D | lgc.c | 827 if (status != LUA_OK && propagateerrors) { /* error while running __gc? */ in GCTM()
|
/device/linaro/bootloader/edk2/StdLib/Include/Lua/ |
D | lua.h | 45 #define LUA_OK 0 macro
|