Searched refs:slash (Results 26 - 50 of 71) sorted by relevance

123

/illumos-gate/usr/src/cmd/pg/
H A Dpg.c855 int slash = 0; local
875 if (ch == '\n' && !slash)
877 if (ch == erasechar() && !slash) {
904 if (ch == killchar() && !slash) {
915 if (slash) {
916 slash = 0;
928 slash++;
964 static int slash; local
971 slash = 0;
974 if (c == '\\' && !slash) {
[all...]
/illumos-gate/usr/src/cmd/zinject/
H A Dtranslate.c336 char *slash; local
416 if ((slash = strchr(poolname, '/')) != NULL)
417 *slash = '\0';
/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/lib/libc/port/gen/
H A Dttyname.c746 char *slash; local
747 slash = vec->name + strlen(vec->name) - 1;
748 while (*slash == '/')
749 *slash-- = '\0';
/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/svc/svcprop/
H A Dsvcprop.c715 char *slash; local
721 slash = strchr(property, '/');
722 if (slash != NULL) {
723 if (strchr(slash + 1, '/') != NULL) {
730 if (slash != NULL)
731 *slash = '\0';
737 p->spn_comp2 = (slash == NULL) ? NULL : slash + 1;
/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';
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_appinit.c303 /* 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/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/cmd/more/
H A Dmore.c1583 register int slash = 0; local
1597 slash++;
1598 } else if ((ch == otty.c_cc[VERASE]) && !slash) {
1613 } else if ((ch == otty.c_cc[VKILL]) && !slash) {
1629 if (slash && (ch == otty.c_cc[VKILL] || ch == otty.c_cc[VERASE])) {
1634 slash = 0;
/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/rmvolmgr/
H A Drmm_common.c170 /* temporarily remove trailing slash */
1354 char *slash; local
1363 if ((slash = strrchr(dir, '/')) == NULL) {
1366 *slash = '\0';
1368 *slash++ = '/';
1370 if (err || (*slash == '\0')) {
/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 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/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/cmd-inet/usr.bin/rdist/
H A Dexpand.c493 goto slash;
516 slash:
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_string.c616 static char slash[] = "/"; local
627 return (slash);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dglob.c479 goto slash;
504 slash:
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_log.c357 char *slash = "/"; local
366 slash = "";
367 len = strlen(root) + strlen(name) + strlen(slash) + 1; /* for "\0" */
369 (void) snprintf(lp->log_name, len, "%s%s%s", root, slash, name);
/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/cmd/backup/restore/
H A Dutilities.c862 char slash; local
872 slash = 0;
875 if (rflg && slash)
880 slash++;
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dsetup.c1318 caddr_t slash; local
1379 slash = strrchr(mkfs_dir, '/');
1380 if (slash != NULL) {
1384 *slash = '\0';
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsinfo.c1416 char *slash, *colon, *dev_addr; local
1436 slash = strrchr(driver_path, '/');
1437 if (slash == NULL)
1439 colon = strrchr(slash, ':');
1467 if ((dev_addr = strrchr(slash, '@')) != NULL)
1469 slash++;
1472 (void) strcpy(opp->oprom_array, slash);
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_subr.c1100 char *slash; local
1112 slash = strchr(pathname, '/');
1113 if (slash != NULL) {
1114 *slash = '\0';
1115 *lasts = slash + 1;
/illumos-gate/usr/src/cmd/fs.d/
H A Ddf.c1248 char *dataset, *slash; local
1265 slash = dataset + strlen(dataset);
1266 while (slash != NULL) {
1270 *slash = '\0';
1289 if ((slash = strrchr(dataset, '/')) == NULL) {

Completed in 152 milliseconds

123