Home
last modified time | relevance | path

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

12

/dragonfly/usr.bin/tset/
HDterm.c59 const char *ttype; in get_termcap_entry() local
62 ttype = userarg; in get_termcap_entry()
67 if ((ttype = getenv("TERM"))) in get_termcap_entry()
77 ttype = t->ty_type; in get_termcap_entry()
83 ttype = "unknown"; in get_termcap_entry()
85 map: ttype = mapped(ttype); in get_termcap_entry()
99 if (ttype[0] == '?') { in get_termcap_entry()
100 if (ttype[1] != '\0') in get_termcap_entry()
101 ttype = askuser(ttype + 1); in get_termcap_entry()
103 ttype = askuser(NULL); in get_termcap_entry()
[all …]
HDtset.c66 const char *ttype; in main() local
146 ttype = get_termcap_entry(*argv, &tcapbuf); in main()
174 (void)printf("%s\n", ttype); in main()
177 (void)fprintf(stderr, "Terminal type is %s.\n", ttype); in main()
190 (void)printf("%s ", ttype); in main()
202 printf("set noglob;\nsetenv TERM %s;\n", ttype); in main()
210 printf("TERM=%s;\n", ttype); in main()
/dragonfly/contrib/ncurses/progs/
HDtset.c538 const char *ttype; in get_termcap_entry() local
549 ttype = userarg; in get_termcap_entry()
554 if ((ttype = getenv("TERM")) != 0) in get_termcap_entry()
566 ttype = t->ty_type; in get_termcap_entry()
585 ttype = strdup(t); in get_termcap_entry()
596 ttype = "unknown"; in get_termcap_entry()
598 map:ttype = mapped(ttype); in get_termcap_entry()
625 if (ttype[0] == '?') { in get_termcap_entry()
626 if (ttype[1] != '\0') in get_termcap_entry()
627 ttype = askuser(ttype + 1); in get_termcap_entry()
[all …]
/dragonfly/contrib/nvi2/cl/
HDcl_main.c55 char **p_av, **t_av, *ttype; in main() local
90 if ((ttype = getenv("TERM")) == NULL) in main()
91 ttype = "ansi"; in main()
92 term_init(ttype); in main()
96 OG_STR(gp, GO_TERM) = strdup(ttype)) == NULL) in main()
223 term_init(char *ttype) in term_init() argument
228 setupterm(ttype, STDOUT_FILENO, &err); in term_init()
233 errx(1, "%s: unknown terminal type", ttype); in term_init()
HDcl_screen.c185 char *o_cols, *o_lines, *o_term, *ttype; in cl_vi_init() local
204 ttype = O_STR(sp, O_TERM); in cl_vi_init()
224 cl_putenv("TERM", ttype, 0); in cl_vi_init()
241 if (newterm(ttype, stdout, stdin) == NULL) { in cl_vi_init()
243 msgq(sp, M_SYSERR, "%s", ttype); in cl_vi_init()
245 msgq(sp, M_ERR, "%s: unknown terminal type", ttype); in cl_vi_init()
/dragonfly/contrib/gcc-8.0/gcc/
HDattribs.c1118 tree ttype = otype; in build_type_attribute_qual_variant() local
1119 if (! attribute_list_equal (TYPE_ATTRIBUTES (ttype), attribute)) in build_type_attribute_qual_variant()
1129 if (TREE_CODE (ttype) == RECORD_TYPE in build_type_attribute_qual_variant()
1130 || TREE_CODE (ttype) == UNION_TYPE in build_type_attribute_qual_variant()
1131 || TREE_CODE (ttype) == QUAL_UNION_TYPE in build_type_attribute_qual_variant()
1132 || TREE_CODE (ttype) == ENUMERAL_TYPE) in build_type_attribute_qual_variant()
1136 TYPE_MAIN_VARIANT (ttype)); in build_type_attribute_qual_variant()
1137 return build_qualified_type (ttype, quals); in build_type_attribute_qual_variant()
1140 ttype = build_qualified_type (ttype, TYPE_UNQUALIFIED); in build_type_attribute_qual_variant()
1143 ttype = (lang_hooks.types.copy_lang_qualifiers in build_type_attribute_qual_variant()
[all …]
HDlto-streamer-in.c662 tree ttype = stream_read_tree (ib, data_in); in input_eh_regions() local
663 (*fn->eh->ttype_data)[i] = ttype; in input_eh_regions()
/dragonfly/games/hack/
HDhack.trap.c106 int ttype = trap->ttyp; in dotrap() local
109 if (trap->tseen && !rn2(5) && ttype != PIT) in dotrap()
110 pline("You escape a%s.", traps[ttype]); in dotrap()
113 switch (ttype) { in dotrap()
/dragonfly/contrib/gdb-7/gdb/
HDjv-lang.c617 struct type *ttype = check_typedef (TYPE_TARGET_TYPE (type)); in is_object_type() local
619 if (TYPE_CODE (ttype) != TYPE_CODE_STRUCT) in is_object_type()
621 while (TYPE_N_BASECLASSES (ttype) > 0) in is_object_type()
622 ttype = TYPE_BASECLASS (ttype, 0); in is_object_type()
623 name = TYPE_TAG_NAME (ttype); in is_object_type()
627 = TYPE_NFIELDS (ttype) > 0 ? TYPE_FIELD_NAME (ttype, 0) : (char *) 0; in is_object_type()
HDparser-defs.h90 struct ttype struct
/dragonfly/contrib/tcpdump/
HDprint-ptp.c280 …print_timestamp_identity(netdissect_options *ndo, const u_char *bp, u_int *len, const char *ttype);
482 const u_char *bp, u_int *len, const char *ttype) in ptp_print_timestamp_identity() argument
489 ND_PRINT(", %s :", ttype); in ptp_print_timestamp_identity()
/dragonfly/lib/libc/resolv/
HDres_send.c236 int n, ttype, tclass; in res_nameinquery() local
244 ttype = ns_get16(cp); cp += INT16SZ; in res_nameinquery()
246 if (ttype == type && tclass == class && in res_nameinquery()
287 int n, ttype, tclass; in res_queriesmatch() local
295 ttype = ns_get16(cp); cp += INT16SZ; in res_queriesmatch()
297 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) in res_queriesmatch()
/dragonfly/games/larn/
HDmain.c68 char *ttype; in main() local
126 ttype = getenv("TERM"); in main()
128 if (strcmp(ttype, termtypes[i]) == 0) { in main()
/dragonfly/contrib/gcc-4.7/gcc/
HDtree.c4216 build_type_attribute_qual_variant (tree ttype, tree attribute, int quals) in build_type_attribute_qual_variant() argument
4218 if (! attribute_list_equal (TYPE_ATTRIBUTES (ttype), attribute)) in build_type_attribute_qual_variant()
4222 enum tree_code code = TREE_CODE (ttype); in build_type_attribute_qual_variant()
4230 if (TREE_CODE (ttype) == RECORD_TYPE in build_type_attribute_qual_variant()
4231 || TREE_CODE (ttype) == UNION_TYPE in build_type_attribute_qual_variant()
4232 || TREE_CODE (ttype) == QUAL_UNION_TYPE in build_type_attribute_qual_variant()
4233 || TREE_CODE (ttype) == ENUMERAL_TYPE) in build_type_attribute_qual_variant()
4237 TYPE_MAIN_VARIANT (ttype)); in build_type_attribute_qual_variant()
4238 return build_qualified_type (ttype, quals); in build_type_attribute_qual_variant()
4241 ttype = build_qualified_type (ttype, TYPE_UNQUALIFIED); in build_type_attribute_qual_variant()
[all …]
HDlto-streamer-out.c554 tree ttype; in output_eh_regions() local
573 FOR_EACH_VEC_ELT (tree, fn->eh->ttype_data, i, ttype) in output_eh_regions()
574 stream_write_tree (ob, ttype, true); in output_eh_regions()
HDlto-streamer-in.c555 tree ttype = stream_read_tree (ib, data_in); in input_eh_regions() local
556 VEC_replace (tree, fn->eh->ttype_data, i, ttype); in input_eh_regions()
/dragonfly/contrib/lvm2/dist/libdm/
HDlibdm-common.c369 const char *ttype, const char *params) in dm_task_add_target() argument
371 struct target *t = create_target(start, size, ttype, params); in dm_task_add_target()
/dragonfly/contrib/gcc-4.7/gcc/cp/
HDerror.c2116 tree ttype = TREE_TYPE (t); in dump_expr() local
2119 if (TREE_CODE (ttype) != TREE_CODE (optype) in dump_expr()
2120 && POINTER_TYPE_P (ttype) in dump_expr()
2123 TREE_TYPE (ttype))) in dump_expr()
2125 if (TREE_CODE (ttype) == REFERENCE_TYPE) in dump_expr()
/dragonfly/contrib/tnftp/src/
HDcmds.c253 set_type(const char *ttype) in set_type() argument
259 if (strcmp(ttype, p->t_name) == 0) in set_type()
262 fprintf(ttyout, "%s: unknown mode.\n", ttype); in set_type()
/dragonfly/contrib/gcc-8.0/gcc/cp/
HDerror.c2411 tree ttype = TREE_TYPE (t); in dump_expr() local
2414 if (TREE_CODE (ttype) != TREE_CODE (optype) in dump_expr()
2415 && POINTER_TYPE_P (ttype) in dump_expr()
2418 TREE_TYPE (ttype))) in dump_expr()
2420 if (TREE_CODE (ttype) == REFERENCE_TYPE) in dump_expr()
/dragonfly/etc/etc.x86_64/
HDttys66 ttype none network
/dragonfly/nrelease/gui/etc/
HDttys65 ttype none network
/dragonfly/nrelease/root/etc/
HDttys63 ttype none network
/dragonfly/sys/dev/disk/isp/
HDisp.c4329 int ttype; in isp_start() local
4331 ttype = XS_TAG_TYPE(xs); in isp_start()
4334 ttype = REQFLAG_HTAG; in isp_start()
4336 ttype = REQFLAG_STAG; in isp_start()
4339 if (ttype == REQFLAG_OTAG) { in isp_start()
4340 ttype = FCP_CMND_TASK_ATTR_ORDERED; in isp_start()
4341 } else if (ttype == REQFLAG_HTAG) { in isp_start()
4342 ttype = FCP_CMND_TASK_ATTR_HEAD; in isp_start()
4344 ttype = FCP_CMND_TASK_ATTR_SIMPLE; in isp_start()
4346 ((ispreqt7_t *)reqp)->req_task_attribute = ttype; in isp_start()
/dragonfly/contrib/lvm2/dist/tools/
HDdmsetup.c190 char ttype[LINE_SIZE], *ptr, *comment; in _parse_line() local
209 &start, &size, ttype, &n) < 3) { in _parse_line()
218 if (!dm_task_add_target(dmt, start, size, ttype, ptr)) in _parse_line()

12