Searched refs:pathname (Results 51 - 75 of 141) sorted by relevance

123456

/freebsd-11-stable/contrib/libexecinfo/
H A Dbacktrace.c61 const char *pathname = SELF; local
71 pathname = path;
73 return open(pathname, flags);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa_config.c82 char *pathname; local
89 pathname = kmem_alloc(MAXPATHLEN, KM_SLEEP);
91 (void) snprintf(pathname, MAXPATHLEN, "%s", spa_config_path);
93 file = kobj_open_file(pathname);
95 kmem_free(pathname, MAXPATHLEN);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp169 void FileSpec::SetFile(llvm::StringRef pathname) { SetFile(pathname, m_style); } argument
174 void FileSpec::SetFile(llvm::StringRef pathname, Style style) { argument
180 if (pathname.empty())
183 llvm::SmallString<128> resolved(pathname);
/freebsd-11-stable/contrib/bmake/
H A Ddir.c284 cached_stats(Hash_Table *htp, const char *pathname, struct stat *st, int flags) argument
290 if (!pathname || !pathname[0])
293 entry = Hash_FindEntry(htp, pathname);
304 rc = (flags & CST_LSTAT) ? lstat(pathname, st) : stat(pathname, st);
312 entry = Hash_CreateEntry(htp, pathname, NULL);
323 cached_stat(const char *pathname, void *st) argument
325 return cached_stats(&mtimes, pathname, st, 0);
329 cached_lstat(const char *pathname, voi argument
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dgensupport.c212 char *pathname;
225 pathname = concat (stackp->fname, sep, filename, NULL);
226 input_file = fopen (pathname, "r");
229 free (pathname);
234 pathname = concat (base_dir, filename, NULL);
236 pathname = xstrdup (filename);
237 input_file = fopen (pathname, "r");
240 free (pathname);
252 read_rtx_filename = pathname;
256 include_callback (pathname);
210 char *pathname; local
[all...]
/freebsd-11-stable/stand/efi/libefi/
H A Defipart.c604 char *pathname, *p; local
629 if ((pathname = malloc(len + 1)) == NULL) {
634 cpy16to8(node->PathName, pathname, len + 1);
635 p = strchr(pathname, ':');
649 free(pathname);
656 printf("Bad unit number for partition \"%s\"\n", pathname);
657 free(pathname);
669 printf("BUG: No disk for partition \"%s\"\n", pathname);
670 free(pathname);
681 free(pathname);
[all...]
/freebsd-11-stable/contrib/binutils/bfd/
H A Darchive.c1505 bfd_dont_truncate_arname (bfd *abfd, const char *pathname, char *arhdr)
1519 bfd_bsd_truncate_arname (abfd, pathname, arhdr);
1523 filename = normalize (abfd, pathname);
1542 bfd_bsd_truncate_arname (bfd *abfd, const char *pathname, char *arhdr)
1546 const char *filename = strrchr (pathname, '/');
1552 char *bslash = strrchr (pathname, '\\');
1555 if (filename == NULL && pathname[0] != '\0' && pathname[1] == ':')
1556 filename = pathname + 1;
1561 filename = pathname;
1498 bfd_dont_truncate_arname(bfd *abfd, const char *pathname, char *arhdr) argument
1535 bfd_bsd_truncate_arname(bfd *abfd, const char *pathname, char *arhdr) argument
1583 bfd_gnu_truncate_arname(bfd *abfd, const char *pathname, char *arhdr) argument
[all...]
/freebsd-11-stable/libexec/rtld-elf/
H A Drtld.c651 * Get the actual dynamic linker pathname from the executable if
1629 * Find the library with the given name, and return its full pathname.
1654 char *name, *pathname, *refobj_path; local
1663 if (strchr(name, '/') != NULL) { /* Hard coded pathname */
1665 _rtld_error("Absolute pathname required "
1683 pathname = search_library_path(name, ld_library_path,
1685 if (pathname != NULL)
1686 return (pathname);
1688 pathname = search_library_path(name, refobj->rpath,
1690 if (pathname !
3147 char *pathname; local
[all...]
/freebsd-11-stable/contrib/wpa/src/common/
H A Dwpa_ctrl.c187 * If the ctrl_path isn't an absolute pathname, assume that
273 char pathname[PATH_MAX]; local
279 dirnamelen = (size_t) os_snprintf(pathname, sizeof(pathname), "%s/",
281 if (dirnamelen >= sizeof(pathname)) {
285 namep = pathname + dirnamelen;
289 unlink(pathname);
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_gnutar.c56 const char * pathname; member in struct:gnutar
356 /* NOTE: This might break the pathname
358 * the pathname includes a character '\'
359 * as a part of its multibyte pathname. */
372 /* Make sure the path separators in pathname, hardlink and symlink
387 r = archive_entry_pathname_l(entry, &(gnutar->pathname),
397 "Can't translate pathname '%s' to %s",
498 /* If pathname is longer than 100 chars we need to add an 'L' header. */
500 const char *pathname = gnutar->pathname; local
[all...]
H A Darchive_write_set_format_mtree.c98 struct archive_string pathname; member in struct:mtree_entry
856 archive_string_free(&me->pathname);
917 * pathname of the entry as mtree utility does
940 * a full pathname.
1707 * Generate a parent directory name and a base name from a pathname.
1713 const char *pathname; local
1718 archive_strcpy(&file->pathname, archive_entry_pathname(entry));
1723 if (cleanup_backslash_1(file->pathname.s) != 0) {
1732 archive_string_empty(&(file->pathname));
1733 r = archive_string_append_from_wcs(&(file->pathname),
1877 mtree_entry_create_virtual_dir(struct archive_write *a, const char *pathname, struct mtree_entry **m_entry) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp808 const char *pathname = "/proc/self/exe"; local
822 pathname = path;
824 pathname = getexecname();
825 CHECK_NE(pathname, NULL);
829 pathname = reinterpret_cast<const char *>(getauxval(AT_EXECFN));
832 uptr rv = internal_execve(pathname, GetArgv(), GetEnviron());
/freebsd-11-stable/sys/sys/
H A Dlinker.h78 char* pathname; /* file name with full path */ member in struct:linker_file
324 char pathname[MAXPATHLEN]; member in struct:kld_file_stat
/freebsd-11-stable/stand/libsa/
H A Dbootparam.c232 * server pathname
235 bp_getfile(int sockfd, char *key, struct in_addr *serv_addr, char *pathname) argument
303 /* server pathname */
305 if (xdr_string_decode(&rdata, pathname, &path_len)) {
/freebsd-11-stable/libexec/tftpd/
H A Dtftpd.c85 * Null-terminated directory prefix list for absolute pathname requests and
86 * search list for relative pathname requests.
615 * bootfile pathname from a diskless Sun.
692 static char pathname[MAXPATHLEN]; local
747 snprintf(pathname, sizeof(pathname), "%s/%s",
749 if (stat(pathname, &stbuf) == 0 &&
762 *filep = filename = pathname;
/freebsd-11-stable/contrib/libreadline/
H A Dcomplete.c535 printable_part (pathname)
536 char *pathname;
541 return (pathname);
543 temp = strrchr (pathname, '/');
545 if (temp == 0 && ISALPHA ((unsigned char)pathname[0]) && pathname[1] == ':')
546 temp = pathname + 1;
550 return (pathname);
551 /* If the basename is NULL, we might have a pathname like '/usr/src/'.
554 pathname w
[all...]
/freebsd-11-stable/lib/libvmmapi/
H A Dvmmapi.c462 char pathname[MAXPATHLEN]; local
478 strlcpy(pathname, "/dev/vmm.io/", sizeof(pathname));
479 strlcat(pathname, ctx->name, sizeof(pathname));
480 strlcat(pathname, ".", sizeof(pathname));
481 strlcat(pathname, name, sizeof(pathname));
483 fd = open(pathname, O_RDW
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h693 #define __sanitizer_syscall_pre_unlink(pathname) \
694 __sanitizer_syscall_pre_impl_unlink((long)(pathname))
695 #define __sanitizer_syscall_post_unlink(res, pathname) \
696 __sanitizer_syscall_post_impl_unlink(res, (long)(pathname))
800 #define __sanitizer_syscall_pre_creat(pathname, mode) \
801 __sanitizer_syscall_pre_impl_creat((long)(pathname), (long)(mode))
802 #define __sanitizer_syscall_post_creat(res, pathname, mode) \
803 __sanitizer_syscall_post_impl_creat(res, (long)(pathname), (long)(mode))
1020 #define __sanitizer_syscall_pre_mkdir(pathname, mode) \
1021 __sanitizer_syscall_pre_impl_mkdir((long)(pathname), (lon
[all...]
/freebsd-11-stable/contrib/openbsm/test/bsm/
H A Dgenerate.c68 char pathname[PATH_MAX]; local
71 snprintf(pathname, PATH_MAX, "%s/%s", directory, name);
72 (void)unlink(pathname);
73 fd = open(pathname, O_WRONLY | O_CREAT | O_EXCL, 0600);
981 char pathname[PATH_MAX]; local
987 (void)snprintf(pathname, PATH_MAX, "%s_record", filename);
988 write_record(directory, pathname, return32_token, AUE_NULL);
/freebsd-11-stable/contrib/tcsh/
H A Dsh.sem.c128 char *pathname; local
156 pathname = short2str(sCName);
159 if (pathname != NULL &&
160 ((stat(pathname, &stbuf) != -1 && S_ISDIR(stbuf.st_mode))
162 || (pathname[0] && pathname[1] == ':' && pathname[2] == '\0')
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Dfile.c344 isc_file_exists(const char *pathname) { argument
347 REQUIRE(pathname != NULL);
349 return (ISC_TF(file_stats(pathname, &stats) == ISC_R_SUCCESS));
426 * concatenated with a relative pathname to make a valid pathname string.
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dfile.c393 isc_file_exists(const char *pathname) { argument
396 REQUIRE(pathname != NULL);
398 return (ISC_TF(file_stats(pathname, &stats) == ISC_R_SUCCESS));
/freebsd-11-stable/contrib/gdb/gdb/
H A Dprocfs.c370 char pathname[MAX_PROC_NAME_SIZE]; /* Pathname to /proc entry */ member in struct:procinfo
489 open_with_retry (const char *pathname, int flags) argument
497 status = open (pathname, flags);
589 strcpy (tmp, pi->pathname);
640 if ((fd = open_with_retry (pi->pathname, O_RDWR)) == 0)
645 fd = open_with_retry (pi->pathname, O_RDWR);
711 sprintf (pi->pathname, MAIN_PROC_NAME_FMT, pid);
718 sprintf (pi->pathname, "/proc/%05d/lwp/%d", pid, tid);
720 sprintf (pi->pathname, MAIN_PROC_NAME_FMT, pid);
823 if (pi->pathname)
891 char pathname[MAX_PROC_NAME_SIZE]; local
2938 char pathname[MAX_PROC_NAME_SIZE]; local
3221 char pathname[MAX_PROC_NAME_SIZE + 16]; local
5339 char pathname[MAX_PROC_NAME_SIZE]; local
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_context.h81 #include <sys/pathname.h>
/freebsd-11-stable/sbin/kldstat/
H A Dkldstat.c89 printf(" (%s)\n", stat.pathname);

Completed in 524 milliseconds

123456