Home
last modified time | relevance | path

Searched refs:LUA_OK (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlua.c136 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 …]
Dlcorolib.c26 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()
Dlbaselib.c246 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()
Dldo.c128 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()
Dluac.c144 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()
Dlstate.c218 L->status = LUA_OK; in preinit_state()
308 if (luaD_rawrunprotected(L, f_luaopen, NULL) != LUA_OK) { in lua_newstate()
Dlapi.c103 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()
Dloadlib.c415 return checkload(L, (luaL_loadfile(L, filename) == LUA_OK), filename); in searcher_Lua()
Dlgc.c827 if (status != LUA_OK && propagateerrors) { /* error while running __gc? */ in GCTM()
/device/linaro/bootloader/edk2/StdLib/Include/Lua/
Dlua.h45 #define LUA_OK 0 macro