Home | History | Annotate | Download | only in src

Lines Matching refs:tp

493 	struct tbl *tp;
534 tp = NULL;
536 tp = ktsearch(&keywords, id, h = hash(id));
537 if (!tp && !pflag) {
538 tp = ktsearch(&aliases, id, h ? h : hash(id));
539 if (tp && !(tp->flag & ISSET))
540 tp = NULL;
542 if (!tp)
543 tp = findcom(id, fcflags);
544 if (vflag || (tp->type != CALIAS && tp->type != CEXEC &&
545 tp->type != CTALIAS))
548 switch (tp->type) {
557 switch (tp->type) {
565 (tp->flag & EXPORT) ? "exported " : null,
569 print_value_quoted(shl_stdout, tp->val.s);
573 if (tp->flag & EXPORT)
575 if (tp->flag & TRACE)
577 if (!(tp->flag & ISSET)) {
579 if (tp->u.fpath)
581 tp->u.fpath);
589 (tp->flag & SPEC_BI) ? " special" : null,
594 if (tp->flag & ISSET) {
597 if (tp->type == CTALIAS)
599 (tp->flag & EXPORT) ?
603 shf_puts(tp->val.s, shl_stdout);