/freebsd/tools/test/stress2/misc/ |
H A D | fullpath.sh | 38 sed '1,/^EOF/d' < $odir/$0 > fullpath.c 39 mycc -o fullpath -Wall fullpath.c 40 rm -f fullpath.c 44 /tmp/fullpath & 63 rm -f /tmp/fullpath
|
/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_mod.c | 207 char rawpath[PATH_MAX], fullpath[PATH_MAX]; in zfs_process_add() local 318 (void) snprintf(fullpath, sizeof (fullpath), "%llu", in zfs_process_add() 324 (void) strlcpy(fullpath, path, sizeof (fullpath)); in zfs_process_add() 326 char *spath = zfs_strip_partition(fullpath); in zfs_process_add() 333 (void) strlcpy(fullpath, spath, sizeof (fullpath)); in zfs_process_add() 344 if (zpool_vdev_online(zhp, fullpath, online_flag, &newstate) == 0 && in zfs_process_add() 349 "%s", fullpath, physpath, (newstate == VDEV_STATE_HEALTHY) ? in zfs_process_add() 367 (void) zpool_vdev_online(zhp, fullpath, ZFS_ONLINE_FORCEFAULT, in zfs_process_add() 370 "not a blank disk for '%s' ('%s')", fullpath, in zfs_process_add() 387 int err = zpool_vdev_online(zhp, fullpath, in zfs_process_add() [all …]
|
/freebsd/tools/tools/nanobsd/ |
H A D | fill_pkg.sh | 50 local outputfile dumpdir type fullpath pkgname p 58 fullpath=$p 63 fullpath=${PORTSDIR}/$p 68 fullpath=$p 73 fullpath=$dumpdir/$p 78 fullpath=$dumpdir/$p.pkg 88 cd "$fullpath" 107 deps=`pkg info -dF "$fullpath" | grep -v "$pkgname:"`
|
/freebsd/sys/contrib/openzfs/cmd/zinject/ |
H A D | translate.c | 89 char fullpath[MAXPATHLEN]; in parse_pathname() local 91 compress_slashes(inpath, fullpath); in parse_pathname() 93 if (fullpath[0] != '/') { in parse_pathname() 95 "path\n", fullpath); in parse_pathname() 100 if (getextmntent(fullpath, &mp, statbuf) != 0) { in parse_pathname() 102 fullpath); in parse_pathname() 108 "filesystem\n", fullpath); in parse_pathname() 112 if (strncmp(fullpath, mp.mnt_mountp, strlen(mp.mnt_mountp)) != 0) { in parse_pathname() 114 "doesn't match path\n", fullpath); in parse_pathname() 120 rel = fullpath + strlen(mp.mnt_mountp); in parse_pathname()
|
/freebsd/tools/test/stress2/testcases/run/ |
H A D | run.c | 84 char fullpath[MAXPATHLEN+1]; in test() local 100 snprintf(fullpath, sizeof(fullpath), "%s/%s", home, in test() 102 if (execv(fullpath, mkargv(basename(op->argv[i]))) == -1) in test() 103 err(1, "execl(%s), %s:%d", fullpath, __FILE__, in test()
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk.c | 242 wchar_t *fullpath; in DEFINE_TEST() 324 assert((fullpath = malloc((l + 20) * sizeof(wchar_t))) != NULL); in DEFINE_TEST() 325 assert((l = GetCurrentDirectoryW(l, fullpath)) != 0); in DEFINE_TEST() 326 wcscat(fullpath, L"\\f:i*l?e\"f<i>l|e"); in DEFINE_TEST() 328 archive_entry_copy_pathname_w(ae, fullpath); in DEFINE_TEST() 333 free(fullpath); in DEFINE_TEST() 337 assert((fullpath = malloc((l + 30) * sizeof(wchar_t))) != NULL); in DEFINE_TEST() 338 assert((l = GetCurrentDirectoryW(l, fullpath)) != 0); in DEFINE_TEST() 339 wcscat(fullpath, L"\\d:i*r?e\"c<t>o|ry/file1"); in DEFINE_TEST() 341 archive_entry_copy_pathname_w(ae, fullpath); in DEFINE_TEST() 243 wchar_t *fullpath; DEFINE_TEST() local [all...] |
H A D | test_read_disk_directory_traversals.c | 92 wchar_t *wcwd, *wp, *fullpath; in test_basic() 436 fullpath = malloc(sizeof(wchar_t) * (wcslen(wcwd) + 32)); in test_basic() 437 wcscpy(fullpath, L"//?/"); in test_basic() 438 wcscat(fullpath, wcwd); in test_basic() 439 wcscat(fullpath, L"/dir1/file1"); in test_basic() 441 assertEqualIntA(a, ARCHIVE_OK, archive_read_disk_open_w(a, fullpath)); in test_basic() 442 while ((wcwd = wcschr(fullpath, L'\\')) != NULL) in test_basic() 448 assertEqualWString(archive_entry_pathname_w(ae), fullpath); in test_basic() 462 free(fullpath); in test_basic() 468 fullpath in test_basic() 93 wchar_t *wcwd, *wp, *fullpath; test_basic() local [all...] |
/freebsd/usr.sbin/pmcstat/ |
H A D | pmcpl_gprof.c | 183 char fullpath[PATH_MAX]; in pmcstat_gmon_create_name() local 189 (void) snprintf(fullpath, sizeof(fullpath), in pmcstat_gmon_create_name() 193 return (pmcstat_string_intern(fullpath)); in pmcstat_gmon_create_name() 385 char fullpath[PATH_MAX]; in pmcpl_gmon_newpmc() local 393 (void) snprintf(fullpath, sizeof(fullpath), "%s/%s", args.pa_samplesdir, in pmcpl_gmon_newpmc() 397 if (stat(fullpath, &st) == 0 && S_ISDIR(st.st_mode)) in pmcpl_gmon_newpmc() 400 if (mkdir(fullpath, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH) < 0) in pmcpl_gmon_newpmc() 402 fullpath); in pmcpl_gmon_newpmc()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_open_filename.c | 137 wchar_t *fullpath; in file_open() local 160 fullpath = __la_win_permissive_name_w(wcs); in file_open() 161 if (fullpath != NULL) { in file_open() 162 mine->fd = _wopen(fullpath, flags, 0666); in file_open() 163 free(fullpath); in file_open()
|
H A D | archive_read_open_filename.c | 297 wchar_t *fullpath; in file_open() local 298 fullpath = __la_win_permissive_name_w(wfilename); in file_open() 299 if (fullpath != NULL) { in file_open() 300 fd = _wopen(fullpath, O_RDONLY | O_BINARY); in file_open() 301 free(fullpath); in file_open()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/os/linux/ |
H A D | libzfs_util_os.c | 165 char fullpath[MAXPATHLEN]; in find_shares_object() local 168 (void) strlcpy(fullpath, di->dsmnt, MAXPATHLEN); in find_shares_object() 169 (void) strlcat(fullpath, ZDIFF_SHARESDIR, MAXPATHLEN); in find_shares_object() 171 if (stat64(fullpath, &sb) != 0) { in find_shares_object() 173 dgettext(TEXT_DOMAIN, "Cannot stat %s"), fullpath); in find_shares_object()
|
/freebsd/sbin/fsck_msdosfs/ |
H A D | dir.c | 95 static char *fullpath(struct dosDirEntry *); 162 fullpath(struct dosDirEntry *dir) in fullpath() function 403 fullpath(dir), dir->size, dir->head); in checksize() 437 fullpath(dir), dir->size, (uintmax_t)physicalSize); in checksize() 449 fullpath(dir)); in checksize() 636 fullpath(dir)); in readDosDirSection() 773 fullpath(dir), 2); in readDosDirSection() 813 fullpath(&dirent), 0); in readDosDirSection() 853 fullpath(&dirent), in readDosDirSection() 857 fullpath(&dirent)); in readDosDirSection() [all …]
|
/freebsd/sys/fs/procfs/ |
H A D | procfs_map.c | 82 char *fullpath, *freepath, *type; in procfs_doprocmap() local 154 fullpath = "-"; in procfs_doprocmap() 189 vn_fullpath(vp, &fullpath, &freepath); in procfs_doprocmap() 220 type, fullpath, in procfs_doprocmap()
|
H A D | procfs.c | 68 char *fullpath, *freepath, *binpath; in procfs_doprocfile() local 74 error = proc_get_binpath(p, binpath, &fullpath, &freepath); in procfs_doprocfile() 76 sbuf_cat(sb, fullpath); in procfs_doprocfile()
|
/freebsd/usr.sbin/pw/ |
H A D | rm_r.c | 65 const char *fullpath; in rm_r() local 68 fullpath = path; in rm_r() 105 skipped = try_dataset_remove(fullpath); in rm_r()
|
/freebsd/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBModuleExtensions.i | 179 if comp_unit.file.fullpath == key: 188 fullpath = comp_unit.file.fullpath 189 if fullpath: 190 re_match = key.search(fullpath)
|
H A D | SBFileSpecExtensions.i | 11 fullpath = property(str, None, doc='''A read only property that returns the fullpath as a python string.''')
|
/freebsd/contrib/mtree/ |
H A D | mtree.c | 64 char fullpath[MAXPATHLEN]; variable 286 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath))) in main()
|
H A D | extern.h | 88 extern char fullpath[];
|
/freebsd/contrib/sendmail/makemap/ |
H A D | makemap.c | 169 readcf(cfile, mapfile, fullpath) in readcf() argument 172 bool fullpath; 192 if (!fullpath && mapfile != NULL) 280 if (!fullpath) 294 if (!isspace(*b) && fullpath) 296 if (!fullpath && !(SM_IS_DIR_DELIM(*b) || isspace(*b)))
|
/freebsd/sys/contrib/openzfs/cmd/zpool/ |
H A D | zpool_iter.c | 517 char fullpath[MAXPATHLEN]; in vdev_run_cmd_thread() local 528 if (snprintf(fullpath, sizeof (fullpath), in vdev_run_cmd_thread() 532 if (access(fullpath, X_OK) == 0) { in vdev_run_cmd_thread() 533 vdev_run_cmd(data, fullpath); in vdev_run_cmd_thread()
|
/freebsd/sys/fs/fdescfs/ |
H A D | fdesc_vnops.c | 628 char *freepath, *fullpath; in fdesc_readlink() local 649 error = vn_fullpath(vp, &fullpath, &freepath); in fdesc_readlink() 652 fullpath = "anon_inode:[unknown]"; in fdesc_readlink() 657 pathlen = strlen(fullpath); in fdesc_readlink() 658 error = uiomove(fullpath, pathlen, uio); in fdesc_readlink()
|
/freebsd/usr.sbin/jail/ |
H A D | config.c | 275 char *fullpath = NULL; in include_config() local 286 fullpath = emalloc(dirlen + strlen(cfname) + 1); in include_config() 287 strncpy(fullpath, outer_cfname, dirlen); in include_config() 288 strcpy(fullpath + dirlen, cfname); in include_config() 289 cfname = fullpath; in include_config() 304 if (fullpath) in include_config() 305 free(fullpath); in include_config()
|
/freebsd/crypto/openssl/apps/ |
H A D | rehash.c | 195 static int handle_symlink(const char *filename, const char *fullpath) in handle_symlink() argument 223 n = readlink(fullpath, linktarget, sizeof(linktarget)); in handle_symlink() 234 static int do_file(const char *filename, const char *fullpath, enum Hash h) in do_file() argument 256 if ((b = BIO_new_file(fullpath, "r")) == NULL) { in do_file()
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | write_entry.c | 187 char fullpath[PATH_MAX]; in make_db_root() local 189 if ((rc = make_db_path(fullpath, path, sizeof(fullpath))) == 0) { in make_db_root() 193 if ((capdbp = _nc_db_open(fullpath, TRUE)) == NULL) { in make_db_root()
|