Searched refs:file_dirname (Results 1 – 3 of 3) sorted by relevance
/PHP-7.2/ext/zip/ |
H A D | zip_stream.c | 130 char file_dirname[MAXPATHLEN]; in php_zip_ops_stat() local 157 memcpy(file_dirname, path, path_len - fragment_len); in php_zip_ops_stat() 158 file_dirname[path_len - fragment_len] = '\0'; in php_zip_ops_stat() 163 if (ZIP_OPENBASEDIR_CHECKPATH(file_dirname)) { in php_zip_ops_stat() 168 za = zip_open(file_dirname, ZIP_CREATE, &err); in php_zip_ops_stat() 272 char file_dirname[MAXPATHLEN]; in php_stream_zip_opener() local 302 memcpy(file_dirname, path, path_len - fragment_len); in php_stream_zip_opener() 303 file_dirname[path_len - fragment_len] = '\0'; in php_stream_zip_opener() 308 if (ZIP_OPENBASEDIR_CHECKPATH(file_dirname)) { in php_stream_zip_opener() 313 za = zip_open(file_dirname, ZIP_CREATE, &err); in php_stream_zip_opener()
|
H A D | php_zip.c | 150 char file_dirname[MAXPATHLEN]; in php_zip_extract_file() local 181 memcpy(file_dirname, path_cleaned, path_cleaned_len); in php_zip_extract_file() 182 dir_len = php_dirname(file_dirname, path_cleaned_len); in php_zip_extract_file() 184 if (dir_len <= 0 || (dir_len == 1 && file_dirname[0] == '.')) { in php_zip_extract_file() 187 len = spprintf(&file_dirname_fullpath, 0, "%s/%s", dest, file_dirname); in php_zip_extract_file()
|
/PHP-7.2/ext/xmlwriter/ |
H A D | php_xmlwriter.c | 626 char file_dirname[MAXPATHLEN]; in _xmlwriter_get_valid_file_path() local 634 memcpy(file_dirname, source, strlen(source)); in _xmlwriter_get_valid_file_path() 635 dir_len = php_dirname(file_dirname, strlen(source)); in _xmlwriter_get_valid_file_path() 639 if (php_sys_stat(file_dirname, &buf) != 0) { in _xmlwriter_get_valid_file_path()
|
Completed in 28 milliseconds