/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zinject/ |
H A D | translate.c | 92 char fullpath[MAXPATHLEN]; local 94 compress_slashes(inpath, fullpath); 96 if (fullpath[0] != '/') { 98 "path\n", fullpath); 103 if (strlen(fullpath) >= MAXPATHLEN) { 108 if (stat64(fullpath, statbuf) != 0) { 110 fullpath, strerror(errno)); 114 if (statfs(fullpath, &sfs) == -1) { 116 fullpath, strerror(errno)); 122 "filesystem\n", fullpath); [all...] |
/freebsd-11-stable/usr.sbin/fmtree/ |
H A D | mtree.c | 58 char fullpath[MAXPATHLEN]; variable 168 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath))) 169 errx(1, "%s", fullpath);
|
H A D | extern.h | 58 extern char fullpath[MAXPATHLEN];
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_write_disk.c | 243 wchar_t *fullpath; local 325 assert((fullpath = malloc((l + 20) * sizeof(wchar_t))) != NULL); 326 assert((l = GetCurrentDirectoryW(l, fullpath)) != 0); 327 wcscat(fullpath, L"\\f:i*l?e\"f<i>l|e"); 329 archive_entry_copy_pathname_w(ae, fullpath); 334 free(fullpath); 338 assert((fullpath = malloc((l + 30) * sizeof(wchar_t))) != NULL); 339 assert((l = GetCurrentDirectoryW(l, fullpath)) != 0); 340 wcscat(fullpath, L"\\d:i*r?e\"c<t>o|ry/file1"); 342 archive_entry_copy_pathname_w(ae, fullpath); [all...] |
H A D | test_read_disk_directory_traversals.c | 93 wchar_t *wcwd, *wp, *fullpath; local 437 fullpath = malloc(sizeof(wchar_t) * (wcslen(wcwd) + 32)); 438 wcscpy(fullpath, L"//?/"); 439 wcscat(fullpath, wcwd); 440 wcscat(fullpath, L"/dir1/file1"); 442 assertEqualIntA(a, ARCHIVE_OK, archive_read_disk_open_w(a, fullpath)); 443 while ((wcwd = wcschr(fullpath, L'\\')) != NULL) 449 assertEqualWString(archive_entry_pathname_w(ae), fullpath); local 463 free(fullpath); 469 fullpath 483 assertEqualWString(archive_entry_pathname_w(ae), fullpath); local 496 assertEqualWString(archive_entry_pathname_w(ae), fullpath); local 506 assertEqualWString(archive_entry_pathname_w(ae), fullpath); local [all...] |
/freebsd-11-stable/contrib/dtc/ |
H A D | checks.c | 107 TRACE(c, "%s", node->fullpath); 179 propname, node->fullpath); 198 propname, node->fullpath); 220 child->fullpath); 235 prop->name, node->fullpath); 254 node->name[n], node->fullpath); 265 node->name[n], node->fullpath); 274 node->fullpath); 293 node->fullpath); 297 node->fullpath); [all...] |
H A D | dtc.c | 49 tree->fullpath = join_path(prefix, tree->name); 58 fill_fullpaths(child, tree->fullpath);
|
/freebsd-11-stable/usr.sbin/pmcstat/ |
H A D | pmcpl_gprof.c | 183 char fullpath[PATH_MAX]; local 189 (void) snprintf(fullpath, sizeof(fullpath), 193 return (pmcstat_string_intern(fullpath)); 385 char fullpath[PATH_MAX]; local 393 (void) snprintf(fullpath, sizeof(fullpath), "%s/%s", args.pa_samplesdir, 397 if (stat(fullpath, &st) == 0 && S_ISDIR(st.st_mode)) 400 if (mkdir(fullpath, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH) < 0) 402 fullpath); [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_open_filename.c | 138 wchar_t *fullpath; local 161 fullpath = __la_win_permissive_name_w(wcs); 162 if (fullpath != NULL) { 163 mine->fd = _wopen(fullpath, flags, 0666); 164 free(fullpath);
|
H A D | archive_read_open_filename.c | 267 wchar_t *fullpath; local 268 fullpath = __la_win_permissive_name_w(wfilename); 269 if (fullpath != NULL) { 270 fd = _wopen(fullpath, O_RDONLY | O_BINARY); 271 free(fullpath);
|
/freebsd-11-stable/sys/fs/procfs/ |
H A D | procfs.c | 70 char *fullpath; local 80 error = vn_fullpath(td, textvp, &fullpath, &freepath); 83 sbuf_printf(sb, "%s", fullpath);
|
H A D | procfs_map.c | 85 char *fullpath, *freepath, *type; local 156 fullpath = "-"; 193 vn_fullpath(td, vp, &fullpath, &freepath); 223 type, fullpath,
|
/freebsd-11-stable/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBFileSpec.i | 98 fullpath = property(__get_fullpath__, None, doc='''A read only property that returns the fullpath as a python string.''')
|
H A D | SBModule.i | 491 if comp_unit.file.fullpath == key: 500 fullpath = comp_unit.file.fullpath 501 if fullpath: 502 re_match = key.search(fullpath)
|
/freebsd-11-stable/contrib/mtree/ |
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)))
|
/freebsd-11-stable/sbin/fsck_msdosfs/ |
H A D | dir.c | 97 static char *fullpath(struct dosDirEntry *); 164 fullpath(struct dosDirEntry *dir) function 426 fullpath(dir), dir->size, (uintmax_t)physicalSize); 438 fullpath(dir)); 625 fullpath(dir)); 762 fullpath(dir), 2); 802 fullpath(&dirent), 0); 842 fullpath(&dirent), 846 fullpath(&dirent)); 878 fullpath( [all...] |
/freebsd-11-stable/contrib/sendmail/makemap/ |
H A D | makemap.c | 85 ** fullpath -- compare the full paths or just the "basename"s? 93 readcf(cfile, mapfile, fullpath) 96 bool fullpath; 115 if (!fullpath && mapfile != NULL) 195 if (!fullpath) 209 if (!isspace(*b) && fullpath) 211 if (!fullpath && !(SM_IS_DIR_DELIM(*b) || isspace(*b)))
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_wc/ |
H A D | adm_files.c | 157 const char *fullpath; 159 fullpath = svn_wc__adm_child(path, subdir, pool); 161 return svn_io_dir_make(fullpath, APR_OS_DEFAULT, pool); 154 const char *fullpath; local
|
/freebsd-11-stable/sys/fs/fdescfs/ |
H A D | fdesc_vnops.c | 619 char *freepath, *fullpath; local 640 error = vn_fullpath(td, vp, &fullpath, &freepath); 643 fullpath = "anon_inode:[unknown]"; 648 pathlen = strlen(fullpath); 649 error = uiomove(fullpath, pathlen, uio);
|
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | write_entry.c | 154 char fullpath[PATH_MAX]; local 156 if ((rc = make_db_path(fullpath, path, sizeof(fullpath))) == 0) { 160 if ((capdbp = _nc_db_open(fullpath, TRUE)) == NULL) {
|
/freebsd-11-stable/sys/kern/ |
H A D | vfs_cache.c | 70 SDT_PROBE_DEFINE1(vfs, namecache, fullpath, entry, "struct vnode *"); 71 SDT_PROBE_DEFINE3(vfs, namecache, fullpath, hit, "struct vnode *", 73 SDT_PROBE_DEFINE1(vfs, namecache, fullpath, miss, "struct vnode *"); 74 SDT_PROBE_DEFINE3(vfs, namecache, fullpath, return, "int", 367 STATNODE_COUNTER(numfullpathcalls, "Number of fullpath search calls"); 368 STATNODE_COUNTER(numfullpathfail1, "Number of fullpath search errors (ENOTDIR)"); 370 "Number of fullpath search errors (VOP_VPTOCNP failures)"); 371 STATNODE_COUNTER(numfullpathfail4, "Number of fullpath search errors (ENOMEM)"); 372 STATNODE_COUNTER(numfullpathfound, "Number of successful fullpath calls"); 2182 * Thus begins the fullpath magi [all...] |
H A D | sys_process.c | 369 char *freepath, *fullpath; local 445 fullpath = NULL; 446 vn_fullpath(td, vp, &fullpath, &freepath); 454 if (fullpath != NULL) { 455 pve->pve_pathlen = strlen(fullpath) + 1; 457 error = copyout(fullpath, pve->pve_path,
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_diff.c | 487 char fullpath[MAXPATHLEN]; local 490 (void) strlcpy(fullpath, di->dsmnt, MAXPATHLEN); 491 (void) strlcat(fullpath, ZDIFF_SHARESDIR, MAXPATHLEN); 493 if (stat64(fullpath, &sb) != 0) { 496 dgettext(TEXT_DOMAIN, "Cannot stat %s"), fullpath);
|
/freebsd-11-stable/sys/dev/hwpmc/ |
H A D | hwpmc_mod.c | 726 pmc_getfilename(struct vnode *v, char **fullpath, char **freepath) argument 729 *fullpath = "unknown"; 731 vn_fullpath(curthread, v, fullpath, freepath); 973 char *fullpath, *freepath; local 1013 fullpath = kernelname; 1016 pmc_getfilename(p->p_textvp, &fullpath, &freepath); 1017 pmclog_process_pmcattach(pm, p->p_pid, fullpath); 1525 char *fullpath, *freepath; local 1530 freepath = fullpath = NULL; 1531 pmc_getfilename((struct vnode *) pkm->pm_file, &fullpath, 1639 char *fullpath, *freepath; local 1856 char *fullpath, *freepath; local [all...] |