/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/include/ |
H A D | last-path-component.h | 19 * 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 D | last-path-component.h | 19 * 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 D | mkpath.c | 56 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 D | progname.c | 43 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 D | mail_task.c | 54 const char *slash; local 59 if ((slash = strrchr(argv0, '/')) != 0 && slash[1]) 60 argv0 = slash + 1;
|
H A D | remove.c | 56 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 D | alist_new.c | 17 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 D | mkdir.c | 110 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 D | set_str.c | 33 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 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) {
|
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/src/lib/ |
H A D | netmask.c | 82 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 D | str.c | 64 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 D | doprnti.c | 49 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 D | getpwnam.c | 17 static char slash [] = "/"; variable 31 rv.pw_dir = slash;
|
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/ |
H A D | chdir-long.c | 94 /* 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 D | postkick.c | 118 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 D | postlog.c | 174 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 D | type_ipv4.c | 63 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 D | skey.c | 45 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 D | trace.c | 145 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 D | trace.c | 131 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 D | file.d | 9 0+ l[ ]*df \*ABS\*[ ]+0+ slash/data
|
/netbsd-6-1-5-RELEASE/external/bsd/pkg_install/dist/create/ |
H A D | pl.c | 51 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 D | icfs.c | 326 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 D | id3fs.c | 160 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);
|