Lines Matching refs:value
51 qn = qobject_to(QNum, ent->value); in qdict_put_obj_test()
72 const int value = -42; in qdict_get_test() local
76 qdict_put_int(tests_dict, key, value); in qdict_get_test()
82 g_assert_cmpint(qnum_get_int(qn), ==, value); in qdict_get_test()
90 const int value = 100; in qdict_get_int_test() local
94 qdict_put_int(tests_dict, key, value); in qdict_get_int_test()
97 g_assert(ret == value); in qdict_get_int_test()
105 const int value = 100; in qdict_get_try_int_test() local
109 qdict_put_int(tests_dict, key, value); in qdict_get_try_int_test()
113 g_assert(ret == value); in qdict_get_try_int_test()
237 int value; in qdict_put_exists_test() local
244 value = qdict_get_int(tests_dict, key); in qdict_put_exists_test()
245 g_assert(value == 2); in qdict_put_exists_test()
276 char value[128]; in read_line() local
278 if (fscanf(file, "%127s%127s", key, value) == EOF) { in read_line()
282 return qstring_from_str(value); in read_line()
293 QString *value; in qdict_stress_test() local
305 value = read_line(test_file, key); in qdict_stress_test()
306 if (!value) in qdict_stress_test()
309 qdict_put(qdict, key, value); in qdict_stress_test()
318 value = read_line(test_file, key); in qdict_stress_test()
319 if (!value) in qdict_stress_test()
322 str1 = qstring_get_str(value); in qdict_stress_test()
329 qobject_unref(value); in qdict_stress_test()
335 value = read_line(test_file, key); in qdict_stress_test()
336 if (!value) in qdict_stress_test()
340 qobject_unref(value); in qdict_stress_test()