Lines Matching defs:sys
38 import sys
47 sys.stdout = os.fdopen(sys.stdout.fileno(), 'wb', 0)
48 sys.stdin = os.fdopen(sys.stdin.fileno(), 'rb', 0)
175 length_bytes = sys.stdin.read(4)
185 serialized_request = sys.stdin.read(length)
195 sys.stdout.write(struct.pack("<I", len(serialized_response)))
196 sys.stdout.write(serialized_response)
197 sys.stdout.flush()
200 sys.stderr.write("conformance_python: request=%s, response=%s\n" % (
211 sys.stderr.write("conformance_python: received EOF from test runner " +
213 sys.exit(0)