Lines Matching refs:packed
433 void *packed; in ATF_TEST_CASE_BODY() local
439 packed = nvlist_pack(nvl, &packed_size); in ATF_TEST_CASE_BODY()
440 ATF_REQUIRE(packed != NULL); in ATF_TEST_CASE_BODY()
442 unpacked = nvlist_unpack(packed, packed_size, 0); in ATF_TEST_CASE_BODY()
449 free(packed); in ATF_TEST_CASE_BODY()
456 void *packed; in ATF_TEST_CASE_BODY() local
466 packed = nvlist_pack(nvl, &packed_size); in ATF_TEST_CASE_BODY()
467 ATF_REQUIRE(packed != NULL); in ATF_TEST_CASE_BODY()
469 unpacked = nvlist_unpack(packed, packed_size, 0); in ATF_TEST_CASE_BODY()
472 unpacked = nvlist_unpack(packed, packed_size, NV_FLAG_IGNORE_CASE); in ATF_TEST_CASE_BODY()
475 unpacked = nvlist_unpack(packed, packed_size, NV_FLAG_NO_UNIQUE); in ATF_TEST_CASE_BODY()
483 free(packed); in ATF_TEST_CASE_BODY()
540 void *binvalue, *packed, *it; in ATF_TEST_CASE_BODY() local
567 packed = nvlist_pack(nvl, &packed_size); in ATF_TEST_CASE_BODY()
568 ATF_REQUIRE(packed != NULL); in ATF_TEST_CASE_BODY()
570 unpacked = nvlist_unpack(packed, packed_size, 0); in ATF_TEST_CASE_BODY()
601 free(packed); in ATF_TEST_CASE_BODY()
608 void *packed; in ATF_TEST_CASE_BODY() local
616 packed = nvlist_pack(nvl, &size); in ATF_TEST_CASE_BODY()
617 ATF_REQUIRE(packed == NULL); in ATF_TEST_CASE_BODY()
627 void *packed, *keypos; in ATF_TEST_CASE_BODY() local
640 packed = nvlist_pack(nvl, &size); in ATF_TEST_CASE_BODY()
641 ATF_REQUIRE(packed != NULL); in ATF_TEST_CASE_BODY()
647 keypos = memmem(packed, size, key1, keylen); in ATF_TEST_CASE_BODY()
651 unpacked = nvlist_unpack(packed, size, 0); in ATF_TEST_CASE_BODY()
654 free(packed); in ATF_TEST_CASE_BODY()