Searched refs:dll (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/libdll/common/
H A Ddlllook.c34 dlllook(void* dll, const char* name) argument
39 if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2))
43 addr = dlsym(dll, buf);
H A Ddlfcn.c29 static const char id[] = "\n@(#)$Id: dll library (AT&T Research) 2009-04-15 $\0\n";
69 void* dll; local
75 if (!(dll = (void*)shl_load(path, mode, 0L)))
77 return dll;
80 extern int dlclose(void* dll) argument
85 extern void* dlsym(void* dll, const char* name) argument
90 handle = dll == (void*)&all ? (shl_t)0 : (shl_t)dll;
135 void* dll; local
137 if (!(dll
142 dlclose(void* dll) argument
279 void* dll; local
287 dlclose(void* dll) argument
365 Dll_t* dll; local
421 Dll_t* dll = (Dll_t*)handle; local
435 lookup(Dll_t* dll, const char* name) argument
467 Dll_t* dll = (Dll_t*)handle; local
512 dlclose(void* dll) argument
[all...]
H A Ddllplug.c40 void* dll; local
53 if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT))
60 errorf("dll", NiL, 1, "%s: dlopen failed: %s", dle->path, dlerror());
65 return dll;
70 if ((dll = dllopen(name, flags)) && dll && path && size)
72 return dll;
H A Ddllfind.c41 void* dll; local
43 if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size)))
44 return dll;
H A Ddllopen.c34 * with the path of the dll to be opened
42 void* dll;
73 dll = dlopen(path, mode);
78 return dll;
H A Ddllnext.c43 * by the main prog and dll's loaded so far
139 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: next %s\n", vp));
145 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: skip %s\n", vp));
152 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: this %s\n", vp));
177 register void* dll; local
191 dll = RTLD_NEXT;
210 while (!(dll = dllopen(path, flags)))
222 return dll;
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcmd.h101 void* dll; local
120 if (dll = dlopen(NiL, RTLD_LAZY))
122 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
124 if (fun = (Shbltin_f)dlsym(dll, buf))
127 if (dll = dllplug(NiL, "cmd", NiL, RTLD_LAZY, NiL, 0))
129 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
131 if (fun = (Shbltin_f)dlsym(dll, buf))
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dgetenv.c97 HANDLE dll; local
103 if (dll = GetModuleHandle("posix.dll"))
104 posix_getenv = (char*(*)(const char*))GetProcAddress(dll, "getenv");
/illumos-gate/usr/src/lib/libcmd/amd64/include/ast/
H A Dcmd.h110 __V_* dll; local
129 if (dll = dlopen(NiL, RTLD_LAZY))
131 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
133 if (fun = (Shbltin_f)dlsym(dll, buf))
136 if (dll = dllplug(NiL, "cmd", NiL, RTLD_LAZY, NiL, 0))
138 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
140 if (fun = (Shbltin_f)dlsym(dll, buf))
/illumos-gate/usr/src/lib/libcmd/i386/include/ast/
H A Dcmd.h110 __V_* dll; local
129 if (dll = dlopen(NiL, RTLD_LAZY))
131 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
133 if (fun = (Shbltin_f)dlsym(dll, buf))
136 if (dll = dllplug(NiL, "cmd", NiL, RTLD_LAZY, NiL, 0))
138 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
140 if (fun = (Shbltin_f)dlsym(dll, buf))
/illumos-gate/usr/src/lib/libcmd/sparc/include/ast/
H A Dcmd.h110 __V_* dll; local
129 if (dll = dlopen(NiL, RTLD_LAZY))
131 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
133 if (fun = (Shbltin_f)dlsym(dll, buf))
136 if (dll = dllplug(NiL, "cmd", NiL, RTLD_LAZY, NiL, 0))
138 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
140 if (fun = (Shbltin_f)dlsym(dll, buf))
/illumos-gate/usr/src/lib/libcmd/sparcv9/include/ast/
H A Dcmd.h110 __V_* dll; local
129 if (dll = dlopen(NiL, RTLD_LAZY))
131 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
133 if (fun = (Shbltin_f)dlsym(dll, buf))
136 if (dll = dllplug(NiL, "cmd", NiL, RTLD_LAZY, NiL, 0))
138 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
140 if (fun = (Shbltin_f)dlsym(dll, buf))
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c837 duid_ll_t dll; local
845 maclen = get_mac_addr(currp, ierrnop, &dll.dll_hwtype,
846 hwtype, optstart + sizeof (dll));
851 dll.dll_dutype = htons(type);
852 (void) memcpy(optstart, &dll, sizeof (dll));
853 length = maclen + sizeof (dll);
1188 duid_ll_t dll; local
1190 if (length < sizeof (dll)) {
1194 (void) memcpy(&dll, payloa
[all...]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A DMakefile50 LOGDLL= eventlog.dll
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dstates.c928 duid_ll_t *dll; local
930 client_id_len += sizeof (*dll);
931 dll = malloc(client_id_len);
932 if (dll == NULL)
934 dsmp->dsm_cid = (uchar_t *)dll;
935 dll->dll_dutype = htons(duidtype);
936 dll->dll_hwtype = htons(subtype);
937 cp = (char *)(dll + 1);

Completed in 90 milliseconds