Lines Matching defs:length
12 static int ebitmap_init_random(ebitmap_t *e, unsigned int length, int set_chance)
22 for (i = 0; i < length; i++) {
974 static void test_ebitmap__random_impl(unsigned int length, int set_chance)
979 CU_ASSERT_EQUAL(ebitmap_init_random(&e1, length, set_chance), 0);
980 CU_ASSERT_EQUAL(ebitmap_init_random(&e2, length, set_chance), 0);
986 for (i = 0; i < length; i++)
990 for (i = 0; i < length; i++)
994 for (i = 0; i < length; i++)
999 CU_ASSERT_EQUAL(ebitmap_not(&dst_not1, &e1, length), 0);
1000 for (i = 0; i < length; i++)
1002 CU_ASSERT_EQUAL(ebitmap_not(&dst_not2, &dst_not1, length), 0);
1005 CU_ASSERT_EQUAL(ebitmap_andnot(&dst_andnot, &e1, &e2, length), 0);
1006 for (i = 0; i < length; i++)