Home
last modified time | relevance | path

Searched refs:QString (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/qemu/qobject/
H A Dqstring.c22 QString *qstring_new(void) in qstring_new()
34 QString *qstring; in qstring_from_substr()
48 QString *qstring_from_str(const char *str) in qstring_from_str()
59 QString *qstring_from_gstring(GString *gstr) in qstring_from_gstring()
61 QString *qstring; in qstring_from_gstring()
76 const char *qstring_get_str(const QString *qstring) in qstring_get_str()
86 return !strcmp(qobject_to(QString, x)->string, in qstring_is_equal()
87 qobject_to(QString, y)->string); in qstring_is_equal()
96 QString *qs; in qstring_destroy_obj()
99 qs = qobject_to(QString, obj); in qstring_destroy_obj()
[all …]
H A Dqdict.c252 return qstring_get_str(qobject_to(QString, qdict_get(qdict, key))); in qdict_get_str()
299 QString *qstr = qobject_to(QString, qdict_get(qdict, key)); in qdict_get_try_str()
H A Dqjson.c177 QString *val = qobject_to(QString, obj); in to_json()
H A Dqobject.c22 offsetof(QString, base) != 0 ||
H A Djson-parser.c129 static QString *parse_string(JSONParserContext *ctxt, JSONToken *token) in parse_string()
260 QString *key; in parse_pair()
271 key = qobject_to(QString, key_obj); in parse_pair()
H A Dqlit.c77 qstring_get_str(qobject_to(QString, rhs))) == 0); in qlit_equal_qobject()
/openbmc/qemu/include/qapi/qmp/
H A Dqstring.h18 struct QString { struct
23 void qstring_unref(QString *q); argument
25 G_DEFINE_AUTOPTR_CLEANUP_FUNC(QString, qstring_unref)
27 QString *qstring_new(void);
28 QString *qstring_from_str(const char *str);
29 QString *qstring_from_substr(const char *str, size_t start, size_t end);
30 QString *qstring_from_gstring(GString *gstr);
31 const char *qstring_get_str(const QString *qstring);
/openbmc/qemu/tests/unit/
H A Dcheck-qstring.c24 QString *qstring; in qstring_from_str_test()
38 QString *qstring; in qstring_get_str_test()
51 QString *qs; in qstring_from_substr_test()
63 QString *qstring; in qobject_to_qstring_test()
66 g_assert(qobject_to(QString, QOBJECT(qstring)) == qstring); in qobject_to_qstring_test()
H A Dcheck-qobject.c123 g_autoptr(QString) str_base = qstring_from_str("foo"); in qobject_is_equal_string_test()
124 g_autoptr(QString) str_whitespace_0 = qstring_from_str(" foo"); in qobject_is_equal_string_test()
125 g_autoptr(QString) str_whitespace_1 = qstring_from_str("foo "); in qobject_is_equal_string_test()
126 g_autoptr(QString) str_whitespace_2 = qstring_from_str("foo\b"); in qobject_is_equal_string_test()
127 g_autoptr(QString) str_whitespace_3 = qstring_from_str("fooo\b"); in qobject_is_equal_string_test()
128 g_autoptr(QString) str_case = qstring_from_str("Foo"); in qobject_is_equal_string_test()
130 g_autoptr(QString) str_built = qstring_from_substr("buffoon", 3, 6); in qobject_is_equal_string_test()
249 g_autoptr(QString) s0 = qstring_from_str("0"); in qobject_is_equal_conversion_test()
250 g_autoptr(QString) s_empty = qstring_new(); in qobject_is_equal_conversion_test()
H A Dtest-qobject-output-visitor.c104 QString *qstr; in test_visitor_out_string()
108 qstr = qobject_to(QString, visitor_get(data)); in test_visitor_out_string()
117 QString *qstr; in test_visitor_out_no_string()
122 qstr = qobject_to(QString, visitor_get(data)); in test_visitor_out_no_string()
131 QString *qstr; in test_visitor_out_enum()
136 qstr = qobject_to(QString, visitor_get(data)); in test_visitor_out_enum()
299 QString *qstring; in test_visitor_out_any()
328 qstring = qobject_to(QString, qdict_get(qdict, "string")); in test_visitor_out_any()
416 QString *qstr; in test_visitor_out_alternate()
438 qstr = qobject_to(QString, visitor_get(data)); in test_visitor_out_alternate()
[all …]
H A Dcheck-qjson.c25 static QString *from_json_str(const char *jstr, bool single, Error **errp) in from_json_str()
29 QString *ret = qobject_to(QString, qobject_from_json(qjstr, errp)); in from_json_str()
35 static char *to_json_str(QString *str) in to_json_str()
84 QString *cstr; in escaped_string()
115 QString *str; in string_with_quotes()
119 str = qobject_to(QString, in string_with_quotes()
739 QString *str; in utf8_string()
967 QString *qstr; in interpolation_valid()
1023 qstr = qobject_to(QString, qobject_from_jsonf_nofail("%s", value_s)); in interpolation_valid()
H A Dcheck-qdict.c274 static QString *read_line(FILE *file, char *key) in read_line()
293 QString *value; in qdict_stress_test()
H A Dtest-keyval.c258 QString *qstr; in check_list012()
262 qstr = qobject_to(QString, qlist_pop(qlist)); in check_list012()
728 QString *qstr; in test_keyval_visit_any()
737 qstr = qobject_to(QString, qlist_pop(qlist)); in test_keyval_visit_any()
740 qstr = qobject_to(QString, qlist_pop(qlist)); in test_keyval_visit_any()
/openbmc/u-boot/scripts/kconfig/
H A Dqconf.cc52 static inline QString qgettext(const QString& str) in qgettext()
117 QString prompt; in updateMenu()
166 setText(noColIdx, QString::null); in updateMenu()
288 setText(QString::null); in show()
1066 QString str; in symbolInfo()
1083 QString head, debug, help; in menuInfo()
1138 QString debug; in debug_info()
1190 QString ConfigInfoView::print_filter(const QString &str) in print_filter()
1193 QString res = str; in print_filter()
1223 QString* text = reinterpret_cast<QString*>(data); in expr_print_help()
[all …]
H A Dqconf.h28 QList<int> readSizes(const QString& key, bool *ok);
29 bool writeSizes(const QString& key, const QList<int>& value);
168 void setText(colIdx idx, const QString& text) in setText()
172 QString text(colIdx idx) const in text()
260 QString debug_info(struct symbol *sym);
261 static QString print_filter(const QString &str);
/openbmc/linux/scripts/kconfig/
H A Dqconf.h27 QList<int> readSizes(const QString& key, bool *ok);
28 bool writeSizes(const QString& key, const QList<int>& value);
207 QString debug_info(struct symbol *sym);
208 static QString print_filter(const QString &str);
H A Dqconf.cc73 stringList.push_back(QString::number(*it)); in writeSizes()
95 QString prompt; in updateMenu()
995 QString str; in symbolInfo()
1012 QString info; in menuInfo()
1071 QString debug; in debug_info()
1129 QString ConfigInfoView::print_filter(const QString &str) in print_filter()
1132 QString res = str; in print_filter()
1538 QString str; in loadConfig()
1571 QString str; in saveConfigAs()
1788 static const QString str = in showIntro()
[all …]
/openbmc/qemu/tests/qtest/
H A Ddevice-plug-test.c30 QString *qstr; in wait_device_deleted_event()
43 qstr = qobject_to(QString, qdict_get(data, "device")); in wait_device_deleted_event()
H A Dnetdev-socket.c153 QString *qstr; in wait_stream_connected()
162 qstr = qobject_to(QString, qdict_get(data, "netdev-id")); in wait_stream_connected()
178 QString *qstr; in wait_stream_disconnected()
185 qstr = qobject_to(QString, qdict_get(data, "netdev-id")); in wait_stream_disconnected()
H A Dqmp-test.c224 QString *qstr; in test_qmp_oob()
236 qstr = qobject_to(QString, entry->value); in test_qmp_oob()
H A Dtpm-emu.c228 QString *s = qobject_to(QString, qlist_entry_obj(e)); in tpm_model_is_available()
H A Dlibqtest.c1512 QString *qstr; in qtest_get_machines()
1545 qstr = qobject_to(QString, qobj); in qtest_get_machines()
1551 qstr = qobject_to(QString, qobj); in qtest_get_machines()
1575 QString *qstr; in qtest_get_cpu_models()
1600 qstr = qobject_to(QString, qobj); in qtest_get_cpu_models()
1606 qstr = qobject_to(QString, qobj); in qtest_get_cpu_models()
1709 QString *qstr; in qtest_has_device()
1738 qstr = qobject_to(QString, qobj); in qtest_has_device()
/openbmc/qemu/include/qemu/
H A Dtypedefs.h106 typedef struct QString QString; typedef
/openbmc/qemu/qapi/
H A Dqobject-input-visitor.c181 QString *qstr; in qobject_input_get_keyval()
188 qstr = qobject_to(QString, qobj); in qobject_input_get_keyval()
529 QString *qstr; in qobject_input_type_str()
535 qstr = qobject_to(QString, qobj); in qobject_input_type_str()
/openbmc/qemu/block/
H A Drbd.c306 QString *name; in qemu_rbd_set_keypairs()
307 QString *value; in qemu_rbd_set_keypairs()
321 name = qobject_to(QString, qlist_pop(keypairs)); in qemu_rbd_set_keypairs()
322 value = qobject_to(QString, qlist_pop(keypairs)); in qemu_rbd_set_keypairs()

12