/osnet-11/usr/src/lib/libdll/common/ |
H A D | dlllook.c | 34 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 D | dllcheck.c | 29 * return plugin version for dll 35 dllversion(void* dll, const char* path) argument 39 if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) 45 errorf("dll", NiL, 1, "%s: %s", path, state.errorbuf); 51 * check if dll on path has plugin version >= ver 58 dllcheck(void* dll, const char* path, unsigned long ver, unsigned long* cur) argument 66 v = dllversion(dll, path); 80 errorf("dll", NiL, 1, "%s: %s", path, state.errorbuf);
|
H A D | dllfind.c | 41 void* dll; local 43 if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size))) 44 return dll;
|
H A D | dllplug.c | 38 void* dll; local 55 if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) 57 if (!dllcheck(dll, dle->path, rel, cur)) 60 dlclose(dll); 61 dll = 0; 84 dll = dllplugin(lib, s, 0, 0, 0, flags, path, size); 86 if (dll) 93 errorf("dll", NiL, 1, "%s: dlopen failed: %s", dle->path, dllerror(1)); 101 if (!dll) 103 return dll; [all...] |
H A D | dllnext.c | 43 * 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;
|
H A D | dlfcn.c | 29 static const char id[] = "\n@(#)$Id: dll library (AT&T Research) 2010-10-20 $\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...] |
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | getenv.c | 97 HANDLE dll; local 103 if (dll = GetModuleHandle("posix.dll")) 104 posix_getenv = (char*(*)(const char*))GetProcAddress(dll, "getenv");
|
/osnet-11/usr/src/lib/libcmd/amd64/include/ast/ |
H A D | cmd.h | 110 __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))
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | cmd.h | 101 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))
|
/osnet-11/usr/src/lib/libcmd/i386/include/ast/ |
H A D | cmd.h | 110 __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))
|
/osnet-11/usr/src/lib/libcmd/sparc/include/ast/ |
H A D | cmd.h | 110 __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))
|
/osnet-11/usr/src/lib/libcmd/sparcv9/include/ast/ |
H A D | cmd.h | 110 __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))
|
/osnet-11/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_inittab.c | 838 duid_ll_t dll; local 846 maclen = get_mac_addr(currp, ierrnop, &dll.dll_hwtype, 847 hwtype, optstart + sizeof (dll)); 852 dll.dll_dutype = htons(type); 853 (void) memcpy(optstart, &dll, sizeof (dll)); 854 length = maclen + sizeof (dll); 1242 duid_ll_t dll; local 1244 if (length < sizeof (dll)) { 1248 (void) memcpy(&dll, payloa [all...] |
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_addr.c | 3974 duid_ll_t *dll; local 3980 dll_size = cidlen - sizeof (*dllt) + sizeof (*dll); 3981 dll = malloc(dll_size); 3982 if (dll == NULL) 3984 dll->dll_dutype = dllt->dllt_dutype; 3985 dll->dll_hwtype = dllt->dllt_hwtype; 3986 cp = (uchar_t *)dll; 3987 (void) memcpy(cp + sizeof (*dll), cid + sizeof (*dllt), 3988 dll_size - sizeof (*dll)); 3990 free(dll); [all...] |