Home | History | Annotate | Download | only in qemu

Lines Matching refs:str

76     QString *str;
79 static void to_json(const QObject *obj, QString *str);
87 qstring_append(s->str, ", ");
91 to_json(QOBJECT(qkey), s->str);
94 qstring_append(s->str, ": ");
95 to_json(obj, s->str);
104 qstring_append(s->str, ", ");
107 to_json(obj, s->str);
111 static void to_json(const QObject *obj, QString *str)
119 qstring_append(str, buffer);
127 qstring_append(str, "\"");
140 qstring_append(str, escape);
150 qstring_append(str, escape);
153 qstring_append(str, "\\\"");
156 qstring_append(str, "\\\\");
159 qstring_append(str, "\\b");
162 qstring_append(str, "\\n");
165 qstring_append(str, "\\r");
168 qstring_append(str, "\\t");
174 qstring_append(str, escape);
177 qstring_append(str, buf);
184 qstring_append(str, "\"");
192 s.str = str;
193 qstring_append(str, "{");
195 qstring_append(str, "}");
203 s.str = str;
204 qstring_append(str, "[");
206 qstring_append(str, "]");
225 qstring_append(str, buffer);
232 qstring_append(str, "true");
234 qstring_append(str, "false");
247 QString *str = qstring_new();
249 to_json(obj, str);
251 return str;