Lines Matching refs:dirname
95 char *dirname; in PHP_FUNCTION() local
104 dirname = estrndup(link, link_len); in PHP_FUNCTION()
105 php_dirname(dirname, link_len); in PHP_FUNCTION()
107 if (php_check_open_basedir(dirname)) { in PHP_FUNCTION()
108 efree(dirname); in PHP_FUNCTION()
115 efree(dirname); in PHP_FUNCTION()
119 efree(dirname); in PHP_FUNCTION()
132 char dirname[MAXPATHLEN]; in PHP_FUNCTION() local
145 memcpy(dirname, source_p, sizeof(source_p)); in PHP_FUNCTION()
146 len = php_dirname(dirname, strlen(dirname)); in PHP_FUNCTION()
148 if (!expand_filepath_ex(topath, dest_p, dirname, len)) { in PHP_FUNCTION()