Lines Matching refs:testsize
971 size_t testsize, actual_size; in ATF_TEST_CASE_BODY() local
977 testsize = 457; in ATF_TEST_CASE_BODY()
978 testval = malloc(testsize); in ATF_TEST_CASE_BODY()
979 memset(testval, '5', testsize); in ATF_TEST_CASE_BODY()
980 nvlist_move_binary(nvl, testkey, testval, testsize); in ATF_TEST_CASE_BODY()
983 ATF_REQUIRE_EQ(testsize, actual_size); in ATF_TEST_CASE_BODY()
984 ATF_REQUIRE_EQ(memcmp(actual_val, testval, testsize), 0); in ATF_TEST_CASE_BODY()
998 size_t testsize, othersize, actual_size; in ATF_TEST_CASE_BODY() local
1013 testsize = sizeof(testval); in ATF_TEST_CASE_BODY()
1014 nvlist_add_binary(nvl, testkey, testval, testsize); in ATF_TEST_CASE_BODY()
1017 ATF_REQUIRE_EQ(testsize, actual_size); in ATF_TEST_CASE_BODY()
1018 ATF_REQUIRE_EQ(memcmp(actual_value, testval, testsize), 0); in ATF_TEST_CASE_BODY()