Lines Matching refs:dirname
93 char *dirname; in PHP_FUNCTION() local
103 dirname = estrndup(link, link_len); in PHP_FUNCTION()
104 zend_dirname(dirname, link_len); in PHP_FUNCTION()
106 if (php_check_open_basedir(dirname)) { in PHP_FUNCTION()
107 efree(dirname); in PHP_FUNCTION()
114 efree(dirname); in PHP_FUNCTION()
118 efree(dirname); in PHP_FUNCTION()
131 char dirname[MAXPATHLEN]; in PHP_FUNCTION() local
144 memcpy(dirname, source_p, sizeof(source_p)); in PHP_FUNCTION()
145 len = zend_dirname(dirname, strlen(dirname)); in PHP_FUNCTION()
147 if (!expand_filepath_ex(topath, dest_p, dirname, len)) { in PHP_FUNCTION()