Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/csh/
H A Dsh.dir.c66 dp->di_name = savestr(cp); in dinit()
140 cp = savestr(cp); in dochngd()
213 cp = savestr(buf); in dfollow()
257 cp = savestr(fullpath); in dfollow()
280 cp = savestr(buf); in dfollow()
296 cp = savestr(dp); in dfollow()
330 dcwd->di_name = savestr(p); in dfollow()
332 cp = savestr(p); in dfollow()
739 set(S_cwd, savestr(dcwd->di_name)); in dnewcwd()
H A Dsh.lex.c167 wdp->word = savestr(fp->word); in copylex()
311 return (savestr(wbuf)); in word()
743 subword(en->word, sc, &didsub) : savestr(en->word); in dosub()
771 return (savestr(cp)); in subword()
814 return (savestr(wbuf)); in subword()
816 return (savestr(cp)); in subword()
833 wp = savestr(cp); in domod()
842 return (type == 't' ? savestr(cp) : 0); in domod()
847 xp = savestr(cp), xp[wp - cp] = 0; in domod()
849 xp = savestr(wp + 1); in domod()
[all …]
H A Dsh.set.c106 retp = savestr(p); in doset()
111 set(vp, savestr(p)); in doset()
209 vp = savestr(vp); in dolet()
276 dp = savestr(cp); in xset()
338 return (savestr(number));
439 vec[0] = onlyread(val) ? savestr(val) : val; in set()
495 c->v_name = savestr(name); in setq()
H A Dsh.c203 set(S_home /* "home" */, savestr(cp)); in main()
204 local_setenv(S_HOME, savestr(cp)); in main()
206 set(S_home /* "home" */, savestr(cp)); in main()
213 set(S_user /* "user" */, savestr(cp)); in main()
229 set(S_term /* "term" */, savestr(cp)); in main()
598 pv[i++] = savestr(*cp ? cp : dot); in importpath()
H A Dsh.misc.c47 savestr(tchar *s) in savestr() function
157 *newv++ = savestr(*v++); in saveblk()
H A Dsh.parse.c599 t->t_drit = savestr(p->word); in syn3()
617 t->t_dlef = savestr(p->word); in syn3()
627 av[n] = savestr(p->word); in syn3()
H A Dsh.glob.c683 cp = savestr(gv[0]); in globone()
734 ep = savestr(lp); in dobackp()
900 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.c179 gointr = savestr(vv); in doonintr()
528 nwp->w_fename = savestr(cp); in doforeach()
653 set(whyles->w_fename, savestr(*whyles->w_fe++)); in doagain()
H A Dsh.h497 extern tchar *savestr(tchar *);
H A Dsh.dol.c106 cp = savestr(gargv[0]); in Dfix1()
H A Dsh.proc.c432 pp->p_command = savestr(command); in palloc()
/titanic_44/usr/src/cmd/vi/misc/
H A Dxstr.c62 char *savestr();
110 strings = savestr("/tmp/xstrXXXXXX");
327 hp->hstr = savestr(str);
435 savestr(cp) in savestr() function
H A Dctags.c179 static char *savestr(char *cp);
347 curfile = savestr(file);
458 np->entry = savestr(name);
468 np->pat = savestr(lbuf);
1220 savestr(cp) in savestr() function
/titanic_44/usr/src/cmd/xstr/
H A Dxstr.c35 char *savestr(char *);
96 strings = savestr("/tmp/xstrXXXXXX"); in main()
330 hp->hstr = savestr(str); in hashit()
440 savestr(char *cp) in savestr() function
/titanic_44/usr/src/cmd/mailx/
H A Daux.c61 savestr(char *str) in savestr() function
554 nbufp == nbuf ? savestr(nbuf) : nbufp); in phrase()
607 return(savestr(namebuf)); in nameof()
657 return(savestr(cp)); in nameof()
682 return savestr(ripoff(buf)); in splice()
H A Doptim.c142 return(unuucp((char *) savestr(cp))); in netmap()
222 return savestr(result); in unuucp()
337 return(savestr(newname)); in arpafix()
359 return(savestr(rbuf)); in makeremote()
441 xp->xh_name = savestr(name); in mstash()
878 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.c268 *np++ = savestr(lexstring); in markall()
487 *ap++ = savestr(linebuf); in getrawlist()
630 stringstack[regretp] = savestr(lexstring); in regret()
H A Dtty.c300 return(savestr(canonb)); in readtty()
628 return(strlen(canonb) > 0 ? savestr(canonb) : NOSTR); in readtty()
657 return(savestr(canonb)); in readtty()
H A Dnames.c75 np->n_full = savestr(str); in nalloc()
128 np->n_name = savestr(abuf); in extract()
641 *ap++ = savestr(hbuf); in unpack()
H A Dcmd3.c821 cp = savestr(mailname); in getfilename()
828 cp = savestr(mailname); in getfilename()
840 cp = savestr(prevfile); in getfilename()
H A Dcollect.c462 hp->h_subject = savestr(cp); in collect()
1276 hf = savestr(""); in addone()
/titanic_44/usr/src/ucbcmd/ls/
H A Dls.c84 static char *savestr(char *);
246 dp->sd_name = savestr(cat(name, fp->fname)); in formatd()
297 fp->fname = savestr(dp->d_name); in getdir()
397 fp->flinkto = savestr(buf); in gstat()
602 savestr(char *str) in savestr() function
/titanic_44/usr/src/cmd/mailx/hdr/
H A Ddef.h569 extern char *savestr(char *str);