Searched refs:lua_setglobal (Results 1 – 13 of 13) sorted by relevance
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | zcp_global.c | 80 lua_setglobal(state, global->zeg_name); in zcp_load_errno_globals()
|
| H A D | zcp.c | 1071 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 D | Lua.cpp | 62 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 D | state_test.cpp | 761 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 D | state.cpp | 106 lua_setglobal(state, lua_tostring(state, -2)); in protected_setglobal()
|
| /freebsd-13.1/sys/contrib/openzfs/include/sys/lua/ |
| H A D | lua.h | 238 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 D | lua.c | 169 lua_setglobal(L, "arg"); in createargtable() 199 lua_setglobal(L, name); /* global[name] = require return */ in dolibrary()
|
| H A D | lua.h | 267 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 D | lauxlib.c | 960 lua_setglobal(L, modname); /* _G[modname] = module */ in luaL_requiref()
|
| H A D | lapi.c | 813 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 D | ltablib.c | 279 lua_setglobal(L, "unpack"); in luaopen_table()
|
| H A D | lapi.c | 731 LUA_API void lua_setglobal (lua_State *L, const char *var) { in lua_setglobal() function 1334 EXPORT_SYMBOL(lua_setglobal);
|
| H A D | lauxlib.c | 753 lua_setglobal(L, modname); /* _G[modname] = module */ in luaL_requiref()
|