Home | History | Annotate | Download | only in unit

Lines Matching refs:NENTRIES

4 #define	NENTRIES 9
47 init_entries(list_t *entries, unsigned nentries)
51 for (i = 0; i < nentries; i++) {
58 test_entries_list(list_head_t *head, list_t *entries, unsigned nentries)
64 assert_c_eq(ql_last(head, link)->id, entries[nentries-1].id,
75 assert_c_eq(t->id, entries[nentries-i-1].id,
80 for (i = 0; i < nentries-1; i++) {
84 assert_ptr_null(ql_next(head, &entries[nentries-1], link),
88 for (i = 1; i < nentries; i++) {
97 list_t entries[NENTRIES];
102 for (i = 0; i < NENTRIES; i++)
105 test_entries_list(&head, entries, NENTRIES);
112 list_t entries[NENTRIES];
117 for (i = 0; i < NENTRIES; i++)
120 for (i = 0; i < NENTRIES; i++) {
121 test_entries_list(&head, entries, NENTRIES-i);
131 list_t entries[NENTRIES];
136 for (i = 0; i < NENTRIES; i++)
137 ql_head_insert(&head, &entries[NENTRIES-i-1], link);
139 test_entries_list(&head, entries, NENTRIES);
146 list_t entries[NENTRIES];
151 for (i = 0; i < NENTRIES; i++)
152 ql_head_insert(&head, &entries[NENTRIES-i-1], link);
154 for (i = 0; i < NENTRIES; i++) {
155 test_entries_list(&head, &entries[i], NENTRIES-i);