Home
last modified time | relevance | path

Searched refs:savestr (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/cmd/csh/
H A Dsh.dir.c71 dp->di_name = savestr(cp); in dinit()
145 cp = savestr(cp); in dochngd()
218 cp = savestr(buf); in dfollow()
262 cp = savestr(fullpath); in dfollow()
285 cp = savestr(buf); in dfollow()
301 cp = savestr(dp); in dfollow()
335 dcwd->di_name = savestr(p); in dfollow()
337 cp = savestr(p); in dfollow()
744 set(S_cwd, savestr(dcwd->di_name)); in dnewcwd()
H A Dsh.lex.c173 wdp->word = savestr(fp->word); in copylex()
317 return (savestr(wbuf)); in word()
778 return (savestr(cp)); in subword()
821 return (savestr(wbuf)); in subword()
823 return (savestr(cp)); in subword()
840 wp = savestr(cp); in domod()
849 return (type == 't' ? savestr(cp) : 0); in domod()
854 xp = savestr(cp), xp[wp - cp] = 0; in domod()
856 xp = savestr(wp + 1); in domod()
865 xp = savestr(wp + 1); in domod()
[all …]
H A Dsh.set.c103 retp = savestr(p); in doset()
108 set(vp, savestr(p)); in doset()
206 vp = savestr(vp); in dolet()
273 dp = savestr(cp); in xset()
335 return (savestr(number));
436 vec[0] = onlyread(val) ? savestr(val) : val; in set()
492 c->v_name = savestr(name); in setq()
H A Dsh.c207 set(S_home /* "home" */, savestr(cp)); in main()
208 local_setenv(S_HOME, savestr(cp)); in main()
210 set(S_home /* "home" */, savestr(cp)); in main()
217 set(S_user /* "user" */, savestr(cp)); in main()
233 set(S_term /* "term" */, savestr(cp)); in main()
602 pv[i++] = savestr(*cp ? cp : dot); in importpath()
H A Dsh.parse.c597 t->t_drit = savestr(p->word); in syn3()
615 t->t_dlef = savestr(p->word); in syn3()
625 av[n] = savestr(p->word); in syn3()
H A Dsh.misc.c45 savestr(tchar *s) in savestr() function
155 *newv++ = savestr(*v++); in saveblk()
H A Dsh.glob.c686 cp = savestr(gv[0]); in globone()
737 ep = savestr(lp); in dobackp()
903 pargv[pargc++] = savestr(pargs); in pword()
H A Dsh.exp.c585 return (ignore&NOGLOB ? savestr(cp) : globone(cp)); in exp6()
609 wdp->word = savestr(*v++); in evalav()
H A Dsh.func.c190 gointr = savestr(vv); in doonintr()
539 nwp->w_fename = savestr(cp); in doforeach()
664 set(whyles->w_fename, savestr(*whyles->w_fe++)); in doagain()
H A Dsh.h474 extern tchar *savestr(tchar *);
H A Dsh.dol.c115 cp = savestr(gargv[0]); in Dfix1()
H A Dsh.proc.c438 pp->p_command = savestr(command); in palloc()
/illumos-gate/usr/src/cmd/xstr/
H A Dxstr.c33 char *savestr(char *);
94 strings = savestr("/tmp/xstrXXXXXX"); in main()
328 hp->hstr = savestr(str); in hashit()
438 savestr(char *cp) in savestr() function
/illumos-gate/usr/src/cmd/mailx/
H A Dutil.c59 savestr(char *str) in savestr() function
552 nbufp == nbuf ? savestr(nbuf) : nbufp); in phrase()
605 return(savestr(namebuf)); in nameof()
655 return(savestr(cp)); in nameof()
680 return savestr(ripoff(buf)); in splice()
H A Doptim.c139 return(unuucp((char *) savestr(cp))); in netmap()
219 return savestr(result); in unuucp()
334 return(savestr(newname)); in arpafix()
356 return(savestr(rbuf)); in makeremote()
438 xp->xh_name = savestr(name); in mstash()
875 return(savestr(netbuf)); in revarpa()
H A Dfio.c747 name = savestr(name); in expand()
752 cp = safeexpand(savestr(xname)); in expand()
771 return (savestr(wrdexp_buf.we_wordv[0])); in expand()
786 return (t) ? t : savestr(name); in safeexpand()
H A Dlist.c267 *np++ = savestr(lexstring); in markall()
486 *ap++ = savestr(linebuf); in getrawlist()
629 stringstack[regretp] = savestr(lexstring); in regret()
H A Dtty.c298 return(savestr(canonb)); in readtty()
626 return(strlen(canonb) > 0 ? savestr(canonb) : NOSTR); in readtty()
655 return(savestr(canonb)); in readtty()
H A Dnames.c76 np->n_full = savestr(str); in nalloc()
129 np->n_name = savestr(abuf); in extract()
642 *ap++ = savestr(hbuf); in unpack()
H A Dcmd3.c819 cp = savestr(mailname); in getfilename()
826 cp = savestr(mailname); in getfilename()
838 cp = savestr(prevfile); in getfilename()
H A Dcollect.c462 hp->h_subject = savestr(cp); in collect()
1276 hf = savestr(""); in addone()
/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c82 static char *savestr(char *);
244 dp->sd_name = savestr(cat(name, fp->fname)); in formatd()
295 fp->fname = savestr(dp->d_name); in getdir()
395 fp->flinkto = savestr(buf); in gstat()
600 savestr(char *str) in savestr() function
/illumos-gate/usr/src/cmd/vi/misc/
H A Dctags.c176 static char *savestr(char *);
343 curfile = savestr(file); in find_entries()
432 np->entry = savestr(name); in pfnote()
442 np->pat = savestr(lbuf); in pfnote()
1190 savestr(char *cp) function
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Ddef.h570 extern char *savestr(char *str);