Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 13 of 13) sorted by relevance

/qemu/qobject/
H A Djson-writer.c31 writer->pretty = pretty; in json_writer_new()
32 writer->need_comma = false; in json_writer_new()
35 return writer; in json_writer_new()
48 writer->contents = NULL; in json_writer_get_and_free()
50 g_free(writer); in json_writer_get_and_free()
56 if (writer) { in json_writer_free()
89 if (writer->pretty) { in pretty_newline()
97 if (writer->pretty) { in pretty_newline_or_space()
169 if (in_object(writer)) { in maybe_comma_name()
185 pretty_newline(writer); in json_writer_end_object()
[all …]
H A Dqjson.c151 static void to_json(JSONWriter *writer, const char *name, in to_json() argument
156 json_writer_null(writer, name); in to_json()
163 json_writer_int64(writer, name, val->u.i64); in to_json()
166 json_writer_uint64(writer, name, val->u.u64); in to_json()
186 json_writer_start_object(writer, name); in to_json()
194 json_writer_end_object(writer); in to_json()
201 json_writer_start_array(writer, name); in to_json()
207 json_writer_end_array(writer); in to_json()
223 JSONWriter *writer = json_writer_new(pretty); in qobject_to_json_pretty() local
225 to_json(writer, NULL, obj); in qobject_to_json_pretty()
[all …]
H A Dmeson.build3 'json-writer.c', 'json-lexer.c', 'json-streamer.c', 'json-parser.c',
/qemu/python/qemu/qmp/
H A Dutil.py33 async def flush(writer: asyncio.StreamWriter) -> None:
44 asyncio.WriteTransport, writer.transport
51 await writer.drain()
107 def is_closing(writer: asyncio.StreamWriter) -> bool:
115 return writer.is_closing()
118 transport = writer.transport
123 async def wait_closed(writer: asyncio.StreamWriter) -> None:
130 await writer.wait_closed()
134 transport = writer.transport
H A Dprotocol.py505 writer: asyncio.StreamWriter) -> None:
517 peer = writer.get_extra_info('peername', 'Unknown peer')
525 writer.close()
531 self._reader, self._writer = (reader, writer)
/qemu/tests/unit/
H A Dio-channel-helpers.c107 GThread *reader, *writer; in qio_channel_test_run_threads() local
118 writer = g_thread_new("writer", in qio_channel_test_run_threads()
123 g_thread_join(writer); in qio_channel_test_run_threads()
/qemu/docs/devel/testing/
H A Davocado.rst198 is left to the test writer.
378 https://avocado-framework.readthedocs.io/en/latest/guides/writer/libs/vmimage.html#supported-images
387 https://avocado-framework.readthedocs.io/en/latest/guides/writer/libs/vmimage.html#supported-images
404 …https://avocado-framework.readthedocs.io/en/latest/guides/writer/chapters/writing.html#accessing-t…
459 https://avocado-framework.readthedocs.io/en/latest/guides/writer/libs/vmimage.html#supported-images
468 https://avocado-framework.readthedocs.io/en/latest/guides/writer/libs/vmimage.html#supported-images
486 …https://avocado-framework.readthedocs.io/en/latest/guides/writer/chapters/writing.html#skipping-te…
531 …https://avocado-framework.readthedocs.io/en/latest/guides/writer/chapters/writing.html#setting-a-t…
H A Dfunctional.rst108 is left to the test writer.
/qemu/docs/devel/
H A Drcu.rst9 RCU supports concurrency between a single writer and multiple readers,
26 for example, reader-writer locks. It is so much more scalable that
215 Many patterns using read-writer locks translate directly to RCU, with
304 Note that the same idioms would be possible with reader/writer
H A Dsecure-coding-practices.rst75 typical "theory of operation" presented in driver writer manuals. The guest
H A Dmulti-thread-tcg.rst65 multiple reader/writer threads. Minimise any lock contention to do it.
H A Datomics.rst221 mostly used when a data structure has one thread that is always a writer
/qemu/qapi/
H A Dblock-core.json1778 # it, or if it is in use by a writer, the job will not be completed by
1814 # 'top' is in use by a writer, specifying a backing file string is
3259 # writer is attached to the node and reopen read-only when the
3260 # last writer is detached. This allows giving QEMU write