Lines Matching refs:MAXPATHLEN
144 char resolved_name[MAXPATHLEN];
145 char resolved_basedir[MAXPATHLEN];
146 char local_open_basedir[MAXPATHLEN];
147 char path_tmp[MAXPATHLEN];
155 if (strcmp(basedir, ".") || !VCWD_GETCWD(local_open_basedir, MAXPATHLEN)) {
161 if (path_len > (MAXPATHLEN - 1)) {
181 char buf[MAXPATHLEN];
183 ret = php_sys_readlink(path_tmp, buf, MAXPATHLEN - 1);
303 if (strlen(path) > (MAXPATHLEN - 1)) {
304 … name is longer than the maximum allowed path length on this platform (%d): %s", MAXPATHLEN, path);
475 char resolved_path[MAXPATHLEN];
476 char trypath[MAXPATHLEN];
525 if ((end-ptr) + 1 + filename_length + 1 >= MAXPATHLEN) {
536 if (len + 1 + filename_length + 1 >= MAXPATHLEN) {
574 exec_fname_length + 1 + filename_length + 1 < MAXPATHLEN) {
615 char trypath[MAXPATHLEN];
672 if (snprintf(trypath, MAXPATHLEN, "%s/%s", ptr, filename) >= MAXPATHLEN) {
673 …rror_docref(NULL TSRMLS_CC, E_NOTICE, "%s/%s path was truncated to %d", ptr, filename, MAXPATHLEN);
749 char cwd[MAXPATHLEN];
760 if (relative_to_len > MAXPATHLEN-1U) {
766 result = VCWD_GETCWD(cwd, MAXPATHLEN);
777 copy_len = strlen(filepath) > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : strlen(filepath);
803 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length;