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

12

/ast/src/lib/libcodex/
H A Dcodexlist.c41 Codexlib_f lib; local
54 if ((lib = (Codexlib_f)dlllook(dll, "codex_lib")) && (np = (*lib)(dle->name)))
H A Dcodexmeth.c40 Codexlib_f lib; local
67 if ((lib = (Codexlib_f)dlllook(dll, "codex_lib")) && (meth = (*lib)(name)))
/ast/src/lib/libdll/
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.c29 * find and load lib plugin/module library name with optional version ver and dlopen() flags
36 dllplugin(const char* lib, const char* name, const char* ver, unsigned long rel, unsigned long* cur, int flags, char* path, size_t size) argument
47 if (dls = dllsopen(lib, name, ver))
84 dll = dllplugin(lib, s, 0, 0, 0, flags, path, size);
105 if (!lib)
107 lib = 0;
123 dllplug(const char* lib, const char* name, const char* ver, int flags, char* path, size_t size) argument
125 return dllplugin(lib, name, ver, 0, NiL, flags, path, size);
H A Ddll_lib.c70 if (strneq(s, "lib", 3))
113 Dll_lib_t* lib; local
127 for (lib = loaded; lib; lib = lib->next)
128 if (streq(names->base, lib->base))
130 libf = lib->libf;
165 if (lib = newof(0, Dll_lib_t, 1, (n = strlen(names->base)) + strlen(names->path) + 1))
167 lib
[all...]
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
226 if (lib && *lib && (*lib != '-' || *(lib
[all...]
/ast/src/lib/librecsort/
H A Drskeyopen.c31 static const char lib[] = "librecsort:rskey"; variable
86 kp->id = lib;
H A Drslib.c32 rslib(Rs_t* rs, Rskey_t* kp, const char* lib, int flags) argument
34 rslib(rs, kp, lib, flags)
37 const char* lib;
50 for (s = (char*)lib; *s && *s != ',' && *s != '\t' && *s != '\r' && *s != '\n'; s++);
51 sfsprintf(path, sizeof(path), "%-.*s", s - (char*)lib, lib);
/ast/src/lib/libast/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.c120 char lib[PATH_MAX]; local
150 x = lib + sizeof(lib) - 1;
151 k = lib + sfsprintf(lib, x - lib, "lib/%s/", probe);
157 if (pathpath(lib, "", PATH_ABSOLUTE, path, pathsize) && !stat(path, &st) && (st.st_mode & S_IWUSR))
161 if (!pathpath(lib, "", PATH_ABSOLUTE|PATH_EXECUTE, path, pathsize) || stat(path, &ps))
181 * yes lib/prob
[all...]
/ast/src/cmd/ksh93/include/
H A Dpath.h61 char *lib; member in struct:pathcomp
/ast/src/cmd/dss/
H A Ddss.c77 "files. The default \b../lib/dss\b directories on \b$PATH\b are added to "
152 showplugin(register Dsslib_t* lib, const char* style, Sfio_t* sp, int* sep, Dssdisc_t* disc) argument
159 if (lib->meth)
160 sfprintf(sfstdout, "%s\t--library=%s --method=%s,${style}\n", lib->meth->name, lib->name, lib->meth->name);
161 if (lib->queries)
162 for (i = 0; s = lib->queries[i].name; i++)
164 if (lib->meth && !streq(lib
195 Dsslib_t* lib; local
[all...]
/ast/src/lib/libast/misc/
H A Dcmdarg.c36 static const char lib[] = "libast:cmdarg"; variable
155 cmd->id = lib;
H A Dfastfind.c75 static const char lib[] = "libast:fastfind"; variable
91 "/usr/local/share/lib",
92 "/usr/local/lib",
93 "/usr/share/lib",
94 "/usr/lib",
97 "/var/lib",
98 "/var/lib/slocate",
178 fp->id = lib;
365 fp->id = lib;
H A Dmime.c33 static const char lib[] = "libast:mime"; variable
808 mp->id = lib;
/ast/src/lib/libcoshell/
H A Dcolib.h112 const char* lib; /* library id */ member in struct:Costate_s
/ast/src/lib/libdss/
H A Ddssopt.c212 Dsslib_t* lib; local
257 for (lib = dsslib(NiL, DSS_VERBOSE, disc); lib; lib = (Dsslib_t*)dtnext(state->cx->libraries, lib))
258 if (lib->meth && optout(sp, lib->meth->name, NiL, NiL, NiL, lib->meth->description, NiL))
392 * generate lib info usage
396 dssoptlib(Sfio_t* sp, Dsslib_t* lib, cons argument
[all...]
H A Ddssopen.c38 "\b../lib/dss\b sibling directory on \b$PATH\b. The supported tags are:]"
322 init(void* dll, Dsslib_t* lib, const char* path, Dssflags_t flags, Dssdisc_t* disc) argument
334 lib = (libf = (Dsslib_f)dlllook(dll, buf)) ? (*libf)(path, disc) : (Dsslib_t*)0;
336 if (lib)
338 if (!(lib->path = (const char*)strdup(path)))
344 if (!dtsearch(state.cx->libraries, lib))
345 dtinsert(state.cx->libraries, lib);
346 return lib;
361 register Dsslib_t* lib; local
387 if ((lib
398 dssadd(register Dsslib_t* lib, Dssdisc_t* disc) argument
449 Dsslib_t* lib; local
558 Dsslib_t* lib; local
721 Dsslib_t* lib; local
[all...]
/ast/src/lib/libmam/
H A Dmam.c30 static const char lib[] = "libmam:mam"; variable
93 mp->id = lib;
/ast/src/cmd/std/
H A Dpss.c30 static const char lib[] = "std:pss"; variable
50 pss->id = lib;
/ast/src/cmd/3d/
H A Derror.c92 errorv(const char* lib, int level, va_list ap) argument
118 if ((fd = fsfd(&state.fs[FS_option])) <= 0 || level < error_info.trace || lib && (error_info.clear & ERROR_LIBRARY) || level < 0 && error_info.mask && !(error_info.mask & (1<<(-level - 1))))
127 if (!lib) flags &= ~ERROR_LIBRARY;
139 bprintf(&b, e, "[%s library]: ", lib);
/ast/src/cmd/dsslib/fix/
H A Dfix.c223 Dsslib_t* lib; local
293 for (lib = (Dsslib_t*)dtfirst(cx->state->libraries); lib; lib = (Dsslib_t*)dtnext(cx->state->libraries, lib))
294 if (lib->types && !lib->meth)
296 sfprintf(expr->op, " <LIBRARY>%s</>\n", lib->name);
297 if (!w && streq(lib->name, "num_t"))
/ast/src/lib/libardir/
H A Dar-omf.c50 Arfile_t lib; member in struct:State_s
/ast/src/lib/libast/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);
/ast/src/lib/libexpr/
H A Dexpr.h214 char* lib; /* pathfind() lib */ member in struct:Exdisc_s

Completed in 36 milliseconds

12