Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzcp_global.c80 lua_setglobal(state, global->zeg_name); in zcp_load_errno_globals()
H A Dzcp.c1070 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 Dlbaselib.c629 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 Dlua.h258 #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 Dlua.c243 lua_setglobal(L, "arg"); in handle_script()
H A Dlua_cmsgpack.c929 lua_setglobal(L, LUACMSGPACK_NAME); in luaopen_cmsgpack()
950 lua_setglobal(L, LUACMSGPACK_SAFE_NAME); in luaopen_cmsgpack_safe()
H A Dlua_cjson.c1411 lua_setglobal(l, CJSON_MODNAME); in luaopen_cjson()
/f-stack/freebsd/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)))
/f-stack/freebsd/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()
/f-stack/app/redis-5.0.5/src/
H A Dscripting.c864 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()