Home
last modified time | relevance | path

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

12

/freebsd/contrib/libarchive/libarchive/
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()
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()
/freebsd/contrib/libarchive/libarchive/test/
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 …]
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 …]
/freebsd/contrib/llvm-project/lldb/bindings/interface/
H A DSBFileSpecExtensions.i11fullpath = property(str, None, doc='''A read only property that returns the fullpath as a python s…
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 DSBTargetExtensions.i65 if module.file.fullpath == key:
86 re_match = key.search(module.path.fullpath)
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectTarget.cpp1350 std::string fullpath = file_spec_ptr->GetPath(); in DumpFullpath() local
1351 strm.Printf("%-*s", width, fullpath.c_str()); in DumpFullpath()
H A DOptions.td914 def target_modules_list_fullpath : Option<"fullpath", "f">, Group<1>,
916 Desc<"Display the fullpath to the image object file.">;
924 OptionalArg<"Width">, Desc<"Display the fullpath to the image symbol file "
966 Arg<"Filename">, Required, Desc<"Lookup a file by fullpath or basename in "
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DPath.inc135 char fullpath[PATH_MAX];
137 int chars = snprintf(fullpath, PATH_MAX, "%s/%s", dir, bin);
142 if (!realpath(fullpath, ret))
144 if (stat(fullpath, &sb) != 0)
/freebsd/contrib/mandoc/
H A Dcgi.c929 pg_show(struct req *req, const char *fullpath) in pg_show() argument
934 if ((file = strchr(fullpath, '/')) == NULL) { in pg_show()
939 manpath = mandoc_strndup(fullpath, file - fullpath); in pg_show()
/freebsd/contrib/mtree/
H A Dcreate.c128 user, host, fullpath, ctime(&clocktime)); in cwalk()
180 mtree_err("%s checksum: %u", fullpath, crc_total); in cwalk()
H A Dextern.h88 extern char fullpath[];
H A Dmtree.c64 char fullpath[MAXPATHLEN]; variable
286 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath))) in main()
H A Dverify.c167 warnx("%s checksum: %u", fullpath, crc_total); in vwalk()
/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()
/freebsd/contrib/ntp/ntpd/
H A Dntp_control.c990 char fullpath[512]; in save_config() local
1111 prc = snprintf(fullpath, sizeof(fullpath), "%s%s", in save_config()
1113 if (prc < 0 || (size_t)prc >= sizeof(fullpath)) { in save_config()
1115 (u_int)sizeof(fullpath)); in save_config()
1123 fd = open(fullpath, openmode, S_IRUSR | S_IWUSR); in save_config()
1139 fullpath, stoa(&rbufp->recv_srcadr)); in save_config()
/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/crypto/openssl/
H A DConfigure3269 my $fullpath = catfile($_, "$name$target{exe_extension}");
3270 if (-f $fullpath and -x $fullpath) {
3271 return $fullpath;
/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/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/sbin/savecore/
H A Dsavecore.c1311 char *fullpath; in devify() local
1313 fullpath = malloc(PATH_MAX); in devify()
1314 if (fullpath == NULL) { in devify()
1318 l = snprintf(fullpath, PATH_MAX, "%s%s", _PATH_DEV, in devify()
1327 devs[i] = fullpath; in devify()
/freebsd/sys/compat/linprocfs/
H A Dlinprocfs.c1206 char *fullpath = "unknown"; in linprocfs_doproccwd() local
1210 vn_fullpath(pwd->pwd_cdir, &fullpath, &freepath); in linprocfs_doproccwd()
1211 sbuf_printf(sb, "%s", fullpath); in linprocfs_doproccwd()
1226 char *fullpath = "unknown"; in linprocfs_doprocroot() local
1231 vn_fullpath(vp, &fullpath, &freepath); in linprocfs_doprocroot()
1232 sbuf_printf(sb, "%s", fullpath); in linprocfs_doprocroot()
/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()

12