Lines Matching defs:handle
98 long handle; /* _findfirst/_findnext handle */
110 long handle;
125 if ((handle = _findfirst(filespec, &(dp->fileinfo))) < 0) {
136 dp->handle = handle;
147 if (_findnext(dp->handle, &(dp->fileinfo)) < 0) {
165 _findclose(dp->handle);
199 void *handle = NULL;
272 handle = dlopen(filepath, PLUGIN_DLOPEN_FLAGS);
273 if (handle == NULL) {
285 htmp->dlhandle = handle;
286 handle = NULL;
289 if (handle != NULL) { dlclose (handle); }
295 HMODULE handle = NULL;
297 handle = LoadLibrary(filepath);
298 if (handle == NULL) {
306 htmp->hinstPlugin = handle;
307 handle = NULL;
310 if (handle != NULL)
311 FreeLibrary(handle);
594 struct plugin_file_handle *handle = NULL;
604 if (krb5int_open_plugin (filepath, &handle, ep) == 0) {
605 err = krb5int_plugin_file_handle_array_add (&h, &count, handle);
606 if (!err) { handle = NULL; } /* h takes ownership */
610 if (handle != NULL) { krb5int_close_plugin (handle); }
619 struct plugin_file_handle *handle = NULL;
644 if (krb5int_open_plugin (filepath, &handle, ep) == 0) {
645 err = krb5int_plugin_file_handle_array_add (&h, &count, handle);
646 if (!err) { handle = NULL; } /* h takes ownership */
651 if (handle != NULL) { krb5int_close_plugin (handle); }