/freebsd/contrib/tcsh/ |
H A D | tw.help.c | 92 hpath = str2short(getenv(SEARCHLIST)); in do_help() 94 hpath = str2short(DEFAULTLIST); in do_help() 124 Strbuf_append(&full, str2short(*sp)); in do_help()
|
H A D | sh.c | 227 tsetenv(STRNLSPATH, str2short(new)); in add_localedir_to_nlspath() 360 setcopy(STRhistory, str2short("100"), VAR_READWRITE); in main() 645 setcopy(STReuser, str2short(pw->pw_name), VAR_READWRITE); in main() 660 setcopy(STRuser, str2short(pw->pw_name), VAR_READWRITE); in main() 672 setcopy(STRgroup, str2short(gr->gr_name), VAR_READWRITE); in main() 686 tsetenv(STRHOST, str2short(cbuff)); in main() 703 tsetenv(STRSYSTYPE, quote(str2short(tcp))); in main() 760 setcopy(STRkillring, str2short("30"), VAR_READWRITE); in main() 767 importpath(str2short(_PATH_DEFPATH)); in main() 778 importpath(str2short(tcp)); in main() [all …]
|
H A D | tc.vers.c | 165 setcopy(STRversion, str2short(version), VAR_READWRITE); in fix_version() 169 setcopy(STRtcsh, str2short(version), VAR_READWRITE); in fix_version()
|
H A D | tc.who.c | 415 !Gmatch(str2short(wp->who_name), vp[0]) && 416 !Gmatch(str2short(wp->who_new), vp[0])) || 417 (!Gmatch(str2short(wp->who_tty), vp[1]) && 494 Char *cp = str2short(CGETS(26, 7, "%n has %a %l from %m.")); 496 Char *cp = str2short(CGETS(26, 8, "%n has %a %l."));
|
H A D | tw.init.c | 165 Strbuf_append(res, str2short(dirp->d_name)); in tw_dir_next() 244 name = str2short(dp->d_name); in tw_cmd_cmd() 270 tw_cmd_add(str2short(bptr->bname)); in tw_cmd_builtin() 274 tw_cmd_add(str2short(bptr->bname)); in tw_cmd_builtin() 634 Strbuf_append(res, str2short(pw->pw_name)); in tw_logname_next() 704 Strbuf_append(res, str2short(gr->gr_name)); in tw_grpname_next()
|
H A D | sh.exec.c | 739 hashval = hashname(str2short(dp->d_name)); in dohash() 747 hashval = hashname(str2short(dp->d_name)); in dohash() 751 hashname(str2short(dp->d_name)), i, dp->d_name); in dohash() 753 hashval = hash(hashname(str2short(dp->d_name)), i); in dohash() 971 if (eq(sp->word, str2short(bptr->bname))) { in tellmewhat() 987 if (eq(sp->word, str2short(bptr->bname))) { in tellmewhat() 1109 if (eq(cmd, str2short(bptr->bname))) { in find_cmd() 1119 if (eq(cmd, str2short(bptr->bname))) { in find_cmd()
|
H A D | sh.file.c | 372 home = str2short(pw->pw_dir); in tilde() 486 return (str2short(pw->pw_name)); in getitem() 490 return (str2short(dirp->d_name)); in getitem() 701 Strcpy(inputline, str2short(tinputline));/*FIXBUF*/ in tenex()
|
H A D | sh.exp.c | 878 strF = string == NULL ? errval : str2short(string); in filetest() 901 return(Strsave(str2short(string))); in filetest() 906 return(Strsave(str2short(pw->pw_name))); in filetest() 914 return(Strsave(str2short(gr->gr_name))); in filetest() 927 strF = str2short(ctime(&footime)); in filetest()
|
H A D | tc.sched.c | 82 fmt = str2short("%h\t%T\t%R\n"); in dosched()
|
H A D | tc.decls.h | 287 extern Char *str2short (const char *);
|
H A D | tc.func.c | 1482 return Strsave(str2short(pp->pw_dir)); in gethomedir() 1500 rp = Strsave(str2short(cp)); in gethomedir() 1507 rp = Strsave(str2short(cp)); in gethomedir() 2072 tsetenv(STRREMOTEHOST, str2short(hostname.s));
|
H A D | sh.dir.c | 912 setcopy(STRcwd, str2short("/"), VAR_READWRITE|VAR_NOGLOB); in dcanon_internal() 980 mlink = str2short(tlink); in dcanon_internal() 1051 mlink = str2short(tlink); in dcanon_internal()
|
H A D | host.defs | 1276 tsetenv(STRHOSTTYPE, str2short(hosttype)); 1277 tsetenv(STRVENDOR, str2short(vendor)); 1278 tsetenv(STROSTYPE, str2short(ostype)); 1279 tsetenv(STRMACHTYPE, str2short(machtype));
|
H A D | sh.h | 115 # define SAVE(a) (Strsave(str2short(a))) 1124 #define str2short(a) (a) macro
|
H A D | tc.os.c | 169 name = str2short(cpaths[i]); in dosetpath() 170 for (val = str2short(cpaths[i]); val && *val && *val != '='; val++); in dosetpath()
|
H A D | tc.str.c | 203 str2short(const char *src) function
|
H A D | sh.func.c | 116 (i = StrQcmp(cp, str2short(bp->bname))) == 0) in isbfunc() 723 (i = Strcmp(cp, str2short(sp->s_name))) == 0) in srchx() 2051 if (prefix(cp, str2short(lp->limname))) { in findlim()
|
H A D | ed.screen.c | 892 cs.buf = str2short(p); in BindArrowKeys() 1628 ptr = str2short(tptr); in ChangeSize()
|
H A D | ed.init.c | 630 Input_Line = Strsave(str2short(buf)); in Load_input_line()
|
H A D | sh.dol.c | 583 np = str2short(getenv(short2str(name->s))); in Dgetdol()
|
H A D | sh.set.c | 1297 codeset = str2short(nl_langinfo(CODESET)); in autoset_dspmbyte()
|
H A D | sh.hist.c | 1081 Char *cp = str2short("%h\t%T\t%R\n"); in phist()
|
H A D | sh.proc.c | 1477 eq(sigptr, str2short(mesg[signum].iname))) in dokill()
|
H A D | Fixes | 1953 2. str2short and short2str allocate space dynamically.
|