Lines Matching refs:t
1021 struct test_bitmap_cut *t = &test_cut[i]; in test_bitmap_cut() local
1023 memcpy(in, t->in, sizeof(t->in)); in test_bitmap_cut()
1025 bitmap_cut(out, in, t->first, t->cut, t->nbits); in test_bitmap_cut()
1027 expect_eq_bitmap(t->expected, out, t->nbits); in test_bitmap_cut()
1141 const struct test_bitmap_print *t = &test_print[i]; in test_bitmap_print_buf() local
1144 n = bitmap_print_bitmask_to_buf(print_buf, t->bitmap, t->nbits, in test_bitmap_print_buf()
1146 expect_eq_uint(strlen(t->mask) + 1, n); in test_bitmap_print_buf()
1147 expect_eq_str(t->mask, print_buf, n); in test_bitmap_print_buf()
1149 n = bitmap_print_list_to_buf(print_buf, t->bitmap, t->nbits, in test_bitmap_print_buf()
1151 expect_eq_uint(strlen(t->list) + 1, n); in test_bitmap_print_buf()
1152 expect_eq_str(t->list, print_buf, n); in test_bitmap_print_buf()
1155 if (strlen(t->list) > PAGE_SIZE) { in test_bitmap_print_buf()
1156 n = bitmap_print_list_to_buf(print_buf, t->bitmap, t->nbits, in test_bitmap_print_buf()
1158 expect_eq_uint(strlen(t->list) + 1 - PAGE_SIZE, n); in test_bitmap_print_buf()
1159 expect_eq_str(t->list + PAGE_SIZE, print_buf, n); in test_bitmap_print_buf()