Home
last modified time | relevance | path

Searched refs:lua_pushcfunction (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/libucl/lua/
H A Dlua_ucl.c1221 lua_pushcfunction (L, lua_ucl_parser_gc); in lua_ucl_parser_mt()
1224 lua_pushcfunction (L, lua_ucl_parser_parse_file); in lua_ucl_parser_mt()
1227 lua_pushcfunction (L, lua_ucl_parser_parse_string); in lua_ucl_parser_mt()
1230 lua_pushcfunction (L, lua_ucl_parser_parse_text); in lua_ucl_parser_mt()
1233 lua_pushcfunction (L, lua_ucl_parser_register_variable); in lua_ucl_parser_mt()
1236 lua_pushcfunction (L, lua_ucl_parser_register_variables); in lua_ucl_parser_mt()
1239 lua_pushcfunction (L, lua_ucl_parser_get_object); in lua_ucl_parser_mt()
1242 lua_pushcfunction (L, lua_ucl_parser_get_object_wrapped); in lua_ucl_parser_mt()
1245 lua_pushcfunction (L, lua_ucl_parser_validate); in lua_ucl_parser_mt()
1259 lua_pushcfunction (L, lua_ucl_object_gc); in lua_ucl_object_mt()
[all …]
/freebsd/libexec/flua/libhash/
H A Dlhash.c147 lua_pushcfunction(L, lua_sha256_update); // meta tbl -- meta tbl fn in register_metatable_sha256()
149 lua_pushcfunction(L, lua_sha256_digest); // meta tbl -- meta tbl fn in register_metatable_sha256()
151 lua_pushcfunction(L, lua_sha256_hexdigest); // meta tbl -- meta tbl fn in register_metatable_sha256()
156 lua_pushcfunction(L, lua_sha256_done); // meta -- meta fn in register_metatable_sha256()
/freebsd/contrib/lutok/
H A Dstate.cpp304 lua_pushcfunction(_pimpl->lua_state, protected_getglobal); in get_global()
371 lua_pushcfunction(_pimpl->lua_state, protected_gettable); in get_table()
556 lua_pushcfunction(_pimpl->lua_state, protected_next); in next()
591 lua_pushcfunction(_pimpl->lua_state, luaopen_base); in open_base()
609 lua_pushcfunction(_pimpl->lua_state, luaopen_string); in open_string()
628 lua_pushcfunction(_pimpl->lua_state, luaopen_table); in open_table()
779 lua_pushcfunction(_pimpl->lua_state, protected_setglobal); in set_global()
809 lua_pushcfunction(_pimpl->lua_state, protected_settable); in set_table()
/freebsd/libexec/flua/modules/
H A Dlfs.c202 lua_pushcfunction(L, lua_dir_iter_next); in lua_dir()
219 lua_pushcfunction(L, lua_dir_iter_next); in register_metatable()
221 lua_pushcfunction(L, lua_dir_iter_close); in register_metatable()
227 lua_pushcfunction(L, lua_dir_iter_close); in register_metatable()
/freebsd/libexec/flua/libjail/
H A Dlua_jail.c231 lua_pushcfunction(L, l_jail_iter_next); in l_list()
244 lua_pushcfunction(L, l_jail_iter_next); in register_jail_metatable()
246 lua_pushcfunction(L, l_jail_iter_close); in register_jail_metatable()
251 lua_pushcfunction(L, l_jail_iter_close); in register_jail_metatable()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h326 #define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n)))
328 #define lua_pushcfunction(L,f) lua_pushcclosure(L, (f), 0) macro
H A Dluaconf.h264 (lua_pushcfunction(L, (f)), \
/freebsd/contrib/lua/src/
H A Dlbaselib.c287 lua_pushcfunction(L, luaB_next); /* will return generator, */ in luaB_pairs()
316 lua_pushcfunction(L, ipairsaux); /* iteration function */ in luaB_ipairs()
H A Dlua.c156 lua_pushcfunction(L, msghandler); /* push message handler */ in docall()
670 lua_pushcfunction(L, &pmain); /* to call 'pmain' in protected mode */ in main()
H A Dloadlib.c405 lua_pushcfunction(L, f); /* else create new function */ in lookforfunc()
738 lua_pushcfunction(L, gctm); in createclibstable()
H A Dlua.h380 #define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n)))
382 #define lua_pushcfunction(L,f) lua_pushcclosure(L, (f), 0) macro
H A Dlutf8lib.c262 lua_pushcfunction(L, lax ? iter_auxlax : iter_auxstrict); in iter_codes()
H A Dluac.c204 lua_pushcfunction(L,&pmain); in main()
H A Dltests.c1194 lua_pushcfunction(L1, libs[i].func); in loadlib()
1726 lua_pushcfunction(L1, lua_tocfunction(L1, getindex)); in runC()
H A Dlauxlib.c980 lua_pushcfunction(L, openf); in luaL_requiref()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DLua.cpp38 lua_pushcfunction(m_lua_state, lldb_print); in Lua()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlbaselib.c181 lua_pushcfunction(L, iter); /* will return generator, */ in pairsmeta()
H A Dlauxlib.c743 lua_pushcfunction(L, openf); in luaL_requiref()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp.c445 lua_pushcfunction(state, zcp_lua_to_nvlist_helper); in zcp_convert_return_values()
1107 lua_pushcfunction(state, zcp_error_handler); in zcp_eval()
H A Dzcp_iter.c747 lua_pushcfunction(state, info->gc); in zcp_load_list_lib()
/freebsd/lib/clang/liblldb/
H A DLLDBWrapLua.cpp1112 lua_pushcfunction(L, f), \
1218 lua_pushcfunction(L,entry->value.value.function); in SWIG_Lua_elua_emulate_register()
1300 lua_pushcfunction(L, SWIG_Lua_emulate_elua_getmetatable); in SWIG_Lua_emulate_elua_swap_getmetatable()
2291 lua_pushcfunction(L, SWIG_Lua_class_tostring); in SWIG_Lua_add_class_user_metamethods()
2304 lua_pushcfunction(L, SWIG_Lua_class_equal); in SWIG_Lua_add_class_user_metamethods()
4103 lua_pushcfunction(L,_wrap_new_string); in _proxy__wrap_new_string()
4821 lua_pushcfunction(L,_wrap_new_SBAddress); in _proxy__wrap_new_SBAddress()
5179 lua_pushcfunction(L,_wrap_new_SBAddressRange); in _proxy__wrap_new_SBAddressRange()
5546 lua_pushcfunction(L,_wrap_new_SBAddressRangeList); in _proxy__wrap_new_SBAddressRangeList()
6834 lua_pushcfunction(L,_wrap_new_SBAttachInfo); in _proxy__wrap_new_SBAttachInfo()
[all …]