Lines Matching refs:MAXPATHLEN
77 static char prefix[MAXPATHLEN+1];
78 static char exec_prefix[MAXPATHLEN+1];
79 static char progpath[MAXPATHLEN+1];
159 if (strlen(filename) < MAXPATHLEN) {
235 buffer must have at least MAXPATHLEN + 1 bytes allocated, and contain a
236 NUL-terminated string with no more than MAXPATHLEN characters (not counting
240 than MAXPATHLEN characters at exit. If stuff is too long, only as much of
258 strncpy(buffer, volume_name, MAXPATHLEN);
264 if (n > 0 && n < MAXPATHLEN) {
271 if (n > MAXPATHLEN)
274 if (n + k > MAXPATHLEN)
275 k = MAXPATHLEN - n;
314 strncpyX(newbn, ".efi", MAXPATHLEN - bnlen); // append ".efi" to basename
340 MAXPATHLEN + 1 bytes and that p be no more than MAXPATHLEN bytes.
351 if (!getcwd(path, MAXPATHLEN)) {
368 absolutize() requires that path be allocated at least MAXPATHLEN+1 bytes.
375 char buffer[MAXPATHLEN + 1];
482 char argv0_path[MAXPATHLEN+1];
483 char zip_path[MAXPATHLEN+1];
489 //uint32_t nsexeclength = MAXPATHLEN;
507 strncpy(progpath, prog, MAXPATHLEN);
514 if (len > MAXPATHLEN)
515 len = MAXPATHLEN;
520 strncpy(progpath, path, MAXPATHLEN);
538 strncpy(argv0_path, progpath, MAXPATHLEN);
539 argv0_path[MAXPATHLEN] = '\0';
547 MAXPATHLEN bytes long.
559 strncpy(prefix, volume_name, MAXPATHLEN);
571 strncpy(zip_path, prefix, MAXPATHLEN);
572 zip_path[MAXPATHLEN] = '\0';
578 // strncpy(zip_path, PREFIX, MAXPATHLEN);
593 strncpy(exec_prefix, volume_name, MAXPATHLEN);
629 // strncpy(prefix, PREFIX, MAXPATHLEN);
742 // strncpy(exec_prefix, EXEC_PREFIX, MAXPATHLEN);