Home
last modified time | relevance | path

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

12

/freebsd/contrib/tcsh/
H A Dsh.exp.c477 return Strsave(op); in exp5()
572 return (Strsave(STRNULL)); in exp6()
586 return (Strsave(STRNULL)); in exp6()
597 return (ignore & TEXP_NOGLOB ? Strsave(cp) : globone(cp, G_APPEND)); in exp6()
679 return (Strsave(STRNULL)); in filetest()
719 return (Strsave(errval)); in filetest()
734 return (Strsave(errval)); in filetest()
881 return(Strsave(strF)); in filetest()
901 return(Strsave(str2short(string))); in filetest()
906 return(Strsave(str2short(pw->pw_name))); in filetest()
[all …]
H A Dtw.comp.c344 *pat = res = Strsave(&act[1]); in tw_result()
349 *pat = res = Strsave(&act[1]); in tw_result()
356 res = Strsave(act); in tw_result()
372 *pat = res = Strsave(p); in tw_result()
388 *pat = res = Strsave(&act[2]); in tw_result()
461 buf = Strsave(line); in tw_complete()
H A Dsh.glob.c80 return Strsave(s); in globtilde()
100 res = Strsave(s); in globtilde()
213 bb_append(&bb, Strsave(gbuf.s)); in globbrace()
328 *vl++ = Strsave(s); in globexpand()
418 str = Strsave(strip(*vl)); in handleone()
490 return (strip(Strsave(str))); in globone()
504 return (strip(Strsave(str))); in globone()
523 return (Strsave(STRNULL)); in globone()
906 (*fblk)[0] = Strsave(pattern); in Gnmatch()
H A Dsh.dir.c113 cp = Strsave(hp); in dinit()
137 cp = Strsave(hp); in dinit()
356 return (Strsave(start)); in dnormalize()
371 return (Strsave(start)); in dnormalize()
468 return Strsave(start); in dnormalize()
476 return Strsave(cp); in dnormalize()
502 cp = Strsave(cp); in dochngd()
587 cp = old ? Strsave(cp) : globone(cp, G_ERROR); in dfollow()
672 cp = Strsave(dp); in dfollow()
1144 p2 = copy = Strsave(cp); in dcanon_internal()
[all …]
H A Dsh.lex.c256 wdp->word = Strsave(fp->word); in copylex()
942 tword = Strsave(en->word); in dosub()
980 return (Strsave(cp)); in subword()
1014 return (Strsave(cp)); in subword()
1027 return Strsave(STRQNULL); in domod()
1031 wp = Strsave(cp); in domod()
1039 return wp ? wp : Strsave(cp); in domod()
1043 return wp ? wp : Strsave(cp); in domod()
1051 xp = Strsave(wp + 1); in domod()
1062 xp = Strsave(wp + 1); in domod()
[all …]
H A Dtw.help.c59 name = Strsave(command); in do_help()
95 thpath = hpath = Strsave(hpath); in do_help()
H A Dsh.set.c148 cp = Strsave(varval(vp)); /* get the old value back */ in update_vars()
331 copy = Strsave(p); in doset()
338 setv(vp, Strsave(p), flags); in doset()
423 vp = Strsave(vp); in dolet()
434 p = Strsave(STR1); in dolet()
485 dp = Strsave(cp); in xset()
533 return (Strsave(nbuf)); in putn()
628 copy = Strsave(val); in setcopy()
740 c->v_name = Strsave(name); in setq()
H A Dtc.func.c263 nextword->word = Strsave(lspath); in dolist()
268 nextword->word = Strsave(STRmCF); in dolist()
275 nextword->word = Strsave(STRmmliteral); in dolist()
284 nextword->word = Strsave(STRmmcolormauto); in dolist()
292 nextword->word = quote(Strsave(cp)); in dolist()
1007 new1->word = Strsave(s1); in aliasrun()
1016 new2->word = Strsave(s2); in aliasrun()
1482 return Strsave(str2short(pp->pw_dir)); in gethomedir()
1500 rp = Strsave(str2short(cp)); in gethomedir()
1507 rp = Strsave(str2short(cp)); in gethomedir()
[all …]
H A Dsh.exec.c178 expath = Strsave(pv[0]); in doexec()
514 expath = Strsave(sf); in texec()
980 *str = Strsave(sp->word); in tellmewhat()
996 *str = Strsave(sp->word); in tellmewhat()
1036 *str = Strsave(sp->word); in tellmewhat()
1049 *str = Strsave(sp->word); in tellmewhat()
H A Dtw.parse.c310 rword = Strsave(slshp); in tenematch()
385 items[0] = Strsave(qline.s + wordp); in tenematch()
570 bb_append(&av, Strsave(cmd.s)); in c_glob()
1727 target = name = Strsave(word->s); /* so it can match things */ in t_search()
1756 target = name = Strsave(user_name); in t_search()
1762 target = name = Strsave(word->s); /* so it can match things */ in t_search()
1845 *name = Strsave(path); in extract_dir_and_name()
1848 *name = Strsave(p); in extract_dir_and_name()
2338 new_scroll->element = Strsave(item); in add_scroll_tab()
H A Dsh.parse.c595 t->t_drit = Strsave(p->word); in syn3()
617 t->t_dlef = Strsave(p->word); in syn3()
628 av[n] = Strsave(p->word); in syn3()
H A Dtc.nls.c113 n = Strsave(op); in NLSChangeCase()
H A Dsh.file.c357 return (Strsave(old)); in tilde()
543 bb_append(&items, Strsave(item)); in tsearch()
628 *extended_name = Strsave(item); in recognize()
H A Dsh.c1405 setv(STRcommand, quote(Strsave(arginp)), VAR_READWRITE); in main()
1491 pv[i++] = Strsave(*cp ? cp : STRdot); in importpath()
2356 return Strsave(h); in gethdir()
2367 return Strsave(h); in gethdir()
2480 *blkp++ = Strsave(STRdot); in defaultpath()
2512 *blkp++ = Strsave(STRdot); in defaultpath()
H A Dsh.func.c168 gointr = Strsave(STRminus); in doonintr()
171 gointr = Strsave(vv); in doonintr()
543 nwp->w_fename = Strsave(cp); in doforeach()
660 setv(whyles->w_fename, quote(Strsave(*whyles->w_fe++)), VAR_READWRITE); in doagain()
784 histent->word = Strsave(word.s); in search()
800 histent->word = Strsave(word.s); in search()
956 histent->word = Strsave(tmp->s); in histgetword()
966 histent->word = Strsave(tmp->s); in histgetword()
H A Dsh.dol.c129 cp = Strsave(expanded[0]); in Dfix1()
593 env_val = Strsave(np); in Dgetdol()
805 cp = Strsave(cp); in setDolp()
H A Dsh.h115 # define SAVE(a) (Strsave(str2short(a)))
1120 #define Strsave(a) strsave(a) macro
1154 #define Strsave(a) s_strsave(a) macro
H A Dtc.sched.c221 nextword->word = Strsave(cp); in sched_run()
H A Ded.inputl.c231 Origin = Strsave(InputBuf); in Inputl()
238 Change = Strsave(InputBuf); in Inputl()
H A Dtc.bind.c127 in.buf = Strsave(v[no++]); in dobindkey()
H A Dsh.misc.c188 *newv++ = Strsave(*v++); in saveblk()
H A Dsh.hist.c995 np->histline = Strsave(histline.s); in enthist()
1259 fname = Strsave(fname); in rechist()
H A Ded.init.c630 Input_Line = Strsave(str2short(buf)); in Load_input_line()
H A Dsh.proc.c748 return Strsave(cmdstr); in unparse()
785 pp->p_command = Strsave(cmdstr); in palloc()
H A Dsh.sem.c168 vCD[0] = Strsave(STRcd); in execute()

12