Searched refs:NUM_NUMBERS (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/ncurses/include/ |
H A D | term_entry.h | 58 #define NUM_NUMBERS(tp) (tp)->num_Numbers macro 63 #define NUM_NUMBERS(tp) NUMCOUNT 71 #define for_each_number(n,tp) for(n = 0; n < NUM_NUMBERS(tp); n++) 76 #define for_each_ext_number(n,tp) for(n = NUMCOUNT; (int) n < (int) NUM_NUMBERS(tp); n++)
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | alloc_ttype.c | 590 TYPE_MALLOC(short, NUM_NUMBERS(dst), oldptr); in copy_termtype() 594 TYPE_MALLOC(int, NUM_NUMBERS(dst), newptr); in copy_termtype() 599 for (i = 0; i < NUM_NUMBERS(dst); ++i) { in copy_termtype() 608 for (i = 0; i < NUM_NUMBERS(dst); ++i) { in copy_termtype() 618 NUM_NUMBERS(dst) * ((mode & dstINT) in copy_termtype() 624 TYPE_MALLOC(short, NUM_NUMBERS(dst), dst->Numbers); in copy_termtype() 627 NUM_NUMBERS(dst) * sizeof(dst->Numbers[0])); in copy_termtype()
|
/freebsd/contrib/ncurses/progs/ |
H A D | infocmp.c | 245 if (idx < NUM_NUMBERS(&(entries[0].tterm))) { in use_predicate() 247 if (idx < NUM_NUMBERS(&(ep->tterm)) in use_predicate() 334 for (i = 0; i < NUM_NUMBERS(t1); i++) in entryeq() 1427 || (NUM_NUMBERS(term) != NUMCOUNT) in dump_initializers() 1435 for (n = NUMCOUNT; n < NUM_NUMBERS(term); ++n) { in dump_initializers() 1465 || (NUM_NUMBERS(term) != NUMCOUNT) in dump_termtype() 1471 (void) printf("\t\t%d,\t\t/* count total Numbers */\n", NUM_NUMBERS(term)); in dump_termtype() 1477 NUM_NUMBERS(term) - NUMCOUNT); in dump_termtype()
|
H A D | toe.c | 318 for (i = 0; i < NUM_NUMBERS(tp); i++) { in checksum_of()
|