Home
last modified time | relevance | path

Searched refs:STRCOUNT (Results 1 – 10 of 10) sorted by relevance

/openbsd-src/lib/libcurses/tinfo/
H A Dinit_keytry.c81 if (_nc_tinfo_fkeys[n].offset < STRCOUNT) { in _nc_init_keytry()
95 for (n = STRCOUNT; n < NUM_STRINGS(tp); ++n) { in _nc_init_keytry()
105 n - STRCOUNT + KEY_MAX); in _nc_init_keytry()
H A Dread_entry.c237 tp->num_Strings = STRCOUNT; in _nc_init_termtype()
247 TYPE_MALLOC(char *, STRCOUNT, tp->Strings); in _nc_init_termtype()
336 str_count, STRCOUNT, str_size)); in _nc_read_termtype()
343 || str_count > STRCOUNT in _nc_read_termtype()
389 TYPE_CALLOC(char *, max(STRCOUNT, str_count), ptr->Strings); in _nc_read_termtype()
409 ptr->num_Strings = STRCOUNT; in _nc_read_termtype()
438 ptr->num_Strings = UShort(STRCOUNT + ext_str_count); in _nc_read_termtype()
512 ptr->Strings[i + STRCOUNT] = ptr->Strings[i + str_count]; in _nc_read_termtype()
513 if (VALID_STRING(ptr->Strings[i + STRCOUNT])) { in _nc_read_termtype()
514 base += (int) (strlen(ptr->Strings[i + STRCOUNT]) + 1); in _nc_read_termtype()
[all …]
H A Dwrite_entry.c695 if (tp->Strings[STRCOUNT + i] != ABSENT_STRING) in extended_Strings()
749 last_str = STRCOUNT; in _nc_write_object()
859 nextfree = compute_offsets(tp->Strings + STRCOUNT, in _nc_write_object()
874 if (VALID_STRING(tp->Strings[i + STRCOUNT])) { in _nc_write_object()
927 if (VALID_STRING(tp->Strings[i + STRCOUNT])) { in _nc_write_object()
929 _nc_visbuf(tp->Strings[i + STRCOUNT]))); in _nc_write_object()
930 if (!WRITE_STRING(tp->Strings[i + STRCOUNT])) { in _nc_write_object()
H A Dcomp_parse.c317 result = ((p->Strings[STRCOUNT + which] != CANCELLED_STRING)
H A Dparse_entry.c136 tindex += STRCOUNT; in _nc_extend_names()
/openbsd-src/lib/libcurses/
H A Dterm_entry.h66 #define NUM_STRINGS(tp) STRCOUNT
79 #define for_each_ext_string(n,tp) for(n = STRCOUNT; (int) n < (int) NUM_STRINGS(tp); n++)
84 #define ExtStrname(tp,i,names) EXT_NAMES(tp, i, STRCOUNT, (i - (tp->num_Strings - tp->ext_Strings)…
H A Dterm.h681 #define STRCOUNT 414 macro
/openbsd-src/usr.bin/infocmp/
H A Dinfocmp.c839 for (i = 0; i < STRCOUNT; i++) { in analyze_string()
1406 || (NUM_STRINGS(term) != STRCOUNT)) { in dump_initializers()
1417 for (n = STRCOUNT; n < NUM_STRINGS(term); ++n) { in dump_initializers()
1444 || (NUM_STRINGS(term) != STRCOUNT)) in dump_termtype()
1457 NUM_STRINGS(term) - STRCOUNT); in dump_termtype()
/openbsd-src/usr.bin/tic/
H A Dtic.c215 for (n = 0; n < STRCOUNT; n++) { in write_it()
2452 assert(SIZEOF(parametrized) == STRCOUNT); in check_infotocap()
2722 for (j = STRCOUNT; j < NUM_STRINGS(tp); ++j) { in get_fkey_list()
3212 check_params(tp, name, a, (j >= STRCOUNT)); in check_termtype()
H A Ddump_entry.c105 #define StrIndirect(j) ((j >= STRCOUNT) ? (j) : ((sortmode == S_NOSORT) ? j : str_indirect[j]))
1581 for (n = STRCOUNT; n < NUM_STRINGS(tterm); n++) { in dump_entry()