Searched refs:lua_setglobal (Results 1 – 12 of 12) sorted by relevance
| /f-stack/freebsd/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 | 1070 lua_setglobal(state, LUA_COLIBNAME); in zcp_eval() 1073 lua_setglobal(state, LUA_STRLIBNAME); in zcp_eval() 1076 lua_setglobal(state, LUA_TABLIBNAME); in zcp_eval() 1100 lua_setglobal(state, "zfs"); in zcp_eval()
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lbaselib.c | 629 lua_setglobal(L, "_G"); in base_open() 633 lua_setglobal(L, "_VERSION"); /* set global _VERSION */ in base_open() 644 lua_setglobal(L, "newproxy"); /* set global `newproxy' */ in base_open()
|
| H A D | lua.h | 258 #define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n))) 276 #define lua_setglobal(L,s) lua_setfield(L, LUA_GLOBALSINDEX, (s)) macro
|
| H A D | lua.c | 243 lua_setglobal(L, "arg"); in handle_script()
|
| H A D | lua_cmsgpack.c | 929 lua_setglobal(L, LUACMSGPACK_NAME); in luaopen_cmsgpack() 950 lua_setglobal(L, LUACMSGPACK_SAFE_NAME); in luaopen_cmsgpack_safe()
|
| H A D | lua_cjson.c | 1411 lua_setglobal(l, CJSON_MODNAME); in luaopen_cjson()
|
| /f-stack/freebsd/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)))
|
| /f-stack/freebsd/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()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | scripting.c | 864 lua_setglobal(lua,"loadfile"); in luaRemoveUnsupportedFunctions() 866 lua_setglobal(lua,"dofile"); in luaRemoveUnsupportedFunctions() 1025 lua_setglobal(lua,"redis"); in scriptingInit() 1038 lua_setglobal(lua,"math"); in scriptingInit() 1113 lua_setglobal(lua,var); in luaSetGlobalArray()
|