Searched refs:slash (Results 1 - 25 of 71) sorted by last modified time

123

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c417 char *strval, *slash, *check, *fname; local
567 slash = strrchr(strval, '/');
568 ASSERT(slash != NULL);
570 if (slash[1] == '\0' || strcmp(slash, "/.") == 0 ||
571 strcmp(slash, "/..") == 0)
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1779 char *slash; local
1780 if ((slash = strrchr(path, '/')) != NULL) {
1781 strcpy(desc, slash + 1);
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c13561 /* Will prepend the property group name and a slash. */
14036 char *slash, *pn; local
14059 slash = strchr(pgn, '/');
14060 if (slash == NULL) {
14063 *slash = '\0';
14064 pn = slash + 1;
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c118 "leading slash in name"));
128 "trailing slash in name"));
3067 char *slash; local
3083 if ((slash = strchr(parent, '/')) == NULL)
3084 slash = parent + strlen(parent);
3085 (void) strncpy(zc.zc_name, parent, slash - parent);
3086 zc.zc_name[slash - parent] = '\0';
3308 /* truncate pool_path at first slash */
H A Dlibzfs_pool.c431 char *slash, *check; local
587 slash = strrchr(strval, '/');
589 if (slash[1] == '\0' || strcmp(slash, "/.") == 0 ||
590 strcmp(slash, "/..") == 0) {
597 *slash = '\0';
609 *slash = '/';
936 "leading slash in name"));
946 "trailing slash in name"));
1902 * If it starts with a slash, chec
[all...]
H A Dlibzfs_sendrecv.c2260 const char *slash; local
2264 (slash = strrchr(zhp->zfs_name, '/')) != NULL &&
2265 strcmp(slash + 1, gtnd->skip) == 0) {
3327 * contained no slash character).
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c931 * NOTE: A single "/" is also considered a trailing slash and will
4470 * We put a trailing slash to be consistent with root = "/"
6136 char *slash; local
6150 slash = strchr(buf, '/');
6151 if (slash)
6152 *slash = '\0';
8721 char *slash; local
8765 slash = strchr(ospecial, '/');
8766 if (slash)
8767 *slash
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c4378 {"slash", "question", '/', '?', 0x35},
4553 " less, period, greater, slash, question, alt, space, capslock, FX (X"
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c4361 char *slash; local
4375 if ((slash = strchr(path_re, '/')) != NULL) {
4376 len = (slash - path_re);
4400 if (slash != NULL) {
4401 recurse_dev_re(new_path, slash + 1, rd);
5512 char *slash; local
5527 if (slash = strchr(path_left, '/')) {
5528 *slash = '\0';
5541 slash ? 0 : rules[index].subexp)) {
5550 if (slash !
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_fmri.c770 const char *colon, *slash; local
773 slash = strchr(auth, '/');
775 if (colon == NULL && slash == NULL)
779 return (slash);
780 else if (slash < colon)
781 return (slash);
/illumos-gate/usr/src/cmd/man/
H A Dman.c949 char *slash; local
951 if ((slash = strrchr(name, '/')) != NULL)
952 name = slash + 1;
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dlocaleimpl.c286 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/smbsrv/libmlsvc/common/
H A Dlsalib.c82 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/uts/common/cpr/
H A Dcpr_misc.c263 char *slash, *tail, *longest; local
347 while ((slash = strchr(tail, '/')) != NULL) {
348 *slash = '\0'; /* temporarily terminate the string */
351 *slash = '/';
379 longest = slash;
388 *slash = '/';
389 tail = slash + 1;
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_pathname.c265 * If a path does not have a trailing slash, strip off the
791 char *p, *slash; local
808 slash = (pn->pn_path[0] == '\\') ? "\\" : "";
811 (void) snprintf(pn->pn_path, len, "%s%s%s", slash, new_name, p);
/illumos-gate/usr/src/cmd/make/bin/
H A Dar.cc186 wchar_t *slash; local
202 if((slash = (wchar_t *) wcsrchr(wcb, (int) slash_char)) != NULL) {
208 append_string(slash + 1, &true_member_name, FIND_LENGTH);
H A Dread.cc817 /* if name does not begin with a slash char */
830 wchar_t *slash = wcsrchr(include_name.buffer.start, (int) slash_char); local
831 if (slash != NULL) {
832 include_name.text.p = slash + 1;
H A Dread2.cc421 name_string++; /* skip slash */
584 char *slash; local
696 slash = strrchr(target->string_mb, (int) slash_char);
697 if (slash == NULL) {
703 *slash = 0;
708 slash + 1);
709 *slash = (int) slash_char;
/illumos-gate/usr/src/tools/cscope-fast/
H A Ddisplay.c634 char *s, *slash; local
642 while ((slash = strchr(s, '/')) != NULL) {
643 *slash = '\0';
644 if ((int)strlen(s) >= 3 && strncmp(slash - 3, ".ss", 3) == 0) {
646 s = slash + 1;
647 if ((slash = strchr(s, '/')) != NULL) {
649 *slash = '\0';
653 s = slash + 1;
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c1724 char *slash, *inst = NULL; local
1755 slash = strchr(name, '/');
1756 if (slash != NULL) {
1758 name = slash + 1;
1759 *slash = 0;
1873 *slash = '/';
/illumos-gate/usr/src/tools/findunref/
H A Dfindunref.c284 char *slash; local
314 slash = strrchr(basepath, '/');
315 if (slash == NULL) {
323 *slash = '\0';
338 * a single trailing slash, so only add it if it's missing.
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Difconfig.c192 static int in_getprefixlen(char *addr, boolean_t slash, int plen);
4112 * If "slash" is zero this parses the whole string as
4113 * an integer. With "slash" non zero it parses the tail part as an integer.
4119 in_getprefixlen(char *addr, boolean_t slash, int max_plen) argument
4124 if (slash) {
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dfile.c986 * Enter long name into reserved spot, terminated with a slash
1621 char *slash, *tmpname; local
1629 slash = strrchr(filename, '/');
1630 if (slash != NULL)
1631 prefix_cnt = slash - filename + 1;
/illumos-gate/usr/src/uts/sparc/os/
H A Dcpr_sparc.c359 char *position = in_path + 1; /* Skip the leading slash. */
429 char *slash; local
435 if ((slash = strchr(*path, '/'))) {
436 len = slash - *path;
439 *path += len + 1; /* Position beyond the slash. */
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_secinfo.c535 char *slash; local
543 if ((slash = (char *)strchr(inpath, '/')) == NULL) {
548 inpath = slash + 1;
563 char *path = inpath, *comp_start, *slash = NULL; local
579 if ((slash = strchr(path, '/')) == NULL)
582 path = slash + 1;
586 if (slash)
587 *slash = '\0';

Completed in 921 milliseconds

123