Lines Matching refs:libpath
337 char *libpath; in php_load_zend_extension_cb() local
348 spprintf(&libpath, 0, "%s%s", extension_dir, filename); /* SAFE */ in php_load_zend_extension_cb()
350 spprintf(&libpath, 0, "%s%c%s", extension_dir, DEFAULT_SLASH, filename); /* SAFE */ in php_load_zend_extension_cb()
353 handle = (DL_HANDLE)php_load_shlib(libpath, &err1); in php_load_zend_extension_cb()
356 char *orig_libpath = libpath; in php_load_zend_extension_cb()
359 …spprintf(&libpath, 0, "%s" PHP_SHLIB_EXT_PREFIX "%s." PHP_SHLIB_SUFFIX, extension_dir, filename); … in php_load_zend_extension_cb()
361 …spprintf(&libpath, 0, "%s%c" PHP_SHLIB_EXT_PREFIX "%s." PHP_SHLIB_SUFFIX, extension_dir, DEFAULT_S… in php_load_zend_extension_cb()
364 handle = (DL_HANDLE)php_load_shlib(libpath, &err2); in php_load_zend_extension_cb()
367 filename, orig_libpath, err1, libpath, err2); in php_load_zend_extension_cb()
370 efree(libpath); in php_load_zend_extension_cb()
383 efree(libpath); in php_load_zend_extension_cb()
389 zend_load_extension_handle(handle, libpath); in php_load_zend_extension_cb()
390 efree(libpath); in php_load_zend_extension_cb()