Home
last modified time | relevance | path

Searched refs:dll (Results 1 – 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/contrib/ast/src/lib/libdll/
H A Ddlfcn.c67 void* dll; in dlopen() local
75 return dll; in dlopen()
88 handle = dll == (void*)&all ? (shl_t)0 : (shl_t)dll; in dlsym()
133 void* dll; in dlopen() local
137 return dll; in dlopen()
277 void* dll; in dlopen() local
282 return dll; in dlopen()
408 free(dll); in dlopen()
421 if (!dll || dll == DL_NEXT || dll->magic != DL_MAGIC) in dlclose()
428 free(dll); in dlclose()
[all …]
H A Ddllplug.c38 void* dll; in dllplugin() local
60 dlclose(dll); in dllplugin()
61 dll = 0; 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()
111 if (!dllcheck(dll, name, rel, cur)) in dllplugin()
113 dlclose(dll); in dllplugin()
114 dll = 0; in dllplugin()
[all …]
H A DMamfile40 make dll
42 make dll.req
53 exec - "dll"|dll)
73 exec - } > dll.req
78 make dll.h implicit
166 make FEATURE/dll
167 meta FEATURE/dll features/%>FEATURE/% features/dll dll
168 make features/dll
283 done dll virtual
303 prev dll.req
[all …]
H A Ddllcheck.c35 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 Ddlllook.c35 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 Ddllfind.c41 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 DRELEASE10 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 Ddllopen.c40 void* dll;
72 dll = dlopen(path, mode);
77 return dll;
H A Ddllnext.c177 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 Ddll_lib.c112 void* dll; in dll_lib() local
138dll = 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 DMakefile7 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 Dcmd.h101 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 Dmake.probe410 sd=.dll
662 sd=.dll
663 so=.dll.a
686 rm -f xxx$dll
689 if $xx $1 -o xxx$dll shared.$obj 2>e && test -r xxx$dll
776 rm -f xxx$dll
777 if $dld $shared -o xxx$dll libxxx.$lib && test -r xxx$dll
789 rm -f xxx$dll
894 rm -f xxx$dll
1068 rm -f xxx$dll
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dgetenv.c97 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 Dmagic.tab304 +12 long 6 shared library x-system/dll
306 +12 long 8 bundle x-system/dll
331 &20 long <0x2000 shared library x-system/dll
357 +18 short &0x2000 shared library x-system/dll
521 +16 short 3 shared library x-system/dll
656 +16 short 3 shared library x-system/dll
815 +20 short 0443 , shared library x-system/dll
898 +20 long 0440 shared library x-system/dll
926 +20 short 0443 shared library x-system/dll
968 +20 short 0443 , shared library x-system/dll
[all …]
/illumos-gate/usr/src/cmd/ast/libdll/
H A DMakefile.defs22 HDRGUARD= dll
24 FEATURES= dll
H A DMakefile.com91 [[ $$src = dlldefs ]] && src=dll; \
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c838 duid_ll_t dll; in inittab_encode_e() local
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()
1197 length -= sizeof (dll); in inittab_decode_e()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dstates.c931 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 Ddll2 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 Dpath.c788 void *dll; in path_absolute() local
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()
854 (addr=(Shbltin_f)dlllook(dll,stakptr(n))) && in path_absolute()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c881 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/bhyve/
H A Duart_emul.c139 uint8_t dll; /* Baudrate divisor latch LSB */ member
411 sc->dll = divisor; in uart_reset()
483 sc->dll = value; in uart_write()
605 reg = sc->dll; in uart_read()
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A DMakefile52 LOGDLL= eventlog.dll
/illumos-gate/exception_lists/
H A Dcddlchk47 usr/src/cmd/smbsrv/smbd/eventlog.dll

12