Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DLua.cpp39 lua_setglobal(m_lua_state, "print"); in Lua()
157 lua_setglobal(m_lua_state, module_name.GetCString()); in LoadModule()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp_global.c81 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/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/contrib/lua/src/
H A Dlua.c191 lua_setglobal(L, "arg"); in createargtable()
227 lua_setglobal(L, globname); /* globname = require(modname) */ in dolibrary()
H A Dlua.h278 LUA_API void (lua_setglobal) (lua_State *L, const char *name); variable
380 #define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n)))
H A Dltests.c148 lua_setglobal(L, "_WARN"); /* assign message to global '_WARN' */ in warnf()
1685 lua_setglobal(L1, s); in runC()
1810 lua_setglobal(L, "status"); in Cfunck()
1812 lua_setglobal(L, "ctx"); in Cfunck()
1967 lua_setglobal(L, "_WARN"); /* _WARN = false */ in luaB_opentests()
H A Dlauxlib.c989 lua_setglobal(L, modname); /* _G[modname] = module */ in luaL_requiref()
H A Dlapi.c847 LUA_API void lua_setglobal (lua_State *L, const char *name) { in lua_setglobal() function
/freebsd/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/sys/contrib/openzfs/module/lua/
H A Dltablib.c279 lua_setglobal(L, "unpack"); in luaopen_table()
H A Dlapi.c733 LUA_API void lua_setglobal (lua_State *L, const char *var) { in lua_setglobal() function
1312 EXPORT_SYMBOL(lua_setglobal);
H A Dlauxlib.c753 lua_setglobal(L, modname); /* _G[modname] = module */ in luaL_requiref()