Searched refs:qobject_type (Results 1 – 11 of 11) sorted by relevance
255 if (qobject_type(obj) != QTYPE_QDICT) { in qerror_set_data()265 if (qobject_type(obj) != QTYPE_QSTRING) { in qerror_set_data()273 if (qobject_type(obj) != QTYPE_QDICT) { in qerror_set_data()362 switch (qobject_type(obj)) { in append_field()370 qerror_abort(qerror, "invalid type '%c'", qobject_type(obj)); in append_field()444 if (qobject_type(obj) != QTYPE_QERROR) { in qobject_to_qerror()
49 if (qobject_type(obj) != QTYPE_QDICT) in qobject_to_qdict()194 assert(qobject_type(obj) == type); in qdict_get_obj()212 switch (qobject_type(obj)) { in qdict_get_double()304 if (!obj || qobject_type(obj) != QTYPE_QINT) in qdict_get_try_int()322 if (!obj || qobject_type(obj) != QTYPE_QBOOL) in qdict_get_try_bool()341 if (!obj || qobject_type(obj) != QTYPE_QSTRING) in qdict_get_try_str()
54 if (qobject_type(obj) != QTYPE_QBOOL) in qobject_to_qbool()
54 if (qobject_type(obj) != QTYPE_QFLOAT) in qobject_to_qfloat()
53 if (qobject_type(obj) != QTYPE_QINT) in qobject_to_qint()
106 static inline qtype_code qobject_type(const QObject *obj) in qobject_type() function
112 if (qobject_type(obj) != QTYPE_QSTRING) in qobject_to_qstring()
132 if (qobject_type(obj) != QTYPE_QLIST) { in qobject_to_qlist()
127 switch (qobject_type(obj)) { in to_json()
277 if (!key || qobject_type(key) != QTYPE_QSTRING) { in parse_pair()
860 switch (qobject_type(obj)) { in qemu_opts_from_qdict_1()