/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.cleanpath.d | 33 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-9.3-release/etc/defaults/ |
H A D | devfs.rules | 29 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-9.3-release/contrib/cvs/lib/ |
H A D | stripslash.c | 32 strip_trailing_slashes (path) 33 char *path; 37 last = strlen (path) - 1; 38 while (last > 0 && path[last] == '/') 39 path[last--] = '\0';
|
/freebsd-9.3-release/contrib/diff/lib/ |
H A D | dirname.h | 36 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-9.3-release/contrib/llvm/include/llvm/Support/ |
H A D | Path.h | 10 // 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-9.3-release/crypto/heimdal/lib/roken/ |
H A D | lstat.c | 42 lstat(const char *path, struct stat *buf) argument 44 return stat(path, buf);
|
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | basename.c | 27 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 D | dirname.c | 29 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 D | mktemp.c | 47 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-9.3-release/lib/libc/gen/ |
H A D | dirname.c | 29 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 D | basename.c | 29 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-9.3-release/contrib/gcc/ |
H A D | prefix.h | 28 extern char *update_path (const char *path, const char *key);
|
/freebsd-9.3-release/contrib/groff/src/include/ |
H A D | relocate.h | 26 char *relocatep (const char *path); 27 char *relocate (const char *path);
|
/freebsd-9.3-release/lib/libc/sys/ |
H A D | truncate.c | 46 truncate(path, length) 47 const char *path; 52 return(__sys_truncate(path, length)); 54 return(__sys_freebsd6_truncate(path, 0, length));
|
/freebsd-9.3-release/lib/libc/stdio/ |
H A D | mktemp.c | 56 mkstemps(path, slen) 57 char *path; 62 return (_gettemp(path, &fd, 0, slen) ? fd : -1); 66 mkstemp(path) 67 char *path; 71 return (_gettemp(path, &fd, 0, 0) ? fd : -1); 75 mkdtemp(path) 76 char *path; 78 return (_gettemp(path, (int *)NULL, 1, 0) ? path [all...] |
/freebsd-9.3-release/contrib/bmake/ |
H A D | dirname.c | 50 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...] |
H A D | realpath.c | 60 * 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-9.3-release/contrib/nvi/clib/ |
H A D | mkstemp.c | 54 mkstemp(path) 55 char *path; 59 return (_gettemp(path, &fd) ? fd : -1); 63 mktemp(path) 64 char *path; 66 return(_gettemp(path, (int *)NULL) ? path : (char *)NULL); 70 _gettemp(path, doopen) 71 char *path; 80 for (trv = path; *tr [all...] |
/freebsd-9.3-release/contrib/sendmail/libsm/ |
H A D | path.c | 11 SM_RCSID("@(#)$Id: path.c,v 1.10 2013-11-22 20:51:43 ca Exp $") 13 #include <sm/path.h>
|
/freebsd-9.3-release/lib/libstand/ |
H A D | bootparam.h | 4 int bp_getfile(int sock, char *key, struct in_addr *addrp, char *path);
|
/freebsd-9.3-release/usr.bin/env/ |
H A D | envopts.h | 33 void search_paths(char *path, char **argv);
|
/freebsd-9.3-release/usr.sbin/pw/ |
H A D | pw_nis.c | 40 pw_nisupdate(const char * path, struct passwd * pwd, char const * user, int mode) argument 53 return fileupdate(path, 0600, pwbuf, pfx, l, mode) != 0; 57 addnispwent(const char *path, struct passwd * pwd) argument 59 return pw_nisupdate(path, pwd, pwd->pw_name, UPD_CREATE); 63 chgnispwent(const char *path, char const * login, struct passwd * pwd) argument 65 return pw_nisupdate(path, pwd, login, UPD_REPLACE); 69 delnispwent(const char *path, const char *login) argument 71 return pw_nisupdate(path, NULL, login, UPD_DELETE);
|
/freebsd-9.3-release/crypto/openssh/regress/ |
H A D | setuid-allowed.c | 32 fprintf(stderr, "check-setuid [path]\n"); 39 const char *path = "."; local 45 path = argv[1]; 47 if (statvfs(path, &sb) != 0) { 52 path, strerror(errno));
|
/freebsd-9.3-release/tools/regression/usr.bin/make/shell/builtin/ |
H A D | Makefile | 10 .SHELL: path="${.CURDIR}/sh" macro
|
/freebsd-9.3-release/contrib/amd/scripts/ |
H A D | automount2amd.in | 11 # dir [ -options ] machine:/path [ # optional comment ] 22 # hostd==machine.larc.nasa.gov;type:=link;fs:=/path || \ 23 # domain==larc.nasa.gov;rhost:=machine;rfs:=/path || \ 24 # rhost:=machine.larc.nasa.gov;rfs:=/path 40 # you can specify ``rfs:=/common/path/${key}'' and not have to insert that 52 ($dir, $options, $machine, $path, $rest) = ($1, $2, $3, $4, $5); 62 $machine, $DOMAIN, $path); 64 $DOMAIN, $machine, $path); 65 printf " rhost:=%s.%s;rfs:=%s\n\n", $machine, $DOMAIN, $path; 68 $machine, $path); [all...] |