Home
last modified time | relevance | path

Searched refs:ttype (Results 1 – 22 of 22) sorted by relevance

/mirbsd/src/usr.sbin/pppoe/
Ddebug.c126 u_int16_t ttype, tlen; in debug_packet() local
128 if (len < sizeof(ttype)) { in debug_packet()
132 memmove(&ttype, pkt, sizeof(ttype)); in debug_packet()
133 len -= sizeof(ttype); in debug_packet()
134 pkt += sizeof(ttype); in debug_packet()
135 ttype = ntohs(ttype); in debug_packet()
137 switch (ttype) { in debug_packet()
169 printf("unknown %04x", ttype); in debug_packet()
Dtag.c118 u_int16_t ttype, tlen; in tag_pkt() local
123 ttype = pkt[1] | (pkt[0] << 8); in tag_pkt()
136 if (tag_add(l, ttype, tlen, pkt) < 0) in tag_pkt()
/mirbsd/src/lib/libncurses/src/progs/
Dtset.c535 const char *ttype; in get_termcap_entry() local
544 ttype = userarg; in get_termcap_entry()
549 if ((ttype = getenv("TERM")) != 0) in get_termcap_entry()
561 ttype = t->ty_type; in get_termcap_entry()
580 ttype = strdup(t); in get_termcap_entry()
591 ttype = "unknown"; in get_termcap_entry()
593 map:ttype = mapped(ttype); in get_termcap_entry()
619 if (ttype[0] == '?') { in get_termcap_entry()
620 if (ttype[1] != '\0') in get_termcap_entry()
621 ttype = askuser(ttype + 1); in get_termcap_entry()
[all …]
/mirbsd/src/usr.bin/vi/cl/
Dcl_main.c61 char *ttype; in main() local
124 if ((ttype = getenv("TERM")) == NULL) in main()
125 ttype = "unknown"; in main()
126 term_init(gp->progname, ttype); in main()
130 OG_STR(gp, GO_TERM) = strdup(ttype)) == NULL) in main()
169 (void)printf(XTERM_RENAME, ttype); in main()
268 term_init(name, ttype) in term_init() argument
269 char *name, *ttype; in term_init()
274 setupterm(ttype, STDOUT_FILENO, &err);
282 "%s: %s: unknown terminal type\n", name, ttype);
Dcl_screen.c186 char *o_cols, *o_lines, *o_term, *ttype; local
204 ttype = O_STR(sp, O_TERM);
224 cl_putenv("TERM", ttype, 0);
245 if (newterm(ttype, stdout, stdin) == NULL) {
247 msgq(sp, M_SYSERR, "%s", ttype);
249 msgq(sp, M_ERR, "%s: unknown terminal type", ttype);
Dcl_bsd.c169 setupterm(ttype, fno, errp) in setupterm() argument
170 char *ttype; in setupterm()
176 if ((*errp = tgetent(buf, ttype)) > 0) {
Dcl_funcs.c519 char *ttype; local
524 ttype = OG_STR(gp, GO_TERM);
532 !strncmp(ttype, "xterm", sizeof("xterm") - 1)) {
540 (void)printf(XTERM_RENAME, ttype);
/mirbsd/src/usr.sbin/isdn/isdnd/
Dprocess.c210 if ((setenv("TERM", ttype, 1)) != 0) in daemonize()
212 logit(LL_ERR, "ERROR, setenv TERM=%s failed: %s", ttype, strerror(errno)); in daemonize()
Disdnd.h597 char *ttype = ""; /* termcap entry name string */ variable
681 char *ttype; variable
Dmain.c212 ttype = optarg; in main()
/mirbsd/src/lib/libc/net/
Dres_send.c275 int n, ttype, tclass; in res_nameinquery() local
281 ttype = _getshort(cp); cp += INT16SZ; in res_nameinquery()
283 if (ttype == type && in res_nameinquery()
313 int n, ttype, tclass; in res_queriesmatch() local
319 ttype = _getshort(cp); cp += INT16SZ; in res_queriesmatch()
321 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) in res_queriesmatch()
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Djv-lang.c605 struct type *ttype = check_typedef (TYPE_TARGET_TYPE (type)); in is_object_type() local
607 if (TYPE_CODE (ttype) != TYPE_CODE_STRUCT) in is_object_type()
609 while (TYPE_N_BASECLASSES (ttype) > 0) in is_object_type()
610 ttype = TYPE_BASECLASS (ttype, 0); in is_object_type()
611 name = TYPE_TAG_NAME (ttype); in is_object_type()
614 name = TYPE_NFIELDS (ttype) > 0 ? TYPE_FIELD_NAME (ttype, 0) : (char *) 0; in is_object_type()
Dparser-defs.h71 struct ttype struct
Df-exp.y140 struct ttype tsym;
Djv-exp.y140 struct ttype tsym;
Dp-exp.y143 struct ttype tsym;
Dobjc-exp.y139 struct ttype tsym;
Dc-exp.y136 struct ttype tsym;
/mirbsd/src/usr.bin/msgs/
Dmsgs.c449 char *ttype = getenv("TERM"); in main() local
451 if (ttype != (char *)NULL) { in main()
452 if (tgetent(NULL, ttype) <= 0 in main()
/mirbsd/src/gnu/usr.bin/perl/utils/
Dh2xs.PL1658 my $ttype = $structs{$type} ? normalize_type("$type *") : $type;
1660 $ttype
1669 $type eq $ttype ? "THIS->$item->[-1]" : "&(THIS->$item->[-1])"
/mirbsd/src/usr.bin/find/
Dfunction.c170 #define TIME_CORRECT(p, ttype) \ argument
171 if ((p)->type == ttype && (p)->flags == F_LESSTHAN) \
/mirbsd/src/usr.bin/vgrind/
Dvgrindefs.src95 stjoin sub1 t times tnull tokno ttype: