Home
last modified time | relevance | path

Searched hist:d2ca7c0b0d876cf0e219ae7a92252626b0913a28 (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/qobject/
H A Djson-streamer.cdiff d2ca7c0b0d876cf0e219ae7a92252626b0913a28 Wed Nov 25 15:23:29 CST 2015 Paolo Bonzini <pbonzini@redhat.com> qjson: replace QString in JSONLexer with GString

JSONLexer only needs a simple resizable buffer. json-streamer.c
can allocate memory for each token instead of relying on reference
counting of QStrings.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1448300659-23559-2-git-send-email-pbonzini@redhat.com>
[Straightforwardly rebased on my patches, checkpatch made happy]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
H A Djson-lexer.cdiff d2ca7c0b0d876cf0e219ae7a92252626b0913a28 Wed Nov 25 15:23:29 CST 2015 Paolo Bonzini <pbonzini@redhat.com> qjson: replace QString in JSONLexer with GString

JSONLexer only needs a simple resizable buffer. json-streamer.c
can allocate memory for each token instead of relying on reference
counting of QStrings.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1448300659-23559-2-git-send-email-pbonzini@redhat.com>
[Straightforwardly rebased on my patches, checkpatch made happy]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>