Home
last modified time | relevance | path

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

/external/libtextclassifier/native/actions/
Dlua-ranker.cc63 return LUA_OK; in Initialize()
64 }) == LUA_OK; in Initialize()
89 return LUA_OK; in ReadActionsRanking()
99 /*name=*/nullptr) != LUA_OK) { in RankActions()
104 if (lua_pcall(state_, /*nargs=*/0, /*nresults=*/1, /*errfunc=*/0) != LUA_OK) { in RankActions()
110 LUA_OK) { in RankActions()
Dlua-actions.cc139 return LUA_OK; in Initialize()
140 }) == LUA_OK; in Initialize()
146 /*name=*/nullptr) != LUA_OK) { in SuggestActions()
151 if (lua_pcall(state_, /*nargs=*/0, /*nargs=*/1, /*errfunc=*/0) != LUA_OK) { in SuggestActions()
161 /*num_args=*/1) != LUA_OK) { in SuggestActions()
/external/lua/src/
Dlua.c101 if (status != LUA_OK) { in report()
174 if (status == LUA_OK) status = docall(L, 0, 0); in dochunk()
198 if (status == LUA_OK) in dolibrary()
226 if (status == LUA_OK) { in handle_script()
316 if (status != LUA_OK) return 0; in runargs()
335 if (init == NULL) return LUA_OK; in handle_luainit()
484 if (status == LUA_OK) { in addreturn()
525 if ((status = addreturn(L)) != LUA_OK) /* 'return ...' did not work? */ in loadline()
542 if (lua_pcall(L, n, 0, 0) != LUA_OK) in l_print()
559 if (status == LUA_OK) in doREPL()
[all …]
Dlcorolib.c40 if (status == LUA_OK || status == LUA_YIELD) { in auxresume()
78 if (stat != LUA_OK && stat != LUA_YIELD) /* error in the coroutine? */ in luaB_auxwrap()
130 case LUA_OK: { in auxstatus()
173 if (status == LUA_OK) { in luaB_close()
Dlfunc.c152 if (likely(status == LUA_OK)) { in callclosemth()
165 if (newstatus != LUA_OK && status == CLOSEPROTECT) /* first error? */ in callclosemth()
168 if (newstatus != LUA_OK) /* suppressed error? */ in callclosemth()
203 if (unlikely(status != LUA_OK)) { /* memory error creating upvalue? */ in luaF_newtbcupval()
Dldo.c145 lj.status = LUA_OK; in luaD_rawrunprotected()
392 luaF_close(L, res, LUA_OK); /* may change the stack */ in moveresults()
640 if (L->status == LUA_OK) { /* starting a coroutine? */ in resume()
645 L->status = LUA_OK; /* mark that it is running (again) */ in resume()
665 if (L->status == LUA_OK) { /* may be starting a coroutine */ in lua_resume()
680 api_checknelems(L, (L->status == LUA_OK) ? nargs + 1 : nargs); in lua_resume()
750 if (unlikely(status != LUA_OK)) { /* an error occurred? */ in luaD_pcall()
Dlbaselib.c302 if (status == LUA_OK) { in load_aux()
396 if (luaL_loadfile(L, fname) != LUA_OK) in luaB_dofile()
440 if (status != LUA_OK && status != LUA_YIELD) { /* error? */ in finishpcall()
Dlstate.c302 L->status = LUA_OK; in preinit_thread()
375 status = LUA_OK; in lua_resetthread()
432 if (luaD_rawrunprotected(L, f_luaopen, NULL) != LUA_OK) { in lua_newstate()
Dluac.c151 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()
Dlapi.c191 luaF_close(L, L->top + diff, LUA_OK); in lua_settop()
978 api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread"); in lua_callk()
1019 api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread"); in lua_pcallk()
1046 status = LUA_OK; /* if it is here, there were no errors */ in lua_pcallk()
1062 if (status == LUA_OK) { /* no errors? */ in lua_load()
Dlua.h49 #define LUA_OK 0 macro
Dloadlib.c548 return checkload(L, (luaL_loadfile(L, filename) == LUA_OK), filename); in searcher_Lua()
Dlvm.c1531 Protect(luaF_close(L, ra, LUA_OK)); in luaV_execute()
1660 luaF_close(L, base, LUA_OK); in luaV_execute()
Dlgc.c913 if (unlikely(status != LUA_OK)) { /* error while running __gc? */ in GCTM()
/external/libtextclassifier/native/utils/
Dregex-match.cc80 return LUA_OK; in Initialize()
81 }) == LUA_OK; in Initialize()
125 /*name=*/nullptr) != LUA_OK) { in Verify()
130 if (lua_pcall(state_, /*nargs=*/0, /*nresults=*/1, /*errfunc=*/0) != LUA_OK) { in Verify()
144 return LUA_OK; in Verify()
146 /*num_args=*/1) != LUA_OK) { in Verify()
Dlua-utils_test.cc46 return LUA_OK; in LuaUtilsTest()
48 Eq(LUA_OK)); in LuaUtilsTest()
54 Eq(LUA_OK)); in RunScript()
57 Eq(LUA_OK)); in RunScript()
Dlua-utils.cc51 return LUA_OK; in LuaStringWriter()
327 return LUA_OK; in ReadFlatbuffer()
349 /*name=*/nullptr) != LUA_OK) { in Compile()
355 if (lua_dump(state_, LuaStringWriter, bytecode, /*strip*/ 1) != LUA_OK) { in Compile()
485 return LUA_OK; in ReadAnnotations()
627 return LUA_OK; in ReadActions()
/external/skqp/samplecode/
DSampleLua.cpp49 if (lua_pcall(L, 1, 0, 0) != LUA_OK) { in setImageFilename()
84 if (lua_pcall(L, 1, 1, 0) != LUA_OK) { in onQuery()
110 if (lua_pcall(L, 3, 1, 0) != LUA_OK) { in onDrawContent()
124 if (lua_pcall(L, 3, 1, 0) != LUA_OK) { in onFindClickHandler()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
DLua.cpp72 if (error == LUA_OK) in Run()
87 if (luaL_dostring(m_lua_state, func_str.c_str()) != LUA_OK) { in RegisterBreakpointCallback()
123 if (error != LUA_OK) { in LoadModule()
/external/oss-fuzz/projects/lua/
Dfuzz_lua.c90 if (status != LUA_OK) { in report()
135 if (status == LUA_OK) status = docall(L, 0, 0); in dochunk()
/external/libtextclassifier/native/utils/intents/
Djni-lua.cc88 return LUA_OK; in Initialize()
89 }) == LUA_OK); in Initialize()
632 return LUA_OK; in ReadRemoteActionTemplates()
642 if (status != LUA_OK) { in RunIntentGenerator()
647 if (status != LUA_OK) { in RunIntentGenerator()
655 /*num_args=*/1) != LUA_OK) { in RunIntentGenerator()
/external/llvm-project/lldb/bindings/lua/
Dlua-wrapper.swig29 if (lua_pcall(L, 2, 1, 0) != LUA_OK) {
/external/skqp/tools/lua/
Dlua_pictures.cpp59 if (lua_pcall(L, 2, 0, 0) != LUA_OK) { in call_canvas()
/external/skqp/src/utils/
DSkLuaCanvas.cpp34 if (lua_pcall(L, 1, 0, 0) != LUA_OK) { in ~AutoCallLua()
DSkLua.cpp135 if (lua_pcall(fL, 0, 0, 0) != LUA_OK) { in ~SkLua()
1779 if (lua_pcall(fL, 1, 0, 0) != LUA_OK) { in ~AutoCallLua()