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

12345

/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/include/
H A Dlast-path-component.h19 * If NAME ends in a slash, return the empty string.
26 char const *slash = strrchr(name, '/'); local
28 return (slash) ? slash + 1 : name;
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/misc/
H A Dlast-path-component.h19 * If NAME ends in a slash, return the empty string.
26 char const *slash = strrchr(name, '/'); local
28 return (slash) ? slash + 1 : name;
/netbsd-6-1-5-RELEASE/usr.bin/patch/
H A Dmkpath.c56 char *slash; local
59 slash = path;
62 slash += strspn(slash, "/");
63 slash += strcspn(slash, "/");
65 done = (*slash == '\0');
66 *slash = '\0';
79 *slash = '/';
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/
H A Dprogname.c43 const char *slash; local
46 slash = strrchr (argv0, '/');
47 base = (slash != NULL ? slash + 1 : argv0);
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/
H A Dmail_task.c54 const char *slash; local
59 if ((slash = strrchr(argv0, '/')) != 0 && slash[1])
60 argv0 = slash + 1;
H A Dremove.c56 char *slash; local
64 vstring_sprintf(dest, "saved/%s", ((slash = strrchr(path, '/')) != 0) ?
65 slash + 1 : path);
/netbsd-6-1-5-RELEASE/dist/ipf/lib/
H A Dalist_new.c17 char *slash; local
28 slash = strchr(host, '/');
29 if (slash != NULL) {
30 *slash = '\0';
31 bits = atoi(slash + 1);
58 if (slash != NULL)
59 *slash = '/';
65 if (slash != NULL)
66 *slash = '/';
/netbsd-6-1-5-RELEASE/bin/mkdir/
H A Dmkdir.c110 char *slash; local
114 slash = strrchr(*argv, '\0');
115 while (--slash > *argv && *slash == '/')
116 *slash = '\0';
155 char *slash; local
159 slash = path;
162 slash += strspn(slash, "/");
163 slash
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpq/
H A Dset_str.c33 const char *slash; local
38 slash = strchr (str, '/');
39 if (slash == NULL)
47 numlen = slash - str;
57 return mpz_set_str (mpq_denref(q), slash+1, base);
/netbsd-6-1-5-RELEASE/external/cddl/osnet/lib/libzfs/
H A Dmkdirp.c57 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) {
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/src/lib/
H A Dnetmask.c82 int slash; local
94 /* find out if slash notation has been used */
98 slash = 32;
101 slash = atoi(cp + 1);
104 /* if we have a wildcard "slash" netmask, then we allow it */
105 if (slash == 0) {
133 printf("addr %s %08x, mask %s %08x, slash %d\n", addr, (ISCSI_HTONL(a.s_addr) >> (32 - slash)), maskaddr, (ISCSI_HTONL(m.s_addr) >> (32 - slash)), slash);
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/pkg_install/dist/lib/
H A Dstr.c64 const char *slash; local
66 return ((slash = strrchr(str, '/')) == NULL) ? str : slash + 1;
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/printf/
H A Ddoprnti.c49 const char *slash, *showbase; local
65 slash = strchr (s, '/');
80 if (slash == NULL
81 || (p->showbase == DOPRNT_SHOWBASE_NONZERO && slash[1] == '0'))
114 ASSERT (slash != NULL);
115 slashlen = slash+1 - s;
116 DOPRNT_MEMORY (s, slashlen); /* numerator and slash */
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/djgpp/
H A Dgetpwnam.c17 static char slash [] = "/"; variable
31 rv.pw_dir = slash;
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dchdir-long.c94 /* Return a pointer to the first non-slash in S. */
148 /* Find next slash.
149 We already know that dir[2] is neither a slash nor '\0'. */
150 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); local
151 if (slash == NULL)
156 *slash = '\0';
158 *slash = '/';
161 dir = find_non_slash (slash + 1);
176 /* Find a slash that is PATH_MAX or fewer bytes away from dir.
177 I.e. see if there is a slash tha
179 char *slash = memrchr (dir, '/', PATH_MAX); local
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/postkick/
H A Dpostkick.c118 char *slash; local
146 if ((slash = strrchr(argv[0], '/')) != 0 && slash[1])
147 argv[0] = slash + 1;
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/postlog/
H A Dpostlog.c174 char *slash; local
204 if ((slash = strrchr(argv[0], '/')) != 0 && slash[1])
205 tag = mail_task(slash + 1);
245 if ((slash = strrchr(argv[0], '/')) != 0 && slash[1])
246 tag = mail_task(slash + 1);
/netbsd-6-1-5-RELEASE/lib/libform/
H A Dtype_ipv4.c63 char *buf, *buf1, *keeper, *p, *slash; local
82 if ((slash = index(buf, '/')) != NULL)
94 *slash = '\0';
95 slash++;
96 mask = atoi(slash);
/netbsd-6-1-5-RELEASE/usr.bin/skey/
H A Dskey.c45 char buf[33], *seed, *slash, *t; local
82 slash = strchr(argv[optind], '/');
83 if (slash == NULL)
85 *slash++ = '\0';
86 seed = slash;
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/rx/
H A Dtrace.c145 const char *found_filename, *slash; local
152 slash = strchr (found_filename, '/');
153 if (!slash)
155 found_filename = slash + 1;
272 const char * slash = strrchr (filename, '/'); local
274 if (!slash)
275 slash = filename;
277 slash++;
282 slash, lineno, the_line);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/m32c/
H A Dtrace.c131 const char *found_filename, *slash; local
138 slash = strchr (found_filename, '/');
139 if (!slash)
141 found_filename = slash + 1;
250 const char *slash = strrchr (filename, '/'); local
251 if (!slash)
252 slash = filename;
254 slash++;
259 slash, lineno, the_line);
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/testsuite/gas/elf/
H A Dfile.d9 0+ l[ ]*df \*ABS\*[ ]+0+ slash/data
/netbsd-6-1-5-RELEASE/external/bsd/pkg_install/dist/create/
H A Dpl.c51 char *slash; local
59 for (slashc = 0, slash = &name[prefixcc + 1]; (slash = strchr(slash, '/')) != (char *) NULL; slash++, slashc++) {
/netbsd-6-1-5-RELEASE/share/examples/refuse/icfs/
H A Dicfs.c326 char *slash; local
330 if ((slash = strrchr(path, '/')) == NULL) {
333 if ((ep = virtdir_find_tgt(&tree, path, (int)(slash - path) - 1)) == NULL) {
336 (void) snprintf(name, sizeof(name), "%s/%s%s", virtdir_rootdir(&tree), ep->name, slash);
350 char *slash; local
353 if ((slash = strrchr(path, '/')) == NULL) {
356 if ((ep = virtdir_find_tgt(&tree, path, (int)(slash - path) - 1)) == NULL) {
359 (void) snprintf(name, sizeof(name), "%s/%s/%s", virtdir_rootdir(&tree), ep->name, slash + 1);
372 char *slash; local
375 if ((slash
394 char *slash; local
416 char *slash; local
[all...]
/netbsd-6-1-5-RELEASE/share/examples/refuse/id3fs/
H A Did3fs.c160 char *slash; local
188 if ((slash = strrchr(key, '/')) == NULL) {
189 slash = key;
191 slash += 1;
193 (void) snprintf(name, sizeof(name), "%s/%s/%s", d, val, slash);

Completed in 265 milliseconds

12345