| /src/external/gpl2/lvm2/dist/include/ |
| 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;
|
| /src/external/gpl2/lvm2/dist/lib/misc/ |
| 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;
|
| /src/usr.bin/patch/ |
| 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 = '/';
|
| /src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/ |
| progname.c | 40 const char *slash; local 43 slash = strrchr (argv0, '/'); 44 base = (slash != NULL ? slash + 1 : argv0);
|
| /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
| progname.c | 40 const char *slash; local 43 slash = strrchr (argv0, '/'); 44 base = (slash != NULL ? slash + 1 : argv0);
|
| /src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
| progname.c | 40 const char *slash; local 43 slash = strrchr (argv0, '/'); 44 base = (slash != NULL ? slash + 1 : argv0);
|
| /src/external/ibm-public/postfix/dist/src/global/ |
| mail_task.c | 61 const char *slash; local 69 if ((slash = strrchr(argv0, '/')) != 0 && slash[1]) 70 argv0 = slash + 1;
|
| remove.c | 57 char *slash; local 65 vstring_sprintf(dest, "saved/%s", ((slash = strrchr(path, '/')) != 0) ? 66 slash + 1 : path);
|
| /src/external/bsd/ipf/dist/lib/ |
| alist_new.c | 18 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 = '/';
|
| /src/bin/mkdir/ |
| 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 += strcspn(slash, "/") [all...] |
| /src/external/lgpl3/gmp/dist/mpq/ |
| set_str.c | 43 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);
|
| /src/external/cddl/osnet/lib/libzfs/ |
| 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) {
|
| /src/external/bsd/iscsi/dist/src/lib/ |
| 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...] |
| /src/external/bsd/pkg_install/dist/lib/ |
| str.c | 64 const char *slash; local 66 return ((slash = strrchr(str, '/')) == NULL) ? str : slash + 1;
|
| /src/external/lgpl3/gmp/dist/printf/ |
| doprnti.c | 52 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 */
|
| /src/external/gpl2/gettext/dist/djgpp/ |
| getpwnam.c | 17 static char slash [] = "/"; variable 31 rv.pw_dir = slash;
|
| /src/external/gpl2/xcvs/dist/lib/ |
| chdir-long.c | 97 /* 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 that will give us a name o 182 char *slash = memrchr (dir, '\/', PATH_MAX); local [all...] |
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| chdir-long.c | 86 /* 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 that will give us a name o 171 char *slash = memrchr (dir, '\/', PATH_MAX); local [all...] |
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| chdir-long.c | 86 /* 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 that will give us a name o 171 char *slash = memrchr (dir, '\/', PATH_MAX); local [all...] |
| /src/lib/librefuse/ |
| refuse_lowlevel.c | 101 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)
|
| /src/external/ibm-public/postfix/dist/src/postkick/ |
| postkick.c | 129 char *slash; local 158 if ((slash = strrchr(argv[0], '/')) != 0 && slash[1]) 159 argv[0] = slash + 1;
|
| /src/lib/libform/ |
| 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);
|
| /src/usr.bin/skey/ |
| 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;
|
| /src/external/gpl3/gdb/dist/sim/m32c/ |
| trace.c | 145 const char *found_filename, *slash; local 154 slash = strchr (found_filename, '/'); 155 if (!slash) 157 found_filename = slash + 1; 266 const char *slash = strrchr (filename, '/'); local 267 if (!slash) 268 slash = filename; 270 slash++; 275 slash, lineno, the_line);
|
| /src/external/gpl3/gdb.old/dist/sim/m32c/ |
| trace.c | 145 const char *found_filename, *slash; local 154 slash = strchr (found_filename, '/'); 155 if (!slash) 157 found_filename = slash + 1; 266 const char *slash = strrchr (filename, '/'); local 267 if (!slash) 268 slash = filename; 270 slash++; 275 slash, lineno, the_line);
|