Lines Matching refs:MAXPATHLEN
140 char resolved_name[MAXPATHLEN];
141 char resolved_basedir[MAXPATHLEN];
142 char local_open_basedir[MAXPATHLEN];
143 char path_tmp[MAXPATHLEN];
151 if (strcmp(basedir, ".") || !VCWD_GETCWD(local_open_basedir, MAXPATHLEN)) {
157 if (path_len > (MAXPATHLEN - 1)) {
174 char buf[MAXPATHLEN];
176 ret = php_sys_readlink(path_tmp, buf, MAXPATHLEN - 1);
294 if (strlen(path) > (MAXPATHLEN - 1)) {
295 … name is longer than the maximum allowed path length on this platform (%d): %s", MAXPATHLEN, path);
481 char resolved_path[MAXPATHLEN];
482 char trypath[MAXPATHLEN];
539 …if (filename_length > (MAXPATHLEN - 2) || (end-ptr) > MAXPATHLEN || (end-ptr) + 1 + (size_t)filena…
550 …if (filename_length > (MAXPATHLEN - 2) || len > MAXPATHLEN || len + 1 + (size_t)filename_length + …
588 filename_length < (MAXPATHLEN - 2) &&
589 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) {
629 char trypath[MAXPATHLEN];
690 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) {
691 php_error_docref(NULL, E_NOTICE, "%s/%s path was truncated to %d", ptr, filename, MAXPATHLEN);
767 char cwd[MAXPATHLEN];
783 if (relative_to_len > MAXPATHLEN-1U) {
789 result = VCWD_GETCWD(cwd, MAXPATHLEN);
800 copy_len = path_len > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : path_len;
826 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length;