Lines Matching defs:otherkey1
777 const char *testkey, *otherkey1, *otherkey2;
788 otherkey1 = "key1";
790 nvlist_add_bool(nvl, otherkey1, otherval1);
798 ATF_REQUIRE(nvlist_exists_bool(nvl, otherkey1));
799 ATF_REQUIRE_EQ(nvlist_get_bool(nvl, otherkey1), otherval1);
831 const char *testkey, *otherkey1, *otherkey2;
838 otherkey1 = "key1";
840 nvlist_add_number(nvl, otherkey1, otherval1);
852 ATF_REQUIRE(nvlist_exists_number(nvl, otherkey1));
853 ATF_REQUIRE_EQ(nvlist_get_number(nvl, otherkey1), otherval1);
885 const char *testkey, *otherkey1, *otherkey2;
892 otherkey1 = "key1";
894 nvlist_add_string(nvl, otherkey1, otherval1);
906 ATF_REQUIRE(nvlist_exists_string(nvl, otherkey1));
907 ATF_REQUIRE_EQ(strcmp(nvlist_get_string(nvl, otherkey1), otherval1), 0);
939 const char *testkey, *otherkey1, *otherkey2;
949 otherkey1 = "key1";
951 nvlist_move_nvlist(nvl, otherkey1, otherval1);
958 ATF_REQUIRE(nvlist_exists_nvlist(nvl, otherkey1));
959 ATF_REQUIRE(nvlist_empty(nvlist_get_nvlist(nvl, otherkey1)));
996 const char *testkey, *otherkey1, *otherkey2;
1006 otherkey1 = "key1";
1008 nvlist_add_binary(nvl, otherkey1, otherval1, othersize);
1022 ATF_REQUIRE(nvlist_exists_binary(nvl, otherkey1));
1023 actual_value = nvlist_get_binary(nvl, otherkey1, &actual_size);