Home
last modified time | relevance | path

Searched refs:lua_setglobal (Results 1 – 13 of 13) sorted by relevance

/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dzcp_global.c80 lua_setglobal(state, global->zeg_name); in zcp_load_errno_globals()
H A Dzcp.c1071 lua_setglobal(state, LUA_COLIBNAME); in zcp_eval()
1074 lua_setglobal(state, LUA_STRLIBNAME); in zcp_eval()
1077 lua_setglobal(state, LUA_TABLIBNAME); in zcp_eval()
1101 lua_setglobal(state, "zfs"); in zcp_eval()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DLua.cpp62 lua_setglobal(m_lua_state, "print"); in Lua()
187 lua_setglobal(m_lua_state, module_name.GetCString()); in LoadModule()
/freebsd-13.1/contrib/lutok/
H A Dstate_test.cpp761 lua_setglobal(raw(state), "cxx_multiply_closure"); in ATF_TEST_CASE_BODY()
775 lua_setglobal(raw(state), "cxx_divide"); in ATF_TEST_CASE_BODY()
789 lua_setglobal(raw(state), "cxx_divide"); in ATF_TEST_CASE_BODY()
802 lua_setglobal(raw(state), "cxx_divide"); in ATF_TEST_CASE_BODY()
815 lua_setglobal(raw(state), "fail"); in ATF_TEST_CASE_BODY()
1086 lua_setglobal(raw(state), "c_get_upvalues"); in ATF_TEST_CASE_BODY()
H A Dstate.cpp106 lua_setglobal(state, lua_tostring(state, -2)); in protected_setglobal()
/freebsd-13.1/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h238 LUA_API void (lua_setglobal) (lua_State *L, const char *var); variable
327 #define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n)))
/freebsd-13.1/contrib/lua/src/
H A Dlua.c169 lua_setglobal(L, "arg"); in createargtable()
199 lua_setglobal(L, name); /* global[name] = require return */ in dolibrary()
H A Dlua.h267 LUA_API void (lua_setglobal) (lua_State *L, const char *name); variable
368 #define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n)))
H A Dlauxlib.c960 lua_setglobal(L, modname); /* _G[modname] = module */ in luaL_requiref()
H A Dlapi.c813 LUA_API void lua_setglobal (lua_State *L, const char *name) { in lua_setglobal() function
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dltablib.c279 lua_setglobal(L, "unpack"); in luaopen_table()
H A Dlapi.c731 LUA_API void lua_setglobal (lua_State *L, const char *var) { in lua_setglobal() function
1334 EXPORT_SYMBOL(lua_setglobal);
H A Dlauxlib.c753 lua_setglobal(L, modname); /* _G[modname] = module */ in luaL_requiref()