Lines Matching refs:testsize
973 size_t testsize, actual_size; in ATF_TEST_CASE_BODY() local
979 testsize = 457; in ATF_TEST_CASE_BODY()
980 testval = malloc(testsize); in ATF_TEST_CASE_BODY()
981 memset(testval, '5', testsize); in ATF_TEST_CASE_BODY()
982 nvlist_move_binary(nvl, testkey, testval, testsize); in ATF_TEST_CASE_BODY()
985 ATF_REQUIRE_EQ(testsize, actual_size); in ATF_TEST_CASE_BODY()
986 ATF_REQUIRE_EQ(memcmp(actual_val, testval, testsize), 0); in ATF_TEST_CASE_BODY()
1000 size_t testsize, othersize, actual_size; in ATF_TEST_CASE_BODY() local
1015 testsize = sizeof(testval); in ATF_TEST_CASE_BODY()
1016 nvlist_add_binary(nvl, testkey, testval, testsize); in ATF_TEST_CASE_BODY()
1019 ATF_REQUIRE_EQ(testsize, actual_size); in ATF_TEST_CASE_BODY()
1020 ATF_REQUIRE_EQ(memcmp(actual_value, testval, testsize), 0); in ATF_TEST_CASE_BODY()