Home
last modified time | relevance | path

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

/src/contrib/ncurses/include/
H A Dterm_entry.h59 #define NUM_STRINGS(tp) (tp)->num_Strings macro
64 #define NUM_STRINGS(tp) STRCOUNT
72 #define for_each_string(n,tp) for(n = 0; n < NUM_STRINGS(tp); n++)
77 #define for_each_ext_string(n,tp) for(n = STRCOUNT; (int) n < (int) NUM_STRINGS(tp); n++)
/src/usr.bin/top/
H A Dutils.c266 #define NUM_STRINGS 8 macro
271 static char retarray[NUM_STRINGS][16]; in format_k()
276 index_ = (index_ + 1) % NUM_STRINGS; in format_k()
/src/contrib/ncurses/progs/
H A Dinfocmp.c276 if (idx < NUM_STRINGS(&(entries[0].tterm))) { in use_predicate()
278 if (idx < NUM_STRINGS(&(ep->tterm)) in use_predicate()
345 for (i = 0; i < NUM_STRINGS(t1); i++) in entryeq()
1521 || (NUM_STRINGS(term) != STRCOUNT)) { in dump_initializers()
1528 for (n = STRCOUNT; n < NUM_STRINGS(term); ++n) { in dump_initializers()
1542 for (n = STRCOUNT; n < NUM_STRINGS(term); ++n) { in dump_initializers()
1569 || (NUM_STRINGS(term) != STRCOUNT)) in dump_termtype()
1575 (void) printf("\t\t%d,\t\t/* count total Strings */\n", NUM_STRINGS(term)); in dump_termtype()
1582 NUM_STRINGS(term) - STRCOUNT); in dump_termtype()
H A Ddump_entry.c1319 for (n = 0; n < NUM_STRINGS(tterm); ++n) { in kill_string()
1332 for (n = 0; n < NUM_STRINGS(tterm); ++n) { in find_string()
1581 for (n = STRCOUNT; n < NUM_STRINGS(tterm); n++) { in dump_entry()
H A Dtoe.c319 for (i = 0; i < NUM_STRINGS(tp); i++) { in checksum_of()
H A Dtic.c2703 NAME_VALUE *result = typeMalloc(NAME_VALUE, NUM_STRINGS(tp) + 1); in get_fkey_list()
2721 for (j = STRCOUNT; j < NUM_STRINGS(tp); ++j) { in get_fkey_list()
2755 char *check = calloc((size_t) (NUM_STRINGS(tp) + 1), sizeof(char)); in check_conflict()
/src/contrib/ncurses/ncurses/tinfo/
H A Dinit_keytry.c95 for (n = STRCOUNT; n < NUM_STRINGS(tp); ++n) { in _nc_init_keytry()
H A Dalloc_ttype.c389 if ((j + j_str) > NUM_STRINGS(to)) in adjust_cancels()
549 TYPE_MALLOC(char *, NUM_STRINGS(dst), dst->Strings); in copy_termtype()
556 NUM_STRINGS(dst) * sizeof(dst->Strings[0])); in copy_termtype()
H A Dalloc_entry.c394 if (i >= NUM_STRINGS(to)) in _nc_merge_entry()