Lines Matching refs:MAXPATHLEN
145 char resolved_name[MAXPATHLEN];
146 char resolved_basedir[MAXPATHLEN];
147 char local_open_basedir[MAXPATHLEN];
148 char path_tmp[MAXPATHLEN];
156 if (strcmp(basedir, ".") || !VCWD_GETCWD(local_open_basedir, MAXPATHLEN)) {
162 if (path_len > (MAXPATHLEN - 1)) {
182 char buf[MAXPATHLEN];
184 ret = php_sys_readlink(path_tmp, buf, MAXPATHLEN - 1);
304 if (strlen(path) > (MAXPATHLEN - 1)) {
305 … name is longer than the maximum allowed path length on this platform (%d): %s", MAXPATHLEN, path);
350 char resolved_name[MAXPATHLEN];
539 char resolved_path[MAXPATHLEN];
540 char trypath[MAXPATHLEN];
593 if ((end-ptr) + 1 + filename_length + 1 >= MAXPATHLEN) {
604 if (len + 1 + filename_length + 1 >= MAXPATHLEN) {
642 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) {
683 char trypath[MAXPATHLEN];
764 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) {
765 …rror_docref(NULL TSRMLS_CC, E_NOTICE, "%s/%s path was truncated to %d", ptr, filename, MAXPATHLEN);
848 char cwd[MAXPATHLEN];
859 if (relative_to_len > MAXPATHLEN-1U) {
865 result = VCWD_GETCWD(cwd, MAXPATHLEN);
876 copy_len = strlen(filepath) > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : strlen(filepath);
897 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length;