Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/dtc/
H A Dchecks.c107 TRACE(c, "%s", node->fullpath); in check_nodes_props()
220 child->fullpath); in check_duplicate_node_names()
274 node->fullpath); in check_node_name_format()
293 node->fullpath); in check_unit_address_vs_reg()
297 node->fullpath); in check_unit_address_vs_reg()
479 node->fullpath, phandle, other->fullpath); in check_explicit_phandles()
575 path = refnode->fullpath; in fixup_path_references()
672 node->fullpath, c_addr_cells, node->parent->fullpath, in check_ranges_format()
677 node->fullpath, c_size_cells, node->parent->fullpath, in check_ranges_format()
707 node->fullpath); in check_avoid_default_addr_size()
[all …]
H A Ddtc.c49 tree->fullpath = join_path(prefix, tree->name); in fill_fullpaths()
58 fill_fullpaths(child, tree->fullpath); in fill_fullpaths()
H A Dlivetree.c798 data_copy_mem(node->fullpath, in generate_label_tree_internal()
799 strlen(node->fullpath) + 1)); in generate_label_tree_internal()
844 if (strchr(node->fullpath, ':') || strchr(prop->name, ':')) in add_fixup_entry()
848 node->fullpath, prop->name, m->offset); in add_fixup_entry()
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zinject/
H A Dtranslate.c92 char fullpath[MAXPATHLEN]; in parse_pathname() local
94 compress_slashes(inpath, fullpath); in parse_pathname()
96 if (fullpath[0] != '/') { in parse_pathname()
98 "path\n", fullpath); in parse_pathname()
103 if (strlen(fullpath) >= MAXPATHLEN) { in parse_pathname()
108 if (stat64(fullpath, statbuf) != 0) { in parse_pathname()
110 fullpath, strerror(errno)); in parse_pathname()
114 if (statfs(fullpath, &sfs) == -1) { in parse_pathname()
116 fullpath, strerror(errno)); in parse_pathname()
122 "filesystem\n", fullpath); in parse_pathname()
[all …]
/freebsd-12.1/contrib/libarchive/libarchive/test/
H A Dtest_write_disk.c243 wchar_t *fullpath; in DEFINE_TEST() local
325 assert((fullpath = malloc((l + 20) * sizeof(wchar_t))) != NULL); in DEFINE_TEST()
326 assert((l = GetCurrentDirectoryW(l, fullpath)) != 0); in DEFINE_TEST()
327 wcscat(fullpath, L"\\f:i*l?e\"f<i>l|e"); in DEFINE_TEST()
329 archive_entry_copy_pathname_w(ae, fullpath); in DEFINE_TEST()
334 free(fullpath); in DEFINE_TEST()
338 assert((fullpath = malloc((l + 30) * sizeof(wchar_t))) != NULL); in DEFINE_TEST()
339 assert((l = GetCurrentDirectoryW(l, fullpath)) != 0); in DEFINE_TEST()
340 wcscat(fullpath, L"\\d:i*r?e\"c<t>o|ry/file1"); in DEFINE_TEST()
342 archive_entry_copy_pathname_w(ae, fullpath); in DEFINE_TEST()
[all …]
H A Dtest_read_disk_directory_traversals.c93 wchar_t *wcwd, *wp, *fullpath; in test_basic() local
438 wcscpy(fullpath, L"//?/"); in test_basic()
439 wcscat(fullpath, wcwd); in test_basic()
440 wcscat(fullpath, L"/dir1/file1"); in test_basic()
443 while ((wcwd = wcschr(fullpath, L'\\')) != NULL) in test_basic()
463 free(fullpath); in test_basic()
470 wcscpy(fullpath, L"//?/"); in test_basic()
471 wcscat(fullpath, wcwd); in test_basic()
472 wcscat(fullpath, L"/dir1/*1"); in test_basic()
479 wp = wcsrchr(fullpath, L'/'); in test_basic()
[all …]
/freebsd-12.1/usr.sbin/pmcstat/
H A Dpmcpl_gprof.c186 char fullpath[PATH_MAX]; in pmcstat_gmon_create_name() local
192 (void) snprintf(fullpath, sizeof(fullpath), in pmcstat_gmon_create_name()
196 return (pmcstat_string_intern(fullpath)); in pmcstat_gmon_create_name()
388 char fullpath[PATH_MAX]; in pmcpl_gmon_newpmc() local
396 (void) snprintf(fullpath, sizeof(fullpath), "%s/%s", args.pa_samplesdir, in pmcpl_gmon_newpmc()
400 if (stat(fullpath, &st) == 0 && S_ISDIR(st.st_mode)) in pmcpl_gmon_newpmc()
403 if (mkdir(fullpath, S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH) < 0) in pmcpl_gmon_newpmc()
405 fullpath); in pmcpl_gmon_newpmc()
/freebsd-12.1/sbin/fsck_msdosfs/
H A Ddir.c416 fullpath(dir)); in checksize()
502 fullpath(dir)); in readDosDirSection()
629 fullpath(dir), 2); in readDosDirSection()
685 fullpath(&dirent)); in readDosDirSection()
711 fullpath(&dirent)); in readDosDirSection()
715 fullpath(&dirent), in readDosDirSection()
722 fullpath(&dirent), in readDosDirSection()
772 fullpath(dir)); in readDosDirSection()
792 fullpath(dir)); in readDosDirSection()
804 fullpath(dir)); in readDosDirSection()
[all …]
/freebsd-12.1/usr.sbin/fmtree/
H A Dmtree.c58 char fullpath[MAXPATHLEN]; variable
168 if ((cflag || sflag) && !getcwd(fullpath, sizeof(fullpath))) in main()
169 errx(1, "%s", fullpath); in main()
H A Dextern.h58 extern char fullpath[MAXPATHLEN];
/freebsd-12.1/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.c265 wchar_t *fullpath; in file_open() local
266 fullpath = __la_win_permissive_name_w(wfilename); in file_open()
267 if (fullpath != NULL) { in file_open()
268 fd = _wopen(fullpath, O_RDONLY | O_BINARY); in file_open()
269 free(fullpath); in file_open()
/freebsd-12.1/sys/fs/procfs/
H A Dprocfs_map.c85 char *fullpath, *freepath, *type; in procfs_doprocmap() local
156 fullpath = "-"; in procfs_doprocmap()
193 vn_fullpath(td, vp, &fullpath, &freepath); in procfs_doprocmap()
223 type, fullpath, in procfs_doprocmap()
H A Dprocfs.c72 char *fullpath; in procfs_doprocfile() local
82 error = vn_fullpath(td, textvp, &fullpath, &freepath); in procfs_doprocfile()
85 sbuf_printf(sb, "%s", fullpath); in procfs_doprocfile()
/freebsd-12.1/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-12.1/sys/fs/fdescfs/
H A Dfdesc_vnops.c621 char *freepath, *fullpath; in fdesc_readlink() local
642 error = vn_fullpath(td, vp, &fullpath, &freepath); in fdesc_readlink()
645 fullpath = "anon_inode:[unknown]"; in fdesc_readlink()
650 pathlen = strlen(fullpath); in fdesc_readlink()
651 error = uiomove(fullpath, pathlen, uio); in fdesc_readlink()
/freebsd-12.1/crypto/openssl/apps/
H A Drehash.c193 static int handle_symlink(const char *filename, const char *fullpath) in handle_symlink() argument
221 n = readlink(fullpath, linktarget, sizeof(linktarget)); in handle_symlink()
232 static int do_file(const char *filename, const char *fullpath, enum Hash h) in do_file() argument
254 if ((b = BIO_new_file(fullpath, "r")) == NULL) { in do_file()
/freebsd-12.1/contrib/subversion/subversion/libsvn_wc/
H A Dadm_files.c154 const char *fullpath; in make_adm_subdir() local
156 fullpath = svn_wc__adm_child(path, subdir, pool); in make_adm_subdir()
158 return svn_io_dir_make(fullpath, APR_OS_DEFAULT, pool); in make_adm_subdir()
/freebsd-12.1/sys/kern/
H A Dvfs_cache.c78 SDT_PROBE_DEFINE3(vfs, namecache, fullpath, hit, "struct vnode *",
80 SDT_PROBE_DEFINE1(vfs, namecache, fullpath, miss, "struct vnode *");
81 SDT_PROBE_DEFINE3(vfs, namecache, fullpath, return, "int",
2279 SDT_PROBE3(vfs, namecache, fullpath, return, error, in vn_vptocnp()
2285 SDT_PROBE3(vfs, namecache, fullpath, hit, ncp->nc_dvp, in vn_vptocnp()
2294 SDT_PROBE1(vfs, namecache, fullpath, miss, vp); in vn_vptocnp()
2339 SDT_PROBE1(vfs, namecache, fullpath, entry, vp); in vn_fullpath1()
2376 SDT_PROBE3(vfs, namecache, fullpath, return, in vn_fullpath1()
2390 SDT_PROBE3(vfs, namecache, fullpath, return, in vn_fullpath1()
2400 SDT_PROBE3(vfs, namecache, fullpath, return, error, in vn_fullpath1()
[all …]
H A Dsys_process.c369 char *freepath, *fullpath; in ptrace_vm_entry() local
446 fullpath = NULL; in ptrace_vm_entry()
447 vn_fullpath(td, vp, &fullpath, &freepath); in ptrace_vm_entry()
455 if (fullpath != NULL) { in ptrace_vm_entry()
456 pve->pve_pathlen = strlen(fullpath) + 1; in ptrace_vm_entry()
458 error = copyout(fullpath, pve->pve_path, in ptrace_vm_entry()
/freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_diff.c487 char fullpath[MAXPATHLEN]; in find_shares_object() local
490 (void) strlcpy(fullpath, di->dsmnt, MAXPATHLEN); in find_shares_object()
491 (void) strlcat(fullpath, ZDIFF_SHARESDIR, MAXPATHLEN); in find_shares_object()
493 if (stat64(fullpath, &sb) != 0) { in find_shares_object()
496 dgettext(TEXT_DOMAIN, "Cannot stat %s"), fullpath); in find_shares_object()
/freebsd-12.1/contrib/ncurses/ncurses/tinfo/
H A Dwrite_entry.c154 char fullpath[PATH_MAX]; in make_db_root() local
156 if ((rc = make_db_path(fullpath, path, sizeof(fullpath))) == 0) { in make_db_root()
160 if ((capdbp = _nc_db_open(fullpath, TRUE)) == NULL) { in make_db_root()
/freebsd-12.1/sys/dev/hwpmc/
H A Dhwpmc_mod.c831 *fullpath = "unknown"; in pmc_getfilename()
1099 char *fullpath, *freepath; in pmc_attach_one_process() local
1150 fullpath = kernelname; in pmc_attach_one_process()
1755 char *fullpath, *freepath; in pmc_process_mmap() local
1760 freepath = fullpath = NULL; in pmc_process_mmap()
1782 pid, pkm->pm_address, fullpath); in pmc_process_mmap()
1875 char *fullpath, *freepath; in pmc_log_process_mappings() local
1879 fullpath = freepath = NULL; in pmc_log_process_mappings()
2099 char *fullpath, *freepath; in pmc_hook_handler() local
2120 p->p_pid, pk->pm_entryaddr, fullpath); in pmc_hook_handler()
[all …]
/freebsd-12.1/contrib/mandoc/
H A Dcgi.c904 pg_show(struct req *req, const char *fullpath) in pg_show() argument
909 if ((file = strchr(fullpath, '/')) == NULL) { in pg_show()
914 manpath = mandoc_strndup(fullpath, file - fullpath); in pg_show()

12