/freebsd-10.0-release/usr.bin/patch/ |
H A D | mkpath.c | 50 char *slash; local 53 slash = path; 56 slash += strspn(slash, "/"); 57 slash += strcspn(slash, "/"); 59 done = (*slash == '\0'); 60 *slash = '\0'; 73 *slash = '/';
|
/freebsd-10.0-release/usr.sbin/crunch/crunchgen/ |
H A D | crunched_main.c | 53 char *slash, *basename; local 59 slash = strrchr(argv[0], '/'); 60 basename = slash? slash+1 : argv[0]; 77 char *slash, *basename; local 80 slash = strrchr(path, '/'); 81 basename = slash? slash+1 : path; 93 char *slash; local 100 slash [all...] |
/freebsd-10.0-release/contrib/ipfilter/lib/ |
H A D | alist_new.c | 16 char *slash; local 46 slash = strchr(host, '/'); 47 if (slash != NULL) { 48 *slash = '\0'; 49 bits = atoi(slash + 1); 81 if (slash != NULL) 82 *slash = '/'; 87 if (slash != NULL) 88 *slash = '/';
|
/freebsd-10.0-release/cddl/compat/opensolaris/misc/ |
H A D | mkdirp.c | 57 char *endptr, *ptr, *slash, *str; local 77 slash = strrchr(str, '/'); 81 while (slash != NULL) { 83 ptr = slash; 94 slash = strrchr(str, '/'); 98 if (slash == NULL || slash == str) {
|
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | debug.c | 64 const char *slash = strrchr(file, '/'); local 66 if (slash == NULL) 67 slash = strrchr(file, '\\'); 68 if (slash) 69 debug_file = slash + 1;
|
/freebsd-10.0-release/contrib/apr/strings/ |
H A D | apr_fnmatch.c | 79 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...] |
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | auth.c | 169 const char *slash; local 195 if ((slash = strrchr(name, '\\')) != NULL && slash[1]) { 197 name = slash + 1; 214 const char *slash; local 264 if ((slash = strrchr(name, '\\')) != NULL && slash[1]) { 266 name = slash + 1; 297 const char *slash; local 320 if ((slash 348 const char *slash; local [all...] |
/freebsd-10.0-release/contrib/opie/ |
H A D | opiekey.c | 142 char *slash; local 147 if (slash = strchr(argv[0], '/')) 148 slash++; 150 slash = argv[0]; 152 if (!strcmp(slash, "key") || strstr(slash, "md4")) 155 if (strstr(slash, "md5")) 158 if (strstr(slash, "sha"))
|
/freebsd-10.0-release/contrib/llvm/lib/Support/Unix/ |
H A D | Path.inc | 377 // 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...] |
/freebsd-10.0-release/gnu/usr.bin/grep/ |
H A D | savedir.c | 82 int slash; local 91 slash = (path[dirlen] != '/'); 93 strcpy (path + dirlen + slash , file);
|
/freebsd-10.0-release/contrib/binutils/binutils/ |
H A D | bucomm.c | 401 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
|
/freebsd-10.0-release/lib/libipsec/ |
H A D | policy_token.l | 69 slash \/ 118 {slash} { return(SLASH); }
|
/freebsd-10.0-release/sbin/setkey/ |
H A D | token.l | 76 slash \/ 85 ipaddrmask {slash}{digit}{1,3} 201 {slash} { return SLASH; }
|
/freebsd-10.0-release/usr.sbin/rrenumd/ |
H A D | lexer.l | 77 slash \/ 90 ipaddrmask {slash}{digit}{1,3}
|
/freebsd-10.0-release/crypto/heimdal/lib/roken/ |
H A D | getcap.c | 334 int c, slash; local 348 slash = 0; 379 if (slash) { 380 slash = 0; 386 if (slash) { 387 slash = 0; 402 slash = 1; 700 static int slash; variable 712 slash = 0; 763 slash [all...] |
/freebsd-10.0-release/contrib/less/ |
H A D | filename.c | 430 char *slash; local 432 for (slash = s+strlen(s)-1; slash > s; slash--) 433 if (*slash == *PATHNAME_SEP || *slash == '/') 437 if (strchr(slash, '.') == NULL) 1108 char *slash; local 1110 for (slash = name + strlen(name); slash > nam [all...] |
/freebsd-10.0-release/usr.bin/units/ |
H A D | units.c | 303 char *divider, *slash, *offset; local 310 for (slash = scratch + 1; *slash; slash++) 311 if (*slash == '-' && 312 (tolower(*(slash - 1)) != 'e' || 313 !strchr(".0123456789", *(slash + 1)))) 314 *slash = ' '; 315 slash = strchr(scratch, '/'); 316 if (slash) [all...] |
/freebsd-10.0-release/libexec/tftpd/ |
H A D | tftpd.c | 437 char *slash, *ptr; local 440 while ((slash = strstr(fn, "/./")) != NULL) { 441 for (ptr = slash; ptr > fn && ptr[-1] == '/'; ptr--) 443 slash += 2; 444 while (*slash) 445 *++ptr = *++slash; 449 while ((slash = strstr(fn, "/../")) != NULL) { 450 if (slash == fn) 452 for (ptr = slash; ptr > fn && ptr[-1] == '/'; ptr--) 459 slash [all...] |
/freebsd-10.0-release/contrib/groff/font/devdvi/ |
H A D | TBI | 23 slash@for@l l -311075 24 slash@for@l L -402826 247 slash@for@l 311075,466034 0 0040
|
H A D | TI | 24 slash@for@l l -267968 25 slash@for@l L -336125 248 slash@for@l 267968,451470 0 0040
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Basic/ |
H A D | OperatorPrecedence.cpp | 69 case tok::slash:
|
/freebsd-10.0-release/contrib/binutils/ld/ |
H A D | ldfile.c | 48 static char * slash = ""; variable 51 static char * slash = "\\"; variable 53 static char * slash = "/"; variable 349 + strlen (slash) 357 sprintf (string, "%s%s%s%s%s%s", search->name, slash, 360 sprintf (string, "%s%s%s", search->name, slash, entry->filename); 483 sprintf (buffer, "%s%s%s", search->name, slash, name);
|
/freebsd-10.0-release/usr.bin/bluetooth/rfcomm_sppd/ |
H A D | rfcomm_sppd.c | 364 char pty[PATH_MAX], *slash; local 381 slash = strrchr(pty, '/'); 382 if (slash == NULL || slash[1] == '\0') { 387 slash[1] = 'p';
|
/freebsd-10.0-release/bin/pax/ |
H A D | options.c | 979 char *slash; local 982 slash = path; 985 slash += strspn(slash, "/"); 986 slash += strcspn(slash, "/"); 988 done = (*slash == '\0'); 989 *slash = '\0'; 1002 *slash = '/';
|
/freebsd-10.0-release/contrib/llvm/lib/Support/Windows/ |
H A D | Path.inc | 32 // Another invariant is that a path ends with a slash if and only if the path 33 // is a root directory. Any other use of a trailing slash is stripped. Unlike 90 // Look for a UNC path, and if found adjust our notion of the root slash. 104 // Remove trailing slash, unless it's a root slash. 329 // Find the last slash 330 size_t slash = path.rfind('/'); 331 if (slash == std::string::npos) 332 slash = 0; 334 slash [all...] |