Lines Matching refs:MAXPATHLEN
150 char file_dirname[MAXPATHLEN]; in php_zip_extract_file()
172 if (path_cleaned_len >= MAXPATHLEN || zip_stat(za, file, 0, &sb) != 0) { in php_zip_extract_file()
226 } else if (len > MAXPATHLEN) { in php_zip_extract_file()
227 php_error_docref(NULL, E_WARNING, "Full extraction path exceed MAXPATHLEN (%i)", MAXPATHLEN); in php_zip_extract_file()
287 char resolved_path[MAXPATHLEN]; in php_zip_add_file()
337 if (Z_STRLEN_P(option) >= MAXPATHLEN) { in php_zip_parse_options()
339 MAXPATHLEN - 1, Z_STRLEN_P(option)); in php_zip_parse_options()
357 if (Z_STRLEN_P(option) >= MAXPATHLEN) { in php_zip_parse_options()
359 MAXPATHLEN - 1, Z_STRLEN_P(option)); in php_zip_parse_options()
515 char cwd[MAXPATHLEN]; in php_zip_glob()
518 char work_pattern[MAXPATHLEN]; in php_zip_glob()
525 if (pattern_len >= MAXPATHLEN) { in php_zip_glob()
526 …docref(NULL, E_WARNING, "Pattern exceeds the maximum allowed length of %d characters", MAXPATHLEN); in php_zip_glob()
537 result = VCWD_GETCWD(cwd, MAXPATHLEN); in php_zip_glob()
548 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in php_zip_glob()
580 strncpy(cwd, globbuf.gl_pathv[0], MAXPATHLEN); in php_zip_glob()
621 char cwd[MAXPATHLEN]; in php_zip_pcre()
623 char work_path[MAXPATHLEN]; in php_zip_pcre()
631 result = VCWD_GETCWD(cwd, MAXPATHLEN); in php_zip_pcre()
642 snprintf(work_path, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, path); in php_zip_pcre()
669 char fullpath[MAXPATHLEN]; in php_zip_pcre()
680 if ((path_len + namelist_len + 1) >= MAXPATHLEN) { in php_zip_pcre()
682 MAXPATHLEN - 1, (path_len + namelist_len + 1)); in php_zip_pcre()
687 snprintf(fullpath, MAXPATHLEN, "%s%c%s", path, DEFAULT_SLASH, ZSTR_VAL(namelist[i])); in php_zip_pcre()
1141 char resolved_path[MAXPATHLEN + 1]; in PHP_NAMED_FUNCTION()
1727 char entry_name_buf[MAXPATHLEN]; in php_zip_add_from_pattern()
1744 if ((add_path_len + file_stripped_len) > MAXPATHLEN) { in php_zip_add_from_pattern()
1746 MAXPATHLEN - 1, (add_path_len + file_stripped_len)); in php_zip_add_from_pattern()
1750 snprintf(entry_name_buf, MAXPATHLEN, "%s%s", add_path, file_stripped); in php_zip_add_from_pattern()
1752 snprintf(entry_name_buf, MAXPATHLEN, "%s", file_stripped); in php_zip_add_from_pattern()