/openbsd-current/usr.bin/patch/ |
H A D | mkpath.c | 49 char *slash; local 52 slash = path; 55 slash += strspn(slash, "/"); 56 slash += strcspn(slash, "/"); 58 done = (*slash == '\0'); 59 *slash = '\0'; 72 *slash = '/';
|
/openbsd-current/usr.bin/rsync/ |
H A D | mkpath.c | 48 char *slash; local 51 slash = path; 54 slash += strspn(slash, "/"); 55 slash += strcspn(slash, "/"); 57 done = (*slash == '\0'); 58 *slash = '\0'; 78 *slash = '/';
|
/openbsd-current/usr.sbin/rpki-client/ |
H A D | mkdir.c | 49 char *path, *slash; local 55 slash = path; 58 slash += strspn(slash, "/"); 59 slash += strcspn(slash, "/"); 61 done = (*slash == '\0'); 62 *slash = '\0'; 72 *slash = '/';
|
/openbsd-current/bin/mkdir/ |
H A D | mkdir.c | 91 char *slash; local 94 slash = strrchr(*argv, '\0'); 95 while (--slash > *argv && *slash == '/') 96 *slash = '\0'; 130 char *slash; local 133 slash = path; 136 slash += strspn(slash, "/"); 137 slash [all...] |
/openbsd-current/usr.bin/mg/ |
H A D | dir.c | 50 /* Append trailing slash */ 118 char *slash; local 124 slash = strrchr(path, '\0'); 125 while (--slash > path && *slash == '/') 126 *slash = '\0'; 128 slash = path; 135 slash += strspn(slash, "/"); 136 slash [all...] |
/openbsd-current/usr.sbin/radiusd/ |
H A D | util.c | 35 char *servp, *nodep, *slash, buf[256]; local 51 slash = strrchr(servp, '/'); 52 if (slash != NULL) { 56 *slash = '\0'; 57 slash++;
|
/openbsd-current/lib/libc/gen/ |
H A D | fnmatch.c | 149 const int slash = !!(flags & FNM_PATHNAME); local 183 if (slash && (**pattern == '/')) 212 * terminated or ranges containing a slash in 216 if (!**pattern || (slash && (**pattern == '/'))) 255 if (!**string || (slash && (**string == '/'))) 272 /* Refuse to advance over trailing slash or NULs */ 274 (slash && ((**string == '/') || (**pattern == '/')))) 288 const int slash = !!(flags & FNM_PATHNAME); local 307 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/')) 309 if (slash [all...] |
H A D | authenticate.c | 330 char *slash; local 351 if ((slash = strchr(name, '/')) != NULL) { 352 *slash = '\0'; 354 *slash = '/'; 400 char *slash, pwbuf[_PW_BUF_LEN]; local 422 if ((slash = strchr(name, '/')) != NULL) { 423 *slash = '\0'; 425 *slash = '/';
|
/openbsd-current/usr.bin/make/ |
H A D | direxpand.c | 115 const char *slash; /* keep track of first slash before wildcard */ local 117 slash = memchr(word, '/', eword - word); 118 if (slash == NULL) { 128 slash = word; 131 slash = cp; 134 if (slash != word) { 140 dirpath = Dir_FindFilei(word, slash+1, path); 157 PathMatchFilesi(slash+1, eword, &temp,
|
/openbsd-current/usr.bin/skey/ |
H A D | skey.c | 43 char buf[33], *seed, *slash, *algo; local 99 slash = strchr(argv[i], '/'); 100 if (slash == NULL) 102 *slash++ = '\0'; 103 seed = slash;
|
/openbsd-current/lib/libutil/ |
H A D | opendev.c | 53 char *slash, *prefix; local 65 if ((slash = strchr(path, '/'))) { 86 if (!slash && fd == -1 && errno == ENOENT) {
|
/openbsd-current/libexec/ld.so/ |
H A D | trace.c | 85 const char *basename, *slash; local 93 slash = _dl_strchr(basename, '/'); 94 if (slash == NULL) 96 basename = slash;
|
/openbsd-current/gnu/usr.bin/binutils/binutils/ |
H A D | bucomm.c | 399 char *slash = strrchr (filename, '/'); 406 if (slash == NULL || (bslash != NULL && bslash > slash)) 407 slash = bslash; 408 if (slash == NULL && filename[0] != '\0' && filename[1] == ':') 409 slash = filename + 1; 413 if (slash != (char *) NULL) 415 c = *slash; 416 *slash = 0; 420 /* If tmpname is "X:", appending a slash wil 395 char *slash = strrchr (filename, '/'); local [all...] |
/openbsd-current/gnu/usr.bin/binutils-2.17/binutils/ |
H A D | bucomm.c | 400 char *slash = strrchr (filename, '/'); 407 if (slash == NULL || (bslash != NULL && bslash > slash)) 408 slash = bslash; 409 if (slash == NULL && filename[0] != '\0' && filename[1] == ':') 410 slash = filename + 1; 414 if (slash != (char *) NULL) 416 c = *slash; 417 *slash = 0; 421 /* If tmpname is "X:", appending a slash wil 396 char *slash = strrchr (filename, '/'); local [all...] |
/openbsd-current/usr.sbin/npppd/common/ |
H A D | net_utils.c | 93 char *servp, *nodep, *slash; local 109 slash = strrchr(servp, '/'); 110 if (slash != NULL) { 114 *slash = '\0'; 115 slash++;
|
/openbsd-current/usr.bin/units/ |
H A D | units.c | 287 char *divider, *slash; local 291 for (slash = scratch + 1; *slash; slash++) 292 if (*slash == '-' && 293 (tolower((unsigned char)*(slash - 1)) != 'e' || 294 !strchr(".0123456789", *(slash + 1)))) 295 *slash = ' '; 296 slash = strchr(scratch, '/'); 297 if (slash) [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/ |
H A D | read-rtl.c | 703 const char *slash; 704 for (slash = fn; *slash; slash ++) 705 if (*slash == '/' || *slash == '\\' || *slash == ':') 706 fn = slash + 1; 702 const char *slash; local
|
/openbsd-current/usr.bin/less/ |
H A D | filename.c | 509 char *slash; local 511 for (slash = name + strlen(name); slash > name; ) { 512 --slash; 513 if (*slash == '/') 514 return (slash + 1);
|
/openbsd-current/gnu/usr.bin/cvs/windows-NT/ |
H A D | ndir.c | 46 char *slash = ""; 58 slash = "/"; /* save to insert slash between path and "*.*" */ 61 strcat (strcat (strcpy (name_buf, name), slash), "*.*"); 45 char *slash = ""; local
|
/openbsd-current/gnu/usr.bin/binutils/ld/ |
H A D | ldfile.c | 49 char * slash = ""; variable 52 char * slash = "\\"; variable 54 char * slash = "/"; variable 59 char * slash = ":"; variable 338 + strlen (slash) 346 sprintf (string, "%s%s%s%s%s%s", search->name, slash, 349 sprintf (string, "%s%s%s", search->name, slash, entry->filename); 472 sprintf (buffer, "%s%s%s", search->name, slash, name);
|
/openbsd-current/usr.sbin/ypserv/makedbm/ |
H A D | makedbm.c | 166 char *p, *k, *v, *slash; local 190 slash = strrchr(database, '/'); 191 if (slash != NULL) 192 slash[1] = 0; /* truncate to dir */
|
/openbsd-current/usr.sbin/ypserv/mkalias/ |
H A D | mkalias.c | 152 char myname[HOST_NAME_MAX+1], datestr[11], *slash; local 206 slash = strrchr(output, '/'); 207 if (slash != NULL) 208 slash[1] = 0; /* truncate to dir */
|
/openbsd-current/gnu/llvm/clang/lib/Basic/ |
H A D | OperatorPrecedence.cpp | 70 case tok::slash:
|
/openbsd-current/gnu/usr.bin/perl/dist/PathTools/lib/File/Spec/ |
H A D | AmigaOS.pm | 43 or if it begins with a slash.
|
/openbsd-current/gnu/usr.bin/binutils-2.17/ld/ |
H A D | ldfile.c | 48 static char * slash = ""; variable 51 static char * slash = "\\"; variable 53 static char * slash = "/"; variable 345 + strlen (slash) 353 sprintf (string, "%s%s%s%s%s%s", search->name, slash, 356 sprintf (string, "%s%s%s", search->name, slash, entry->filename); 479 sprintf (buffer, "%s%s%s", search->name, slash, name);
|