Home | History | Annotate | Download | only in qemu

Lines Matching refs:str

78     QString *str;
81 static void to_json(const QObject *obj, QString *str, int pretty, int indent);
90 qstring_append(s->str, ", ");
93 qstring_append(s->str, "\n");
95 qstring_append(s->str, " ");
99 to_json(QOBJECT(qkey), s->str, s->pretty, s->indent);
102 qstring_append(s->str, ": ");
103 to_json(obj, s->str, s->pretty, s->indent);
113 qstring_append(s->str, ", ");
116 qstring_append(s->str, "\n");
118 qstring_append(s->str, " ");
121 to_json(obj, s->str, s->pretty, s->indent);
125 static void to_json(const QObject *obj, QString *str, int pretty, int indent)
133 qstring_append(str, buffer);
141 qstring_append(str, "\"");
154 qstring_append(str, escape);
164 qstring_append(str, escape);
167 qstring_append(str, "\\\"");
170 qstring_append(str, "\\\\");
173 qstring_append(str, "\\b");
176 qstring_append(str, "\\f");
179 qstring_append(str, "\\n");
182 qstring_append(str, "\\r");
185 qstring_append(str, "\\t");
191 qstring_append(str, escape);
194 qstring_append(str, buf);
201 qstring_append(str, "\"");
209 s.str = str;
212 qstring_append(str, "{");
216 qstring_append(str, "\n");
218 qstring_append(str, " ");
220 qstring_append(str, "}");
228 s.str = str;
231 qstring_append(str, "[");
235 qstring_append(str, "\n");
237 qstring_append(str, " ");
239 qstring_append(str, "]");
258 qstring_append(str, buffer);
265 qstring_append(str, "true");
267 qstring_append(str, "false");
280 QString *str = qstring_new();
282 to_json(obj, str, 0, 0);
284 return str;
289 QString *str = qstring_new();
291 to_json(obj, str, 1, 0);
293 return str;