Lines Matching refs:PATH_MAX
46 # undef PATH_MAX
47 # define PATH_MAX MAX_PATH
136 max_sanitized_len = PATH_MAX-1;
140 FILENAME_MAX is often the same as PATH_MAX, in other words it is 260 and
142 max_sanitized_len = (PATH_MAX-1 > 255) ? 255 : PATH_MAX-1;
316 char dos_name[PATH_MAX];
335 if(strlen(file_name) > PATH_MAX-1 &&
337 truncate_dryrun(file_name, PATH_MAX-1)))
468 char fname[PATH_MAX];
494 if(strlen(file_name) > PATH_MAX-1 &&
496 truncate_dryrun(file_name, PATH_MAX-1)))
499 strncpy(fname, file_name, PATH_MAX-1);
500 fname[PATH_MAX-1] = '\0';
545 if(strlen(fname) == PATH_MAX-1) {
571 if(strlen(fname) == PATH_MAX-1) {
632 TCHAR buf[PATH_MAX];
637 res_len = SearchPath(NULL, bundle_file, NULL, PATH_MAX, buf, &ptr);