Searched refs:slash (Results 1 - 25 of 153) sorted by relevance

1234567

/macosx-10.10/patch_cmds-17/patch/
H A Dmkpath.c46 char *slash; local
49 slash = path;
52 slash += strspn(slash, "/");
53 slash += strcspn(slash, "/");
55 done = (*slash == '\0');
56 *slash = '\0';
69 *slash = '/';
/macosx-10.10/libiconv-42/libiconv/srclib/
H A Dprogname.c43 const char *slash; local
46 slash = strrchr (argv0, '/');
47 base = (slash != NULL ? slash + 1 : argv0);
/macosx-10.10/postfix-255/postfix/src/global/
H A Dmail_task.c52 const char *slash; local
57 if ((slash = strrchr(argv0, '/')) != 0 && slash[1])
58 argv0 = slash + 1;
H A Dremove.c55 char *slash; local
63 vstring_sprintf(dest, "saved/%s", ((slash = strrchr(path, '/')) != 0) ?
64 slash + 1 : path);
/macosx-10.10/bash-94.1.2/bash-3.2/examples/loadables/
H A Dpathchk.c263 char *slash; local
280 slash = path;
290 while (*slash == '/')
291 slash++;
292 start = slash;
293 slash = strchr (slash, '/');
294 if (slash != NULL)
295 *slash = '\0';
299 slash
[all...]
/macosx-10.10/WebCore-7600.1.25/platform/
H A DLinkHash.cpp108 size_t slash = firstSlash;
110 size_t previousSlash = slash ? reverseFind(path.data(), path.size(), '/', slash - 1) : notFound;
113 path[slash] = 0;
114 path[slash + 1] = 0;
115 path[slash + 2] = 0;
117 for (size_t i = previousSlash; i < slash + 3; ++i)
120 slash += 3;
121 } while ((slash = findSlashDotDotSlash(path.data(), path.size(), slash)) !
132 size_t slash = firstSlash; local
147 size_t slash = firstSlash; local
[all...]
/macosx-10.10/gnutar-453/gnutar/lib/
H A Dchdir-long.c83 /* Return a pointer to the first non-slash in S. */
137 /* Find next slash.
138 We already know that dir[2] is neither a slash nor '\0'. */
139 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); local
140 if (slash == NULL)
145 *slash = '\0';
147 *slash = '/';
150 dir = find_non_slash (slash + 1);
165 /* Find a slash that is PATH_MAX or fewer bytes away from dir.
166 I.e. see if there is a slash tha
168 char *slash = memrchr (dir, '/', PATH_MAX); local
[all...]
/macosx-10.10/postfix-255/postfix/src/postkick/
H A Dpostkick.c117 char *slash; local
145 if ((slash = strrchr(argv[0], '/')) != 0 && slash[1])
146 argv[0] = slash + 1;
/macosx-10.10/postfix-255/postfix/src/postlog/
H A Dpostlog.c173 char *slash; local
203 if ((slash = strrchr(argv[0], '/')) != 0 && slash[1])
204 tag = mail_task(slash + 1);
249 if ((slash = strrchr(argv[0], '/')) != 0 && slash[1])
250 tag = mail_task(slash + 1);
/macosx-10.10/apr-32/apr/apr/strings/
H A Dapr_fnmatch.c79 const int slash = !!(flags & APR_FNM_PATHNAME); local
115 if (slash && (**pattern == '/'))
129 * or ranges containing a slash in FNM_PATHNAME mode pattern
132 if (!**pattern || (slash && (**pattern == '/')))
166 if (!**string || (slash && (**string == '/')))
182 /* Refuse to advance over trailing slash or nulls
184 if (!**string || !**pattern || (slash && ((**string == '/') || (**pattern == '/'))))
198 const int slash = !!(flags & APR_FNM_PATHNAME); local
218 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/'))
220 if (slash
[all...]
/macosx-10.10/sudo-73/src/
H A Dfnmatch.c162 const int slash = !!(flags & FNM_PATHNAME); local
198 if (slash && (**pattern == '/'))
219 * or ranges containing a slash in FNM_PATHNAME mode pattern
222 if (!**pattern || (slash && (**pattern == '/')))
258 if (!**string || (slash && (**string == '/')))
274 /* Refuse to advance over trailing slash or nulls
276 if (!**string || !**pattern || (slash && ((**string == '/') || (**pattern == '/'))))
297 const int slash = !!(flags & FNM_PATHNAME); local
321 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/'))
323 if (slash
[all...]
/macosx-10.10/Libc-1044.1.2/util/
H A Dopendev.c58 char *slash, *prefix; local
78 if ((slash = strchr(path, '/')))
92 if (!slash && fd == -1 && errno == ENOENT) {
/macosx-10.10/diskdev_cmds-576/fdisk.tproj/
H A Dopendev.c72 char *slash, *prefix; local
86 if ((slash = strchr(path, '/')))
101 if (!slash && fd == -1 && errno == ENOENT) {
/macosx-10.10/BerkeleyDB-21/db/env/
H A Denv_name.c21 /* If leading slash, start over. */ \
24 slash = 0; \
28 if (slash) \
32 slash = strchr(PATH_SEPARATOR, p[-1]) == NULL; \
57 int data_entry, ret, slash, tmp_create; local
152 slash = 0;
/macosx-10.10/emacs-93/emacs/lisp/url/
H A Durl-cache.el104 (let ((slash nil))
110 ((and (= ?/ x) slash)
111 (setq slash nil)
114 (setq slash t)
117 (setq slash nil)
/macosx-10.10/llvmCore-3425.0.34/lib/Support/Unix/
H A DPath.inc377 // Find the last slash
378 std::string::size_type slash = path.rfind('/');
379 if (slash == std::string::npos)
380 slash = 0;
382 slash++;
385 if (dot == std::string::npos || dot < slash)
386 return StringRef(path).substr(slash);
388 return StringRef(path).substr(slash, dot - slash);
393 // Find the last slash
[all...]
/macosx-10.10/configd-699.1.5/SystemConfiguration.fproj/
H A DSCPLock.c109 char *slash; local
117 slash = strrchr(dir, '/');
118 if ((slash == NULL) || (slash == dir)) {
122 *slash = '\0';
125 for (scan = dir; TRUE; scan = slash) {
129 if (slash != NULL) {
130 sep = *slash;
131 *slash = '\0';
168 if ((slash
[all...]
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dcurl_ntlm_wb.c117 char *slash, *domain = NULL; local
128 slash = strpbrk(username, "\\/");
129 if(slash) {
132 slash = domain + (slash - username);
133 *slash = '\0';
134 username = username + (slash - domain) + 1;
/macosx-10.10/bind9-45.101/bind9/lib/isc/win32/
H A Dfile.c584 char *dir, *file, *slash; local
587 slash = strrchr(path, '/');
590 if ((slash != NULL && backslash != NULL && backslash > slash) ||
591 (slash == NULL && backslash != NULL))
592 slash = backslash;
594 if (slash == path) {
595 file = ++slash;
597 } else if (slash != NULL) {
598 file = ++slash;
[all...]
/macosx-10.10/postfix-255/postfix/src/postfix/
H A Dpostfix.c395 char *slash; local
437 if ((slash = strrchr(argv[0], '/')) != 0 && slash[1])
438 argv[0] = slash + 1;
/macosx-10.10/cxxfilt-11/cxxfilt/binutils/
H A Dbucomm.c401 const char *slash = strrchr (path, '/');
410 if (slash == NULL || (bslash != NULL && bslash > slash))
411 slash = bslash;
412 if (slash == NULL && path[0] != '\0' && path[1] == ':')
413 slash = path + 1;
417 if (slash != (char *) NULL)
419 len = slash - path;
424 /* If tmpname is "X:", appending a slash will make it a root
397 const char *slash = strrchr (path, '/'); local
/macosx-10.10/ipsec-286.1.1/ipsec-tools/libipsec/
H A Dpolicy_token.l75 slash \/
144 {slash} { return(SLASH); }
/macosx-10.10/ipsec-286.1.1/ipsec-tools/setkey/
H A Dtoken.l94 slash \/
103 ipaddrmask {slash}{digit}{1,3}
245 {slash} { return SLASH; }
/macosx-10.10/postfix-255/postfix/src/oqmgr/
H A Dqmgr_feedback.c112 char slash; local
138 &enum_val, &slash, denom_str, &junk)) {
/macosx-10.10/postfix-255/postfix/src/qmgr/
H A Dqmgr_feedback.c112 char slash; local
138 &enum_val, &slash, denom_str, &junk)) {

Completed in 306 milliseconds

1234567