/illumos-gate/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) {
|
/illumos-gate/usr/src/cmd/eeprom/sparc/ |
H A D | loadlogo.c | 57 char slash; local 83 c = fscanf(f, "%c", &slash); 84 if (slash == '/') 87 (void) ungetc(slash, f);
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | partial.c | 159 char *slash; local 171 if (slash = strrchr(dotdot, '/')) 173 if (slash == dotdot) 174 slash[1] = 0; 177 slash[0] = 0;
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-support.c | 97 *slash; /* Separator */ local 132 * If the method contains a period or slash, then it's probably 188 if ((slash = strchr(uri, '/')) == NULL) 189 slash = uri + strlen(uri); 191 if ((atsign = strchr(uri, '@')) != NULL && atsign < slash)
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_string.c | 84 static char slash[] = "/"; local 95 return (slash);
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_string.c | 71 static char slash[] = "/"; local 82 return (slash);
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | expand.c | 67 BOOL slash; local 80 slash = 0; 92 if (rcnt && slash) 98 slash++; 112 if (rcnt > slash) 156 slashsav = cs++; /* remember where first slash in as is */ 194 slash + 1); 225 * Restore first slash before the first metacharacter
|
/illumos-gate/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);
|
/illumos-gate/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;
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mkbusy/ |
H A D | mkbusy.c | 99 char *slash; local 103 * remove the trailing slash if presnt. 115 if ((slash = strrchr(arg, '/')) == NULL) { 119 *slash = '\0'; 121 fname = strdup(slash + 1);
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | glob.c | 225 char *slash; local 241 if ((slash = strchr(sp, '/')) != NULL) { 242 *slash++ = '\0'; 244 while (*slash == '/') 245 slash++; 286 if (slash && 307 if (slash) 317 sp = slash; 318 } while (slash);
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | lsalib.c | 82 char *slash; local 89 if ((slash = strchr(account, '\\')) != NULL) { 90 *slash = '\0'; 92 (void) strlcpy(nambuf, slash + 1, sizeof (nambuf)); 93 *slash = '\\';
|
/illumos-gate/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 = '/';
|
/illumos-gate/usr/src/cmd/zinject/ |
H A D | translate.c | 336 char *slash; local 416 if ((slash = strchr(poolname, '/')) != NULL) 417 *slash = '\0';
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.dir.c | 172 int slash; /* slashes in the argument */ local 174 tchar *slashcp; /* cp string prepended with a slash */ 184 * If the directory argument has a slash in it, 188 slash = any('/', cp); 193 * has a slash in it. 199 && (!havhash2 || slash)) { 224 && havhash2 && !slash) { 242 * Only look at those path beginning with a slash 503 bool slash, dotdot, hardpaths; local 525 sp = p; /* save slash addres [all...] |
H A D | sh.exec.c | 56 bool slash; local 78 slash = gflag; 98 slash |= any('/', av[0]); 118 if (v == 0 || v->vec[0] == 0 || slash) 134 if (!slash && pv[0][0] == '/' && havhash) {
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | expand.c | 219 char *slash, *pgn, *pn; local 231 slash = strchr(spec, '/'); 232 if (slash == NULL) { 236 *slash = '\0'; 238 pn = slash + 1;
|
/illumos-gate/usr/src/cmd/tcpd/ |
H A D | tcpdchk.c | 429 char *slash = strchr(pat, '/'); local 433 if (slash != NULL) { 434 *slash = '\0'; 435 mask = atoi(slash + 1); 444 if (slash) *slash = '/';
|
/illumos-gate/usr/src/ucbcmd/install.d/ |
H A D | install.c | 335 char *slash; local 343 slash = strrchr(dir, '/'); 344 if (slash == NULL) 346 *slash = '\0'; 348 *slash = '/';
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | localeimpl.c | 286 char *slash; local 298 if ((slash = strchr(locname, '/')) != NULL) { 299 for (cnt = category; cnt && slash != NULL; cnt--) { 300 locname = slash + 1; 301 slash = strchr(locname, '/'); 303 if (slash) { 304 len = slash - locname + 1;
|
/illumos-gate/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;
|
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | chkauthattr.c | 299 char *slash; local 311 if ((slash = strchr(pattern, KV_OBJECTCHAR)) != NULL) { 312 pattern_noun = slash + 1; 313 pattern_len -= strlen(slash); 354 char *slash; local 359 if ((slash = strchr(authname, KV_OBJECTCHAR)) != NULL) { 360 authname_noun = slash + 1; 361 noun_len = strlen(slash);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_string.c | 616 static char slash[] = "/"; local 627 return (slash);
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | automount.c | 540 char *slash; local 546 slash = strrchr(dir, '/'); 547 if (slash == NULL) 549 *slash = '\0'; 551 *slash++ = '/'; 552 if (err || !*slash)
|