/osnet-11/usr/src/lib/libparted/common/lib/ |
H A D | progname.c | 46 const char *slash; local 59 slash = strrchr (argv0, '/'); 60 base = (slash != NULL ? slash + 1 : argv0);
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | progname.c | 46 const char *slash; local 59 slash = strrchr (argv0, '/'); 60 base = (slash != NULL ? slash + 1 : argv0);
|
/osnet-11/usr/src/lib/libgen/common/ |
H A D | rmdirp.c | 58 char *slash; local 60 slash = strrchr(d, '/'); 68 if (slash == NULL) { 77 } else { /* If there's a slash before it */ 80 if (slash != d) { 81 if (++slash == strrchr(d, '\0')) { 82 *(--slash) = '\0'; 83 slash = strrchr(d, '/'); 86 slash--; 92 if (dotdot(++slash)) { [all...] |
H A D | mkdirp.c | 54 char *endptr, *ptr, *slash, *str; local 74 slash = strrchr(str, '/'); 78 while (slash != NULL) { 80 ptr = slash; 91 slash = strrchr(str, '/'); 95 if (slash == NULL || slash == str) {
|
/osnet-11/usr/src/lib/libshadowfs/common/ |
H A D | shadow_subr.c | 39 const char *slash; local 50 if ((slash = strrchr(file, '/')) != NULL) 51 file = slash + 1;
|
H A D | shadow_migrate.c | 220 char *buf, *newbuf, *slash; local 346 slash = buf + mountlen - 1; 347 while ((slash = strchr(slash + 1, '/')) != NULL)
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_string.c | 101 static char slash[] = "/"; local 112 return (slash);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | errors.c | 76 char *str = NULL, *str2, *slash; local 94 slash = strrchr(file, '/'); 95 if (slash) 96 file = slash + 1;
|
/osnet-11/usr/src/cmd/sendmail/db/db/ |
H A D | db_appinit.c | 303 /* If leading slash, start over. */ \ 306 slash = 0; \ 310 if (slash) \ 314 slash = strchr(PATH_SEPARATOR, p[-1]) == NULL; \ 338 int data_entry, ret, slash, tmp_create, tmp_free; local 486 slash = 0;
|
/osnet-11/usr/src/lib/libwrap/ |
H A D | hosts_access.c | 294 char *slash; local 321 if (slash = strchr(tok, '/')) { 322 *slash = '\0'; 323 mask = atoi(slash+1);
|
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_shadow.c | 78 const char *errmsg, *slash; local 151 * For NFS mounts, we need to convert the first slash into a 160 if ((slash = strchr(shadow, '/')) == NULL) { 169 len = slash - shadow;
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | proc_arg.c | 136 char *slash; local 143 if (lwps != NULL && (slash = strrchr(arg, '/')) != NULL) { 148 *slash = '\0'; 154 *lwps = slash + 1; 155 *slash = '/'; 176 *lwps = slash + 1; 177 *slash = '/'; 196 *slash = '/';
|
/osnet-11/usr/src/grub/grub2/grub-core/net/ |
H A D | bootp.c | 327 char *slash; local 328 slash = grub_strrchr (*path, '/'); 329 if (slash) 330 *slash = 0;
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | chkauthattr.c | 318 char *slash; local 330 if ((slash = strchr(pattern, KV_OBJECTCHAR)) != NULL) { 331 pattern_noun = slash + 1; 332 pattern_len -= strlen(slash); 369 char *slash; local 374 if ((slash = strchr(authname, KV_OBJECTCHAR)) != NULL) { 375 authname_noun = slash + 1; 376 noun_len = strlen(slash);
|
H A D | ttyname.c | 762 char *slash; local 763 slash = vec->name + strlen(vec->name) - 1; 764 while (*slash == '/') 765 *slash-- = '\0';
|
/osnet-11/usr/src/lib/nsswitch/ad/common/ |
H A D | getpwnam.c | 120 int i, slash = 0; local 146 if (slash) 147 slash = 0; 149 slash = 1; 154 slash = 0;
|
/osnet-11/usr/src/lib/libnsl/ipsec/ |
H A D | algs.c | 74 static const char *slash = "/"; variable 101 token = strtok_r(input_string, slash, &lasts);
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/ |
H A D | legacy_parse.c | 1078 char *slash = grub_strchr (corig, '/'); local 1083 if (!slash) 1092 grub_memcpy (invert, slash + 1, len - (slash - corig) - 1); 1093 invert[len - (slash - args[0]) - 1] = '/'; 1094 grub_memcpy (invert + len - (slash - corig), corig, slash - corig);
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | path.c | 975 int slash=0; local 980 slash=1; 993 if(pp || slash) do
|
/osnet-11/usr/src/lib/libiov/sparc/ |
H A D | libiov_hp.c | 456 char *slash = NULL, *port = NULL; local 480 /* search for slash from tail */ 481 slash = strrchr(subpath, '/'); 482 if (!slash) { 486 *slash = '\0'; 492 if (slash == subpath) { 493 i_iov_path_to_connection(slash + 1, connection, 497 i_iov_path_to_connection(slash + 1, connection, 501 i_iov_dprintf("path-end %s connection %s\n", slash + 1, 542 if (slash [all...] |
/osnet-11/usr/src/grub/grub2/util/ |
H A D | getroot.c | 204 the entire string, or end with a slash, or be immediately followed 205 by a slash. */ 1592 char *slash; local 1639 slash = strchr (*poolname, '/'); 1640 if (slash) 1642 *slash = '\0'; 1643 *poolfs = xstrdup (slash + 1); 1650 can be appended a slash unconditionally). */ 1703 prints trailing slashes (so that its output can be appended a slash 1704 unconditionally). Each slash i [all...] |
/osnet-11/usr/src/lib/libkmf/libkmf/common/ |
H A D | generalop.c | 1767 char *slash, *inst = NULL; local 1798 slash = strchr(name, '/'); 1799 if (slash != NULL) { 1801 name = slash + 1; 1802 *slash = 0; 1916 *slash = '/';
|
/osnet-11/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 1845 char *slash, *colon, *dev_addr; local 1865 slash = strrchr(driver_path, '/'); 1866 if (slash == NULL) 1868 colon = strrchr(slash, ':'); 1896 if ((dev_addr = strrchr(slash, '@')) != NULL) 1898 slash++; 1901 (void) strcpy(opp->oprom_array, slash);
|
H A D | devfsmap.c | 1261 char *slash, *addr, *retp; local 1269 if ((slash = strrchr(phci_name_buf, '/')) == NULL || 1270 (addr = strchr(slash, '@')) == NULL) 1273 *slash = '\0';
|
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | btrfs.c | 1154 const char *slash = path; local 1186 slash = grub_strchr (path, '/'); 1187 if (!slash) 1188 slash = path + grub_strlen (path); 1190 ctokenlen = slash - path; 1271 path = slash; 1372 if (*slash && *type == GRUB_BTRFS_DIR_ITEM_TYPE_REGULAR)
|