Lines Matching defs:testbool
47 bool testbool[16];
62 testbool[i] = (i % 2 == 0);
64 nvlist_add_bool_array(nvl, key, testbool, 16);
74 ATF_REQUIRE_EQ(const_result[i], testbool[i]);
80 ATF_REQUIRE_EQ(result[i], testbool[i]);
336 bool testbool[16];
346 testbool[i] = (i % 2 == 0);
361 nvlist_add_bool_array(src, "nvl/bool", testbool, nitems(testbool));
393 ATF_REQUIRE_EQ(num_items, nitems(testbool));
456 bool *testbool;
470 testbool = (bool*)malloc(sizeof(*testbool) * count);
471 ATF_REQUIRE(testbool != NULL);
473 testbool[i] = (i % 2 == 0);
475 nvlist_move_bool_array(nvl, key, testbool, count);
483 ATF_REQUIRE(const_result == testbool);
914 bool testbool[16];
916 for (i = 0; i < nitems(testbool); i++)
917 testbool[i] = (i % 2 == 0);
925 nvlist_add_bool_array(nvl, key, testbool, nitems(testbool));
939 ATF_REQUIRE_EQ(count, nitems(testbool));
941 ATF_REQUIRE_EQ(testbool[i], const_result[i]);