Lines Matching refs:MAXPATHLEN
132 char resolved_name[MAXPATHLEN + 1];
133 char resolved_basedir[MAXPATHLEN + 1];
134 char local_open_basedir[MAXPATHLEN];
135 char path_tmp[MAXPATHLEN + 1];
143 if (strcmp(basedir, ".") || !VCWD_GETCWD(local_open_basedir, MAXPATHLEN)) {
149 if (path_len > (MAXPATHLEN - 1)) {
166 char buf[MAXPATHLEN];
168 ret = php_sys_readlink(path_tmp, buf, MAXPATHLEN - 1);
289 if (strlen(path) > (MAXPATHLEN - 1)) {
290 … name is longer than the maximum allowed path length on this platform (%d): %s", MAXPATHLEN, path);
479 char trypath[MAXPATHLEN];
532 …if (filename_length > (MAXPATHLEN - 2) || (end-ptr) > MAXPATHLEN || (end-ptr) + 1 + filename_lengt…
543 …if (filename_length > (MAXPATHLEN - 2) || len > MAXPATHLEN || len + 1 + filename_length + 1 >= MAX…
584 filename_length < (MAXPATHLEN - 2) &&
585 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) {
626 char trypath[MAXPATHLEN];
687 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) {
688 php_error_docref(NULL, E_NOTICE, "%s/%s path was truncated to %d", ptr, filename, MAXPATHLEN);
760 char cwd[MAXPATHLEN];
776 if (relative_to_len > MAXPATHLEN-1U) {
782 result = VCWD_GETCWD(cwd, MAXPATHLEN);
793 copy_len = path_len > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : path_len;
819 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length;