Lines Matching refs:testkey

328 	key = "testkey";
671 key = "testkey";
720 key = "testkey";
741 key = "testkey";
757 const char *testkey;
763 testkey = "boolkey";
765 nvlist_add_bool(nvl, testkey, testval);
767 ATF_REQUIRE_EQ(nvlist_take_bool(nvl, testkey), testval);
777 const char *testkey, *otherkey1, *otherkey2;
784 testkey = "boolkey";
786 nvlist_add_bool(nvl, testkey, testval);
796 ATF_REQUIRE_EQ(nvlist_take_bool(nvl, testkey), testval);
811 const char *testkey;
817 testkey = "numkey";
819 nvlist_add_number(nvl, testkey, testval);
821 ATF_REQUIRE_EQ(nvlist_take_number(nvl, testkey), testval);
831 const char *testkey, *otherkey1, *otherkey2;
842 testkey = "numkey";
844 nvlist_add_number(nvl, testkey, testval);
850 ATF_REQUIRE_EQ(nvlist_take_number(nvl, testkey), testval);
865 const char *testkey;
871 testkey = "numkey";
873 nvlist_add_string(nvl, testkey, testval);
875 ATF_REQUIRE_EQ(strcmp(nvlist_take_string(nvl, testkey), testval), 0);
885 const char *testkey, *otherkey1, *otherkey2;
900 testkey = "strkey";
902 nvlist_add_string(nvl, testkey, testval);
904 ATF_REQUIRE_EQ(strcmp(nvlist_take_string(nvl, testkey), testval), 0);
919 const char *testkey;
925 testkey = "numkey";
927 nvlist_move_nvlist(nvl, testkey, testval);
929 verify_test_nvlist(nvlist_take_nvlist(nvl, testkey));
939 const char *testkey, *otherkey1, *otherkey2;
945 testkey = "strkey";
947 nvlist_move_nvlist(nvl, testkey, testval);
956 verify_test_nvlist(nvlist_take_nvlist(nvl, testkey));
970 const char *testkey;
978 testkey = "numkey";
982 nvlist_move_binary(nvl, testkey, testval, testsize);
984 actual_val = nvlist_take_binary(nvl, testkey, &actual_size);
996 const char *testkey, *otherkey1, *otherkey2;
1014 testkey = "strkey";
1016 nvlist_add_binary(nvl, testkey, testval, testsize);
1018 actual_value = nvlist_take_binary(nvl, testkey, &actual_size);