/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/src/os_win/ |
H A D | os_dlopen.c | 20 WT_DLH *dlh; in __wt_dlopen() local 22 WT_RET(__wt_calloc_one(session, &dlh)); in __wt_dlopen() 23 WT_ERR(__wt_strdup(session, path, &dlh->name)); in __wt_dlopen() 41 *dlhp = dlh; in __wt_dlopen() 43 err: __wt_free(session, dlh->name); in __wt_dlopen() 44 __wt_free(session, dlh); in __wt_dlopen() 62 sym = GetProcAddress(dlh->handle, name); in __wt_dlsym() 67 name, dlh->name, in __wt_dlsym() 86 if (FreeLibrary(dlh->handle) == FALSE) { in __wt_dlclose() 93 __wt_free(session, dlh->name); in __wt_dlclose() [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/src/os_posix/ |
H A D | os_dlopen.c | 19 WT_DLH *dlh; in __wt_dlopen() local 21 WT_RET(__wt_calloc_one(session, &dlh)); in __wt_dlopen() 24 if ((dlh->handle = dlopen(path, RTLD_LAZY)) == NULL) in __wt_dlopen() 28 *dlhp = dlh; in __wt_dlopen() 30 err: __wt_free(session, dlh->name); in __wt_dlopen() 31 __wt_free(session, dlh); in __wt_dlopen() 47 if ((sym = dlsym(dlh->handle, name)) == NULL) { in __wt_dlsym() 63 __wt_dlclose(WT_SESSION_IMPL *session, WT_DLH *dlh) in __wt_dlclose() argument 75 if (dlclose(dlh->handle) != 0) { in __wt_dlclose() 81 __wt_free(session, dlh->name); in __wt_dlclose() [all …]
|
/dports/misc/adios2/ADIOS2-2.7.1/thirdparty/EVPath/EVPath/ |
H A D | dlloader.c | 43 dlhandle dlh; in CMdlopen() 91 dlh = malloc(sizeof(*dlh)); in CMdlopen() 105 strcpy(dlh->lib_prefix, tmp); in CMdlopen() 109 dlh->dlopen_handle = handle; in CMdlopen() 111 return (void*)dlh; in CMdlopen() 121 dlhandle dlh = (dlhandle)vdlh; in CMdlsym() 124 strcpy(tmp, dlh->lib_prefix); in CMdlsym() 140 dlhandle dlh = (dlhandle)vdlh; in CMdlclose() 142 dlclose(dlh->dlopen_handle); in CMdlclose() 144 free(dlh->lib_prefix); in CMdlclose() [all …]
|
/dports/lang/mosml/mosml-ver-2.10.1/src/mosmllib/ |
H A D | Gdimage.sml | 7 val dlh = dlopen { lib = "libmgd.so", value 31 app2 (dlsym dlh "mgd_image") 34 app1 (dlsym dlh "mgd_frompng") 37 app2 (dlsym dlh "mgd_topng") 40 app1 (dlsym dlh "mgd_tostdoutpng") 43 app2 (dlsym dlh "mgd_color") 67 app2 (dlsym dlh "mgd_settransparentcolor") 70 app1 (dlsym dlh "mgd_gettransparentcolor") 82 app2 (dlsym dlh "mgd_setstyle"); 167 app2 (dlsym dlh "mgd_rgb") im co [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/mysql-test/lib/My/SafeProcess/ |
H A D | wsrep_check_version.c | 55 static wsrep_loader_fun wsrep_dlf(void *dlh, const char *sym) in wsrep_dlf() argument 61 alias.obj = dlsym(dlh, sym); in wsrep_dlf() 65 static int wsrep_check_version_symbol(void *dlh) in wsrep_check_version_symbol() argument 68 dlversion = (char**) dlsym(dlh, "wsrep_interface_version"); in wsrep_check_version_symbol() 74 static int wsrep_print_version(void *dlh) in wsrep_print_version() argument 77 dlversion = (char**) dlsym(dlh, "wsrep_interface_version"); in wsrep_print_version() 87 void *dlh; in main() local 94 if (!(dlfun = wsrep_dlf(dlh, "wsrep_loader"))) { in main() 99 rc = wsrep_check_version_symbol(dlh); in main() 102 rc = wsrep_print_version(dlh); in main() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/mysql-test/lib/My/SafeProcess/ |
H A D | wsrep_check_version.c | 55 static wsrep_loader_fun wsrep_dlf(void *dlh, const char *sym) in wsrep_dlf() argument 61 alias.obj = dlsym(dlh, sym); in wsrep_dlf() 65 static int wsrep_check_version_symbol(void *dlh) in wsrep_check_version_symbol() argument 68 dlversion = (char**) dlsym(dlh, "wsrep_interface_version"); in wsrep_check_version_symbol() 74 static int wsrep_print_version(void *dlh) in wsrep_print_version() argument 77 dlversion = (char**) dlsym(dlh, "wsrep_interface_version"); in wsrep_print_version() 87 void *dlh; in main() local 94 if (!(dlfun = wsrep_dlf(dlh, "wsrep_loader"))) { in main() 99 rc = wsrep_check_version_symbol(dlh); in main() 102 rc = wsrep_print_version(dlh); in main() [all …]
|
/dports/editors/texstudio/texstudio-4.1.2/src/ |
H A D | bookmarks.cpp | 134 int temp = doc->indexOf(dlh); in getBookmarks() 154 if (dlh_item == dlh) { in bookmarkDeleted() 173 int lineNr = doc->indexOf(dlh); in bookmarkAdded() 185 if(!dlh){ in updateLineWithBookmark() 191 if (dlh_item == dlh) { in updateLineWithBookmark() 218 if (!dlh) in restoreBookmarks() 221 item->text() = dlh->text(); in restoreBookmarks() 235 if(!dlh) in updateBookmarks() 291 int ln=doc->indexOf(dlh); in clickedOnBookmark() 338 if (dlh) { in removeBookmark() [all …]
|
H A D | syntaxcheck.cpp | 50 REQUIRE(dlh); in putLine() 57 newLine.dlh = dlh; in putLine() 433 QDocumentLineHandle *dlh = env.dlh; in markUnclosedEnv() local 434 if (!dlh) in markUnclosedEnv() 517 if (top.dlh != tk.dlh) { in checkLine() 571 env.dlh = dlh; in checkLine() 644 env.dlh = dlh; in checkLine() 665 if(dlh == env.dlh){ in checkLine() 801 tp.dlh = dlh; in checkLine() 889 env.dlh = dlh; in checkLine() [all …]
|
/dports/x11/alltray/alltray-0.70/lib/ |
H A D | nomap.c | 103 void *dlh = NULL; in initialize() local 113 dlclose (dlh); in initialize() 117 dlclose(dlh); in initialize() 320 void *dlh = NULL; in XMapWindow() local 323 if (dlh == NULL) in XMapWindow() 325 if (dlh == NULL) in XMapWindow() 330 dlclose (dlh); in XMapWindow() 500 if (dlh == NULL) in XMapSubwindows() 505 dlclose (dlh); in XMapSubwindows() 587 if (dlh == NULL) in XMapRaised() [all …]
|
/dports/editors/texstudio/texstudio-4.1.2/src/latexparser/ |
H A D | latexparsing.cpp | 31 if (!dlh) in simpleLexLatexLine() 37 present.dlh = dlh; in simpleLexLatexLine() 151 if (!dlh) in latexDetermineContexts2() 471 tk0.dlh = dlh; in latexDetermineContexts2() 481 if (tk1.dlh == dlh) { // same line in latexDetermineContexts2() 494 tk2.dlh = dlh; in latexDetermineContexts2() 565 tk3.dlh = dlh; in latexDetermineContexts2() 779 tk3.dlh = dlh; in latexDetermineContexts2() 919 QString line = dlh ? dlh->text() : ""; in getArg() 1101 QDocumentLineHandle *dlh = tk.dlh; in getArgContent() local [all …]
|
/dports/textproc/estraier/estraier-1.2.30/ |
H A D | estdlfunc.c | 31 static void estdlclose(void *dlh); 42 void *dlh; in estgetdlfunc_impl() local 47 if(!(dlh = (void *)cbmapget(map, file, -1, NULL))){ in estgetdlfunc_impl() 48 if(!(dlh = dlopen(file, RTLD_LAZY))) return NULL; in estgetdlfunc_impl() 49 cbglobalgc(dlh, estdlclose); in estgetdlfunc_impl() 51 return dlsym(dlh, symbol); in estgetdlfunc_impl() 56 static void estdlclose(void *dlh){ in estdlclose() argument 57 dlclose(dlh); in estdlclose()
|
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/wsrep/src/ |
H A D | wsrep_loader.c | 112 static wsrep_loader_fun wsrep_dlf(void *dlh, const char *sym) in wsrep_dlf() argument 118 alias.obj = dlsym(dlh, sym); in wsrep_dlf() 122 static int wsrep_check_version_symbol(void *dlh) in wsrep_check_version_symbol() argument 136 void *dlh = NULL; in wsrep_load() local 165 if (!(dlh = dlopen(spec, RTLD_NOW | RTLD_LOCAL))) { in wsrep_load() 172 if (!(dlfun = wsrep_dlf(dlh, "wsrep_loader"))) { in wsrep_load() 177 if (wsrep_check_version_symbol(dlh) != 0) { in wsrep_load() 198 (*hptr)->dlh = dlh; in wsrep_load() 202 if (dlh) dlclose(dlh); in wsrep_load() 223 if (hptr->dlh) in wsrep_unload() [all …]
|
/dports/databases/galera/galera-release_25.3.35/wsrep/src/ |
H A D | wsrep_loader.c | 112 static wsrep_loader_fun wsrep_dlf(void *dlh, const char *sym) in wsrep_dlf() argument 118 alias.obj = dlsym(dlh, sym); in wsrep_dlf() 122 static int wsrep_check_version_symbol(void *dlh) in wsrep_check_version_symbol() argument 136 void *dlh = NULL; in wsrep_load() local 165 if (!(dlh = dlopen(spec, RTLD_NOW | RTLD_LOCAL))) { in wsrep_load() 172 if (!(dlfun = wsrep_dlf(dlh, "wsrep_loader"))) { in wsrep_load() 177 if (wsrep_check_version_symbol(dlh) != 0) { in wsrep_load() 198 (*hptr)->dlh = dlh; in wsrep_load() 202 if (dlh) dlclose(dlh); in wsrep_load() 223 if (hptr->dlh) in wsrep_unload() [all …]
|
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/wsrep/src/ |
H A D | wsrep_loader.c | 112 static wsrep_loader_fun wsrep_dlf(void *dlh, const char *sym) in wsrep_dlf() argument 118 alias.obj = dlsym(dlh, sym); in wsrep_dlf() 122 static int wsrep_check_version_symbol(void *dlh) in wsrep_check_version_symbol() argument 136 void *dlh = NULL; in wsrep_load() local 165 if (!(dlh = dlopen(spec, RTLD_NOW | RTLD_LOCAL))) { in wsrep_load() 172 if (!(dlfun = wsrep_dlf(dlh, "wsrep_loader"))) { in wsrep_load() 177 if (wsrep_check_version_symbol(dlh) != 0) { in wsrep_load() 198 (*hptr)->dlh = dlh; in wsrep_load() 202 if (dlh) dlclose(dlh); in wsrep_load() 223 if (hptr->dlh) in wsrep_unload() [all …]
|
/dports/databases/mariadb103-client/mariadb-10.3.34/wsrep/ |
H A D | wsrep_loader.c | 111 static wsrep_loader_fun wsrep_dlf(void *dlh, const char *sym) in wsrep_dlf() argument 117 alias.obj = dlsym(dlh, sym); in wsrep_dlf() 121 static int wsrep_check_version_symbol(void *dlh) in wsrep_check_version_symbol() argument 135 void *dlh = NULL; in wsrep_load() local 163 if (!(dlh = dlopen(spec, RTLD_NOW | RTLD_LOCAL))) { in wsrep_load() 170 if (!(dlfun = wsrep_dlf(dlh, "wsrep_loader"))) { in wsrep_load() 175 if (wsrep_check_version_symbol(dlh) != 0) { in wsrep_load() 196 (*hptr)->dlh = dlh; in wsrep_load() 200 if (dlh) dlclose(dlh); in wsrep_load() 221 if (hptr->dlh) in wsrep_unload() [all …]
|
/dports/databases/mariadb103-server/mariadb-10.3.34/wsrep/ |
H A D | wsrep_loader.c | 111 static wsrep_loader_fun wsrep_dlf(void *dlh, const char *sym) in wsrep_dlf() argument 117 alias.obj = dlsym(dlh, sym); in wsrep_dlf() 121 static int wsrep_check_version_symbol(void *dlh) in wsrep_check_version_symbol() argument 135 void *dlh = NULL; in wsrep_load() local 163 if (!(dlh = dlopen(spec, RTLD_NOW | RTLD_LOCAL))) { in wsrep_load() 170 if (!(dlfun = wsrep_dlf(dlh, "wsrep_loader"))) { in wsrep_load() 175 if (wsrep_check_version_symbol(dlh) != 0) { in wsrep_load() 196 (*hptr)->dlh = dlh; in wsrep_load() 200 if (dlh) dlclose(dlh); in wsrep_load() 221 if (hptr->dlh) in wsrep_unload() [all …]
|
/dports/lang/mosml/mosml-ver-2.10.1/src/dynlibs/interface/ |
H A D | smlside.sml | 23 val fu : unit -> unit = app1 (dlsym dlh "cfu") 24 val fi : int -> int = app1 (dlsym dlh "cfi") 25 val fc : char -> char = app1 (dlsym dlh "cfc") 33 app5 (dlsym dlh "cfcur") 38 app1 (dlsym dlh "cftup") 43 app1 (dlsym dlh "cfrec") 57 app1 (dlsym dlh "cfdat") 62 app2 (dlsym dlh "cffun"); 67 app1 (dlsym dlh "cfrtup"); 72 app1 (dlsym dlh "cfrrec"); [all …]
|
H A D | smlside_mac.sml | 13 val dlh = dlopen { lib = "libdside.so", value 23 val fu : unit -> unit = app1 (dlsym dlh "cfu") 24 val fi : int -> int = app1 (dlsym dlh "cfi") 33 app5 (dlsym dlh "cfcur") 38 app1 (dlsym dlh "cftup") 43 app1 (dlsym dlh "cfrec") 57 app1 (dlsym dlh "cfdat") 62 app2 (dlsym dlh "cffun"); 67 app1 (dlsym dlh "cfrtup"); 72 app1 (dlsym dlh "cfrrec"); [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/wsrep-lib/src/ |
H A D | event_service_v1.cpp | 50 int wsrep::event_service_v1_probe(void* dlh) in event_service_v1_probe() argument 55 dlh, WSREP_EVENT_SERVICE_INIT_FUNC_V1, in event_service_v1_probe() 58 dlh, WSREP_EVENT_SERVICE_DEINIT_FUNC_V1, in event_service_v1_probe() 67 int wsrep::event_service_v1_init(void* dlh, in event_service_v1_init() argument 70 if (not (dlh && event_service)) return EINVAL; in event_service_v1_init() 82 dlh, WSREP_EVENT_SERVICE_INIT_FUNC_V1, &service, in event_service_v1_init() 92 void wsrep::event_service_v1_deinit(void* dlh) in event_service_v1_deinit() argument 99 dlh, WSREP_EVENT_SERVICE_DEINIT_FUNC_V1, in event_service_v1_deinit()
|
/dports/databases/mariadb104-client/mariadb-10.4.24/wsrep-lib/src/ |
H A D | event_service_v1.cpp | 50 int wsrep::event_service_v1_probe(void* dlh) in event_service_v1_probe() argument 55 dlh, WSREP_EVENT_SERVICE_INIT_FUNC_V1, in event_service_v1_probe() 58 dlh, WSREP_EVENT_SERVICE_DEINIT_FUNC_V1, in event_service_v1_probe() 67 int wsrep::event_service_v1_init(void* dlh, in event_service_v1_init() argument 70 if (not (dlh && event_service)) return EINVAL; in event_service_v1_init() 82 dlh, WSREP_EVENT_SERVICE_INIT_FUNC_V1, &service, in event_service_v1_init() 92 void wsrep::event_service_v1_deinit(void* dlh) in event_service_v1_deinit() argument 99 dlh, WSREP_EVENT_SERVICE_DEINIT_FUNC_V1, in event_service_v1_deinit()
|
/dports/databases/mariadb105-client/mariadb-10.5.15/wsrep-lib/src/ |
H A D | event_service_v1.cpp | 50 int wsrep::event_service_v1_probe(void* dlh) in event_service_v1_probe() argument 55 dlh, WSREP_EVENT_SERVICE_INIT_FUNC_V1, in event_service_v1_probe() 58 dlh, WSREP_EVENT_SERVICE_DEINIT_FUNC_V1, in event_service_v1_probe() 67 int wsrep::event_service_v1_init(void* dlh, in event_service_v1_init() argument 70 if (not (dlh && event_service)) return EINVAL; in event_service_v1_init() 82 dlh, WSREP_EVENT_SERVICE_INIT_FUNC_V1, &service, in event_service_v1_init() 92 void wsrep::event_service_v1_deinit(void* dlh) in event_service_v1_deinit() argument 99 dlh, WSREP_EVENT_SERVICE_DEINIT_FUNC_V1, in event_service_v1_deinit()
|
/dports/databases/mariadb105-server/mariadb-10.5.15/wsrep-lib/src/ |
H A D | event_service_v1.cpp | 50 int wsrep::event_service_v1_probe(void* dlh) in event_service_v1_probe() argument 55 dlh, WSREP_EVENT_SERVICE_INIT_FUNC_V1, in event_service_v1_probe() 58 dlh, WSREP_EVENT_SERVICE_DEINIT_FUNC_V1, in event_service_v1_probe() 67 int wsrep::event_service_v1_init(void* dlh, in event_service_v1_init() argument 70 if (not (dlh && event_service)) return EINVAL; in event_service_v1_init() 82 dlh, WSREP_EVENT_SERVICE_INIT_FUNC_V1, &service, in event_service_v1_init() 92 void wsrep::event_service_v1_deinit(void* dlh) in event_service_v1_deinit() argument 99 dlh, WSREP_EVENT_SERVICE_DEINIT_FUNC_V1, in event_service_v1_deinit()
|
/dports/databases/galera26/galera-release_26.4.10/wsrep/src/ |
H A D | wsrep_loader.c | 115 static wsrep_loader_fun wsrep_dlf(void *dlh, const char *sym) in wsrep_dlf() argument 121 alias.obj = dlsym(dlh, sym); in wsrep_dlf() 125 static int wsrep_check_version_symbol(void *dlh) in wsrep_check_version_symbol() argument 139 void *dlh = NULL; in wsrep_load() local 168 if (!(dlh = dlopen(spec, RTLD_NOW | RTLD_LOCAL))) { in wsrep_load() 175 if (!(dlfun = wsrep_dlf(dlh, "wsrep_loader"))) { in wsrep_load() 180 if (wsrep_check_version_symbol(dlh) != 0) { in wsrep_load() 201 (*hptr)->dlh = dlh; in wsrep_load() 205 if (dlh) dlclose(dlh); in wsrep_load() 226 if (hptr->dlh) in wsrep_unload() [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/wsrep-lib/wsrep-API/v26/ |
H A D | wsrep_loader.c | 115 static wsrep_loader_fun wsrep_dlf(void *dlh, const char *sym) in wsrep_dlf() argument 121 alias.obj = dlsym(dlh, sym); in wsrep_dlf() 125 static int wsrep_check_version_symbol(void *dlh) in wsrep_check_version_symbol() argument 139 void *dlh = NULL; in wsrep_load() local 168 if (!(dlh = dlopen(spec, RTLD_NOW | RTLD_LOCAL))) { in wsrep_load() 175 if (!(dlfun = wsrep_dlf(dlh, "wsrep_loader"))) { in wsrep_load() 180 if (wsrep_check_version_symbol(dlh) != 0) { in wsrep_load() 201 (*hptr)->dlh = dlh; in wsrep_load() 205 if (dlh) dlclose(dlh); in wsrep_load() 226 if (hptr->dlh) in wsrep_unload() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/wsrep-lib/wsrep-API/v26/ |
H A D | wsrep_loader.c | 115 static wsrep_loader_fun wsrep_dlf(void *dlh, const char *sym) in wsrep_dlf() argument 121 alias.obj = dlsym(dlh, sym); in wsrep_dlf() 125 static int wsrep_check_version_symbol(void *dlh) in wsrep_check_version_symbol() argument 139 void *dlh = NULL; in wsrep_load() local 168 if (!(dlh = dlopen(spec, RTLD_NOW | RTLD_LOCAL))) { in wsrep_load() 175 if (!(dlfun = wsrep_dlf(dlh, "wsrep_loader"))) { in wsrep_load() 180 if (wsrep_check_version_symbol(dlh) != 0) { in wsrep_load() 201 (*hptr)->dlh = dlh; in wsrep_load() 205 if (dlh) dlclose(dlh); in wsrep_load() 226 if (hptr->dlh) in wsrep_unload() [all …]
|