Searched defs:sys (Results 1 - 7 of 7) sorted by relevance

/systemd/tools/
H A Dmake-directive-index.py20 import sys namespace
321 with open(sys.argv[1], 'wb') as f:
322 f.write(xml_print(make_page(*sys.argv[2:])))
H A Dmake-man-index.py22 import sys namespace
26 MDASH = ' — ' if sys.version_info.major >= 3 else ' -- '
135 with open(sys.argv[1], 'wb') as f:
136 f.write(xml_print(make_page(*sys.argv[2:])))
H A Dmake-man-rules.py22 import sys namespace
76 # print('parsing {}'.format(name), file=sys.stderr)
93 # print('{} => {} [{}]'.format(alias, target, conditional), file=sys.stderr)
102 print("Failed to process", name, file=sys.stderr)
125 rules = create_rules(sys.argv[1:])
126 dist_files = (xml(file) for file in sys.argv[1:]
/systemd/test/
H A Drule-syntax-check.py20 import sys namespace
24 if len(sys.argv) > 1:
26 rules_files = sys.argv[1:]
32 sys.stderr.write('No rules files given, and %s does not exist, aborting' % rules_dir)
33 sys.exit(2)
72 sys.exit(result)
H A Dnetworkd-test.py29 import sys namespace
81 sys.stdout.flush()
168 sys.stdout.flush()
171 sys.stdout.flush()
277 sys.stdout.write('\n\n---- dnsmasq log ----\n%s\n------\n\n' % f.read())
370 unittest.main(testRunner=unittest.TextTestRunner(stream=sys.stdout,
H A Dsysv-generator-test.py20 import sys namespace
425 unittest.main(testRunner=unittest.TextTestRunner(stream=sys.stdout, verbosity=2))
/systemd/src/journal-remote/
H A Dlog-generator.py3 import sys namespace
72 print('.', file=sys.stderr, end='', flush=True)
75 print(file=sys.stderr)
76 print('Wrote {} bytes'.format(bytes), file=sys.stderr)

Completed in 14 milliseconds