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

12345678

/netbsd-current/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-current/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-current/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-current/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
H A Dprogname.c40 const char *slash; local
43 slash = strrchr (argv0, '/');
44 base = (slash != NULL ? slash + 1 : argv0);
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dprogname.c40 const char *slash; local
43 slash = strrchr (argv0, '/');
44 base = (slash != NULL ? slash + 1 : argv0);
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dprogname.c40 const char *slash; local
43 slash = strrchr (argv0, '/');
44 base = (slash != NULL ? slash + 1 : argv0);
/netbsd-current/external/ibm-public/postfix/dist/src/global/
H A Dmail_task.c61 const char *slash; local
69 if ((slash = strrchr(argv0, '/')) != 0 && slash[1])
70 argv0 = slash + 1;
H A Dremove.c57 char *slash; local
65 vstring_sprintf(dest, "saved/%s", ((slash = strrchr(path, '/')) != 0) ?
66 slash + 1 : path);
/netbsd-current/external/bsd/ipf/dist/lib/
H A Dalist_new.c18 char *slash; local
48 slash = strchr(host, '/');
49 if (slash != NULL) {
50 *slash = '\0';
51 bits = atoi(slash + 1);
83 if (slash != NULL)
84 *slash = '/';
89 if (slash != NULL)
90 *slash = '/';
/netbsd-current/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-current/external/lgpl3/gmp/dist/mpq/
H A Dset_str.c43 const char *slash; local
48 slash = strchr (str, '/');
49 if (slash == NULL)
57 numlen = slash - str;
67 return mpz_set_str (mpq_denref(q), slash+1, base);
/netbsd-current/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-current/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-current/external/bsd/pkg_install/dist/lib/
H A Dstr.c64 const char *slash; local
66 return ((slash = strrchr(str, '/')) == NULL) ? str : slash + 1;
/netbsd-current/external/lgpl3/gmp/dist/printf/
H A Ddoprnti.c52 const char *slash, *showbase; local
68 slash = strchr (s, '/');
83 if (slash == NULL
84 || (p->showbase == DOPRNT_SHOWBASE_NONZERO && slash[1] == '0'))
117 ASSERT (slash != NULL);
118 slashlen = slash+1 - s;
119 DOPRNT_MEMORY (s, slashlen); /* numerator and slash */
/netbsd-current/external/gpl2/gettext/dist/djgpp/
H A Dgetpwnam.c17 static char slash [] = "/"; variable
31 rv.pw_dir = slash;
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dchdir-long.c97 /* Return a pointer to the first non-slash in S. */
151 /* Find next slash.
152 We already know that dir[2] is neither a slash nor '\0'. */
153 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); local
154 if (slash == NULL)
159 *slash = '\0';
161 *slash = '/';
164 dir = find_non_slash (slash + 1);
179 /* Find a slash that is PATH_MAX or fewer bytes away from dir.
180 I.e. see if there is a slash tha
182 char *slash = memrchr (dir, '/', PATH_MAX); local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Dchdir-long.c86 /* Return a pointer to the first non-slash in S. */
140 /* Find next slash.
141 We already know that dir[2] is neither a slash nor '\0'. */
142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); local
143 if (slash == NULL)
148 *slash = '\0';
150 *slash = '/';
153 dir = find_non_slash (slash + 1);
168 /* Find a slash that is PATH_MAX or fewer bytes away from dir.
169 I.e. see if there is a slash tha
171 char *slash = memrchr (dir, '/', PATH_MAX); local
[all...]
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Dchdir-long.c86 /* Return a pointer to the first non-slash in S. */
140 /* Find next slash.
141 We already know that dir[2] is neither a slash nor '\0'. */
142 char *slash = memchr (dir + 3, '/', dir_end - (dir + 3)); local
143 if (slash == NULL)
148 *slash = '\0';
150 *slash = '/';
153 dir = find_non_slash (slash + 1);
168 /* Find a slash that is PATH_MAX or fewer bytes away from dir.
169 I.e. see if there is a slash tha
171 char *slash = memrchr (dir, '/', PATH_MAX); local
[all...]
/netbsd-current/lib/librefuse/
H A Drefuse_lowlevel.c101 const char *slash; local
109 if ((slash = strrchr(arg0, '/')) == NULL) {
110 slash = arg0;
112 slash += 1;
115 if (asprintf(&arg, "-ofsname=refuse:%s", slash) == -1)
/netbsd-current/crypto/external/bsd/openssl.old/dist/Configurations/
H A Dwindows-checker.pm14 slash directory separators). Please use an implementation that matches your
/netbsd-current/crypto/external/bsd/openssl/dist/Configurations/
H A Dwindows-checker.pm14 slash directory separators). Please use an implementation that matches your
/netbsd-current/external/ibm-public/postfix/dist/src/postkick/
H A Dpostkick.c129 char *slash; local
158 if ((slash = strrchr(argv[0], '/')) != 0 && slash[1])
159 argv[0] = slash + 1;
/netbsd-current/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-current/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);

Completed in 403 milliseconds

12345678