lib 33 lib/lua/linit.c const luaL_Reg *lib = lualibs; lib 34 lib/lua/linit.c for (; lib->func; lib++) { lib 35 lib/lua/linit.c lua_pushcfunction(L, lib->func); lib 36 lib/lua/linit.c lua_pushstring(L, lib->name); lib 46 lib/lua/loadlib.c static void ll_unloadlib (void *lib); lib 48 lib/lua/loadlib.c static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym); lib 64 lib/lua/loadlib.c static void ll_unloadlib (void *lib) { lib 65 lib/lua/loadlib.c dlclose(lib); lib 70 lib/lua/loadlib.c void *lib = dlopen(path, RTLD_NOW); lib 71 lib/lua/loadlib.c if (lib == NULL) lua_pushstring(L, dlerror()); lib 72 lib/lua/loadlib.c return lib; lib 76 lib/lua/loadlib.c static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { lib 77 lib/lua/loadlib.c lua_CFunction f = (lua_CFunction)dlsym(lib, sym); lib 123 lib/lua/loadlib.c static void ll_unloadlib (void *lib) { lib 124 lib/lua/loadlib.c FreeLibrary((HINSTANCE)lib); lib 129 lib/lua/loadlib.c HINSTANCE lib = LoadLibraryA(path); lib 130 lib/lua/loadlib.c if (lib == NULL) pusherror(L); lib 131 lib/lua/loadlib.c return lib; lib 135 lib/lua/loadlib.c static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { lib 136 lib/lua/loadlib.c lua_CFunction f = (lua_CFunction)GetProcAddress((HINSTANCE)lib, sym); lib 187 lib/lua/loadlib.c static void ll_unloadlib (void *lib) { lib 188 lib/lua/loadlib.c NSUnLinkModule((NSModule)lib, NSUNLINKMODULE_OPTION_RESET_LAZY_REFERENCES); lib 213 lib/lua/loadlib.c static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { lib 214 lib/lua/loadlib.c NSSymbol nss = NSLookupSymbolInModule((NSModule)lib, sym); lib 241 lib/lua/loadlib.c static void ll_unloadlib (void *lib) { lib 242 lib/lua/loadlib.c (void)lib; /* to avoid warnings */ lib 253 lib/lua/loadlib.c static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { lib 254 lib/lua/loadlib.c (void)lib; (void)sym; /* to avoid warnings */ lib 290 lib/lua/loadlib.c void **lib = (void **)luaL_checkudata(L, 1, "_LOADLIB"); lib 291 lib/lua/loadlib.c if (*lib) ll_unloadlib(*lib); lib 292 lib/lua/loadlib.c *lib = NULL; /* mark library as closed */ lib 81 modules/flt.h uint32_t lib; lib 83 modules/flt.h base_interface_t* lib; // Pointer to interface library lib 380 modules/module_load.c *hMod->lib = hMod->default_lib; lib 382 modules/module_load.c *hMod->lib = module_lib; lib 397 modules/module_load.c if (modules[idx].hdr->_module_info->lib->unloader) lib 398 modules/module_load.c modules[idx].hdr->_module_info->lib->unloader(); lib 600 modules/module_load.c *hMod->lib = hMod->default_lib; lib 629 modules/module_load.c int bind_err = bind_module(hMod, mod->_module_info->lib); lib 632 modules/module_load.c if (!bind_err && mod->_module_info->lib->loader) lib 634 modules/module_load.c bind_err = mod->_module_info->lib->loader(); lib 666 modules/module_load.c if (*hMod->lib && (*hMod->lib != hMod->default_lib)) lib 672 modules/module_load.c if (*hMod->lib == 0) lib 673 modules/module_load.c *hMod->lib = hMod->default_lib; lib 730 modules/module_load.c if ((*h_run[n].lib)->run) lib 732 modules/module_load.c return (*h_run[n].lib)->run(); lib 761 modules/module_load.c if (*h_run[i].lib != h_run[i].default_lib) lib 766 modules/module_load.c return (*h_run[i].lib)->run(); lib 773 modules/module_load.c if (*h_run[i].lib == h_run[i].default_lib) lib 777 modules/module_load.c return (*h_run[i].lib)->run(); lib 798 modules/module_load.c if (modules[idx].hdr && modules[idx].hdr->_module_info->lib->exit_alt) lib 801 modules/module_load.c modules[idx].hdr->_module_info->lib->exit_alt(); lib 815 modules/module_load.c if (modules[idx].hdr && modules[idx].hdr->_module_info->lib->can_unload) lib 818 modules/module_load.c if (modules[idx].hdr->_module_info->lib->can_unload()) lib 19 modules/module_load.h base_interface_t** lib; lib 679 modules/user_menu_edit.c if (mod->_module_info->lib->run != 0) // Simple Module? lib 726 tools/elf2flt/elfflt.c print_offs("->lib = ", _module_info->lib,"\n"); lib 157 tools/elf2flt/fltdump.c print_offs("->lib = ", _module_info->lib,"\n");