Searched refs:file_dirname (Results 1 – 3 of 3) sorted by relevance
/PHP-8.0/ext/zip/ |
H A D | zip_stream.c | 128 char file_dirname[MAXPATHLEN]; in php_zip_ops_stat() local 155 memcpy(file_dirname, path, path_len - fragment_len); in php_zip_ops_stat() 156 file_dirname[path_len - fragment_len] = '\0'; in php_zip_ops_stat() 161 if (ZIP_OPENBASEDIR_CHECKPATH(file_dirname)) { in php_zip_ops_stat() 166 za = zip_open(file_dirname, ZIP_CREATE, &err); in php_zip_ops_stat() 251 char file_dirname[MAXPATHLEN]; in php_stream_zip_opener() local 281 memcpy(file_dirname, path, path_len - fragment_len); in php_stream_zip_opener() 282 file_dirname[path_len - fragment_len] = '\0'; in php_stream_zip_opener() 287 if (ZIP_OPENBASEDIR_CHECKPATH(file_dirname)) { in php_stream_zip_opener() 292 za = zip_open(file_dirname, ZIP_CREATE, &err); in php_stream_zip_opener()
|
H A D | php_zip.c | 134 char file_dirname[MAXPATHLEN]; in php_zip_extract_file() local 167 memcpy(file_dirname, path_cleaned, path_cleaned_len); in php_zip_extract_file() 168 dir_len = php_dirname(file_dirname, path_cleaned_len); in php_zip_extract_file() 170 if (!dir_len || (dir_len == 1 && file_dirname[0] == '.')) { in php_zip_extract_file() 173 len = spprintf(&file_dirname_fullpath, 0, "%s/%s", dest, file_dirname); in php_zip_extract_file()
|
/PHP-8.0/ext/xmlwriter/ |
H A D | php_xmlwriter.c | 146 char file_dirname[MAXPATHLEN]; in _xmlwriter_get_valid_file_path() local 154 memcpy(file_dirname, source, strlen(source)); in _xmlwriter_get_valid_file_path() 155 dir_len = php_dirname(file_dirname, strlen(source)); in _xmlwriter_get_valid_file_path() 159 if (php_sys_stat(file_dirname, &buf) != 0) { in _xmlwriter_get_valid_file_path()
|
Completed in 26 milliseconds