/freebsd/contrib/tcsh/ |
H A D | sh.set.c | 64 struct varent *p = adrof(STRpath); in update_vars() 73 struct varent *p = adrof(STRnoclobber); in update_vars() 372 struct varent *v = adrof(vp); in getvx() 756 did_roe = adrof(STRrecognize_only_executables) != NULL; in unset() 757 did_edit = adrof(STRedit) != NULL; in unset() 761 if (adrof(STRfilec) == 0) in unset() 765 if (adrof(STRhistchars) == 0) { in unset() 769 if (adrof(STRignoreeof) == 0) in unset() 771 if (adrof(STRpromptchars) == 0) { in unset() 775 if (adrof(STRnoclobber) == 0) in unset() [all …]
|
H A D | sh.exec.c | 183 v = adrof(STRpath); in doexec() 315 if (adrof(STRautorehash) && !rehashed && havhash && opv != justabs) { in doexec() 451 vp[0] = adrof(STRshell) ? varval(STRshell) : STR_SHELLPATH; in texec() 572 rechist(NULL, adrof(STRsavehist) != NULL); in execash() 620 if (adrof(STRecho)) { in xechoit() 642 struct varent *v = adrof(STRpath); in dohash() 819 v = adrof(STRpath); in iscommand() 858 if (adrof(STRautorehash) && !rehashed && havhash && opv != justabs) { in iscommand() 1011 v = adrof(STRpath); in tellmewhat() 1071 if (adrof(STRautorehash)) in dowhere() [all …]
|
H A D | ed.inputl.c | 84 struct varent *crct = inheredoc ? NULL : adrof(STRcorrect); in Inputl() 85 struct varent *autol = adrof(STRautolist); in Inputl() 86 struct varent *matchbeep = adrof(STRmatchbeep); in Inputl() 87 struct varent *imode = adrof(STRinputmode); in Inputl() 450 if (adrof(STRhighlight) && MarkIsSet) { in Inputl() 558 if (adrof(STRhighlight)) { in Inputl() 695 !adrof(STRnokanji) && (*ch & META)) { in GetNextCommand()
|
H A D | tc.prompt.c | 258 if (adrof(STRampm) || (*cp != 'T' && *cp != 'P')) { in tprintf() 270 what != FMT_PROMPT || adrof(STRnoding)) { in tprintf() 277 p = Itoa(hr, adrof(STRpadhour) ? 2 : 0, attributes); in tprintf() 290 if (adrof(STRampm) || (*cp != 'T' && *cp != 'P')) { in tprintf() 437 if (adrof(STRellipsis)) { in tprintf() 642 vp = adrof(var); in expdollar()
|
H A D | sh.c | 866 …if (((tcp = setlocale(LC_CTYPE, NULL)) != NULL || (tcp = getenv("LANG")) != NULL) && !adrof(CHECK_… in main() 868 if ((tcp = getenv("LANG")) != NULL && !adrof(CHECK_MBYTEVAR)) in main() 874 else if (!adrof(CHECK_MBYTEVAR)) in main() 1098 if (adrof(STRedit)) in main() 1281 if (adrof(STRedit)) in main() 1634 if ((vp = adrof(STRargv)) != NULL && vp->vec != NULL) in st_save() 1722 else if (st->av != NULL && *st->av != NULL && adrof(STRargv) != NULL) in st_restore() 1804 if (!(adrof(STRlogout))) in goodbye() 1809 if (adrof(STRhome)) in goodbye() 1851 if (adrof(STRhome)) in phup() [all …]
|
H A D | sh.glob.c | 89 if (adrof(STRnonomatch)) { in globtilde() 360 if (!adrof(STRnonomatch)) in globexpand() 433 int nonomatch = adrof(STRnonomatch) != 0, magic = 0, match = 0; in libglob() 435 if (adrof(STRglobdot)) in libglob() 438 if (adrof(STRglobstar)) in libglob() 485 noglob = adrof(STRnoglob) != 0; in globone() 544 noglob = adrof(STRnoglob) != 0; in globall()
|
H A D | tw.init.c | 206 struct varent *v = adrof(STRpath); in tw_cmd_cmd() 207 struct varent *recexec = adrof(STRrecognize_only_executables); in tw_cmd_cmd() 371 struct varent *vp = adrof(STRpath); in tw_cmd_start() 733 if ((vp = adrof(STRcdpath)) != NULL) in tw_file_start() 835 if ((tw_vptr = adrof(pat)) != NULL) { in tw_vl_start()
|
H A D | sh.dir.c | 631 && (c = adrof(STRcdpath)) && c->vec != NULL) { in dfollow() 705 if (adrof(STRpushdtohome)) { in dopushd() 750 if (adrof(STRdextract)) in dopushd() 1197 if (adrof(STRdunique)) { in dnewcwd() 1212 if (adrof(STRpushdsilent)) /* but pushdsilent overrides printd... */ in dnewcwd() 1230 if ((vp = adrof(STRdirstack)) == NULL || vp->vec == NULL) in dsetstack() 1265 if (adrof(STRdirstack) == NULL) in dgetstack()
|
H A D | sh.dol.c | 488 vp = adrof(STRargv); in Dgetdol() 499 vp = adrof(np); in Dgetdol() 545 vp = adrof(STRargv); in Dgetdol() 559 vp = adrof(np); in Dgetdol() 575 vp = adrof(name->s); in Dgetdol()
|
H A D | tw.h | 77 #define is_set(var) adrof(var)
|
H A D | ed.refresh.c | 609 if (!(adrof(STRhighlight) && MarkIsSet)) { in update_line() 622 if (!(adrof(STRhighlight) && MarkIsSet)) { in update_line() 1221 if (adrof(STRhighlight) && MarkIsSet) { in RefCursor() 1302 if (adrof(STRhighlight) && MarkIsSet) in RefPlusOne() 1308 if (adrof(STRhighlight) && MarkIsSet) in RefPlusOne()
|
H A D | tc.who.c | 224 v = adrof(STRwatch); 498 struct varent *vp = adrof(STRwho); 608 vp = adrof(STRwatch); /* lint insists vp isn't used unless we */
|
H A D | tw.parse.c | 279 if (adrof(STRautocorrect)) { in tenematch() 777 if ((vp = adrof(STRfignore)) == NULL || (cp = vp->vec) == NULL) in ignored() 968 && (vp = adrof(STRautorehash)) != NULL && vp->vec != NULL) in tw_collect_items() 1092 if ((vp = adrof(STRcomplete)) != NULL && vp->vec != NULL) in tw_collect_items() 1253 if ((vp = adrof(exp_name)) != NULL && vp->vec != NULL) { in tw_suffix() 2001 if ((vp = adrof(STRnostat)) == NULL || (cp = vp->vec) == NULL) in nostat() 2034 if (adrof(STRlistlinks)) { in filetype()
|
H A D | sh.print.c | 155 && !(adrof(STRcolorcat) && c == CTL_ESC('\033')) in xputchar()
|
H A D | ed.chared.c | 1093 if (adrof(STRhighlight) && pchar == ':') { in e_inc_search() 1603 if (adrof(STRhighlight) && MarkIsSet) { in e_newline() 2267 if (adrof(STRhighlight) && MarkIsSet) { in e_yank_kill() 2331 if (adrof(STRhighlight) && MarkIsSet) { in e_yank_pop() 2643 if (adrof(STRhighlight) && MarkIsSet) { in e_killregion() 3083 if (adrof(STRhighlight) && MarkIsSet && Mark != Cursor) { in e_set_mark() 3497 if (adrof(STRhighlight) && IncMatchLen) { in e_inc_fwd() 3518 if (adrof(STRhighlight) && IncMatchLen) { in e_inc_back()
|
H A D | ed.xmap.c | 675 if (CTL_ESC(val) != val && adrof(STRwarnebcdic)) in parseescape() 695 if (adrof(STRwarnebcdic)) in parseescape()
|
H A D | ed.screen.c | 1161 if (adrof(STRhighlight)) { in so_write() 1178 if (adrof(STRhighlight)) { in so_write() 1208 if (adrof(STRhighlight) && highlighting) in so_write() 1368 if (adrof(STRnobeep)) in SoundBeep() 1371 if (GoodStr(T_vb) && adrof(STRvisiblebell)) in SoundBeep()
|
H A D | sh.proc.c | 291 if (pp->p_flags & (PTIME | PPTIME) || adrof(STRtime)) in pchild() 332 !child && adrof(STRtime) && in pchild() 389 if (jobflags & PNOTIFY || adrof(STRnotify)) { in pchild() 532 if (adrof(STRlistjobs)) { in pjwait() 574 if ((reason != 0) && (adrof(STRprintexitvalue)) && in pjwait()
|
H A D | tc.func.c | 240 if ((vp = adrof(STRlistflags)) != NULL && vp->vec != NULL && in dolist() 521 if ((varp = adrof(STReditors)) != NULL) in find_stop_ed() 1090 if ((vp = adrof(STRautologout)) != NULL && vp->vec != NULL) { in setalarm() 1149 if (!adrof(STRrmstar)) in rmstar() 1632 if (adrof(STRshlvl) != NULL) in shlvl()
|
H A D | sh.file.c | 413 if (adrof(STRnobeep) == 0) in beep() 759 if ((vp = adrof(STRfignore)) == NULL || (cp = vp->vec) == NULL) in ignored()
|
H A D | sh.hist.c | 516 struct varent *vp = adrof(STRtestHashTimings); in testHash() 1083 struct varent *vp = adrof(STRhistory); in phist() 1288 if ((shist = adrof(STRsavehist)) != NULL && shist->vec != NULL) { in rechist()
|
H A D | sh.sem.c | 657 if (adrof(STRprintexitvalue)) { in execute() 795 if (adrof(STRnoambiguous)) { in splicepipe()
|
H A D | tw.color.c | 171 struct varent *vp = adrof(STRcolor); in set_color_context()
|
H A D | sh.func.c | 307 rechist(NULL, adrof(STRsavehist) != NULL); in dologin() 1207 if ((vp = adrof(STRecho_style)) != NULL && vp->vec != NULL && in xecho() 1426 if (eq(vp, STRLANG) && !adrof(CHECK_MBYTEVAR)) { in dosetenv() 2672 if (adrof(STRcatalog) != NULL)
|
H A D | sh.char.h | 156 ((((c) & QUOTE) || ((tcshuc)(ASC(c) & 0x80) && adrof(STRnokanji))) ? \
|