Lines Matching refs:handle
31 DL_HANDLE handle; in zend_load_extension() local
33 handle = DL_LOAD(path); in zend_load_extension()
34 if (!handle) { in zend_load_extension()
44 return zend_load_extension_handle(handle, path); in zend_load_extension()
55 int zend_load_extension_handle(DL_HANDLE handle, const char *path) in zend_load_extension_handle() argument
61 …extension_version_info = (zend_extension_version_info *) DL_FETCH_SYMBOL(handle, "extension_versio… in zend_load_extension_handle()
63 …extension_version_info = (zend_extension_version_info *) DL_FETCH_SYMBOL(handle, "_extension_versi… in zend_load_extension_handle()
65 new_extension = (zend_extension *) DL_FETCH_SYMBOL(handle, "zend_extension_entry"); in zend_load_extension_handle()
67 new_extension = (zend_extension *) DL_FETCH_SYMBOL(handle, "_zend_extension_entry"); in zend_load_extension_handle()
75 DL_UNLOAD(handle); in zend_load_extension_handle()
91 DL_UNLOAD(handle); in zend_load_extension_handle()
107 DL_UNLOAD(handle); in zend_load_extension_handle()
118 DL_UNLOAD(handle); in zend_load_extension_handle()
126 DL_UNLOAD(handle); in zend_load_extension_handle()
134 DL_UNLOAD(handle); in zend_load_extension_handle()
138 return zend_register_extension(new_extension, handle); in zend_load_extension_handle()
150 int zend_register_extension(zend_extension *new_extension, DL_HANDLE handle) in zend_register_extension() argument
156 extension.handle = handle; in zend_register_extension()
233 if (extension->handle && !getenv("ZEND_DONT_UNLOAD_MODULES")) { in zend_extension_dtor()
234 DL_UNLOAD(extension->handle); in zend_extension_dtor()