Lines Matching refs:string_io
361 string_io = io.StringIO()
381 ''', string_io)
386 print(f'- :ref:`{vnd_lookup.target(vnd)}`', file=string_io)
410 ''', string_io)
431 ''', string_io)
433 print(f'- :ref:`{binding_ref_target(binding)}`', file=string_io)
434 print(file=string_io)
436 write_if_updated(out_dir / 'bindings.rst', string_io.getvalue())
468 string_io = io.StringIO()
471 driver_sources, dup_compat2bindings, string_io)
475 string_io.getvalue())
484 string_io = io.StringIO()
487 compatible, dup_compat2bindings[compatible], string_io)
491 string_io.getvalue())
500 string_io): argument
548 ''', string_io)
554 file=string_io)
566 string_io,
579 ''', string_io)
580 print(to_code_block(binding.description.strip()), file=string_io)
586 ''', string_io)
587 print_top_level_properties(binding, base_names, string_io)
588 print_child_binding_properties(binding, string_io)
598 ''', string_io)
601 file=string_io)
603 def print_top_level_properties(binding, base_names, string_io): argument
633 ''', string_io)
640 ''', string_io)
666 ''', string_io)
668 print('No top-level properties.\n', file=string_io)
670 def print_child_binding_properties(binding, string_io): argument
686 print(f'{title}\n{underline}\n', file=string_io)
687 print_property_table(child.prop2specs.values(), string_io,
692 def print_property_table(prop_specs, string_io, deprecated=False): argument
710 ''', string_io)
754 print(to_prop_table_row(prop_spec), file=string_io)
774 def print_compatible_disambiguation_page(compatible, bindings, string_io): argument
796 ''', string_io)
798 def print_block(block, string_io): argument
803 print(textwrap.dedent(block), file=string_io)