Lines Matching refs:MAXPATHLEN
138 char resolved_name[MAXPATHLEN];
139 char resolved_basedir[MAXPATHLEN];
140 char local_open_basedir[MAXPATHLEN];
141 char path_tmp[MAXPATHLEN];
149 if (strcmp(basedir, ".") || !VCWD_GETCWD(local_open_basedir, MAXPATHLEN)) {
155 if (path_len > (MAXPATHLEN - 1)) {
172 char buf[MAXPATHLEN];
174 ret = php_sys_readlink(path_tmp, buf, MAXPATHLEN - 1);
292 if (strlen(path) > (MAXPATHLEN - 1)) {
293 … name is longer than the maximum allowed path length on this platform (%d): %s", MAXPATHLEN, path);
477 char resolved_path[MAXPATHLEN];
478 char trypath[MAXPATHLEN];
535 …if (filename_length > (MAXPATHLEN - 2) || (end-ptr) > MAXPATHLEN || (end-ptr) + 1 + (size_t)filena…
546 …if (filename_length > (MAXPATHLEN - 2) || len > MAXPATHLEN || len + 1 + (size_t)filename_length + …
584 filename_length < (MAXPATHLEN - 2) &&
585 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) {
625 char trypath[MAXPATHLEN];
686 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) {
687 php_error_docref(NULL, E_NOTICE, "%s/%s path was truncated to %d", ptr, filename, MAXPATHLEN);
763 char cwd[MAXPATHLEN];
779 if (relative_to_len > MAXPATHLEN-1U) {
785 result = VCWD_GETCWD(cwd, MAXPATHLEN);
796 copy_len = path_len > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : path_len;
822 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length;