Lines Matching refs:MAXPATHLEN

135 	char file_dirname[MAXPATHLEN];  in php_zip_extract_file()
158 if (path_cleaned_len >= MAXPATHLEN || zip_stat(za, file, 0, &sb) != 0) { in php_zip_extract_file()
213 } else if (len > MAXPATHLEN) { in php_zip_extract_file()
214 php_error_docref(NULL, E_WARNING, "Full extraction path exceed MAXPATHLEN (%i)", MAXPATHLEN); in php_zip_extract_file()
285 char resolved_path[MAXPATHLEN]; in php_zip_add_file()
409 if (Z_STRLEN_P(option) >= MAXPATHLEN) { in php_zip_parse_options()
410 zend_value_error("Option \"remove_path\" must be less than %d bytes", MAXPATHLEN - 1); in php_zip_parse_options()
429 if (Z_STRLEN_P(option) >= MAXPATHLEN) { in php_zip_parse_options()
430 zend_value_error("Option \"add_path\" must be less than %d bytes", MAXPATHLEN - 1); in php_zip_parse_options()
605 char cwd[MAXPATHLEN]; in php_zip_glob()
606 char work_pattern[MAXPATHLEN]; in php_zip_glob()
613 if (pattern_len >= MAXPATHLEN) { in php_zip_glob()
614 …docref(NULL, E_WARNING, "Pattern exceeds the maximum allowed length of %d characters", MAXPATHLEN); in php_zip_glob()
626 result = VCWD_GETCWD(cwd, MAXPATHLEN); in php_zip_glob()
637 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in php_zip_glob()
710 char cwd[MAXPATHLEN]; in php_zip_pcre()
711 char work_path[MAXPATHLEN]; in php_zip_pcre()
720 result = VCWD_GETCWD(cwd, MAXPATHLEN); in php_zip_pcre()
729 snprintf(work_path, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, path); in php_zip_pcre()
757 char fullpath[MAXPATHLEN]; in php_zip_pcre()
766 if ((path_len + namelist_len + 1) >= MAXPATHLEN) { in php_zip_pcre()
768 MAXPATHLEN - 1, (path_len + namelist_len + 1)); in php_zip_pcre()
787 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre()
1156 char resolved_path[MAXPATHLEN + 1]; in PHP_FUNCTION()
1758 char entry_name_buf[MAXPATHLEN];
1780 if ((opts.add_path_len + file_stripped_len) > MAXPATHLEN) {
1782 MAXPATHLEN - 1, (opts.add_path_len + file_stripped_len));
1786 snprintf(entry_name_buf, MAXPATHLEN, "%s%s", opts.add_path, file_stripped);
1788 snprintf(entry_name_buf, MAXPATHLEN, "%s", file_stripped);