/netbsd-current/external/bsd/ipf/dist/lib/ |
H A D | load_http.c | 160 char *slash; local 162 slash = u; 167 u = slash;
|
/netbsd-current/external/bsd/iscsi/dist/src/initiator/ |
H A D | virtdir.c | 72 char *slash; local 75 for (slash = name + 1 ; (slash = strchr(slash + 1, '/')) != NULL ; ) { 76 *slash = 0x0; 80 *slash = '/'; 110 /* XXX - trailing slash? */
|
/netbsd-current/share/examples/refuse/virtdir/ |
H A D | virtdir.c | 72 char *slash; local 75 for (slash = name + 1 ; (slash = strchr(slash + 1, '/')) != NULL ; ) { 76 *slash = 0x0; 80 *slash = '/'; 108 /* XXX - trailing slash? */
|
/netbsd-current/bin/csh/ |
H A D | exec.c | 117 int slash; local 150 slash = any(short2str(expath), '/'); 200 if (pathv == 0 || pathv->vec[0] == 0 || slash) 217 if (!slash && pv[0][0] == '/' && havhash) { 512 int slash; local 515 slash = any(short2str(name), '/'); 518 if (v == 0 || v->vec[0] == 0 || slash) 527 if (!slash && pv[0][0] == '/' && havhash) { 703 int slash = any(short2str(sp->word), '/'); local 706 if (v == 0 || v->vec[0] == 0 || slash) [all...] |
/netbsd-current/external/bsd/ntp/dist/lib/isc/unix/ |
H A D | file.c | 515 char *dir, *file, *slash; local 519 slash = strrchr(path, '/'); 521 if (slash == path) { 522 file = ++slash; 524 } else if (slash != NULL) { 525 file = ++slash; 526 dir = isc_mem_allocate(mctx, slash - path); 528 strlcpy(dir, path, slash - path);
|
/netbsd-current/external/gpl3/binutils.old/dist/binutils/ |
H A D | bucomm.c | 493 const char *slash = strrchr (path, '/'); 502 if (slash == NULL || (bslash != NULL && bslash > slash)) 503 slash = bslash; 504 if (slash == NULL && path[0] != '\0' && path[1] == ':') 505 slash = path + 1; 509 if (slash != (char *) NULL) 511 len = slash - path; 516 /* If tmpname is "X:", appending a slash will make it a root 489 const char *slash = strrchr (path, '/'); local
|
/netbsd-current/external/gpl3/binutils/dist/binutils/ |
H A D | bucomm.c | 501 const char *slash = strrchr (path, '/'); 510 if (slash == NULL || (bslash != NULL && bslash > slash)) 511 slash = bslash; 512 if (slash == NULL && path[0] != '\0' && path[1] == ':') 513 slash = path + 1; 517 if (slash != (char *) NULL) 519 len = slash - path; 524 /* If tmpname is "X:", appending a slash will make it a root 497 const char *slash = strrchr (path, '/'); local
|
/netbsd-current/external/gpl3/gdb.old/dist/binutils/ |
H A D | bucomm.c | 493 const char *slash = strrchr (path, '/'); 502 if (slash == NULL || (bslash != NULL && bslash > slash)) 503 slash = bslash; 504 if (slash == NULL && path[0] != '\0' && path[1] == ':') 505 slash = path + 1; 509 if (slash != (char *) NULL) 511 len = slash - path; 516 /* If tmpname is "X:", appending a slash will make it a root 489 const char *slash = strrchr (path, '/'); local
|
/netbsd-current/lib/libpuffs/ |
H A D | paths.c | 256 char *slash; /* sweet char of mine */ local 258 slash = strrchr(po_pre->po_path, '/'); 259 assert(slash != NULL); 261 plen = slash - (char *)po_pre->po_path;
|
/netbsd-current/usr.sbin/ypserv/makedbm/ |
H A D | makedbm.c | 231 char *p, *k, *v, *slash; local 253 slash = strrchr(database, '/'); 254 if (slash != NULL) 255 slash[1] = '\0'; /* truncate to dir */
|
/netbsd-current/usr.sbin/ypserv/mkalias/ |
H A D | mkalias.c | 158 char *slash; local 223 slash = strrchr(output, '/'); 224 if (slash != NULL) 225 slash[1] = 0; /* truncate to dir */
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Basic/ |
H A D | OperatorPrecedence.cpp | 70 case tok::slash:
|
/netbsd-current/crypto/dist/ipsec-tools/src/setkey/ |
H A D | token.l | 99 slash \/ 108 ipaddrmask {slash}{digit}{1,3} 272 {slash} { return SLASH; }
|
/netbsd-current/usr.bin/cap_mkdb/ |
H A D | cap_mkdb.c | 299 int nelem, slash; local 302 for(nelem = 0, slash = 0; *list && (fp = fopen(*list++, "r")); ) { 307 && *line != '#' && !slash) 310 slash = (line[len - 2] == '\\');
|
/netbsd-current/external/gpl3/binutils/dist/gprofng/common/ |
H A D | hwcfuncs.c | 554 char *nameptr, *copy, *slash, *attr_delim; local 578 slash = strchr (nameptr, HWCFUNCS_PARSE_REGNUM); 579 if (slash != NULL) 583 *pregstr = strdup (slash); 585 regno = (regno_t) strtol (slash + 1, &endchar, 0); 588 if (*(slash + 1) == '-') 590 /* terminate previous element up to slash */ 591 *slash = 0;
|
/netbsd-current/external/gpl3/gdb.old/dist/ld/ |
H A D | ldfile.c | 49 static char *slash = ""; variable 52 static char *slash = "\\"; variable 54 static char *slash = "/"; variable 372 string = concat (search->name, slash, lib, entry->filename, 375 string = concat (search->name, slash, entry->filename, 425 char *path = concat (entry->extra_search_path, slash, entry->filename, 610 path = concat (search->name, slash, name, (const char *) NULL);
|
/netbsd-current/external/mpl/bind/dist/bin/named/ |
H A D | os.c | 583 char *slash = strrchr(filename, '/'); local 587 if (slash != NULL && slash != filename) { 589 *slash = '\0'; 604 if (!strcmp(slash + 1, "") || !strcmp(slash + 1, ".") || 605 !strcmp(slash + 1, "..")) 607 *slash = '/'; 628 *slash = '/'; 633 *slash [all...] |
/netbsd-current/external/gpl3/binutils/dist/gprof/ |
H A D | sym_ids.c | 176 char *slash; 180 slash = strchr (id->spec, '/'); 181 if (slash) 183 parse_spec (slash + 1, &id->right.sym); 184 *slash = '\0'; 175 char *slash; local
|
/netbsd-current/external/gpl3/binutils.old/dist/gprof/ |
H A D | sym_ids.c | 176 char *slash; 180 slash = strchr (id->spec, '/'); 181 if (slash) 183 parse_spec (slash + 1, &id->right.sym); 184 *slash = '\0'; 175 char *slash; local
|
/netbsd-current/external/gpl3/gdb.old/dist/gprof/ |
H A D | sym_ids.c | 176 char *slash; 180 slash = strchr (id->spec, '/'); 181 if (slash) 183 parse_spec (slash + 1, &id->right.sym); 184 *slash = '\0'; 175 char *slash; local
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | getcap.c | 321 int c, slash; local 335 slash = 0; 366 if (slash) { 367 slash = 0; 373 if (slash) { 374 slash = 0; 389 slash = 1; 689 static int slash; variable 701 slash = 0;
|
/netbsd-current/share/examples/refuse/fanoutfs/ |
H A D | fanoutfs.c | 143 char *slash; local 146 slash = &name[strlen(path) + 1]; 147 while ((slash = strchr(slash, '/')) != NULL) { 148 *slash = 0x0; 153 *slash = '/';
|
/netbsd-current/external/gpl3/binutils.old/dist/ld/ |
H A D | ldfile.c | 49 static char *slash = ""; variable 52 static char *slash = "\\"; variable 54 static char *slash = "/"; variable 371 string = concat (search->name, slash, lib, entry->filename, 374 string = concat (search->name, slash, entry->filename, 576 path = concat (search->name, slash, name, (const char *) NULL);
|
/netbsd-current/external/gpl2/lvm2/dist/test/ |
H A D | lvm-utils.sh | 27 for slash in '' /; do 29 dev=$G_dev_/loop$slash$i
|
H A D | test-utils.sh | 78 for slash in '' /; do 80 local dev=$G_dev_/loop$slash$i
|