Searched refs:path (Results 1 - 25 of 2080) sorted by relevance

1234567891011>>

/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.cleanpath.d33 path[i++] = "/foo/bar/baz";
34 path[i++] = "/foo/bar///baz/";
35 path[i++] = "/foo/bar/baz/";
36 path[i++] = "/foo/bar/baz//";
37 path[i++] = "/foo/bar/baz/.";
38 path[i++] = "/foo/bar/baz/./";
39 path[i++] = "/foo/bar/../../baz/.//";
40 path[i++] = "foo/bar/./././././baz/";
41 path[i++] = "/foo/bar/baz/../../../../../../";
42 path[
[all...]
/freebsd-10-stable/etc/defaults/
H A Ddevfs.rules29 add path log unhide
30 add path null unhide
31 add path zero unhide
32 add path crypto unhide
33 add path random unhide
34 add path urandom unhide
40 add path 'ptyp*' unhide
41 add path 'ptyq*' unhide
42 add path 'ptyr*' unhide
43 add path 'pty
[all...]
/freebsd-10-stable/contrib/atf/atf-c++/detail/
H A Dfs.hpp53 // The "path" class.
57 //! \brief A class to represent a path to a file.
59 //! The path class represents the route to a file or directory in the
64 //! It is important to note that the file pointed to by a path need not
67 class path { class in namespace:atf::fs
69 //! \brief Internal representation of a path.
74 //! \brief Constructs a new path from a user-provided string.
77 //! code or by the user and constructs a new path object. The string
83 explicit path(const std::string&);
88 path(cons
[all...]
H A Dfs_test.cpp63 // Test cases for the "path" class.
69 set_md_var("descr", "Tests the path's normalization");
73 using atf::fs::path;
75 ATF_REQUIRE_EQ(path(".").str(), ".");
76 ATF_REQUIRE_EQ(path("..").str(), "..");
78 ATF_REQUIRE_EQ(path("foo").str(), "foo");
79 ATF_REQUIRE_EQ(path("foo/bar").str(), "foo/bar");
80 ATF_REQUIRE_EQ(path("foo/bar/").str(), "foo/bar");
82 ATF_REQUIRE_EQ(path("/foo").str(), "/foo");
83 ATF_REQUIRE_EQ(path("/fo
[all...]
/freebsd-10-stable/contrib/diff/lib/
H A Ddirname.h36 char *base_name (char const *path);
37 char *dir_name (char const *path);
38 size_t base_len (char const *path);
39 size_t dir_len (char const *path);
41 int strip_trailing_slashes (char *path);
/freebsd-10-stable/contrib/unbound/libunbound/python/doc/
H A Dconf.py16 # is relative to the documentation root, use os.path.abspath to make it
18 sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'../')))
19 sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),'../../../')))
20 sys.path
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/Support/
H A DPath.h10 // This file declares the llvm::sys::path namespace. It is designed after
12 // path class.
26 namespace path { namespace in namespace:llvm::sys
34 /// components in \a path. The forward traversal order is as follows:
51 StringRef Path; ///< The entire path.
56 friend const_iterator begin(StringRef path);
57 friend const_iterator end(StringRef path);
81 /// @brief Get begin iterator over \a path.
82 /// @param path Input path
94 rbegin(StringRef path) argument
101 rend(StringRef path) argument
[all...]
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dlstat.c39 lstat(const char *path, struct stat *buf) argument
41 return stat(path, buf);
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dbasename.c27 basename(const char *path) argument
34 if (path == NULL || *path == '\0') {
41 endp = path + strlen(path) - 1;
42 while (endp > path && *endp == '/')
46 if (endp == path && *endp == '/') {
54 while (startp > path && *(startp - 1) != '/')
H A Ddirname.c29 dirname(const char *path) argument
36 if (path == NULL || *path == '\0') {
43 endp = path + strlen(path) - 1;
44 while (endp > path && *endp == '/')
48 while (endp > path && *endp != '/')
52 if (endp == path) {
60 } while (endp > path && *endp == '/');
63 len = endp - path
[all...]
H A Dmktemp.c47 mktemp_internal(char *path, int slen, int mode) argument
56 len = strlen(path);
61 ep = path + len - slen;
64 for (start = ep; start > path && start[-1] == 'X'; start--) {
78 if (lstat(path, &sb) != 0)
82 fd = open(path, O_CREAT|O_EXCL|O_RDWR, S_IRUSR|S_IWUSR);
87 if (mkdir(path, S_IRUSR|S_IWUSR|S_IXUSR) == 0)
103 _mktemp(char *path)
105 if (mktemp_internal(path, 0, MKTEMP_NAME) == -1)
107 return(path);
121 mkstemp(char *path) argument
127 mkstemps(char *path, int slen) argument
133 mkdtemp(char *path) argument
[all...]
/freebsd-10-stable/lib/libc/gen/
H A Ddirname.c29 dirname(const char *path) argument
42 if (path == NULL || *path == '\0') {
49 endp = path + strlen(path) - 1;
50 while (endp > path && *endp == '/')
54 while (endp > path && *endp != '/')
58 if (endp == path) {
66 } while (endp > path && *endp == '/');
69 len = endp - path
[all...]
H A Dbasename.c29 basename_r(const char *path, char *bname) argument
35 if (path == NULL || *path == '\0') {
42 endp = path + strlen(path) - 1;
43 while (endp > path && *endp == '/')
47 if (endp == path && *endp == '/') {
55 while (startp > path && *(startp - 1) != '/')
69 basename(const char *path) argument
78 return (basename_r(path, bnam
[all...]
/freebsd-10-stable/contrib/gcc/
H A Dprefix.h28 extern char *update_path (const char *path, const char *key);
/freebsd-10-stable/contrib/groff/src/include/
H A Drelocate.h26 char *relocatep (const char *path);
27 char *relocate (const char *path);
/freebsd-10-stable/lib/libc/sys/
H A Dtruncate.c46 truncate(path, length)
47 const char *path;
52 return(__sys_truncate(path, length));
54 return(__sys_freebsd6_truncate(path, 0, length));
/freebsd-10-stable/contrib/bmake/
H A Ddirname.c57 xdirname_r(const char *path, char *buf, size_t buflen) argument
63 * If `path' is a null pointer or points to an empty string,
66 if (path == NULL || *path == '\0') {
67 path = ".";
73 endp = path + strlen(path) - 1;
74 while (endp != path && *endp == '/')
78 while (endp > path && *endp != '/')
81 if (endp == path) {
102 dirname(char *path) argument
[all...]
H A Drealpath.c60 * char *realpath(const char *path, char *resolved);
62 * Find the real name of path, by removing all ".", ".." and symlink
64 * in which case the path which caused trouble is left in (resolved).
67 realpath(const char * __restrict path, char * __restrict resolved) argument
77 if (path == NULL) {
91 * Build real path one by one with paying an attention to .,
101 if (*path == '\0') {
107 /* If relative path, start from current working directory. */
108 if (*path != '/') {
122 while (*path
[all...]
/freebsd-10-stable/lib/libc/stdio/
H A Dmktemp.c56 mkostemps(char *path, int slen, int oflags) argument
60 return (_gettemp(path, &fd, 0, slen, oflags) ? fd : -1);
64 mkstemps(char *path, int slen) argument
68 return (_gettemp(path, &fd, 0, slen, 0) ? fd : -1);
72 mkostemp(char *path, int oflags) argument
76 return (_gettemp(path, &fd, 0, 0, oflags) ? fd : -1);
80 mkstemp(char *path) argument
84 return (_gettemp(path, &fd, 0, 0, 0) ? fd : -1);
88 mkdtemp(char *path) argument
90 return (_gettemp(path, (in
94 _mktemp(char *path) argument
103 mktemp(char *path) argument
109 _gettemp(char *path, int *doopen, int domkdir, int slen, int oflags) argument
[all...]
/freebsd-10-stable/usr.bin/patch/
H A Dmkpath.c44 * path - path
47 mkpath(char *path) argument
53 slash = path;
62 if (stat(path, &sb)) {
63 if (errno != ENOENT || (mkdir(path, 0777) &&
65 warn("%s", path);
69 warnx("%s: %s", path, strerror(ENOTDIR));
/freebsd-10-stable/contrib/subversion/subversion/include/
H A Dsvn_path.h24 * @brief A path manipulation library
29 * No result path ever ends with a separator, no matter whether the
30 * path is a file or directory, because we always canonicalize() it.
33 * them to be in canonical form as defined by the Subversion path
67 /** Convert @a path from the local style to the canonical internal style.
74 svn_path_internal_style(const char *path, apr_pool_t *pool);
76 /** Convert @a path from the canonical internal style to the local style.
83 svn_path_local_style(const char *path, apr_pool_t *pool);
86 /** Join a base path (@a base) with a component (@a component), allocating
88 * can be any path, absolut
[all...]
/freebsd-10-stable/lib/libstand/
H A Dbootparam.h4 int bp_getfile(int sock, char *key, struct in_addr *addrp, char *path);
/freebsd-10-stable/usr.bin/bmake/tests/shell/builtin/
H A DMakefile.test10 .SHELL: path="${.CURDIR}/sh"
/freebsd-10-stable/usr.bin/env/
H A Denvopts.h33 void search_paths(char *path, char **argv);
/freebsd-10-stable/sys/cam/
H A Dcam_xpt.h42 * Definition of a CAM path. Paths are created from bus, target, and lun ids
61 struct cam_path *path, void *args);
74 struct cam_path *path,
78 struct cam_path *path,
91 struct cam_path *path);
92 void xpt_free_path(struct cam_path *path);
93 void xpt_path_counts(struct cam_path *path, uint32_t *bus_ref,
98 int xpt_path_comp_dev(struct cam_path *path,
100 void xpt_print_path(struct cam_path *path);
102 void xpt_print(struct cam_path *path, cons
[all...]

Completed in 140 milliseconds

1234567891011>>