Home | History | Annotate | Download | only in base

Lines Matching defs:vdict

798 	heim_dict_t vdict = heim_dict_create(11);
801 heim_assert(k3 && vdict, "...");
802 ret = heim_dict_set_value(vdict, HSTR("vdict-k1"), heim_number_create(11));
804 ret = heim_dict_set_value(vdict, HSTR("vdict-k2"), heim_null_create());
806 ret = heim_dict_set_value(vdict, HSTR("vdict-k3"), HSTR("a value"));
808 ret = heim_db_set_value(db, NULL, k3, (heim_data_t)vdict, NULL);
811 heim_release(vdict);
816 vdict = (heim_dict_t)heim_db_copy_value(db2, NULL, k3, NULL);
819 heim_assert(vdict, "...");
820 heim_assert(heim_get_tid(vdict) == heim_dict_get_type_id(), "...");
822 v = heim_dict_copy_value(vdict, HSTR("vdict-k1"));
826 v = heim_dict_copy_value(vdict, HSTR("vdict-k2"));
830 v = heim_dict_copy_value(vdict, HSTR("vdict-k3"));
834 heim_release(vdict);