Searched refs:dict1 (Results 1 – 9 of 9) sorted by relevance
/openbmc/qemu/tests/unit/ |
H A D | check-block-qdict.c | 130 QDict *dict1 = qdict_new(); in qdict_clone_flatten_test() local 141 qdict_put(dict1, "a", dict2); in qdict_clone_flatten_test() 145 qdict_flatten(dict1); in qdict_clone_flatten_test() 156 qobject_unref(dict1); in qdict_clone_flatten_test() 163 QDict *dict1, *dict2; in qdict_array_split_test() local 217 g_assert(dict1); in qdict_array_split_test() 229 qobject_unref(dict1); in qdict_array_split_test() 346 QDict *dict1, *dict2; in qdict_join_test() local 350 dict1 = qdict_new(); in qdict_join_test() 409 qdict_del(dict1, "foo"); in qdict_join_test() [all …]
|
H A D | test-qobject-output-visitor.c | 175 ud2->dict1 = g_malloc0(sizeof(*ud2->dict1)); in test_visitor_out_struct_nested() 176 ud2->dict1->string1 = g_strdup(strings[1]); in test_visitor_out_struct_nested() 178 ud2->dict1->dict2 = g_malloc0(sizeof(*ud2->dict1->dict2)); in test_visitor_out_struct_nested() 181 ud2->dict1->dict2->userdef->integer = value; in test_visitor_out_struct_nested() 184 ud2->dict1->dict3 = g_malloc0(sizeof(*ud2->dict1->dict3)); in test_visitor_out_struct_nested() 187 ud2->dict1->dict3->userdef->integer = value; in test_visitor_out_struct_nested() 197 dict1 = qdict_get_qdict(qdict, "dict1"); in test_visitor_out_struct_nested() 198 g_assert_cmpint(qdict_size(dict1), ==, 3); in test_visitor_out_struct_nested() 201 dict2 = qdict_get_qdict(dict1, "dict2"); in test_visitor_out_struct_nested() 209 dict3 = qdict_get_qdict(dict1, "dict3"); in test_visitor_out_struct_nested() [all …]
|
H A D | test-visitor-serialization.c | 218 udnp->dict1 = g_malloc0(sizeof(*udnp->dict1)); in nested_struct_create() 219 udnp->dict1->string1 = strdup("test_string1"); in nested_struct_create() 220 udnp->dict1->dict2 = g_malloc0(sizeof(*udnp->dict1->dict2)); in nested_struct_create() 222 udnp->dict1->dict2->userdef->integer = 42; in nested_struct_create() 225 udnp->dict1->dict3 = g_malloc0(sizeof(*udnp->dict1->dict3)); in nested_struct_create() 227 udnp->dict1->dict3->userdef->integer = 43; in nested_struct_create() 238 g_assert_cmpstr(udnp1->dict1->string1, ==, udnp2->dict1->string1); in nested_struct_compare() 243 g_assert_cmpstr(udnp1->dict1->dict2->string, ==, in nested_struct_compare() 244 udnp2->dict1->dict2->string); in nested_struct_compare() 245 g_assert(!udnp1->dict1->dict3 == !udnp2->dict1->dict3); in nested_struct_compare() [all …]
|
H A D | test-qmp-cmds.c | 94 ret->dict1 = g_new0(UserDefTwoDict, 1); in qmp_user_def_cmd2() 95 ret->dict1->string1 = strdup("blah2"); in qmp_user_def_cmd2() 96 ret->dict1->dict2 = g_new0(UserDefTwoDictDict, 1); in qmp_user_def_cmd2() 97 ret->dict1->dict2->userdef = ud1c; in qmp_user_def_cmd2() 98 ret->dict1->dict2->string = strdup("blah3"); in qmp_user_def_cmd2() 99 ret->dict1->dict3 = g_new0(UserDefTwoDictDict, 1); in qmp_user_def_cmd2() 100 ret->dict1->dict3->userdef = ud1d; in qmp_user_def_cmd2() 101 ret->dict1->dict3->string = strdup("blah4"); in qmp_user_def_cmd2()
|
H A D | test-qobject-input-visitor.c | 430 g_assert_cmpstr(udp->dict1->string1, ==, "string1"); in test_visitor_in_struct_nested() 431 g_assert_cmpint(udp->dict1->dict2->userdef->integer, ==, 42); in test_visitor_in_struct_nested() 432 g_assert_cmpstr(udp->dict1->dict2->userdef->string, ==, "string"); in test_visitor_in_struct_nested() 433 g_assert_cmpstr(udp->dict1->dict2->string, ==, "string2"); in test_visitor_in_struct_nested() 434 g_assert(!udp->dict1->dict3); in test_visitor_in_struct_nested()
|
/openbmc/linux/drivers/tty/vt/ |
H A D | consolemap.c | 467 static int con_unify_unimap(struct vc_data *conp, struct uni_pagedict *dict1) in con_unify_unimap() argument 476 if (!dict2 || dict2 == dict1 || dict2->sum != dict1->sum) in con_unify_unimap() 479 u16 **dir1 = dict1->uni_pgdir[d]; in con_unify_unimap() 500 con_release_unimap(dict1); in con_unify_unimap() 501 kfree(dict1); in con_unify_unimap()
|
/openbmc/openbmc-test-automation/lib/ |
H A D | var_funcs.py | 947 dict1 = {} 956 dict1[key] = dictionary[key] 957 return dict1, dict2
|
/openbmc/qemu/tests/qapi-schema/ |
H A D | qapi-schema-test.json | 67 'dict1': 'UserDefTwoDict' } }
|
H A D | qapi-schema-test.out | 61 member dict1: UserDefTwoDict optional=False
|