/openbmc/qemu/qobject/ |
H A D | qstring.c | 22 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 D | qdict.c | 252 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 D | qjson.c | 177 QString *val = qobject_to(QString, obj); in to_json()
|
H A D | qobject.c | 22 offsetof(QString, base) != 0 ||
|
H A D | json-parser.c | 129 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 D | qlit.c | 77 qstring_get_str(qobject_to(QString, rhs))) == 0); in qlit_equal_qobject()
|
/openbmc/qemu/include/qapi/qmp/ |
H A D | qstring.h | 18 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 D | check-qstring.c | 24 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 D | check-qobject.c | 123 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 D | test-qobject-output-visitor.c | 104 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 D | check-qjson.c | 25 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 D | check-qdict.c | 274 static QString *read_line(FILE *file, char *key) in read_line() 293 QString *value; in qdict_stress_test()
|
H A D | test-keyval.c | 258 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 D | qconf.cc | 52 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 D | qconf.h | 28 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 D | qconf.h | 27 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 D | qconf.cc | 73 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 D | device-plug-test.c | 30 QString *qstr; in wait_device_deleted_event() 43 qstr = qobject_to(QString, qdict_get(data, "device")); in wait_device_deleted_event()
|
H A D | netdev-socket.c | 153 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 D | qmp-test.c | 224 QString *qstr; in test_qmp_oob() 236 qstr = qobject_to(QString, entry->value); in test_qmp_oob()
|
H A D | tpm-emu.c | 228 QString *s = qobject_to(QString, qlist_entry_obj(e)); in tpm_model_is_available()
|
H A D | libqtest.c | 1512 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 D | typedefs.h | 106 typedef struct QString QString; typedef
|
/openbmc/qemu/qapi/ |
H A D | qobject-input-visitor.c | 181 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 D | rbd.c | 306 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()
|