Home
last modified time | relevance | path

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

12

/freebsd/tools/test/stress2/misc/
H A Dfullpath.sh38 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/tools/tools/nanobsd/
H A Dfill_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.txz
88 cd "$fullpath"
107 deps=`pkg info -dF "$fullpath" | grep -v "$pkgname:"`
/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_mod.c318 (void) snprintf(fullpath, sizeof (fullpath), "%llu", in zfs_process_add()
324 (void) strlcpy(fullpath, path, sizeof (fullpath)); in zfs_process_add()
333 (void) strlcpy(fullpath, spath, sizeof (fullpath)); in zfs_process_add()
417 "prepare '%s' (%s)", fullpath, in zfs_process_add()
507 "unexpected here", fullpath); in zfs_process_add()
1083 char fullpath[MAXPATHLEN]; in zfsdle_vdev_online() local
1109 (void) strlcpy(fullpath, tmp, sizeof (fullpath)); in zfsdle_vdev_online()
1121 (void) strlcpy(fullpath, path, sizeof (fullpath)); in zfsdle_vdev_online()
1157 fullpath); in zfsdle_vdev_online()
1160 fullpath); in zfsdle_vdev_online()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dtranslate.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/tools/test/stress2/testcases/run/
H A Drun.c84 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 Dtest_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 …]
H A Dtest_read_disk_directory_traversals.c92 wchar_t *wcwd, *wp, *fullpath; in test_basic() local
437 wcscpy(fullpath, L"//?/"); in test_basic()
438 wcscat(fullpath, wcwd); in test_basic()
439 wcscat(fullpath, L"/dir1/file1"); in test_basic()
442 while ((wcwd = wcschr(fullpath, L'\\')) != NULL) in test_basic()
462 free(fullpath); in test_basic()
469 wcscpy(fullpath, L"//?/"); in test_basic()
470 wcscat(fullpath, wcwd); in test_basic()
471 wcscat(fullpath, L"/dir1/*1"); in test_basic()
478 wp = wcsrchr(fullpath, L'/'); in test_basic()
[all …]
/freebsd/usr.sbin/pmcstat/
H A Dpmcpl_gprof.c183 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 Darchive_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()
H A Darchive_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/sys/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_util_os.c165 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 Ddir.c162 fullpath(struct dosDirEntry *dir) in fullpath() function
449 fullpath(dir)); in checksize()
636 fullpath(dir)); in readDosDirSection()
773 fullpath(dir), 2); in readDosDirSection()
853 fullpath(&dirent), in readDosDirSection()
857 fullpath(&dirent)); in readDosDirSection()
889 fullpath(&dirent)); in readDosDirSection()
903 fullpath(dir)); in readDosDirSection()
922 fullpath(dir)); in readDosDirSection()
934 fullpath(dir)); in readDosDirSection()
[all …]
/freebsd/sys/fs/procfs/
H A Dprocfs_map.c82 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 Dprocfs.c68 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/contrib/llvm-project/lldb/bindings/interface/
H A DSBModuleExtensions.i179 if comp_unit.file.fullpath == key:
188 fullpath = comp_unit.file.fullpath
189 if fullpath:
190 re_match = key.search(fullpath)
H A DSBFileSpecExtensions.i11fullpath = property(str, None, doc='''A read only property that returns the fullpath as a python s…
H A DSBTargetExtensions.i65 if module.file.fullpath == key:
86 re_match = key.search(module.path.fullpath)
/freebsd/contrib/mtree/
H A Dmtree.c64 char fullpath[MAXPATHLEN]; variable
286 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath))) in main()
H A Dextern.h88 extern char fullpath[];
/freebsd/contrib/sendmail/makemap/
H A Dmakemap.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/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_iter.c517 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 Dfdesc_vnops.c628 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 Dconfig.c275 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 Drehash.c195 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 Dwrite_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()

12