• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/ncurses/ncurses/tinfo/

Lines Matching refs:tp

69     TERMTYPE *tp = &(entryp->tterm);
79 last = tp->ext_Booleans;
80 offset = tp->ext_Booleans;
81 tindex = tp->num_Booleans;
84 first = tp->ext_Booleans;
85 last = tp->ext_Numbers + first;
86 offset = (unsigned) (tp->ext_Booleans + tp->ext_Numbers);
87 tindex = tp->num_Numbers;
90 first = (unsigned) (tp->ext_Booleans + tp->ext_Numbers);
91 last = tp->ext_Strings + first;
92 offset = (unsigned) (tp->ext_Booleans + tp->ext_Numbers + tp->ext_Strings);
93 tindex = tp->num_Strings;
96 actual = NUM_EXT_NAMES(tp);
98 if (!strcmp(name, tp->ext_Names[n])) {
99 if (n > (unsigned) (tp->ext_Booleans + tp->ext_Numbers)) {
101 } else if (n > tp->ext_Booleans) {
119 int cmp = strcmp(tp->ext_Names[n], name);
146 tp->ext_Booleans++;
147 tp->num_Booleans++;
148 TYPE_REALLOC(NCURSES_SBOOL, tp->num_Booleans, tp->Booleans);
149 for_each_value(tp->num_Booleans)
150 tp->Booleans[last] = tp->Booleans[last - 1];
153 tp->ext_Numbers++;
154 tp->num_Numbers++;
155 TYPE_REALLOC(short, tp->num_Numbers, tp->Numbers);
156 for_each_value(tp->num_Numbers)
157 tp->Numbers[last] = tp->Numbers[last - 1];
160 tp->ext_Strings++;
161 tp->num_Strings++;
162 TYPE_REALLOC(char *, tp->num_Strings, tp->Strings);
163 for_each_value(tp->num_Strings)
164 tp->Strings[last] = tp->Strings[last - 1];
167 actual = NUM_EXT_NAMES(tp);
168 TYPE_REALLOC(char *, actual, tp->ext_Names);
170 tp->ext_Names[actual] = tp->ext_Names[actual - 1];
171 tp->ext_Names[offset] = _nc_save_str(name);
174 temp.nte_name = tp->ext_Names[offset];
637 #define CUR tp->
640 postprocess_termcap(TERMTYPE *tp, bool has_base)
826 if (WANTED(tp->Strings[from_ptr->nte_index])) {
831 if (tp->Strings[to_ptr->nte_index]) {
836 tp->Strings[from_ptr->nte_index],
837 tp->Strings[to_ptr->nte_index]) != 0)
840 _nc_visbuf(tp->Strings[to_ptr->nte_index]));
848 for (dp = buf2, bp = tp->Strings[from_ptr->nte_index]; *bp; bp++) {
858 tp->Strings[to_ptr->nte_index] = _nc_save_str(buf2);
927 postprocess_terminfo(TERMTYPE *tp)