/freebsd/contrib/lua/src/ |
H A D | lua.c | 122 if (status != LUA_OK) { in report() 196 if (status == LUA_OK) status = docall(L, 0, 0); in dochunk() 226 if (status == LUA_OK) in dolibrary() 254 if (status == LUA_OK) { in handle_script() 353 if (status != LUA_OK) return 0; in runargs() 372 if (init == NULL) return LUA_OK; in handle_luainit() 525 if (status == LUA_OK) { in addreturn() 566 if ((status = addreturn(L)) != LUA_OK) /* 'return ...' did not work? */ in loadline() 583 if (lua_pcall(L, n, 0, 0) != LUA_OK) in l_print() 600 if (status == LUA_OK) in doREPL() [all …]
|
H 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()
|
H A D | lstate.c | 263 L->status = LUA_OK; in preinit_thread() 275 luaD_closeprotected(L, 1, LUA_OK); /* close all upvalues */ in close_state() 329 status = LUA_OK; in luaE_resetthread() 330 L->status = LUA_OK; /* so it can run __close metamethods */ in luaE_resetthread() 332 if (status != LUA_OK) /* errors? */ in luaE_resetthread() 407 if (luaD_rawrunprotected(L, f_luaopen, NULL) != LUA_OK) { in lua_newstate()
|
H 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() 677 if (l_likely(status == LUA_OK)) /* no error? */ in finishpcallk() 685 setcistrecst(ci, LUA_OK); /* clear original status */ in finishpcallk() 789 if (L->status == LUA_OK) /* starting a coroutine? */ in resume() 793 L->status = LUA_OK; /* mark that it is running (again) */ in resume() 835 if (L->status == LUA_OK) { /* may be starting a coroutine */ in lua_resume() 848 api_checknelems(L, (L->status == LUA_OK) ? nargs + 1 : nargs); in lua_resume() 931 if (l_likely(status == LUA_OK)) /* no more errors? */ in luaD_closeprotected() 954 if (l_unlikely(status != LUA_OK)) { /* an error occurred? */ in luaD_pcall()
|
H A D | lbaselib.c | 324 if (l_likely(status == LUA_OK)) { in load_aux() 418 if (l_unlikely(luaL_loadfile(L, fname) != LUA_OK)) in luaB_dofile() 462 if (l_unlikely(status != LUA_OK && status != LUA_YIELD)) { /* error? */ in finishpcall()
|
H A D | luac.c | 151 if (lua_load(L,reader,&i,"=(" PROGNAME ")",NULL)!=LUA_OK) fatal(lua_tostring(L,-1)); in combine() 179 if (luaL_loadfile(L,filename)!=LUA_OK) fatal(lua_tostring(L,-1)); in pmain() 207 if (lua_pcall(L,2,0,0)!=LUA_OK) fatal(lua_tostring(L,-1)); in main()
|
H A D | lapi.c | 1011 api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread"); in lua_callk() 1052 api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread"); in lua_pcallk() 1079 status = LUA_OK; /* if it is here, there were no errors */ in lua_pcallk() 1095 if (status == LUA_OK) { /* no errors? */ in lua_load()
|
H A D | ltests.c | 1124 if (status == LUA_OK) in doonnewstack() 1213 if (status == LUA_OK) in doremote() 1215 if (status != LUA_OK) { in doremote() 1895 if (status != LUA_OK && status != LUA_YIELD) { in coresume()
|
H A D | loadlib.c | 550 return checkload(L, (luaL_loadfile(L, filename) == LUA_OK), filename); in searcher_Lua()
|
H A D | lua.h | 49 #define LUA_OK 0 macro
|
H A D | lgc.c | 925 if (l_unlikely(status != LUA_OK)) { /* error while running __gc? */ in GCTM()
|
H A D | lvm.c | 1596 Protect(luaF_close(L, ra, LUA_OK, 1)); in luaV_execute()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/ |
H A D | Lua.cpp | 51 if (error == LUA_OK) in Run() 66 if (luaL_dostring(m_lua_state, func_str.c_str()) != LUA_OK) { in RegisterBreakpointCallback() 94 if (luaL_dostring(m_lua_state, func_str.c_str()) != LUA_OK) { in RegisterWatchpointCallback() 119 if (error == LUA_OK) { in CheckSyntax() 147 if (error != LUA_OK) { in LoadModule()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lcorolib.c | 23 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) { in auxresume() 29 if (status == LUA_OK || status == LUA_YIELD) { in auxresume() 110 case LUA_OK: { in luaB_costatus()
|
H A D | ldo.c | 211 lj.status = LUA_OK; in luaD_rawrunprotected() 510 lua_assert(ci->u.c.status != LUA_OK); in finishCcall() 590 if (L->status == LUA_OK) { /* may be starting a coroutine */ in resume_cb() 600 L->status = LUA_OK; in resume_cb() 630 api_checknelems(L, (L->status == LUA_OK) ? nargs + 1 : nargs); in lua_resume() 635 while (status != LUA_OK && status != LUA_YIELD) { /* error? */ in lua_resume() 692 if (status != LUA_OK) { /* an error occurred? */ in luaD_pcall()
|
H A D | lstate.c | 214 L->status = LUA_OK; in preinit_state() 305 if (luaD_rawrunprotected(L, f_luaopen, NULL) != LUA_OK) { in lua_newstate()
|
H A D | lapi.c | 99 res = (luaD_rawrunprotected(L, &growstack, &size) == LUA_OK); in lua_checkstack() 883 else return LUA_OK; in lua_getctx() 894 api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread"); in lua_callk() 935 api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread"); in lua_pcallk() 963 status = LUA_OK; /* if it is here, there were no errors */ in lua_pcallk() 979 if (status == LUA_OK) { /* no errors? */ in lua_load()
|
H A D | lgc.c | 825 if (status != LUA_OK && propagateerrors) { /* error while running __gc? */ in GCTM()
|
/freebsd/contrib/llvm-project/lldb/bindings/lua/ |
H A D | lua-wrapper.swig | 28 if (lua_pcall(L, nargs, 1, 0) != LUA_OK) { 58 if (lua_pcall(L, nargs, 1, 0) != LUA_OK) {
|
/freebsd/sys/contrib/openzfs/include/sys/lua/ |
H A D | lua.h | 43 #define LUA_OK 0 macro
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zcp.c | 871 case LUA_OK: { in zcp_eval_impl()
|
/freebsd/lib/clang/liblldb/ |
H A D | LLDBWrapLua.cpp | 3821 if (lua_pcall(L, nargs, 1, 0) != LUA_OK) { in LLDBSwigLuaBreakpointCallbackFunction() 3851 if (lua_pcall(L, nargs, 1, 0) != LUA_OK) { in LLDBSwigLuaWatchpointCallbackFunction()
|