/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | comp_parse.c | 238 if (!isalnum(UChar(thisentry.tterm.term_names[0]))) in _nc_read_entry_source() 271 DEBUG(2, ("head = %s", _nc_head->tterm.term_names)); in _nc_read_entry_source() 272 DEBUG(2, ("tail = %s", _nc_tail->tterm.term_names)); in _nc_read_entry_source() 346 (p)->term_names != 0 && \ 359 char *to_name = _nc_first_name(to->term_names); 360 char *from_name = strdup(_nc_first_name(from->term_names)); 420 && check_collisions(qp->tterm.term_names, in _nc_resolve_uses2() 421 rp->tterm.term_names, in _nc_resolve_uses2() 424 (void) fprintf(stderr, "\t%s\n", rp->tterm.term_names); in _nc_resolve_uses2() 426 (void) fprintf(stderr, "and\t%s\n", qp->tterm.term_names); in _nc_resolve_uses2() [all …]
|
H A D | alloc_entry.c | 159 tp->term_names = _nc_save_str(tp->term_names); in _nc_wrap_entry() 175 assert(tp->term_names >= stringbuf); in _nc_wrap_entry() 176 n = (unsigned) (tp->term_names - stringbuf); in _nc_wrap_entry() 199 tp->term_names = tp->str_table + n; in _nc_wrap_entry() 268 str_size = strlen(to->term_names) + 1; in _nc_merge_entry() 287 _nc_STRCPY(str_copied, to->term_names, str_size); in _nc_merge_entry() 288 to->term_names = str_copied; in _nc_merge_entry()
|
H A D | alloc_ttype.c | 381 NonNull(to->term_names), in adjust_cancels() 382 NonNull(from->term_names))); in adjust_cancels() 433 na, to ? NonNull(to->term_names) : "?", in _nc_align_termtype() 434 nb, from ? NonNull(from->term_names) : "?")); in _nc_align_termtype() 502 NUM_EXT_NAMES(to), to->term_names)); in _nc_align_termtype() 511 NUM_EXT_NAMES(from), from->term_names)); in _nc_align_termtype() 557 if (src->term_names != NULL) { in copy_termtype() 559 dst->term_names = new_table + str_size; in copy_termtype() 560 _nc_STRCPY(dst->term_names + str_size, in copy_termtype() 561 src->term_names, in copy_termtype() [all …]
|
H A D | write_entry.c | 319 char *term_names = tp->term_names; in _nc_write_entry() local 320 size_t name_size = strlen(term_names); in _nc_write_entry() 325 _nc_syserr_abort("terminal name too long: %s", term_names); in _nc_write_entry() 328 _nc_STRCPY(name_list, term_names, sizeof(name_list)); in _nc_write_entry() 368 key.data = term_names; in _nc_write_entry() 383 term_names, in _nc_write_entry() 751 namelist = tp->term_names; in _nc_write_object()
|
H A D | parse_entry.c | 333 entryp->tterm.str_table = entryp->tterm.term_names = _nc_save_str(ptr); in _nc_parse_entry() 345 name = _nc_first_name(entryp->tterm.term_names); in _nc_parse_entry() 353 for (base = entryp->tterm.term_names; (ptr = strchr(base, '|')) != 0; in _nc_parse_entry() 357 (base == entryp->tterm.term_names) in _nc_parse_entry() 606 _nc_set_type(_nc_first_name(entryp->tterm.term_names)); in _nc_parse_entry() 623 if (strchr(entryp->tterm.term_names, '+')) { in _nc_parse_entry()
|
H A D | read_entry.c | 356 ptr->term_names = string_table; in _nc_read_termtype() 357 if ((have = (unsigned) Read(ptr->term_names, want)) != want) { in _nc_read_termtype() 358 memset(ptr->term_names + have, 0, (size_t) (want - have)); in _nc_read_termtype() 360 ptr->term_names[want] = '\0'; in _nc_read_termtype() 793 && (code = _nc_name_match(tp->term_names, name, "|")) == TGETENT_YES) { in _nc_read_tic_entry()
|
H A D | free_ttype.c | 51 T(("really_free_termtype(%s) %d", ptr->term_names, freeStrings)); in really_free_termtype()
|
H A D | MKfallback.sh | 133 if (_nc_name_match(tp->term_names, name, "|")) {
|
H A D | lib_setup.c | 119 result = TerminalType(termp).term_names; in NCURSES_EXPORT() 124 result = TerminalType(cur_term).term_names; in NCURSES_EXPORT() 910 && _nc_name_match(TerminalType(termp).term_names, myname, "|")) { in TINFO_SETUP_TERM()
|
H A D | read_termcap.c | 1160 if (_nc_name_match(ep->tterm.term_names, tn, "|:")) { in _nc_read_termcap_entry()
|
H A D | tinfo_driver.c | 927 } else if (strstr(SP_TERMTYPE term_names, "xterm") != 0) { in drv_initmouse()
|
/freebsd/contrib/ncurses/progs/ |
H A D | toe.c | 275 if (tp->term_names == 0 in term_description() 276 || (desc = strrchr(tp->term_names, '|')) == 0 in term_description() 312 unsigned long result = string_sum(tp->term_names); in checksum_of() 376 data.term_names = strmalloc(buffer); in show_termcap() 382 free(data.term_names); in show_termcap() 481 cn = _nc_first_name(lterm.term_names); in typelist() 519 cn = _nc_first_name(lterm.term_names); in typelist() 683 (void) printf("%s:", _nc_first_name(qp->tterm.term_names)); in main() 707 if (_nc_name_match(qp->tterm.term_names, in main() 711 _nc_first_name(qp->tterm.term_names)); in main() [all …]
|
H A D | infocmp.c | 468 #define for_each_entry() while (entries[extra].tterm.term_names) 1071 (void) fputs(qp->tterm.term_names, stderr); in file_comparison() 1089 if (_nc_entry_match(qp->tterm.term_names, rp->tterm.term_names)) { in file_comparison() 1108 _nc_first_name(qp->tterm.term_names), in file_comparison() 1115 _nc_first_name((qp->crosslinks[i])->tterm.term_names)); in file_comparison() 1123 _nc_first_name(rp->tterm.term_names), in file_comparison() 1130 _nc_first_name((rp->crosslinks[i])->tterm.term_names)); in file_comparison() 1138 _nc_first_name(qp->tterm.term_names)); in file_comparison() 1144 _nc_first_name(rp->tterm.term_names)); in file_comparison() 1159 canonical_name(qp->tterm.term_names, name1); in file_comparison() [all …]
|
H A D | tic.c | 247 _nc_set_type(_nc_first_name(ep->tterm.term_names)); in write_it() 999 if (matches(namelst, qp->tterm.term_names)) { in main() 1006 _nc_first_name(qp->tterm.term_names), in main() 1018 if (matches(namelst, qp->tterm.term_names)) { in main() 1020 _nc_set_type(_nc_first_name(qp->tterm.term_names)); in main() 1031 if (matches(namelst, qp->tterm.term_names)) in main() 1039 if (matches(namelst, qp->tterm.term_names)) { in main() 1044 _nc_set_type(_nc_first_name(qp->tterm.term_names)); in main() 1434 } else if (strchr(tp->term_names, '+') == NULL) { in check_cursor() 1730 char *name = _nc_first_name(tp->term_names); in check_screen() [all …]
|
H A D | dump_entry.c | 827 _nc_first_name(tterm->term_names), in fmt_complex() 852 _nc_first_name(tterm->term_names), in fmt_complex() 938 strcpy_DYN(&outbuf, tterm->term_names); in fmt_entry() 1017 + strlen(tterm->term_names) + 1); in fmt_entry() 1301 tterm->term_names, len, outbuf.used, outbuf.text); in fmt_entry() 1635 _nc_first_name(tterm->term_names), in dump_entry()
|
/freebsd/contrib/ncurses/ncurses/trace/ |
H A D | trace_xnames.c | 54 tp->term_names, in NCURSES_EXPORT()
|
/freebsd/usr.sbin/acpi/acpidump/ |
H A D | acpi.c | 1345 static const char *term_names[] = { in spcr_terminal_type() local 1352 if (type >= (int)nitems(term_names) || term_names[type] == NULL) in spcr_terminal_type() 1354 return (term_names[type]); in spcr_terminal_type()
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | lib_mouse.c | 649 && strstr(SP_TERMTYPE term_names, "xterm") == 0 in initialize_mousetype() 764 } else if (strstr(SP_TERMTYPE term_names, "xterm") != 0) { in initialize_mousetype()
|
/freebsd/contrib/ncurses/include/ |
H A D | MKterm.h.awk.in | 4 print " char *term_names; /* str_table offset of term names */"
|
/freebsd/contrib/ncurses/ncurses/ |
H A D | curses.priv.h | 1931 if (TerminalType(termp).term_names != 0) { \ 1933 TerminalType(termp).term_names, \
|
/freebsd/contrib/ncurses/ |
H A D | NEWS | 709 + add a null-pointer check for term_names field in copy_termtype(), 7942 + modify read_termtype() so the term_names data is always allocated as
|