Home
last modified time | relevance | path

Searched refs:ext_Names (Results 1 – 9 of 9) sorted by relevance

/openbsd-src/lib/libcurses/tinfo/
H A Dalloc_ttype.c108 realign_data(TERMTYPE2 *to, char **ext_Names, in realign_data() argument
136 if (find_name(to->ext_Names, to1, to2, ext_Names[m + from])) { in realign_data()
154 if (find_name(to->ext_Names, to1, to2, ext_Names[m + from])) { in realign_data()
172 if (find_name(to->ext_Names, to1, to2, ext_Names[m + from])) { in realign_data()
241 if (!strcmp(name, tp->ext_Names[j])) { in _nc_find_ext_name()
285 tp->ext_Names[j] = tp->ext_Names[j + 1]; in _nc_del_ext_name()
329 int cmp = strcmp(name, tp->ext_Names[j]); in _nc_ins_ext_name()
338 TYPE_REALLOC(char *, total, tp->ext_Names); in _nc_ins_ext_name()
340 tp->ext_Names[k] = tp->ext_Names[k - 1]; in _nc_ins_ext_name()
341 tp->ext_Names[j] = name; in _nc_ins_ext_name()
[all …]
H A Dalloc_entry.c222 length += strlen(tp->ext_Names[i]) + 1; in _nc_wrap_entry()
223 offsets[i] = (int) (tp->ext_Names[i] - stringbuf); in _nc_wrap_entry()
227 tp->ext_Names[i] = tp->ext_str_table + offset; in _nc_wrap_entry()
228 _nc_STRCPY(tp->ext_Names[i], in _nc_wrap_entry()
231 offset += strlen(tp->ext_Names[i]) + 1; in _nc_wrap_entry()
322 if (VALID_STRING(from->ext_Names[i])) in _nc_merge_entry()
323 str_size += strlen(from->ext_Names[i]) + 1; in _nc_merge_entry()
326 if (VALID_STRING(to->ext_Names[i])) in _nc_merge_entry()
327 str_size += strlen(to->ext_Names[i]) + 1; in _nc_merge_entry()
340 if (VALID_STRING(from->ext_Names[i])) { in _nc_merge_entry()
[all …]
H A Dcomp_parse.c261 FreeIfNeeded(thisentry.tterm.ext_Names); in _nc_read_entry_source()
293 if (!strcmp(p->ext_Names[n], name))
349 (p)->ext_Names != 0)
367 const char *capname = from->ext_Names[n];
378 from->ext_Names[n],
384 from->ext_Names[n],
599 FreeIfNeeded(qp->tterm.ext_Names); in _nc_resolve_uses2()
H A Dparse_entry.c101 if (!strcmp(name, tp->ext_Names[n])) { in _nc_extend_names()
122 int cmp = strcmp(tp->ext_Names[n], name); in _nc_extend_names()
176 TYPE_REALLOC(char *, actual, tp->ext_Names); in _nc_extend_names()
178 tp->ext_Names[actual] = tp->ext_Names[actual - 1]; in _nc_extend_names()
179 tp->ext_Names[offset] = saved; in _nc_extend_names()
182 temp.nte_name = tp->ext_Names[offset]; in _nc_extend_names()
H A Dfree_ttype.c65 FreeIfNeeded(ptr->ext_Names); in really_free_termtype()
H A Dwrite_entry.c868 nextfree += compute_offsets(tp->ext_Names, in _nc_write_object()
940 TRACE_OUT(("WRITE ext_Names[%d]=%s", (int) i, tp->ext_Names[i])); in _nc_write_object()
941 if (!WRITE_STRING(tp->ext_Names[i])) { in _nc_write_object()
H A Dread_entry.c535 TYPE_CALLOC(char *, need, ptr->ext_Names); in _nc_read_termtype()
540 ptr->ext_Names, in _nc_read_termtype()
/openbsd-src/lib/libcurses/
H A Dterm_entry.h62 #define EXT_NAMES(tp,i,limit,index,table) (i >= limit) ? tp->ext_Names[index] : table[i]
H A Dterm.h695 char **ext_Names; /* corresponding names */ member
731 char **ext_Names; /* corresponding names */ member