/freebsd-10-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-10-stable/contrib/texinfo/info/ |
H A D | dir.c | 127 char *fullpath = xmalloc (3 + strlen (this_dir) + namelen); local 129 strcpy (fullpath, this_dir); 130 if (!IS_SLASH (fullpath[strlen (fullpath) - 1])) 131 strcat (fullpath, "/"); 132 strcat (fullpath, from_file); 134 statable = (stat (fullpath, &finfo) == 0); 141 char *contents = filesys_read_info_file (fullpath, &filesize, 151 free (fullpath);
|
H A D | nodes.c | 162 node->filename = file_buffer->fullpath; 230 || (FILENAME_CMP (filename, file_buffer->fullpath) == 0) 233 filename_non_directory (file_buffer->fullpath)) 251 if (stat (file_buffer->fullpath, &new_info) == -1) 314 char *fullpath, *contents; 322 fullpath = info_find_fullpath (filename); 325 retcode = stat (fullpath, &finfo); 349 fullpath = info_find_fullpath (lowered_name); 351 retcode = stat (fullpath, &finfo); 363 contents = filesys_read_info_file (fullpath, 311 char *fullpath, *contents; local 791 char *fullpath; local [all...] |
H A D | nodes.h | 104 char *fullpath; /* The full pathname of this info file. */ 103 char *fullpath; /* The full pathname of this info file. */ member in struct:__anon4682
|
/freebsd-10-stable/usr.sbin/mtree/ |
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-10-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-10-stable/contrib/dtc/ |
H A D | checks.c | 130 TRACE(c, "%s", node->fullpath); 136 TRACE(c, "%s\t'%s'", node->fullpath, prop->name); 209 propname, node->fullpath); 228 propname, node->fullpath); 250 child->fullpath); 265 prop->name, node->fullpath); 283 node->name[n], node->fullpath); 292 node->fullpath); 303 prop->name[n], prop->name, node->fullpath); 312 ((prop) ? "' in " : ""), (node)->fullpath [all...] |
H A D | dtc.c | 38 tree->fullpath = join_path(prefix, tree->name); 47 fill_fullpaths(child, tree->fullpath);
|
/freebsd-10-stable/contrib/texinfo/makeinfo/ |
H A D | files.c | 110 char *fullpath; 118 fullpath = xmalloc (2 + strlen (dir) + strlen (filename)); 119 sprintf (fullpath, "%s/%s", dir, filename); 122 result = stat (fullpath, finfo); 125 return fullpath; 127 free (fullpath); 198 char *fullpath, *result; 201 result = fullpath = NULL; 203 fullpath 207 if (!fullpath) 109 char *fullpath; local 196 char *fullpath, *result; local [all...] |
/freebsd-10-stable/usr.sbin/pmcstat/ |
H A D | pmcpl_gprof.c | 181 char fullpath[PATH_MAX]; local 187 (void) snprintf(fullpath, sizeof(fullpath), 191 return (pmcstat_string_intern(fullpath)); 379 char fullpath[PATH_MAX]; local 387 (void) snprintf(fullpath, sizeof(fullpath), "%s/%s", args.pa_samplesdir, 391 if (stat(fullpath, &st) == 0 && S_ISDIR(st.st_mode)) 394 if (mkdir(fullpath, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH) < 0) 396 fullpath); [all...] |
/freebsd-10-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-10-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; local 160 fullpath = "-"; 197 vn_fullpath(td, vp, &fullpath, &freepath); 227 type, fullpath,
|
/freebsd-10-stable/sbin/fsck_msdosfs/ |
H A D | dir.c | 92 static char *fullpath(struct dosDirEntry *); 162 fullpath(struct dosDirEntry *dir) function 407 fullpath(dir), dir->size, physicalSize); 419 fullpath(dir)); 505 fullpath(dir)); 632 fullpath(dir), 2); 672 fullpath(&dirent), 0); 688 fullpath(&dirent)); 714 fullpath(&dirent)); 718 fullpath( [all...] |
/freebsd-10-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-10-stable/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFDebugLine.cpp | 502 std::string fullpath; local 516 if (module_sp->RemapSourceFile (path, fullpath)) 517 support_files.Append(FileSpec (fullpath.c_str(), false)); 527 fullpath = cu_comp_dir; 529 if (*fullpath.rbegin() != '/') 530 fullpath += '/'; 531 fullpath += include_directories[dir_idx]; 535 fullpath = include_directories[dir_idx]; 539 fullpath = cu_comp_dir; 542 if (!fullpath [all...] |
/freebsd-10-stable/sys/kern/ |
H A D | vfs_cache.c | 69 SDT_PROBE_DEFINE1(vfs, namecache, fullpath, entry, "struct vnode *"); 70 SDT_PROBE_DEFINE3(vfs, namecache, fullpath, hit, "struct vnode *", 72 SDT_PROBE_DEFINE1(vfs, namecache, fullpath, miss, "struct vnode *"); 73 SDT_PROBE_DEFINE3(vfs, namecache, fullpath, return, "int", 1127 * Thus begins the fullpath magic. 1140 STATNODE(numfullpathcalls, "Number of fullpath search calls"); 1141 STATNODE(numfullpathfail1, "Number of fullpath search errors (ENOTDIR)"); 1143 "Number of fullpath search errors (VOP_VPTOCNP failures)"); 1144 STATNODE(numfullpathfail4, "Number of fullpath search errors (ENOMEM)"); 1145 STATNODE(numfullpathfound, "Number of successful fullpath call [all...] |
/freebsd-10-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-10-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | write_entry.c | 160 char fullpath[PATH_MAX]; local 162 if ((rc = make_db_path(fullpath, path, sizeof(fullpath))) == 0) { 166 if ((capdbp = _nc_db_open(fullpath, TRUE)) == NULL)
|
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_diff.c | 484 char fullpath[MAXPATHLEN]; local 487 (void) strlcpy(fullpath, di->dsmnt, MAXPATHLEN); 488 (void) strlcat(fullpath, ZDIFF_SHARESDIR, MAXPATHLEN); 490 if (stat64(fullpath, &sb) != 0) { 493 dgettext(TEXT_DOMAIN, "Cannot stat %s"), fullpath);
|
/freebsd-10-stable/sys/dev/hwpmc/ |
H A D | hwpmc_mod.c | 731 pmc_getfilename(struct vnode *v, char **fullpath, char **freepath) argument 734 *fullpath = "unknown"; 736 vn_fullpath(curthread, v, fullpath, freepath); 978 char *fullpath, *freepath; local 1018 fullpath = kernelname; 1021 pmc_getfilename(p->p_textvp, &fullpath, &freepath); 1022 pmclog_process_pmcattach(pm, p->p_pid, fullpath); 1530 char *fullpath, *freepath; local 1535 freepath = fullpath = NULL; 1536 pmc_getfilename((struct vnode *) pkm->pm_file, &fullpath, 1644 char *fullpath, *freepath; local 1861 char *fullpath, *freepath; local [all...] |