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

1234567891011>>

/freebsd-10.3-release/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.3-release/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.3-release/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.3-release/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.3-release/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.3-release/crypto/heimdal/lib/roken/
H A Dlstat.c39 lstat(const char *path, struct stat *buf) argument
41 return stat(path, buf);
/freebsd-10.3-release/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.3-release/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.3-release/contrib/subversion/subversion/libsvn_fs_util/
H A Dfs-util.c43 is_canonical_abspath(const char *path, size_t path_len) argument
48 if (path[0] != '/')
54 if (path[path_len - 1] == '/')
58 end = path + path_len - 1;
59 for (; path != end; ++path)
60 if ((path[0] == '/') && (path[1] == '/'))
67 svn_fs__is_canonical_abspath(const char *path) argument
70 if (! path)
82 svn_fs__canonicalize_abspath(const char *path, apr_pool_t *pool) argument
161 svn_fs__next_entry_name(const char **next_p, const char *path, apr_pool_t *pool) argument
214 const char *path = svn__apr_hash_index_key(hi); local
[all...]
/freebsd-10.3-release/contrib/gcc/
H A Dprefix.h28 extern char *update_path (const char *path, const char *key);
/freebsd-10.3-release/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.3-release/contrib/groff/src/include/
H A Drelocate.h26 char *relocatep (const char *path);
27 char *relocate (const char *path);
/freebsd-10.3-release/contrib/bmake/
H A Ddirname.c50 dirname(char *path) argument
57 * If `path' is a null pointer or points to an empty string,
60 if ((path == NULL) || (*path == '\0'))
65 lastp = path + strlen(path) - 1;
66 while (lastp != path && *lastp == '/')
69 /* Terminate path at the last occurence of '/'. */
73 while (lastp != path && *lastp == '/')
77 len = (lastp - path)
[all...]
/freebsd-10.3-release/contrib/subversion/subversion/libsvn_client/
H A Dcleanup.c48 svn_client_cleanup(const char *path,
55 if (svn_path_is_url(path))
57 _("'%s' is not a local path"), path);
59 SVN_ERR(svn_dirent_get_absolute(&local_abspath, path, scratch_pool));
63 svn_io_sleep_for_timestamps(path, scratch_pool);
46 svn_client_cleanup(const char *path, svn_client_ctx_t *ctx, apr_pool_t *scratch_pool) argument
/freebsd-10.3-release/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.3-release/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.3-release/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.3-release/lib/libstand/
H A Dbootparam.h4 int bp_getfile(int sock, char *key, struct in_addr *addrp, char *path);
/freebsd-10.3-release/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...]
/freebsd-10.3-release/usr.bin/bmake/tests/shell/builtin/
H A DMakefile.test10 .SHELL: path="${.CURDIR}/sh"
/freebsd-10.3-release/usr.bin/env/
H A Denvopts.h33 void search_paths(char *path, char **argv);

Completed in 443 milliseconds

1234567891011>>