/illumos-gate/usr/src/contrib/ast/src/lib/libdll/ |
H A D | dlfcn.c | 67 void* dll; in dlopen() local 73 if (!(dll = (void*)shl_load(path, mode, 0L))) in dlopen() 75 return dll; in dlopen() 78 extern int dlclose(void* dll) in dlclose() argument 83 extern void* dlsym(void* dll, const char* name) in dlsym() argument 88 handle = dll == (void*)&all ? (shl_t)0 : (shl_t)dll; in dlsym() 133 void* dll; in dlopen() local 135 if (!(dll = (void*)load((char*)path, mode, getenv("LIBPATH")))) in dlopen() 137 return dll; in dlopen() 140 extern int dlclose(void* dll) in dlclose() argument [all …]
|
H A D | dllplug.c | 38 void* dll; in dllplugin() local 55 if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT)) in dllplugin() 57 if (!dllcheck(dll, dle->path, rel, cur)) in dllplugin() 60 dlclose(dll); in dllplugin() 61 dll = 0; in dllplugin() 84 dll = dllplugin(lib, s, 0, 0, 0, flags, path, size); in dllplugin() 86 if (dll) in dllplugin() 101 if (!dll) in dllplugin() 103 return dll; in dllplugin() 109 if (dll = dllopen(name, flags)) in dllplugin() [all …]
|
H A D | Mamfile | 40 make dll 42 make dll.req 51 exec - for i in dll dl dld ast 53 exec - "dll"|dll) 73 exec - } > dll.req 75 done dll.req generated 78 make dll.h implicit 79 done dll.h dontcare virtual 166 make FEATURE/dll 167 meta FEATURE/dll features/%>FEATURE/% features/dll dll [all …]
|
H A D | dllcheck.c | 35 dllversion(void* dll, const char* path) in dllversion() argument 39 if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version")) in dllversion() 58 dllcheck(void* dll, const char* path, unsigned long ver, unsigned long* cur) in dllcheck() argument 65 v = dllversion(dll, path); in dllcheck()
|
H A D | dlllook.c | 35 dlllook(void* dll, const char* name) in dlllook() argument 40 if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2)) in dlllook() 45 addr = dlsym(dll, name); in dlllook()
|
H A D | dllfind.c | 41 void* dll; in dllfind() local 43 if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size))) in dllfind() 44 return dll; in dllfind()
|
H A D | RELEASE | 10 10-05-28 dllerror.c: add dllerror(int retain) for dll*() and dl*() messages 35 02-03-17 dllfind.c: fix dll prefix search (for cygwin) 36 02-01-11 features/dll: include <dlfcn.h> only if _hdr_dlfcn&&_lib_dlopen 42 01-02-14 features/dll: fix unbalanced ' quote and ancient hostinfo reference 44 99-04-01 features/dll: drop <stdio.h> -- iffe protos printf 47 98-03-11 features/dll: probe for _DLL_RLD_SYM
|
H A D | dllopen.c | 40 void* dll; 72 dll = dlopen(path, mode); 77 return dll;
|
H A D | dllnext.c | 177 register void* dll; in dllnext() local 191 dll = RTLD_NEXT; in dllnext() 210 while (!(dll = dllopen(path, flags))) in dllnext() 222 return dll; in dllnext()
|
H A D | dll_lib.c | 112 void* dll; in dll_lib() local 138 …dll = dllplugin(names->id, names->name, NiL, version, NiL, RTLD_LAZY, names->path, names->data + s… in dll_lib() 152 if (!(libf = (Dll_lib_f)dlllook(dll, sym))) in dll_lib()
|
H A D | Makefile | 7 dll 1.0 :LIBRARY: dlfcn.c dllopen.c dllfind.c dllplug.c dll_lib.c \ target 15 dlldefs.h :COPY: FEATURE/dll
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | cmd.h | 101 void* dll; in main() local 120 if (dll = dlopen(NiL, RTLD_LAZY)) in main() 122 if (fun = (Shbltin_f)dlsym(dll, buf + 1)) in main() 124 if (fun = (Shbltin_f)dlsym(dll, buf)) in main() 127 if (dll = dllplug(NiL, "cmd", NiL, RTLD_LAZY, NiL, 0)) in main() 129 if (fun = (Shbltin_f)dlsym(dll, buf + 1)) in main() 131 if (fun = (Shbltin_f)dlsym(dll, buf)) in main()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | make.probe | 19 probe_dll="'-G 0' -Wc,dll,exportall,longname,rent -Wc,exportall -dynamic $cc_dll_def" 41 probe_shared="'' -G -b -c -shared -Wl,dll" 405 $cc -Wl,dll -o pic.$exe pic.$obj || continue 410 sd=.dll 412 shared=-Wl,dll 655 then rm -f xxx.dll xxx.lib 656 if $cc -shared -Wl,--enable-auto-image-base -Wl,--out-implib=xxx.lib -o xxx.dll exp.$obj && 657 test -f xxx.lib -a -f xxx.dll 662 sd=.dll 663 so=.dll.a [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | getenv.c | 97 HANDLE dll; in getenv() local 103 if (dll = GetModuleHandle("posix.dll")) in getenv() 104 posix_getenv = (char*(*)(const char*))GetProcAddress(dll, "getenv"); in getenv()
|
H A D | magic.tab | 134 0 long 0x0210010e hp pa-risc 1.1 shared library x-system/dll 136 0 long 0x0210010d hp pa-risc 1.1 shared library x-system/dll 148 0 long 0x0214010e hp pa-risc 2.0 shared library x-system/dll 150 0 long 0x0214010d hp pa-risc 2.0 shared library x-system/dll 160 0 long 0x020b010d hp s800 shared library x-system/dll 162 0 long 0x020b010e hp s800 shared library x-system/dll 226 +20 long &0xEFDFFFFF!=0 shared library x-system/dll 301 +12 long 3 fixed vm shared library x-system/dll 304 +12 long 6 shared library x-system/dll 306 +12 long 8 bundle x-system/dll [all …]
|
/illumos-gate/usr/src/cmd/ast/libdll/ |
H A D | Makefile.defs | 22 HDRGUARD= dll 24 FEATURES= dll
|
H A D | Makefile.com | 91 [[ $$src = dlldefs ]] && src=dll; \
|
/illumos-gate/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_inittab.c | 838 duid_ll_t dll; in inittab_encode_e() local 846 maclen = get_mac_addr(currp, ierrnop, &dll.dll_hwtype, in inittab_encode_e() 847 hwtype, optstart + sizeof (dll)); in inittab_encode_e() 852 dll.dll_dutype = htons(type); in inittab_encode_e() 853 (void) memcpy(optstart, &dll, sizeof (dll)); in inittab_encode_e() 854 length = maclen + sizeof (dll); in inittab_encode_e() 1189 duid_ll_t dll; in inittab_decode_e() local 1191 if (length < sizeof (dll)) { in inittab_decode_e() 1195 (void) memcpy(&dll, payload, sizeof (dll)); in inittab_decode_e() 1196 payload += sizeof (dll); in inittab_decode_e() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | uart_emul.c | 93 uint8_t dll; /* Baudrate divisor latch LSB */ member 165 sc->dll = divisor; in uart_reset() 255 sc->dll = value; in uart_ns16550_write() 372 reg = sc->dll; in uart_ns16550_read()
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | states.c | 931 duid_ll_t *dll; in get_smach_cid() local 933 client_id_len += sizeof (*dll); in get_smach_cid() 934 dll = malloc(client_id_len); in get_smach_cid() 935 if (dll == NULL) in get_smach_cid() 937 dsmp->dsm_cid = (uchar_t *)dll; in get_smach_cid() 938 dll->dll_dutype = htons(duidtype); in get_smach_cid() 939 dll->dll_hwtype = htons(subtype); in get_smach_cid() 940 cp = (char *)(dll + 1); in get_smach_cid()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/features/ |
H A D | dll | 2 hdr dl,dlfcn,dll,rld_interface,mach-o/dyld 92 void* dll; 150 if (!(dll = dlopen(0, RTLD_LAZY))) 155 if (dlsym(dll, local[i]))
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | path.c | 788 void *dll; in path_absolute() local 830 if (dll = dllplugin(SH_ID, stakptr(m), NiL, SH_PLUGIN_VERSION, NiL, RTLD_LAZY, NiL, 0)) in path_absolute() 831 sh_addlib(shp,dll,stakptr(m),oldpp); in path_absolute() 834 if (dll = dllplug(SH_ID, stakptr(m), NiL, RTLD_LAZY, NiL, 0)) in path_absolute() 836 if (dll = dllfind(stakptr(m), NiL, RTLD_LAZY, NiL, 0)) in path_absolute() 844 if (libcmd && !dlllook(dll, "b_pids")) in path_absolute() 846 dlclose(dll); in path_absolute() 847 dll = 0; in path_absolute() 850 sh_addlib(shp,dll,stakptr(m),oldpp); in path_absolute() 853 if(dll && in path_absolute() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | typeset.c | 881 void* dll; member 901 int sh_addlib(Shell_t* shp, void* dll, char* name, Pathcomp_t* pp) in sh_addlib() argument 913 else if (liblist[n].dll == dll) in sh_addlib() 918 else if ((initfn = (Libinit_f)dlllook(dll, "lib_init"))) in sh_addlib() 925 liblist[nlib].dll = dll; in sh_addlib() 944 return (Shbltin_f)dlllook(liblist[n].dll, sym); in sh_getlib() 1072 if(!dlete && !liblist[n].dll) in b_builtin() 1074 if(dlete || (addr = (Shbltin_f)dlllook(liblist[n].dll,stkptr(stkp,flag)))) in b_builtin()
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | Makefile | 52 LOGDLL= eventlog.dll
|
/illumos-gate/exception_lists/ |
H A D | cddlchk | 47 usr/src/cmd/smbsrv/smbd/eventlog.dll
|