Home
last modified time | relevance | path

Searched refs:modname (Results 1 – 8 of 8) sorted by relevance

/l4re-core-master/uclibc/lib/contrib/uclibc/test/tls/
A Dtst-tls18.c8 char modname[sizeof "tst-tlsmod18aXX.so"]; in do_test() local
12 snprintf (modname, sizeof modname, "tst-tlsmod18a%d.so", i); in do_test()
13 h[i] = dlopen (modname, RTLD_LAZY); in do_test()
16 printf ("unexpectedly failed to open %s", modname); in do_test()
A Dtst-tls4.c13 static const char modname[] = "tst-tlsmod2.so"; in do_test() local
19 h = dlopen (modname, RTLD_LAZY); in do_test()
22 printf ("cannot open '%s': %s\n", modname, dlerror ()); in do_test()
A Dtst-tls5.c13 static const char modname[] = "tst-tlsmod2.so"; in do_test() local
20 h = dlopen (modname, RTLD_LAZY); in do_test()
23 printf ("cannot open '%s': %s\n", modname, dlerror ()); in do_test()
A Dtst-tls7.c18 static const char modname[] = "tst-tlsmod3.so"; in do_test() local
27 h = dlopen (modname, RTLD_LAZY); in do_test()
30 printf ("cannot open '%s': %s\n", modname, dlerror ()); in do_test()
A Dtst-tls6.c18 static const char modname[] = "tst-tlsmod2.so"; in do_test() local
29 h = dlopen (modname, RTLD_LAZY); in do_test()
32 printf ("cannot open '%s': %s\n", modname, dlerror ()); in do_test()
/l4re-core-master/lua/lib/contrib/src/
A Dloadlib.c562 static int loadfunc (lua_State *L, const char *filename, const char *modname) { in loadfunc() argument
565 modname = luaL_gsub(L, modname, ".", LUA_OFSEP); in loadfunc()
566 mark = strchr(modname, *LUA_IGMARK); in loadfunc()
569 openfunc = lua_pushlstring(L, modname, mark - modname); in loadfunc()
573 modname = mark + 1; /* else go ahead and try old-style name */ in loadfunc()
575 openfunc = lua_pushfstring(L, LUA_POF"%s", modname); in loadfunc()
A Dlauxlib.c967 LUALIB_API void luaL_requiref (lua_State *L, const char *modname, in luaL_requiref() argument
970 lua_getfield(L, -1, modname); /* LOADED[modname] */ in luaL_requiref()
974 lua_pushstring(L, modname); /* argument to open function */ in luaL_requiref()
977 lua_setfield(L, -3, modname); /* LOADED[modname] = module */ in luaL_requiref()
982 lua_setglobal(L, modname); /* _G[modname] = module */ in luaL_requiref()
A Dlauxlib.h117 LUALIB_API void (luaL_requiref) (lua_State *L, const char *modname,

Completed in 30 milliseconds