/freebsd/contrib/libarchive/libarchive/ |
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()
|
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()
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_read_disk_directory_traversals.c | 92 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 D | test_write_disk.c | 242 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 D | SBFileSpecExtensions.i | 11 …fullpath = property(str, None, doc='''A read only property that returns the fullpath as a python s…
|
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 | SBTargetExtensions.i | 65 if module.file.fullpath == key: 86 re_match = key.search(module.path.fullpath)
|
/freebsd/contrib/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectTarget.cpp | 1350 std::string fullpath = file_spec_ptr->GetPath(); in DumpFullpath() local 1351 strm.Printf("%-*s", width, fullpath.c_str()); in DumpFullpath()
|
H A D | Options.td | 914 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 D | Path.inc | 135 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 D | cgi.c | 929 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 D | create.c | 128 user, host, fullpath, ctime(&clocktime)); in cwalk() 180 mtree_err("%s checksum: %u", fullpath, crc_total); in cwalk()
|
H A D | extern.h | 88 extern char fullpath[];
|
H A D | mtree.c | 64 char fullpath[MAXPATHLEN]; variable 286 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath))) in main()
|
H A D | verify.c | 167 warnx("%s checksum: %u", fullpath, crc_total); in vwalk()
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | write_entry.c | 179 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 D | ntp_control.c | 990 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 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/crypto/openssl/ |
H A D | Configure | 3269 my $fullpath = catfile($_, "$name$target{exe_extension}"); 3270 if (-f $fullpath and -x $fullpath) { 3271 return $fullpath;
|
/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/sbin/fsck_msdosfs/ |
H A D | dir.c | 162 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 D | savecore.c | 1311 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 D | linprocfs.c | 1206 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 D | zfs_mod.c | 318 (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 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()
|