/freebsd/contrib/tcsh/ |
H A D | sh.exp.c | 477 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 D | tw.comp.c | 344 *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 D | sh.glob.c | 80 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 D | sh.dir.c | 113 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 D | sh.lex.c | 256 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 D | tw.help.c | 59 name = Strsave(command); in do_help() 95 thpath = hpath = Strsave(hpath); in do_help()
|
H A D | sh.set.c | 148 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 D | tc.func.c | 263 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 D | sh.exec.c | 178 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 D | tw.parse.c | 310 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 D | sh.parse.c | 595 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 D | tc.nls.c | 113 n = Strsave(op); in NLSChangeCase()
|
H A D | sh.file.c | 357 return (Strsave(old)); in tilde() 543 bb_append(&items, Strsave(item)); in tsearch() 628 *extended_name = Strsave(item); in recognize()
|
H A D | sh.c | 1405 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 D | sh.func.c | 168 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 D | sh.dol.c | 129 cp = Strsave(expanded[0]); in Dfix1() 593 env_val = Strsave(np); in Dgetdol() 805 cp = Strsave(cp); in setDolp()
|
H A D | sh.h | 115 # define SAVE(a) (Strsave(str2short(a))) 1120 #define Strsave(a) strsave(a) macro 1154 #define Strsave(a) s_strsave(a) macro
|
H A D | tc.sched.c | 221 nextword->word = Strsave(cp); in sched_run()
|
H A D | ed.inputl.c | 231 Origin = Strsave(InputBuf); in Inputl() 238 Change = Strsave(InputBuf); in Inputl()
|
H A D | tc.bind.c | 127 in.buf = Strsave(v[no++]); in dobindkey()
|
H A D | sh.misc.c | 188 *newv++ = Strsave(*v++); in saveblk()
|
H A D | sh.hist.c | 995 np->histline = Strsave(histline.s); in enthist() 1259 fname = Strsave(fname); in rechist()
|
H A D | ed.init.c | 630 Input_Line = Strsave(str2short(buf)); in Load_input_line()
|
H A D | sh.proc.c | 748 return Strsave(cmdstr); in unparse() 785 pp->p_command = Strsave(cmdstr); in palloc()
|
H A D | sh.sem.c | 168 vCD[0] = Strsave(STRcd); in execute()
|