Home
last modified time | relevance | path

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

12345678910>>...63

/dports/lang/tolua/tolua-5.2.4/src/bin/
H A Dtolua_bind52_linux30_64.c237 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
458 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
548 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
607 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
678 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
736 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1325 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1733 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1794 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1839 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
[all …]
H A Dtoluabind.c237 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
461 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
551 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
610 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
681 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
739 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1328 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1736 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1797 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1842 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
[all …]
/dports/games/freeciv/freeciv-2.6.6/dependencies/tolua-5.2/src/bin/
H A Dtoluabind.c237 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
461 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
551 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
610 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
681 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
739 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1328 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1736 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1797 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1842 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
[all …]
/dports/games/freeciv-nox11/freeciv-2.6.6/dependencies/tolua-5.2/src/bin/
H A Dtoluabind.c237 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
461 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
551 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
610 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
681 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
739 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1328 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1736 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1797 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
1842 lua_pcall(tolua_S,0,LUA_MULTRET,0); in luaopen_tolua()
[all …]
/dports/mail/imapfilter/imapfilter-2.7.5/src/
H A Dlua.c45 lua_pcall(lua, 0, LUA_MULTRET, 0)) in start_lua()
49 lua_pcall(lua, 0, LUA_MULTRET, 0)) in start_lua()
53 lua_pcall(lua, 0, LUA_MULTRET, 0)) in start_lua()
57 lua_pcall(lua, 0, LUA_MULTRET, 0)) in start_lua()
61 lua_pcall(lua, 0, LUA_MULTRET, 0)) in start_lua()
65 lua_pcall(lua, 0, LUA_MULTRET, 0)) in start_lua()
69 lua_pcall(lua, 0, LUA_MULTRET, 0)) in start_lua()
73 lua_pcall(lua, 0, LUA_MULTRET, 0)) in start_lua()
78 "=<command line>") || lua_pcall(lua, 0, LUA_MULTRET, 0)) in start_lua()
86 if (lua_pcall(lua, 0, LUA_MULTRET, -2)) in start_lua()
[all …]
/dports/net/nbdkit/nbdkit-1.20.4/plugins/lua/
H A Dlua.c117 if (lua_pcall (L, 0, 0, 0) != 0) { in lua_plugin_dump_plugin()
146 if (lua_pcall (L, 0, 0, 0) != 0) { in lua_plugin_config()
167 if (lua_pcall (L, 2, 0, 0) != 0) { in lua_plugin_config()
189 if (lua_pcall (L, 0, 0, 0) != 0) { in lua_plugin_config_complete()
214 if (lua_pcall (L, 1, 1, 0) != 0) { in lua_plugin_open()
235 if (lua_pcall (L, 1, 0, 0) != 0) { in lua_plugin_close()
255 if (lua_pcall (L, 1, 1, 0) != 0) { in lua_plugin_get_size()
283 if (lua_pcall (L, 3, 1, 0) != 0) { in lua_plugin_pread()
315 if (lua_pcall (L, 3, 0, 0) != 0) { in lua_plugin_pwrite()
336 if (lua_pcall (L, 1, 1, 0) != 0) { in lua_plugin_can_write()
[all …]
/dports/games/freeminer/freeminer-0.4.10.4/src/script/cpp_api/
H A Ds_node.cpp112 if (lua_pcall(L, 4, 0, m_errorhandler)) in node_on_punch()
132 if (lua_pcall(L, 3, 0, m_errorhandler)) in node_on_dig()
149 if (lua_pcall(L, 1, 0, m_errorhandler)) in node_on_construct()
165 if (lua_pcall(L, 1, 0, m_errorhandler)) in node_on_destruct()
182 if (lua_pcall(L, 2, 0, m_errorhandler)) in node_after_destruct()
202 if(lua_pcall(L, 1, 0, errorhandler)) in node_on_activate()
222 if(lua_pcall(L, 1, 0, errorhandler)) in node_on_deactivate()
240 if (lua_pcall(L, 2, 1, m_errorhandler)) in node_on_timer()
276 if (lua_pcall(L, 4, 0, m_errorhandler)) in node_on_receive_fields()
286 if (lua_pcall(L, 1, 0, m_errorhandler)) in node_falling_update()
[all …]
H A Ds_inventory.cpp54 if (lua_pcall(L, 7, 1, m_errorhandler)) in detached_inventory_AllowMove()
83 if (lua_pcall(L, 5, 1, m_errorhandler)) in detached_inventory_AllowPut()
112 if (lua_pcall(L, 5, 1, m_errorhandler)) in detached_inventory_AllowTake()
145 if (lua_pcall(L, 7, 0, m_errorhandler)) in detached_inventory_OnMove()
170 if (lua_pcall(L, 5, 0, m_errorhandler)) in detached_inventory_OnPut()
195 if (lua_pcall(L, 5, 0, m_errorhandler)) in detached_inventory_OnTake()
H A Ds_nodemeta.cpp60 if (lua_pcall(L, 7, 1, m_errorhandler)) in nodemeta_inventory_AllowMove()
95 if (lua_pcall(L, 5, 1, m_errorhandler)) in nodemeta_inventory_AllowPut()
130 if (lua_pcall(L, 5, 1, m_errorhandler)) in nodemeta_inventory_AllowTake()
168 if (lua_pcall(L, 7, 0, m_errorhandler)) in nodemeta_inventory_OnMove()
197 if (lua_pcall(L, 5, 0, m_errorhandler)) in nodemeta_inventory_OnPut()
226 if (lua_pcall(L, 5, 0, m_errorhandler)) in nodemeta_inventory_OnTake()
/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/hslua-1.3.0.1/cbits/hslua/
H A Dhslua.c30 *status = lua_pcall(L, 3, 1, 0); in hslua_compare()
53 *status = lua_pcall(L, n, 1, 0); in hslua_concat()
71 *status = lua_pcall(L, 2, 1, 0); in hslua_getglobal()
90 *status = lua_pcall(L, 2, 1, 0); in hslua_gettable()
114 *status = lua_pcall(L, 3, 0, 0); in hslua_setglobal()
134 *status = lua_pcall(L, 3, 0, 0); in hslua_settable()
153 *status = lua_pcall(L, 2, LUA_MULTRET, 0); in hslua_next()
199 int res = lua_pcall(L, 1, 1, 0); in hsluaL_tolstring()
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/hslua-1.3.0.1/cbits/hslua/
H A Dhslua.c30 *status = lua_pcall(L, 3, 1, 0); in hslua_compare()
53 *status = lua_pcall(L, n, 1, 0); in hslua_concat()
71 *status = lua_pcall(L, 2, 1, 0); in hslua_getglobal()
90 *status = lua_pcall(L, 2, 1, 0); in hslua_gettable()
114 *status = lua_pcall(L, 3, 0, 0); in hslua_setglobal()
134 *status = lua_pcall(L, 3, 0, 0); in hslua_settable()
153 *status = lua_pcall(L, 2, LUA_MULTRET, 0); in hslua_next()
199 int res = lua_pcall(L, 1, 1, 0); in hsluaL_tolstring()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dlua_hooklib.c289 if (lua_pcall(gL, 1, 1, 1)) { in LUAh_MobjHook()
311 if (lua_pcall(gL, 1, 1, 1)) { in LUAh_MobjHook()
347 if (lua_pcall(gL, 1, 1, 1)) { in LUAh_PlayerHook()
381 if (lua_pcall(gL, 1, 0, 1)) { in LUAh_MapChange()
408 if (lua_pcall(gL, 1, 0, 1)) { in LUAh_MapLoad()
435 if (lua_pcall(gL, 1, 0, 1)) { in LUAh_PlayerJoin()
459 if (lua_pcall(gL, 0, 0, 1)) { in LUAh_PreThinkFrame()
490 if (lua_pcall(gL, 0, 0, 1)) { in LUAh_ThinkFrame()
526 if (lua_pcall(gL, 0, 0, 1)) { in LUAh_PostThinkFrame()
568 if (lua_pcall(gL, 2, 1, 1)) { in LUAh_MobjCollideHook()
[all …]
/dports/games/minetest/minetest-5.4.1/src/script/cpp_api/
H A Ds_node.cpp122 PCALL_RES(lua_pcall(L, 4, 0, error_handler)); in node_on_punch()
144 PCALL_RES(lua_pcall(L, 3, 1, error_handler)); in node_on_dig()
168 PCALL_RES(lua_pcall(L, 1, 0, error_handler)); in node_on_construct()
186 PCALL_RES(lua_pcall(L, 1, 0, error_handler)); in node_on_destruct()
206 PCALL_RES(lua_pcall(L, 3, 1, error_handler)); in node_on_flood()
226 PCALL_RES(lua_pcall(L, 2, 0, error_handler)); in node_after_destruct()
245 PCALL_RES(lua_pcall(L, 2, 1, error_handler)); in node_on_timer()
283 PCALL_RES(lua_pcall(L, 4, 0, error_handler)); in node_on_receive_fields()
H A Ds_inventory.cpp49 PCALL_RES(lua_pcall(L, 7, 1, error_handler)); in detached_inventory_AllowMove()
76 PCALL_RES(lua_pcall(L, 5, 1, error_handler)); in detached_inventory_AllowPut()
103 PCALL_RES(lua_pcall(L, 5, 1, error_handler)); in detached_inventory_AllowTake()
133 PCALL_RES(lua_pcall(L, 7, 0, error_handler)); in detached_inventory_OnMove()
157 PCALL_RES(lua_pcall(L, 5, 0, error_handler)); in detached_inventory_OnPut()
181 PCALL_RES(lua_pcall(L, 5, 0, error_handler)); in detached_inventory_OnTake()
H A Ds_item.cpp47 PCALL_RES(lua_pcall(L, 3, 1, error_handler)); in item_OnDrop()
79 PCALL_RES(lua_pcall(L, 3, 1, error_handler)); in item_OnPlace()
106 PCALL_RES(lua_pcall(L, 3, 1, error_handler)); in item_OnUse()
131 PCALL_RES(lua_pcall(L, 3, 1, error_handler)); in item_OnSecondaryUse()
163 PCALL_RES(lua_pcall(L, 4, 1, error_handler)); in item_OnCraft()
195 PCALL_RES(lua_pcall(L, 4, 1, error_handler)); in item_CraftPredict()
H A Ds_nodemeta.cpp58 PCALL_RES(lua_pcall(L, 7, 1, error_handler)); in nodemeta_inventory_AllowMove()
94 PCALL_RES(lua_pcall(L, 5, 1, error_handler)); in nodemeta_inventory_AllowPut()
130 PCALL_RES(lua_pcall(L, 5, 1, error_handler)); in nodemeta_inventory_AllowTake()
168 PCALL_RES(lua_pcall(L, 7, 0, error_handler)); in nodemeta_inventory_OnMove()
199 PCALL_RES(lua_pcall(L, 5, 0, error_handler)); in nodemeta_inventory_OnPut()
230 PCALL_RES(lua_pcall(L, 5, 0, error_handler)); in nodemeta_inventory_OnTake()
H A Ds_entity.cpp99 PCALL_RES(lua_pcall(L, 3, 0, error_handler)); in luaentity_Activate()
125 PCALL_RES(lua_pcall(L, 1, 0, error_handler)); in luaentity_Deactivate()
174 PCALL_RES(lua_pcall(L, 1, 1, error_handler)); in luaentity_GetStaticdata()
234 PCALL_RES(lua_pcall(L, 3, 0, error_handler)); in luaentity_Step()
270 PCALL_RES(lua_pcall(L, 6, 1, error_handler)); in luaentity_Punch()
300 PCALL_RES(lua_pcall(L, 2, 1, error_handler)); in luaentity_run_simple_callback()
/dports/math/sc-im/sc-im-0.8.2/src/
H A Dlua.c341 if (lua_pcall(L, 0, 0, 0)) /* PRIMING RUN. FORGET THIS AND YOU'RE TOAST */ in doLuainit()
387 if (lua_pcall(L, 0, 0, 0)) /* PRIMING RUN. FORGET THIS AND YOU'RE TOAST */ in doLUA()
409 if (lua_pcall(L, 0, 0, 0)) /* PRIMING RUN. FORGET THIS AND YOU'RE TOAST */ in doLuaTriger()
416 if (lua_pcall(L, 0, 0, 0)) /* Run the function */ in doLuaTriger()
438 if (lua_pcall(L, 0, 0, 0)) /* PRIMING RUN. FORGET THIS AND YOU'RE TOAST */ in doLuaTriger2()
447 if (lua_pcall(L, 3, 0, 0)) /* Run the function */ in doLuaTriger2()
483 if (lua_pcall(L, 0, 0, 0)) /* PRIMING RUN. FORGET THIS AND YOU'RE TOAST */ in doLuaTrigger_cell()
492 if (lua_pcall(L, 3, 0, 0)) /* Run the function */ in doLuaTrigger_cell()
/dports/misc/mxnet/incubator-mxnet-1.9.0/plugin/torch/
H A Dtorch_module-inl.h78 int err = lua_pcall(L, 0, 1, 0); in TorchModuleOp()
84 CHECK_EQ(lua_pcall(L, 1, LUA_MULTRET, 0), 0); in TorchModuleOp()
98 int err = lua_pcall(L, 1, 1, 0); in TorchModuleOp()
139 int err = lua_pcall(L, 1, 1, 0); in Forward()
196 int err = lua_pcall(L, 1, LUA_MULTRET, 0); in Backward()
224 CHECK_EQ(lua_pcall(L, 1, 0, 0), 0); in Backward()
265 int err = lua_pcall(L, 0, LUA_MULTRET, 0); in InitTorchState()
270 err = lua_pcall(L, 1, 1, 0); in InitTorchState()
318 err = lua_pcall(L, 1, 1, 0); // call the function in ListArguments()
385 int err = lua_pcall(L, 2, 0, 0); in InferShape()
[all …]
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/plugin/torch/
H A Dtorch_module-inl.h78 int err = lua_pcall(L, 0, 1, 0); in TorchModuleOp()
84 CHECK_EQ(lua_pcall(L, 1, LUA_MULTRET, 0), 0); in TorchModuleOp()
98 int err = lua_pcall(L, 1, 1, 0); in TorchModuleOp()
139 int err = lua_pcall(L, 1, 1, 0); in Forward()
196 int err = lua_pcall(L, 1, LUA_MULTRET, 0); in Backward()
224 CHECK_EQ(lua_pcall(L, 1, 0, 0), 0); in Backward()
265 int err = lua_pcall(L, 0, LUA_MULTRET, 0); in InitTorchState()
270 err = lua_pcall(L, 1, 1, 0); in InitTorchState()
318 err = lua_pcall(L, 1, 1, 0); // call the function in ListArguments()
385 int err = lua_pcall(L, 2, 0, 0); in InferShape()
[all …]
/dports/games/powder-toy/The-Powder-Toy-95.0/src/lua/
H A DLuaWindow.cpp230 if(lua_pcall(l, 0, 0, 0)) in triggerOnInitialized()
242 if(lua_pcall(l, 0, 0, 0)) in triggerOnExit()
255 if(lua_pcall(l, 1, 0, 0)) in triggerOnTick()
267 if(lua_pcall(l, 0, 0, 0)) in triggerOnDraw()
279 if(lua_pcall(l, 0, 0, 0)) in triggerOnFocus()
291 if(lua_pcall(l, 0, 0, 0)) in triggerOnBlur()
303 if(lua_pcall(l, 0, 0, 0)) in triggerOnTryExit()
315 if(lua_pcall(l, 0, 0, 0)) in triggerOnTryOkay()
331 if(lua_pcall(l, 4, 0, 0)) in triggerOnMouseMove()
346 if(lua_pcall(l, 3, 0, 0)) in triggerOnMouseDown()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/samplecode/
H A DSampleLua.cpp49 if (lua_pcall(L, 1, 0, 0) != LUA_OK) { in setImageFilename()
80 if (lua_pcall(L, 1, 1, 0) != LUA_OK) { in onChar()
105 if (lua_pcall(L, 3, 1, 0) != LUA_OK) { in onDrawContent()
119 if (lua_pcall(L, 3, 1, 0) != LUA_OK) { in onFindClickHandler()
148 lua_pcall(L, 3, 1, 0); in onClick()
/dports/games/widelands/widelands-build21/src/scripting/test/
H A Dtest_luna.cc234 BOOST_REQUIRE_EQUAL(0, lua_pcall(L, 0, 1, 0)); in BOOST_AUTO_TEST_CASE()
249 BOOST_REQUIRE_EQUAL(LUA_ERRRUN, lua_pcall(L, 0, 1, 0)); in BOOST_AUTO_TEST_CASE()
267 BOOST_REQUIRE_EQUAL(0, lua_pcall(L, 0, 1, 0)); in BOOST_AUTO_TEST_CASE()
284 BOOST_REQUIRE_EQUAL(0, lua_pcall(L, 0, 1, 0)); in BOOST_AUTO_TEST_CASE()
301 BOOST_REQUIRE_EQUAL(0, lua_pcall(L, 0, 1, 0)); in BOOST_AUTO_TEST_CASE()
319 BOOST_REQUIRE_EQUAL(0, lua_pcall(L, 0, 1, 0)); in BOOST_AUTO_TEST_CASE()
336 BOOST_REQUIRE_EQUAL(0, lua_pcall(L, 0, 1, 0)); in BOOST_AUTO_TEST_CASE()
354 BOOST_REQUIRE_EQUAL(0, lua_pcall(L, 0, 1, 0)); in BOOST_AUTO_TEST_CASE()
/dports/x11-fm/worker/worker-4.10.0/src/
H A Dluascripting.cc66 lua_pcall( m_lua_state, 0, 0, 0 ); in setIntVariable()
95 lua_pcall( m_lua_state, 0, 0, 0 ); in setBoolVariable()
121 lua_pcall( m_lua_state, 0, 0, 0 ); in setStringVariable()
141 lua_pcall( m_lua_state, 0, number_return_values, 0 ); in evalCommand()
/dports/devel/lutok/lutok-0.4/
H A Dstate.cpp306 if (lua_pcall(_pimpl->lua_state, 1, 1, 0) != 0) in get_global()
374 if (lua_pcall(_pimpl->lua_state, 2, 1, 0) != 0) in get_table()
559 if (lua_pcall(_pimpl->lua_state, 2, LUA_MULTRET, 0) != 0) in next()
592 if (lua_pcall(_pimpl->lua_state, 0, 0, 0) != 0) in open_base()
610 if (lua_pcall(_pimpl->lua_state, 0, 0, 0) != 0) in open_string()
629 if (lua_pcall(_pimpl->lua_state, 0, 0, 0) != 0) in open_table()
645 if (lua_pcall(_pimpl->lua_state, nargs, nresults, errfunc) != 0) in pcall()
782 if (lua_pcall(_pimpl->lua_state, 2, 0, 0) != 0) in set_global()
813 if (lua_pcall(_pimpl->lua_state, 3, 0, 0) != 0) in set_table()

12345678910>>...63