Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 1076) sorted by relevance

12345678910>>...44

/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/bits/
H A Dfs_ops.h48 path absolute(const path& __p); in _GLIBCXX_VISIBILITY()
49 path absolute(const path& __p, error_code& __ec); in _GLIBCXX_VISIBILITY()
51 path canonical(const path& __p); in _GLIBCXX_VISIBILITY()
55 copy(const path& __from, const path& __to) in _GLIBCXX_VISIBILITY()
67 copy_file(const path& __from, const path& __to) in _GLIBCXX_VISIBILITY()
264 path proximate(const path& __p, const path& __base = current_path()); in _GLIBCXX_VISIBILITY()
265 path proximate(const path& __p, const path& __base, error_code& __ec); in _GLIBCXX_VISIBILITY()
267 path read_symlink(const path& __p); in _GLIBCXX_VISIBILITY()
273 path relative(const path& __p, const path& __base = current_path()); in _GLIBCXX_VISIBILITY()
274 path relative(const path& __p, const path& __base, error_code& __ec); in _GLIBCXX_VISIBILITY()
[all …]
H A Dfs_path.h166 path(const path& __p) = default; in _GLIBCXX_VISIBILITY()
168 path(path&& __p) noexcept in _GLIBCXX_VISIBILITY()
213 path& operator=(path&& __p) noexcept; in _GLIBCXX_VISIBILITY()
234 path& operator/=(const path& __p) in _GLIBCXX_VISIBILITY()
283 path& operator+=(const path& __x); in _GLIBCXX_VISIBILITY()
314 path& replace_extension(const path& __replacement = path()); in _GLIBCXX_VISIBILITY()
552 inline path operator/(const path& __lhs, const path& __rhs) in _GLIBCXX_VISIBILITY()
643 struct path::_Cmpt : path in _GLIBCXX_VISIBILITY()
655 struct path::_Cvt<path::value_type> in _GLIBCXX_VISIBILITY()
790 path::operator=(path&& __p) noexcept in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/sys/sys/
H A Dkernel.h328 const char *path; member
338 path, \
345 #define TUNABLE_INT_FETCH(path, var) kgetenv_int((path), (var)) argument
360 const char *path; member
370 path, \
377 #define TUNABLE_LONG_FETCH(path, var) kgetenv_long((path), (var)) argument
382 const char *path; member
392 path, \
413 path, \
420 #define TUNABLE_QUAD_FETCH(path, var) kgetenv_quad((path), (var)) argument
[all …]
/dragonfly/sbin/newfs/
H A Dfscopy.c56 fsmknode(const char *path) in fsmknode() argument
58 int pathlen = strlen(path); in fsmknode()
94 char *path; in fshardpath() local
113 tmp = path; in fshardpath()
120 tmp = path; in fshardpath()
121 asprintf(&path, "../%s", tmp); in fshardpath()
129 return(path); in fshardpath()
140 node = fsmknode(path); in FSCopy()
153 if (chdir(path) < 0) { in FSCopy()
270 if (chdir(path) < 0) { in FSPaste()
[all …]
/dragonfly/usr.sbin/ckdist/
H A Dckdist.c65 #define isstdin(path) ((path)[0] == '-' && !(path)[1]) argument
188 if (isstdin(path)) { in ckdist()
189 path = "(stdin)"; in ckdist()
213 warn("%s", path); in ckdist()
215 err(2, "%s", path); in ckdist()
413 if (!path) in distname()
422 path = opt_dir; in distname()
423 plen = strlen(path); in distname()
425 plen = path && (s = strrchr(path, '/')) != NULL ? in distname()
452 s + 1 : path); in stripath()
[all …]
/dragonfly/sys/net/pf/
H A Dpf_ruleset.c106 int c = strcmp(a->path, b->path); in pf_anchor_compare()
162 strlcpy(key->path, path, sizeof(key->path)); in pf_find_anchor()
174 path++; in pf_find_ruleset()
175 if (!*path) in pf_find_ruleset()
194 path++; in pf_find_or_create_ruleset()
235 strlcpy(anchor->path, parent->path, in pf_find_or_create_ruleset()
237 strlcat(anchor->path, "/", sizeof(anchor->path)); in pf_find_or_create_ruleset()
239 strlcat(anchor->path, anchor->name, sizeof(anchor->path)); in pf_find_or_create_ruleset()
244 anchor->path, anchor->name, dup->path, dup->name); in pf_find_or_create_ruleset()
326 strlcpy(path, s->anchor->path, MAXPATHLEN); in pf_anchor_setup()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dtree-ssa-threadupdate.c154 path[0]->e->src->index, path[0]->e->dest->index); in dump_jump_thread_path()
167 path[i]->e->src->index, path[i]->e->dest->index); in dump_jump_thread_path()
170 path[i]->e->src->index, path[i]->e->dest->index); in dump_jump_thread_path()
173 path[i]->e->src->index, path[i]->e->dest->index); in dump_jump_thread_path()
176 path[i]->e->src->index, path[i]->e->dest->index); in dump_jump_thread_path()
188 vec<jump_thread_edge *> *path = p->path; in hash() local
367 elt->path = path; in lookup_redirection_data()
1098 vec<jump_thread_edge *> *path = rd->path; in ssa_create_duplicates() local
1833 (*path)[0]->e->aux = path; in mark_threaded_blocks()
2012 ((*path)[path->length () - 1]->e->dest->loop_father); in mark_threaded_blocks()
[all …]
/dragonfly/lib/libc/stdio/
H A Dmktemp.c54 mkstemps(char *path, int slen) in mkstemps() argument
70 mkstemp(char *path) in mkstemp() argument
86 mkdtemp(char *path) in mkdtemp() argument
88 return (_gettemp(path, NULL, 1, 0, 0) ? path : NULL); in mkdtemp()
92 _mktemp(char *path) in _mktemp() argument
94 return (_gettemp(path, NULL, 0, 0, 0) ? path : NULL); in _mktemp()
101 mktemp(char *path) in mktemp() argument
103 return (_mktemp(path)); in mktemp()
150 for (; trv > path; --trv) { in _gettemp()
153 rval = stat(path, &sbuf); in _gettemp()
[all …]
/dragonfly/sys/vfs/hammer2/
H A Dhammer2_ondisk.c59 KKASSERT(path); in hammer2_lookup_device()
104 path = e->path; in hammer2_open_devvp()
159 char *path; in hammer2_init_devvp() local
207 e->path = kstrdup(path, M_HAMMER2); in hammer2_init_devvp()
249 path = vol->dev->path; in hammer2_verify_volumes_common()
325 path = vol->dev->path; in hammer2_verify_volumes_1()
400 path = vol->dev->path; in hammer2_verify_volumes_2()
436 path, in hammer2_verify_volumes_2()
443 path, in hammer2_verify_volumes_2()
510 path, i); in hammer2_read_volume_header()
[all …]
/dragonfly/contrib/bmake/
H A Drealpath.c77 if (path == NULL) { in realpath()
123 path++; in realpath()
133 q = path; in realpath()
141 path = q; in realpath()
144 if (path[1] == '.' && q - path == 2) { in realpath()
149 path = q; in realpath()
165 q - path); in realpath()
194 path = wbuf[idx]; in realpath()
198 if (*path == '/') in realpath()
208 p += 1 + q - path; in realpath()
[all …]
H A Ddirname.c70 if (path == NULL || *path == '\0') { in xdirname_r()
71 path = "."; in xdirname_r()
77 endp = path + strlen(path) - 1; in xdirname_r()
78 while (endp != path && *endp == '/') in xdirname_r()
82 while (endp > path && *endp != '/') in xdirname_r()
85 if (endp == path) { in xdirname_r()
86 path = *endp == '/' ? "/" : "."; in xdirname_r()
95 len = endp - path + 1; in xdirname_r()
99 if (buf != path) in xdirname_r()
100 memcpy(buf, path, buflen); in xdirname_r()
[all …]
/dragonfly/gnu/usr.bin/gdb/kgdb/
H A Dkgdb.c94 char path[PATH_MAX]; in kernel_from_dumpnr() local
106 snprintf(path, sizeof(path), "%s/kern.%d", crashdir, nr); in kernel_from_dumpnr()
113 snprintf(path, sizeof(path), "%s/kern.%d/kernel", in kernel_from_dumpnr()
129 snprintf(path, sizeof(path), "%s/info.%d", crashdir, nr); in kernel_from_dumpnr()
132 warn("%s", path); in kernel_from_dumpnr()
135 while (fgets(path, sizeof(path), info) != NULL) { in kernel_from_dumpnr()
136 l = strlen(path); in kernel_from_dumpnr()
138 path[--l] = '\0'; in kernel_from_dumpnr()
142 l = snprintf(path, sizeof(path), "%s/kernel.debug", s); in kernel_from_dumpnr()
312 snprintf(path, sizeof(path), "/dev/%s", remote); in verify_remote()
[all …]
H A Dkld.c68 kld_ok (char *path) in kld_ok() argument
94 ep = path + strlen(path); in check_kld_path()
98 if (kld_ok(path)) in check_kld_path()
280 char path[PATH_MAX]; in kgdb_add_kld_cmd() local
287 snprintf(path, sizeof(path), "%s", arg); in kgdb_add_kld_cmd()
288 if (!check_kld_path(path, sizeof(path))) { in kgdb_add_kld_cmd()
294 if (!find_kld_path(arg, path, sizeof(path))) { in kgdb_add_kld_cmd()
348 char *path; in kld_current_sos() local
386 xfree(path); in kld_current_sos()
405 xfree(path); in kld_current_sos()
[all …]
/dragonfly/contrib/bmake/mk/
H A Dmeta2deps.py79 path = path[0:-2]
80 if len(path) > 0 and path[0] == '/':
81 if os.path.exists(path):
86 if path == '.':
114 def cleanpath(path): argument
142 path = rpath
143 elif len(path) > 0 and path[0] == '/':
148 path = cleanpath(path)
149 return path
593 dir,base = os.path.split(path)
[all …]
H A Dmeta2deps.sh255 : op=$op pid=$pid path=$path
259 ,C) CWD=$path cwd=$path ldir=$path
283 : op=$op path=$path
284 case "$op,$path" in
288 case "$path" in
289 /*) cwd=$path;;
298 eval cwd_$path=$cwd ldir_$path=$ldir
301 *) dir=${path%/*}
311 case "$path" in
315 *) for path in $ldir/$path $cwd/$path
[all …]
/dragonfly/stand/boot/common/
H A Drel_open.c79 chdir(const char *path) in chdir() argument
94 len = strlen(path); in chdir()
95 if (path[0] == '/') { in chdir()
97 bcopy(path, base, len + 1); in chdir()
162 if (path[0] != '/') { in rel_open()
175 fd = open(path, flags); in rel_open()
177 *abspathp = strdup(path); in rel_open()
194 if (path[0] != '/') { in rel_stat()
200 res = stat(path, st); in rel_stat()
219 rootpath = strdup(path); in rel_rootpath()
[all …]
H A Dls.c59 char *buf, *path; in command_ls() local
84 path = ""; in command_ls()
86 path = argv[1]; in command_ls()
95 pager_output(path); in command_ls()
104 if (strlen(path) == 0) in command_ls()
125 if (path != NULL) in command_ls()
126 free(path); in command_ls()
140 char *path; in ls_getdir() local
146 strcpy(path, *pathp); in ls_getdir()
172 *pathp = path; in ls_getdir()
[all …]
/dragonfly/contrib/ncurses/ncurses/tinfo/
H A Daccess.c45 _nc_rootname(char *path) in NCURSES_EXPORT()
73 _nc_is_abs_path(const char *path) in _nc_is_abs_path() argument
81 return is_pathname(path); in _nc_is_abs_path()
88 _nc_pathlast(const char *path) in _nc_pathlast() argument
93 test = strrchr(path, '\\'); in _nc_pathlast()
96 test = path; in _nc_pathlast()
103 _nc_basename(char *path) in _nc_basename() argument
105 return path + _nc_pathlast(path); in _nc_basename()
113 if (path == 0) { in _nc_access()
146 if (stat(path, &sb) == 0 in _nc_is_dir_path()
[all …]
/dragonfly/lib/libc/gen/
H A Dgetdevpath.c59 char *path = NULL; in getdevpath() local
67 free(path); in getdevpath()
68 path = NULL; in getdevpath()
88 free(path); in getdevpath()
89 path = NULL; in getdevpath()
93 if (path == NULL) in getdevpath()
95 return(path); in getdevpath()
187 char *path; in xlatedevpath() local
210 free(path); in xlatedevpath()
217 path[n] = 0; in xlatedevpath()
[all …]
H A Ddirname.c32 dirname(char *path) in dirname() argument
40 if (path == NULL || *path == '\0') in dirname()
44 end = path + strlen(path); in dirname()
45 while (end > path + 1 && end[-1] == '/') in dirname()
49 while (end > path && end[-1] != '/') in dirname()
56 if (end == path) { in dirname()
57 path[0] = '.'; in dirname()
58 path[1] = '\0'; in dirname()
59 return (path); in dirname()
66 while (end > path + 1 && end[-1] == '/') in dirname()
[all …]
/dragonfly/sys/bus/cam/
H A Dcam_xpt.c1150 inccb->ccb_h.path = xpt_periph->path; in xptioctl()
1636 path = periph->path; in xpt_announce_periph()
2984 path = start_ccb->ccb_h.path; in xpt_action()
3031 path = start_ccb->ccb_h.path; in xpt_action()
3907 ccb_h->path = path; in xpt_setup_ccb()
3931 path = kmalloc(sizeof(*path), M_CAMXPT, M_INTWAIT); in xpt_create_path()
4047 xpt_release_device(path->bus, path->target, path->device); in xpt_release_path()
4051 xpt_release_target(path->bus, path->target); in xpt_release_path()
4254 path = free_ccb->ccb_h.path; in xpt_release_ccb()
6120 path = done_ccb->ccb_h.path; in probedone()
[all …]
/dragonfly/contrib/tcp_wrappers/
H A Dinetcf.c62 char *path; local
113 path = user;
119 path++;
120 if (STR_EQ(path, "internal"))
122 if (path[strspn(path, "-0123456789")] == 0) {
161 char *path;
247 if (STR_EQ(path, daemon)) {
310 static char *base_name(path) in base_name() argument
311 char *path; in base_name()
316 path = cp + 1;
[all …]
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_ondisk.c65 KKASSERT(path);
107 const char *path; in hammer2_open_devvp()
112 path = e->path; in hammer2_open_devvp()
201 e->path = NULL; in hammer2_cleanup_devvp()
219 path = vol->dev->path; in hammer2_verify_volumes_common()
313 path = vol->dev->path; in hammer2_verify_volumes_1()
388 path = vol->dev->path; in hammer2_verify_volumes_2()
424 path, in hammer2_verify_volumes_2()
431 path, in hammer2_verify_volumes_2()
505 path, i); in hammer2_read_volume_header()
[all …]
/dragonfly/usr.bin/unzip/
H A Dunzip.c207 len = strlen(path); in pathdup()
333 (void)unlink(path); in make_dir()
346 make_parent(char *path) in make_parent() argument
360 unlink(path); in make_parent()
362 make_parent(path); in make_parent()
363 mkdir(path, 0755); in make_parent()
369 if (sep == path) in make_parent()
407 make_dir(path, mode); in extract_dir()
424 *path); in handle_existing_file()
449 free(*path); in handle_existing_file()
[all …]
/dragonfly/test/stress/stress2/testcases/mkfifo/
H A Dmkfifo.c42 static char path[MAXPATHLEN+1]; variable
53 unlink(path); in reader()
54 err(1, "open(%s)", path); in reader()
74 unlink(path); in writer()
75 err(1, "open(%s)", path); in writer()
114 if (mkfifo(path, 0600) < 0) in test()
115 err(1, "mkfifo(%s)", path); in test()
120 if (unlink(path) < 0) in test()
127 if (mkfifo(path, 0600) < 0) in test()
128 err(1, "mkfifo(%s)", path); in test()
[all …]

12345678910>>...44