Searched defs:lib (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-head/contrib/lua/src/
H A Dlinit.c61 const luaL_Reg *lib; local
63 for (lib = loadedlibs; lib->func; lib++) {
64 luaL_requiref(L, lib->name, lib->func, 1);
65 lua_pop(L, 1); /* remove lib */
H A Dloadlib.c75 ** unload library 'lib'
77 static void lsys_unloadlib (void *lib);
88 ** Try to find a function named 'sym' in library 'lib'.
92 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym);
121 static void lsys_unloadlib (void *lib) { argument
122 dlclose(lib);
127 void *lib = dlopen(path, RTLD_NOW | (seeglb ? RTLD_GLOBAL : RTLD_LOCAL)); local
128 if (lib == NULL) lua_pushstring(L, dlerror());
129 return lib;
133 static lua_CFunction lsys_sym (lua_State *L, void *lib, cons argument
195 lsys_unloadlib(void *lib) argument
201 HMODULE lib = LoadLibraryExA(path, NULL, LUA_LLE_FLAGS); local
208 lsys_sym(lua_State *L, void *lib, const char *sym) argument
231 lsys_unloadlib(void *lib) argument
243 lsys_sym(lua_State *L, void *lib, const char *sym) argument
[all...]
/freebsd-head/libexec/flua/
H A Dlinit_flua.c69 const luaL_Reg *lib; local
71 for (lib = loadedlibs; lib->func; lib++) {
72 luaL_requiref(L, lib->name, lib->func, 1);
73 lua_pop(L, 1); /* remove lib */
/freebsd-head/contrib/gdb/gdb/
H A Dcoff-solib.c36 examine the `.lib' section of the exec file and determine the names of
60 libsect = bfd_get_section_by_name (exec_bfd, ".lib");
65 unsigned char *lib; local
74 lib = (unsigned char *) alloca (libsize);
76 bfd_get_section_contents (exec_bfd, libsect, lib, 0, libsize);
85 ent = (struct libent *) lib;
102 lib += len * 4;
H A Dkod.c208 load_kod_library (char *lib) argument
212 if (! strcmp (lib, "ecos"))
220 if (! strcmp (lib, "cisco"))
H A Dstack.c684 char *lib = PC_SOLIB (get_frame_pc (fi));
685 if (lib)
690 ui_out_field_string (uiout, "from", lib);
683 char *lib = PC_SOLIB (get_frame_pc (fi)); local
/freebsd-head/usr.bin/c99/
H A Dc99.c110 addlib(const char *lib) argument
113 if (strcmp(lib, "pthread") == 0)
116 else if (strcmp(lib, "rt") == 0)
119 else if (strcmp(lib, "xnet") == 0)
124 addarg(lib);
/freebsd-head/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libignore.cpp31 Lib *lib = &libs_[count_++]; local
32 lib->templ = internal_strdup(name_templ);
33 lib->name = nullptr;
34 lib->real_name = nullptr;
35 lib->loaded = false;
45 Lib *lib = &libs_[i]; local
46 if (!lib->loaded && (!lib->real_name) &&
47 TemplateMatch(lib->templ, name))
48 lib
56 Lib *lib = &libs_[i]; local
[all...]
/freebsd-head/stand/common/
H A Dinterp_lua.c107 const luaL_Reg *lib; local
120 for (lib = loadedlibs; lib->func; lib++) {
121 luaL_requiref(luap, lib->name, lib->func, 1);
122 lua_pop(luap, 1); /* remove lib */
/freebsd-head/lib/libgssapi/
H A Dgss_mech_switch.c191 char *name, *oid, *lib, *kobj; local
220 lib = strsep(&p, "\t\n ");
223 if (!name || !oid || !lib || !kobj)
226 so = dlopen(lib, RTLD_LOCAL);
/freebsd-head/contrib/binutils/ld/
H A Dldfile.c304 const char *lib,
350 + strlen (lib)
358 lib, entry->filename, arch, suffix);
398 /* Try to open <filename><suffix> or lib<filename><suffix>.a */
401 found = ldfile_open_file_search (arch->name, entry, "lib", ".a");
405 found = ldfile_open_file_search (arch->name, entry, ":lib", ".a");
302 ldfile_open_file_search(const char *arch, lang_input_statement_type *entry, const char *lib, const char *suffix) argument
/freebsd-head/crypto/heimdal/lib/gssapi/mech/
H A Dgss_mech_switch.c26 * $FreeBSD: src/lib/libgssapi/gss_mech_switch.c,v 1.2 2006/02/04 09:40:21 dfr Exp $
233 char *name, *oid, *lib, *kobj; local
276 lib = strsep(&p, "\t\n ");
279 if (!name || !oid || !lib || !kobj)
307 so = dlopen(lib, RTLD_LAZY | RTLD_LOCAL | RTLD_GROUP);
/freebsd-head/contrib/ntp/sntp/libevent/
H A Devthread_win32.c108 HANDLE lib; local
110 lib = GetModuleHandle(TEXT("kernel32.dll"));
111 if (lib == NULL)
115 name##_fn = GetProcAddress(lib, #name)
/freebsd-head/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_pragma.c210 dt_pragma_depends_finddep(dtrace_hdl_t *dtp, const char *lname, char *lib, argument
219 (void) snprintf(lib, len, "%s/%s", dirp->dir_path, lname);
221 if (stat(lib, &sbuf) == 0) {
244 char lib[MAXPATHLEN]; local
293 dt_pragma_depends_finddep(dtp, nnp->dn_string, lib,
294 sizeof (lib));
301 lib)) != 0) {
303 "failed to add dependency %s:%s\n", lib,
321 dt_pragma_depends_finddep(dtp, nnp->dn_string, lib,
322 sizeof (lib));
[all...]
/freebsd-head/lib/librpcsec_gss/
H A Drpcsec_gss_conf.c55 char *lib; member in struct:mech_info
184 char *name, *oid, *lib, *kobj; local
205 lib = strsep(&p, "\t\n ");
208 if (!name || !oid || !lib || !kobj)
220 info->lib = strdup(lib);
/freebsd-head/contrib/libevent/
H A Devthread_win32.c108 HANDLE lib; local
110 lib = GetModuleHandle(TEXT("kernel32.dll"));
111 if (lib == NULL)
115 name##_fn = GetProcAddress(lib, #name)
/freebsd-head/contrib/libevent/sample/
H A Dle-proxy.c112 const char *lib = (const char*) local
117 "%s in %s %s\n", msg, lib, func);
/freebsd-head/crypto/heimdal/lib/krb5/
H A Dacache.c92 const char *lib = NULL; local
103 lib = krb5_config_get_string(context, NULL,
106 if (lib == NULL) {
108 lib = "/System/Library/Frameworks/Kerberos.framework/Kerberos";
110 lib = "%{LIBDIR}/libkrb5_cc.dll";
112 lib = "/usr/lib/libkrb5_cc.so";
128 if (_krb5_expand_path_tokens(context, lib, &explib) == 0) {
134 cc_handle = dlopen(lib, RTLD_LAZY|RTLD_LOCAL);
142 lib);
[all...]
/freebsd-head/sys/netgraph/
H A Dng_nat.c292 struct libalias *lib; /* libalias handler */ member in struct:ng_nat_priv
314 priv->lib = LibAliasInit(NULL);
317 (void )LibAliasSetMode(priv->lib, PKT_ALIAS_SAME_PORTS,
380 LibAliasSetAddress(priv->lib, *ia);
395 if (LibAliasSetMode(priv->lib,
412 LibAliasSetTarget(priv->lib, *ia);
433 entry->lnk = LibAliasRedirectPort(priv->lib,
492 entry->lnk = LibAliasRedirectAddr(priv->lib,
544 entry->lnk = LibAliasRedirectProto(priv->lib,
604 if (LibAliasRedirectDynamic(priv->lib,
[all...]
/freebsd-head/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A Dittnotify_config.h201 #define __itt_get_proc(lib, name) GetProcAddress(lib, name)
223 #define __itt_get_proc(lib, name) dlsym(lib, name)
343 lib_t lib; member in struct:___itt_global
/freebsd-head/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/
H A Dittnotify_static.cpp76 #define ANDROID_ITTNOTIFY_DEFAULT_PATH_MASK(x) "/data/data/com.intel.vtune/perfrun/lib" \
991 static int __itt_lib_version(lib_t lib) argument
993 if (lib == NULL)
995 if (__itt_get_proc(lib, "__itt_api_init"))
997 if (__itt_get_proc(lib, "__itt_api_version"))
1039 if (_N_(_ittapi_global).lib != NULL)
1041 __itt_api_fini_ptr = (__itt_api_fini_t*)(size_t)__itt_get_proc(_N_(_ittapi_global).lib, "__itt_api_fini");
1051 * if (_N_(_ittapi_global).lib != NULL)
1052 * __itt_unload_lib(_N_(_ittapi_global).lib);
1053 * _N_(_ittapi_global).lib
[all...]
H A Dittnotify_config.h252 #define __itt_get_proc(lib, name) GetProcAddress(lib, name)
278 #define __itt_get_proc(lib, name) dlsym(lib, name)
450 lib_t lib; member in struct:___itt_global
/freebsd-head/crypto/openssl/crypto/err/
H A Derr.c101 {ERR_R_SYS_LIB, "system lib"},
102 {ERR_R_BN_LIB, "BN lib"},
103 {ERR_R_RSA_LIB, "RSA lib"},
104 {ERR_R_DH_LIB, "DH lib"},
105 {ERR_R_EVP_LIB, "EVP lib"},
106 {ERR_R_BUF_LIB, "BUF lib"},
107 {ERR_R_OBJ_LIB, "OBJ lib"},
108 {ERR_R_PEM_LIB, "PEM lib"},
109 {ERR_R_DSA_LIB, "DSA lib"},
110 {ERR_R_X509_LIB, "X509 lib"},
324 err_patch(int lib, ERR_STRING_DATA *str) argument
360 ERR_load_strings(int lib, ERR_STRING_DATA *str) argument
378 ERR_unload_strings(int lib, ERR_STRING_DATA *str) argument
403 ERR_put_error(int lib, int func, int reason, const char *file, int line) argument
[all...]
/freebsd-head/contrib/wpa/src/eap_peer/
H A Dtncc.c405 TCHAR *lib = wpa_strdup_tchar(imc->path); local
406 if (lib == NULL)
408 imc->dlhandle = LoadLibrary(lib);
409 os_free(lib);
/freebsd-head/sys/netpfil/ipfw/
H A Dip_fw_nat.c90 struct libalias *lib; /* libalias instance */ member in struct:cfg_nat
131 LibAliasSetAddress(ptr->lib, ptr->ip);
174 LibAliasRedirectDelete(n->lib, r->alink[i]);
223 r->alink[0] = LibAliasRedirectAddr(ptr->lib, r->laddr,
232 r->alink[i] = LibAliasRedirectPort(ptr->lib,
243 r->alink[0] = LibAliasRedirectProto(ptr->lib ,r->laddr,
262 LibAliasAddServer(ptr->lib, r->alink[0],
280 LibAliasUninit(ptr->lib);
364 retval = LibAliasOutTry(t->lib, c,
379 retval = LibAliasIn(t->lib,
922 struct libalias *lib; member in struct:cfg_nat_legacy
[all...]

Completed in 117 milliseconds

12