Home
last modified time | relevance | path

Searched refs:Strsave (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/bin/csh/
H A Dglob.c123 return (Strsave(gstart)); in globtilde()
195 *vl++ = Strsave(gbuf); in globbrace()
305 *vl++ = Strsave(s); in globexpand()
349 str = Strsave(*vlp++); in handleone()
360 str = Strsave(strip(*vlp)); in handleone()
430 return (strip(Strsave(str))); in globone()
440 return (Strsave(STRNULL)); in globone()
452 return (strip(Strsave(str))); in globone()
465 return (Strsave(STRNULL)); in globone()
619 ep = Strsave(lp); in dobackp()
[all …]
H A Dset.c133 cp = Strsave(value(vp)); /* get the old value back */ in update_vars()
140 set(vp, Strsave(cp)); /* have to save the new val */ in update_vars()
218 asx(vp, subscr, Strsave(p)); in doset()
220 set(vp, Strsave(p)); in doset()
298 vp = Strsave(vp); in dolet()
308 p = Strsave(STR1); in dolet()
355 dp = Strsave(cp); in xset()
406 return (Strsave(numbers)); in putn()
528 c->v_name = Strsave(name); in setq()
666 set(cp, Strsave(STRNULL)); in setNS()
H A Ddir.c92 cp = Strsave(hp); in dinit()
115 cp = Strsave(hp); in dinit()
151 vec[0] = Strsave(dp); in dset()
276 return (Strsave(cp)); in dnormalize()
328 return Strsave(cp); in dnormalize()
348 cp = Strsave(cp); in dochngd()
455 cp = Strsave(buf); in dfollow()
463 cp = Strsave(dp); in dfollow()
639 cp = p = Strsave(tmpdir); in dcanon()
H A Dlex.c236 wdp->word = Strsave(fp->word); in copylex()
374 return (Strsave(wbuf)); in word()
909 tword = Strsave(en->word); in dosub()
936 return (Strsave(cp)); in subword()
979 return (Strsave(wbuf)); in subword()
981 return (Strsave(cp)); in subword()
994 wp = Strsave(cp); in domod()
1004 return Strsave(type == 't' ? cp : STRNULL); in domod()
1006 xp = Strsave(wp + 1); in domod()
1008 xp = Strsave(cp), xp[wp - cp] = 0; in domod()
[all …]
H A Dexp.c456 return (Strsave(STRNULL)); in exp6()
471 return (Strsave(STRNULL)); in exp6()
490 return (Strsave(STRNULL)); in exp6()
506 return (Strsave(STR0)); in exp6()
556 return (ignore & NOGLOB ? Strsave(cp) : globone(cp, G_ERROR)); in exp6()
567 set(STRstatus, Strsave(STR0)); in evalav()
578 wdp->word = Strsave(*v++); in evalav()
H A Dcsh.h68 #define SAVE(a) (Strsave(str2short(a)))
494 #define Strsave(a) strsave(a) macro
514 #define Strsave(a) s_strsave(a) macro
H A Dexec.c142 expath = Strsave(pv[0]); in doexec()
352 expath = Strsave(sf); in texec()
628 set(STRstatus, Strsave(STR0)); in dowhich()
632 set(STRstatus, Strsave(tellmewhat(lexw, NULL) ? STR0 : STR1)); in dowhich()
H A Dcsh.c319 set(STRstatus, Strsave(STR0)); in main()
355 set(STRshell, Strsave(STR_SHELLPATH)); in main()
519 set(STRprompt, Strsave(uid == 0 ? STRsymhash : STRsymcent)); in main()
521 set(STRprompt2, Strsave(STRmquestion)); in main()
707 pv[i++] = Strsave(*cp ? cp : STRdot); in importpath()
1427 *blkp++ = Strsave(STRdot); in defaultpath()
H A Dparse.c563 t->t_drit = Strsave(p->word); in syn3()
584 t->t_dlef = Strsave(p->word); in syn3()
594 av[n] = Strsave(p->word); in syn3()
H A Derr.c384 set(STRstatus, Strsave(STR1)); in stderror()
H A Dfunc.c156 gointr = Strsave(STRminus); in doonintr()
159 gointr = Strsave(vv); in doonintr()
421 nwp->w_fename = Strsave(cp); in doforeach()
530 set(whyles->w_fename, Strsave(*whyles->w_fe++)); in doagain()
H A Ddol.c140 cp = Strsave(gargv[0]); in Dfix1()
684 dp = cp = Strsave(cp); in setDolp()
H A Dmisc.c153 *newv++ = Strsave(*v++); in saveblk()
H A Dsem.c107 set(STRstatus, Strsave(STR0)); in execute()
H A Dproc.c472 pp->p_command = Strsave(command); in palloc()