Home
last modified time | relevance | path

Searched refs:fullpath (Results 1 – 25 of 53) sorted by relevance

123

/freebsd-13-stable/tools/tools/nanobsd/
HDfill_pkg.sh50 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-13-stable/sys/contrib/openzfs/cmd/zed/agents/
HDzfs_mod.c201 char rawpath[PATH_MAX], fullpath[PATH_MAX]; in zfs_process_add() local
307 (void) snprintf(fullpath, sizeof (fullpath), "%llu", in zfs_process_add()
313 (void) strlcpy(fullpath, path, sizeof (fullpath)); in zfs_process_add()
315 char *spath = zfs_strip_partition(fullpath); in zfs_process_add()
322 (void) strlcpy(fullpath, spath, sizeof (fullpath)); in zfs_process_add()
333 if (zpool_vdev_online(zhp, fullpath, online_flag, &newstate) == 0 && in zfs_process_add()
338 "%s", fullpath, physpath, (newstate == VDEV_STATE_HEALTHY) ? in zfs_process_add()
356 (void) zpool_vdev_online(zhp, fullpath, ZFS_ONLINE_FORCEFAULT, in zfs_process_add()
359 "not a blank disk for '%s' ('%s')", fullpath, in zfs_process_add()
376 (void) zpool_vdev_online(zhp, fullpath, ZFS_ONLINE_FORCEFAULT, in zfs_process_add()
[all …]
/freebsd-13-stable/sys/contrib/openzfs/cmd/zinject/
HDtranslate.c89 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-13-stable/contrib/libarchive/libarchive/test/
HDtest_write_disk.c242 wchar_t *fullpath; in DEFINE_TEST() local
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()
[all …]
HDtest_read_disk_directory_traversals.c92 wchar_t *wcwd, *wp, *fullpath; in test_basic() local
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 = malloc(sizeof(wchar_t) * (wcslen(wcwd) + 32)); in test_basic()
[all …]
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/os/linux/
HDlibzfs_util_os.c171 char fullpath[MAXPATHLEN]; in find_shares_object() local
174 (void) strlcpy(fullpath, di->dsmnt, MAXPATHLEN); in find_shares_object()
175 (void) strlcat(fullpath, ZDIFF_SHARESDIR, MAXPATHLEN); in find_shares_object()
177 if (stat64(fullpath, &sb) != 0) { in find_shares_object()
179 dgettext(TEXT_DOMAIN, "Cannot stat %s"), fullpath); in find_shares_object()
/freebsd-13-stable/usr.sbin/pmcstat/
HDpmcpl_gprof.c184 char fullpath[PATH_MAX]; in pmcstat_gmon_create_name() local
190 (void) snprintf(fullpath, sizeof(fullpath), in pmcstat_gmon_create_name()
194 return (pmcstat_string_intern(fullpath)); in pmcstat_gmon_create_name()
386 char fullpath[PATH_MAX]; in pmcpl_gmon_newpmc() local
394 (void) snprintf(fullpath, sizeof(fullpath), "%s/%s", args.pa_samplesdir, in pmcpl_gmon_newpmc()
398 if (stat(fullpath, &st) == 0 && S_ISDIR(st.st_mode)) in pmcpl_gmon_newpmc()
401 if (mkdir(fullpath, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH) < 0) in pmcpl_gmon_newpmc()
403 fullpath); in pmcpl_gmon_newpmc()
/freebsd-13-stable/usr.sbin/fmtree/
HDmtree.c56 char fullpath[MAXPATHLEN]; variable
166 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath))) in main()
167 errx(1, "%s", fullpath); in main()
HDextern.h57 extern char fullpath[MAXPATHLEN];
/freebsd-13-stable/contrib/libarchive/libarchive/
HDarchive_write_open_filename.c137 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()
HDarchive_read_open_filename.c297 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-13-stable/sys/fs/procfs/
HDprocfs_map.c84 char *fullpath, *freepath, *type; in procfs_doprocmap() local
156 fullpath = "-"; in procfs_doprocmap()
192 vn_fullpath(vp, &fullpath, &freepath); in procfs_doprocmap()
222 type, fullpath, in procfs_doprocmap()
HDprocfs.c70 char *fullpath, *freepath, *binpath; in procfs_doprocfile() local
76 error = proc_get_binpath(p, binpath, &fullpath, &freepath); in procfs_doprocfile()
78 sbuf_cat(sb, fullpath); in procfs_doprocfile()
/freebsd-13-stable/sbin/fsck_msdosfs/
HDdir.c95 static char *fullpath(struct dosDirEntry *);
162 fullpath(struct dosDirEntry *dir) in fullpath() function
424 fullpath(dir), dir->size, (uintmax_t)physicalSize); in checksize()
436 fullpath(dir)); in checksize()
623 fullpath(dir)); in readDosDirSection()
760 fullpath(dir), 2); in readDosDirSection()
800 fullpath(&dirent), 0); in readDosDirSection()
840 fullpath(&dirent), in readDosDirSection()
844 fullpath(&dirent)); in readDosDirSection()
876 fullpath(&dirent)); in readDosDirSection()
[all …]
/freebsd-13-stable/usr.sbin/pw/
HDrm_r.c65 const char *fullpath; in rm_r() local
68 fullpath = path; in rm_r()
105 skipped = try_dataset_remove(fullpath); in rm_r()
/freebsd-13-stable/contrib/llvm-project/lldb/bindings/interface/
HDSBModuleExtensions.i179 if comp_unit.file.fullpath == key:
188 fullpath = comp_unit.file.fullpath
189 if fullpath:
190 re_match = key.search(fullpath)
HDSBFileSpecExtensions.i11fullpath = property(str, None, doc='''A read only property that returns the fullpath as a python s…
/freebsd-13-stable/contrib/mtree/
HDmtree.c64 char fullpath[MAXPATHLEN]; variable
286 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath))) in main()
HDextern.h88 extern char fullpath[];
/freebsd-13-stable/contrib/sendmail/makemap/
HDmakemap.c169 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-13-stable/sys/contrib/openzfs/cmd/zpool/
HDzpool_iter.c514 char fullpath[MAXPATHLEN]; in vdev_run_cmd_thread() local
525 if (snprintf(fullpath, sizeof (fullpath), in vdev_run_cmd_thread()
529 if (access(fullpath, X_OK) == 0) { in vdev_run_cmd_thread()
530 vdev_run_cmd(data, fullpath); in vdev_run_cmd_thread()
/freebsd-13-stable/sys/fs/fdescfs/
HDfdesc_vnops.c641 char *freepath, *fullpath; in fdesc_readlink() local
662 error = vn_fullpath(vp, &fullpath, &freepath); in fdesc_readlink()
665 fullpath = "anon_inode:[unknown]"; in fdesc_readlink()
670 pathlen = strlen(fullpath); in fdesc_readlink()
671 error = uiomove(fullpath, pathlen, uio); in fdesc_readlink()
/freebsd-13-stable/crypto/openssl/apps/
HDrehash.c193 static int handle_symlink(const char *filename, const char *fullpath) in handle_symlink() argument
221 n = readlink(fullpath, linktarget, sizeof(linktarget)); in handle_symlink()
232 static int do_file(const char *filename, const char *fullpath, enum Hash h) in do_file() argument
254 if ((b = BIO_new_file(fullpath, "r")) == NULL) { in do_file()
/freebsd-13-stable/contrib/subversion/subversion/libsvn_wc/
HDadm_files.c154 const char *fullpath; in make_adm_subdir() local
156 fullpath = svn_wc__adm_child(path, subdir, pool); in make_adm_subdir()
158 return svn_io_dir_make(fullpath, APR_OS_DEFAULT, pool); in make_adm_subdir()
/freebsd-13-stable/contrib/ncurses/ncurses/tinfo/
HDwrite_entry.c179 char fullpath[PATH_MAX]; in make_db_root() local
181 if ((rc = make_db_path(fullpath, path, sizeof(fullpath))) == 0) { in make_db_root()
185 if ((capdbp = _nc_db_open(fullpath, TRUE)) == NULL) { in make_db_root()

123