Lines Matching refs:handle
85 void *handle; in php_load_shlib() local
88 handle = DL_LOAD(path); in php_load_shlib()
89 if (!handle) { in php_load_shlib()
105 return handle; in php_load_shlib()
112 void *handle; in php_load_extension() local
152 handle = php_load_shlib(libpath, &err1); in php_load_extension()
153 if (!handle) { in php_load_extension()
163 handle = php_load_shlib(libpath, &err2); in php_load_extension()
164 if (!handle) { in php_load_extension()
179 if (!php_win32_image_compatible(handle, &err1)) { in php_load_extension()
182 DL_UNLOAD(handle); in php_load_extension()
187 get_module = (zend_module_entry *(*)(void)) DL_FETCH_SYMBOL(handle, "get_module"); in php_load_extension()
194 get_module = (zend_module_entry *(*)(void)) DL_FETCH_SYMBOL(handle, "_get_module"); in php_load_extension()
198 …if (DL_FETCH_SYMBOL(handle, "zend_extension_entry") || DL_FETCH_SYMBOL(handle, "_zend_extension_en… in php_load_extension()
199 DL_UNLOAD(handle); in php_load_extension()
203 DL_UNLOAD(handle); in php_load_extension()
215 DL_UNLOAD(handle); in php_load_extension()
225 DL_UNLOAD(handle); in php_load_extension()
231 void *old_handle = module_entry->handle; in php_load_extension()
235 module_entry->handle = handle; in php_load_extension()
245 module_entry->handle = old_handle; in php_load_extension()
246 DL_UNLOAD(handle); in php_load_extension()
253 DL_UNLOAD(handle); in php_load_extension()
260 DL_UNLOAD(handle); in php_load_extension()