Searched refs:file_dirname (Results 1 – 3 of 3) sorted by relevance
/PHP-8.2/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() 287 char file_dirname[MAXPATHLEN]; in php_stream_zip_opener() local 317 memcpy(file_dirname, path, path_len - fragment_len); in php_stream_zip_opener() 318 file_dirname[path_len - fragment_len] = '\0'; in php_stream_zip_opener() 323 if (ZIP_OPENBASEDIR_CHECKPATH(file_dirname)) { in php_stream_zip_opener() 328 za = zip_open(file_dirname, ZIP_CREATE, &err); in php_stream_zip_opener()
|
H A D | php_zip.c | 135 char file_dirname[MAXPATHLEN]; in php_zip_extract_file() local 168 memcpy(file_dirname, path_cleaned, path_cleaned_len); in php_zip_extract_file() 169 dir_len = php_dirname(file_dirname, path_cleaned_len); in php_zip_extract_file() 171 if (!dir_len || (dir_len == 1 && file_dirname[0] == '.')) { in php_zip_extract_file() 174 len = spprintf(&file_dirname_fullpath, 0, "%s/%s", dest, file_dirname); in php_zip_extract_file()
|
/PHP-8.2/ext/xmlwriter/ |
H A D | php_xmlwriter.c | 149 char file_dirname[MAXPATHLEN]; in _xmlwriter_get_valid_file_path() local 157 memcpy(file_dirname, source, strlen(source)); in _xmlwriter_get_valid_file_path() 158 dir_len = php_dirname(file_dirname, strlen(source)); in _xmlwriter_get_valid_file_path() 162 if (php_sys_stat(file_dirname, &buf) != 0) { in _xmlwriter_get_valid_file_path()
|
Completed in 25 milliseconds