Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/ncurses/include/
Dterm_entry.h93 #define NUM_STRINGS(tp) (tp)->num_Strings macro
98 #define NUM_STRINGS(tp) STRCOUNT macro
106 #define for_each_string(n,tp) for(n = 0; n < NUM_STRINGS(tp); n++)
111 #define for_each_ext_string(n,tp) for(n = STRCOUNT; n < NUM_STRINGS(tp); n++)
/freebsd-12-stable/usr.bin/top/
Dutils.c289 #define NUM_STRINGS 8 macro
294 static char retarray[NUM_STRINGS][16]; in format_k()
299 index_ = (index_ + 1) % NUM_STRINGS; in format_k()
/freebsd-12-stable/contrib/ncurses/ncurses/tinfo/
Dinit_keytry.c92 for (n = STRCOUNT; n < NUM_STRINGS(tp); ++n) { in _nc_init_keytry()
Dalloc_ttype.c487 TYPE_MALLOC(char *, NUM_STRINGS(dst), dst->Strings); in _nc_copy_termtype()
497 NUM_STRINGS(dst) * sizeof(dst->Strings[0])); in _nc_copy_termtype()
/freebsd-12-stable/contrib/ncurses/progs/
Dinfocmp.c287 for (i = 0; i < NUM_STRINGS(t1); i++) in entryeq()
1360 || (NUM_STRINGS(term) != STRCOUNT)) { in dump_initializers()
1371 for (n = STRCOUNT; n < NUM_STRINGS(term); ++n) { in dump_initializers()
1398 || (NUM_STRINGS(term) != STRCOUNT)) in dump_termtype()
1404 (void) printf("\t\t%d,\t\t/* count total Strings */\n", NUM_STRINGS(term)); in dump_termtype()
1411 NUM_STRINGS(term) - STRCOUNT); in dump_termtype()
Ddump_entry.c977 for (n = 0; n < NUM_STRINGS(tterm); ++n) { in kill_string()
990 for (n = 0; n < NUM_STRINGS(tterm); ++n) { in find_string()
1153 for (n = STRCOUNT; n < NUM_STRINGS(tterm); n++) { in dump_entry()
Dtic.c1896 NAME_VALUE *result = typeMalloc(NAME_VALUE, NUM_STRINGS(tp) + 1); in get_fkey_list()
1914 for (j = STRCOUNT; j < NUM_STRINGS(tp); ++j) { in get_fkey_list()
1954 char *check = calloc((size_t) (NUM_STRINGS(tp) + 1), sizeof(char)); in check_termtype()
Dtoe.c308 for (i = 0; i < NUM_STRINGS(tp); i++) { in checksum_of()