Lines Matching refs:handle
30 DL_HANDLE handle; in zend_load_extension() local
34 handle = DL_LOAD(path); in zend_load_extension()
35 if (!handle) { in zend_load_extension()
48 …extension_version_info = (zend_extension_version_info *) DL_FETCH_SYMBOL(handle, "extension_versio… in zend_load_extension()
50 …extension_version_info = (zend_extension_version_info *) DL_FETCH_SYMBOL(handle, "_extension_versi… in zend_load_extension()
52 new_extension = (zend_extension *) DL_FETCH_SYMBOL(handle, "zend_extension_entry"); in zend_load_extension()
54 new_extension = (zend_extension *) DL_FETCH_SYMBOL(handle, "_zend_extension_entry"); in zend_load_extension()
62 DL_UNLOAD(handle); in zend_load_extension()
79 DL_UNLOAD(handle); in zend_load_extension()
95 DL_UNLOAD(handle); in zend_load_extension()
106 DL_UNLOAD(handle); in zend_load_extension()
110 return zend_register_extension(new_extension, handle); in zend_load_extension()
122 int zend_register_extension(zend_extension *new_extension, DL_HANDLE handle) in zend_register_extension() argument
128 extension.handle = handle; in zend_register_extension()
190 if (extension->handle) { in zend_extension_dtor()
191 DL_UNLOAD(extension->handle); in zend_extension_dtor()