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

12

/illumos-gate/usr/src/lib/libdll/common/
H A Ddllfind.c38 dllfind(const char* lib, const char* ver, int flags, char* path, size_t size) argument
43 if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size)))
45 return dllplug(NiL, lib, ver, flags, path, size);
H A Ddllplug.c31 * find and load lib plugin/module library name with optional version ver and dlopen() flags
38 dllplug(const char* lib, const char* name, const char* ver, int flags, char* path, size_t size) argument
48 if (dls = dllsopen(lib, name, ver))
66 if (!lib)
68 lib = 0;
H A Ddllscan.c49 char** lib; \
74 static char lib[] = "lib"; variable
158 if (!streq(info.sibling[0], lib))
159 info.sibling[1] = lib;
212 dllsopen(const char* lib, const char* name, const char* version) argument
224 if (lib && *lib && (*lib != '-' || *(lib
[all...]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dlinkage.c113 generate_linkage_function(char *lib, char *func) argument
116 "void *__abi_%s_%s(void *real, int vflag) { \n", lib, func);
117 (void) fprintf(Bodyfp, " ABI_REAL(%s, %s) = real;\n", lib, func);
118 (void) fprintf(Bodyfp, " ABI_VFLAG(%s, %s) = vflag;\n", lib, func);
120 " return ((void *) %s_%s);\n}\n", lib, func);
H A Dinterceptor.c360 generate_i_prints(ENTRY *function, char *lib, char *func) argument
368 lib, func);
H A Dtrace.c182 *lib = db_get_current_library(); local
188 errlog(TRACING, "now in file \"%s\" in lib \"%s\"",
189 filename, lib);
/illumos-gate/usr/src/cmd/lofiadm/
H A Dutils.c122 openlib(const char *lib) argument
124 lib_hdl = dlopen(lib, RTLD_LAZY);
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathfind.c79 * if lib!=0 then pathpath() attempted after include search
81 * any *: prefix in lib is ignored (discipline library dictionary support)
85 pathfind(const char* name, const char* lib, const char* type, char* buf, size_t size) argument
150 * finally a lib related search on PATH
153 if (lib)
155 if (s = strrchr((char*)lib, ':'))
156 lib = (const char*)s + 1;
157 sfsprintf(tmp, sizeof(tmp), "lib/%s/%s", lib, name);
162 sfsprintf(tmp, sizeof(tmp), "lib/
[all...]
H A Dpathprobe.c108 char lib[PATH_MAX]; local
135 x = lib + sizeof(lib) - 1;
136 k = lib + sfsprintf(lib, x - lib, "lib/%s/", probe);
142 if (pathpath(path, lib, "", PATH_ABSOLUTE) && !stat(path, &st) && (st.st_mode & S_IWUSR))
146 if (!pathpath(path, lib, "", PATH_ABSOLUTE|PATH_EXECUTE) || stat(path, &ps))
166 * yes lib/prob
[all...]
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dpath.h60 char *lib; member in struct:pathcomp
/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Dcrle.c117 char **lib; local
564 lib = &crle.c_adlibpath;
567 lib = &crle.c_edlibpath;
569 if (addlib(&crle, lib, (const char *)optarg) != 0)
583 lib = &crle.c_aslibpath;
586 lib = &crle.c_eslibpath;
588 if (addlib(&crle, lib, (const char *)optarg) != 0)
H A Dutil.c162 * -l /usr/lib:/usr/local/lib. This is enabled to make update easier.
165 addlib(Crle_desc *crle, char **lib, const char *args) argument
183 if (*lib) {
188 if (((str = strstr(*lib, arg)) != NULL) &&
189 (((str == *lib) ||
195 llen = strlen(*lib);
214 if ((str = realloc((void *)*lib, tlen)) == 0) {
227 *lib = str;
/illumos-gate/usr/src/cmd/sgs/libldmake/common/
H A Dld_file.c65 const char *lib = "libldmake.so"; local
68 perror(lib);
73 perror(lib);
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_info.c62 int lib; local
65 for (lib = 1; lib <= tlm_info.ti_library_count; lib++) {
66 library = tlm_library(lib);
79 tlm_library(int lib) argument
83 if (library->tl_number == lib) {
96 tlm_drive(int lib, int drv) argument
99 tlm_library_t *library = tlm_library(lib);
118 tlm_slot(int lib, in argument
344 tlm_insert_new_drive(int lib) argument
367 tlm_insert_new_slot(int lib) argument
[all...]
H A Dtlm_init.c288 NDMP_LOG(LOG_DEBUG, "lib %d sid %d lun %d",
376 new_drive(scsi_link_t *slink, int *lib) argument
383 for (*lib = 1; *lib <= tlm_library_count(); (*lib)++) {
384 if (!(lp = tlm_library(*lib)))
388 if (!(dp = tlm_drive(*lib, d)))
571 NDMP_LOG(LOG_DEBUG, "can't find lib %d", l);
/illumos-gate/usr/src/cmd/truss/
H A Dhtbl.c85 free(prev->lib);
86 prev->lib = NULL;
119 add_fcall(htbl_t *htp, char *lib, char *key, unsigned long cnt) argument
134 if (strcmp(tmp->lib, lib) == 0) {
152 new->lib = strdup(lib);
153 if (new->lib == NULL)
H A Dhtbl.h41 char *lib; /* library name */ member in struct:hentry
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dldmain.c63 static char def_Plibpath[] = "/lib/64:/usr/lib/64";
65 static char def_Plibpath[] = "/usr/ccs/lib:/lib:/usr/lib";
231 char *lib; local
236 if ((lib = strtok_r(sgs_support, sep, &lasts)) != NULL) {
238 if (ld_sup_loadso(ofl, lib) == S_ERROR)
242 } while ((lib = strtok_r(NULL, sep, &lasts)) != NULL);
247 char *lib; local
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_pragma.c205 dt_pragma_depends_finddep(dtrace_hdl_t *dtp, const char *lname, char *lib, argument
214 (void) snprintf(lib, len, "%s/%s", dirp->dir_path, lname);
216 if (stat(lib, &sbuf) == 0) {
239 char lib[MAXPATHLEN]; local
256 dt_pragma_depends_finddep(dtp, nnp->dn_string, lib,
257 sizeof (lib));
264 lib)) != 0) {
266 "failed to add dependency %s:%s\n", lib,
284 dt_pragma_depends_finddep(dtp, nnp->dn_string, lib,
285 sizeof (lib));
[all...]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Daudit.c33 Dbg_audit_lib(Rt_map *clmp, const char *lib, int type) argument
55 dbg_print(clml, MSG_INTL(MSG_AUD_LIB), lib, NAME(clmp), str);
59 Dbg_audit_interface(Lm_list *lml, const char *lib, const char *interface) argument
64 dbg_print(lml, MSG_INTL(MSG_AUD_INTERFACE), lib, interface);
68 Dbg_audit_version(Lm_list *lml, const char *lib, uint_t overs, uint_t nvers) argument
73 dbg_print(lml, MSG_INTL(MSG_AUD_VERSION), lib, overs, nvers);
77 Dbg_audit_activity(Lm_list *lml, const char *lib, const char *obj, uint_t flags) argument
85 dbg_print(lml, MSG_INTL(MSG_AUD_ACTIVITY), lib, obj,
90 Dbg_audit_preinit(Lm_list *lml, const char *lib, const char *obj) argument
96 dbg_print(lml, MSG_INTL(MSG_AUD_PREINIT), lib, ob
100 Dbg_audit_objsearch(Lm_list *lml, int call, const char *lib, const char *oobj, uint_t flags, const char *nobj) argument
123 Dbg_audit_objfilter(Lm_list *lml, int call, const char *lib, const char *filter, const char *filtee, const char *ref) argument
138 Dbg_audit_objopen(Lm_list *lml, int call, const char *lib, const char *obj, uint_t flags, Boolean ignore) argument
160 Dbg_audit_objclose(Lm_list *lml, const char *lib, const char *obj) argument
170 Dbg_audit_symbind(Lm_list *lml, int call, const char *lib, const char *name, Addr value, uint_t flags) argument
189 Dbg_audit_pltenter(Lm_list *lml, int call, const char *lib, const char *name, Addr value) argument
206 Dbg_audit_pltexit(Lm_list *lml, const char *lib, const char *name) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dfastfind.c96 static const char lib[] = "libast:fastfind"; variable
112 "/usr/local/share/lib",
113 "/usr/local/lib",
114 "/usr/share/lib",
115 "/usr/lib",
118 "/var/lib",
119 "/var/lib/slocate",
199 fp->id = lib;
386 fp->id = lib;
H A Dmime.c33 static const char lib[] = "libast:mime"; variable
782 mp->id = lib;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Diconv.c62 * /usr/lib/iconv/geniconvtbl.so
67 * /usr/lib/iconv/fromcode%tocode.so
83 * The PSARC/2001/072 includes the /usr/lib/iconv/alias interface.
239 * performed by /usr/lib/iconv/geniconvtbl.so with
241 * /usr/lib/iconv/geniconvtbl/binarytables/fromcode%tocode.bt
259 /* Next, try /usr/lib/iconv/from%to.so */
263 * /usr/lib/iconv/from%to.so exists
337 iconv_open_private(const char *lib, const char *tbl) argument
345 if ((cdpath->_icv_handle = dlopen(lib, RTLD_LAZY)) == 0) {
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dreport.cc233 report_libdep(char *lib, char *flag) argument
246 report_dep(lib, filename);
/illumos-gate/usr/src/lib/libast/common/port/
H A Dlcgen.c281 char* lib; local
295 if (!(hdr = *argv++) || !(lib = *argv++) || *argv)
297 fprintf(stderr, "%s: { hdr lib tab } arguments expected\n", command);
305 if (!(lf = fopen(lib, "w")))
307 fprintf(stderr, "%s: %s: cannot write\n", command, lib);

Completed in 122 milliseconds

12