Home
last modified time | relevance | path

Searched refs:str2short (Results 1 – 24 of 24) sorted by relevance

/dragonfly/contrib/tcsh-6/
H A Dtw.help.c92 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 Dsh.c227 tsetenv(STRNLSPATH, str2short(new)); in add_localedir_to_nlspath()
360 setcopy(STRhistory, str2short("100"), 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()
782 importpath(str2short(tcp)); in main()
814 parseLS_COLORS(str2short(tcp)); in main()
816 parseLSCOLORS(str2short(tcp)); in main()
875 autoset_dspmbyte(str2short(tcp)); in main()
[all …]
H A Dtc.vers.c165 setcopy(STRversion, str2short(version), VAR_READWRITE); in fix_version()
169 setcopy(STRtcsh, str2short(version), VAR_READWRITE); in fix_version()
H A Dtc.who.c415 !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 Dtw.init.c165 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 Dsh.exec.c739 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()
1110 if (eq(cmd, str2short(bptr->bname))) { in find_cmd()
1120 if (eq(cmd, str2short(bptr->bname))) { in find_cmd()
H A Dsh.file.c371 home = str2short(pw->pw_dir); in tilde()
485 return (str2short(pw->pw_name)); in getitem()
489 return (str2short(dirp->d_name)); in getitem()
700 Strcpy(inputline, str2short(tinputline));/*FIXBUF*/ in tenex()
H A Dsh.exp.c879 strF = string == NULL ? errval : str2short(string); in filetest()
902 return(Strsave(str2short(string))); in filetest()
907 return(Strsave(str2short(pw->pw_name))); in filetest()
915 return(Strsave(str2short(gr->gr_name))); in filetest()
928 strF = str2short(ctime(&footime)); in filetest()
H A Dtc.sched.c82 fmt = str2short("%h\t%T\t%R\n"); in dosched()
H A Dtc.decls.h287 extern Char *str2short (const char *);
H A Dtc.func.c1502 return Strsave(str2short(pp->pw_dir)); in gethomedir()
1520 rp = Strsave(str2short(cp)); in gethomedir()
1527 rp = Strsave(str2short(cp)); in gethomedir()
2092 tsetenv(STRREMOTEHOST, str2short(hostname.s));
H A Dsh.dir.c912 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 Dsh.h117 # define SAVE(a) (Strsave(str2short(a)))
1129 #define str2short(a) ((void *)(intptr_t)(a)) macro
H A Dtw.color.c492 c = filetype(STRNULL, str2short(buf)); in print_with_color()
H A Dtc.os.c169 name = str2short(cpaths[i]); in dosetpath()
170 for (val = str2short(cpaths[i]); val && *val && *val != '='; val++); in dosetpath()
H A Dsh.func.c116 (i = StrQcmp(cp, str2short(bp->bname))) == 0) in isbfunc()
723 (i = Strcmp(cp, str2short(sp->s_name))) == 0) in srchx()
2001 if (prefix(cp, str2short(lp->limname))) { in findlim()
H A Dtc.str.c203 str2short(const char *src) function
H A Ded.screen.c892 cs.buf = str2short(p); in BindArrowKeys()
1628 ptr = str2short(tptr); in ChangeSize()
H A Ded.init.c630 Input_Line = Strsave(str2short(buf)); in Load_input_line()
H A Dsh.dol.c617 np = str2short(getenv(short2str(name->s))); in Dgetdol()
H A Dsh.set.c1299 codeset = str2short(nl_langinfo(CODESET)); in autoset_dspmbyte()
H A Dsh.hist.c1094 Char *cp = str2short("%h\t%T\t%R\n"); in phist()
H A Dsh.proc.c1491 eq(sigptr, str2short(mesg[signum].iname))) in dokill()
/dragonfly/bin/csh/csh/
H A Dhost.defs1294 tsetenv(STRHOSTTYPE, str2short(hosttype));
1295 tsetenv(STRVENDOR, str2short(vendor));
1296 tsetenv(STROSTYPE, str2short(ostype));
1297 tsetenv(STRMACHTYPE, str2short(machtype));