Home
last modified time | relevance | path

Searched refs:StringIO (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/
Dmain-scripts.rb50 output = StringIO.new
62 input = StringIO.new( "yada yada" ) # <- used to simulate $stdin
63 output = StringIO.new
88 output = StringIO.new
89 input = StringIO.new( 'yada yada' )
112 output = StringIO.new
113 input = StringIO.new 'yada + yada'
147 output = StringIO.new
148 input = StringIO.new 'a+b'
184 output = StringIO.new
[all …]
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt054main.py9 from StringIO import StringIO
38 stdout = StringIO()
65 stdout = StringIO()
90 stdout = StringIO()
95 stdin=StringIO(input),
116 stdout = StringIO()
121 stdin=StringIO(input),
144 stdout = StringIO()
149 stdin=StringIO(input),
175 stdout = StringIO()
[all …]
/external/autotest/client/common_lib/cros/
Ddev_server_unittest.py11 import StringIO
85 to_return = StringIO.StringIO('{"free_disk": 1024}')
110 to_return = StringIO.StringIO('{"free_disk": 1024}')
147 fp=StringIO.StringIO('Expected.'))
156 fp=StringIO.StringIO('Expected.'))
164 to_return = StringIO.StringIO('Success')
168 to_return = StringIO.StringIO('True')
184 to_return = StringIO.StringIO('Success')
188 to_return = StringIO.StringIO('True')
234 to_return = StringIO.StringIO('Success')
[all …]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Dproxyshaper_test.py23 import StringIO
64 f = StringIO.StringIO(' ' * num_bytes)
76 f = StringIO.StringIO(' ' * num_bytes)
89 f = StringIO.StringIO(' ' * num_bytes)
102 f = StringIO.StringIO()
116 f = StringIO.StringIO(' ' * num_bytes)
Drules_parser_test.py19 from StringIO import StringIO
34 my_rules = rules_parser.Rules(StringIO(r'''
46 my_rules = rules_parser.Rules(StringIO(r'''
67 self.assertRaises(Exception, rules_parser.Rules, StringIO(input_text))
/external/autotest/server/site_tests/telemetry_Crosperf/
Dtelemetry_Crosperf.py6 import StringIO
53 stdout = StringIO.StringIO()
54 stderr = StringIO.StringIO()
119 stdout = StringIO.StringIO()
120 stderr = StringIO.StringIO()
/external/tpm2/generator/
Dstructure_generator_test.py11 import StringIO
28 out_file = StringIO.StringIO()
42 out_file = StringIO.StringIO()
57 out_file = StringIO.StringIO()
73 out_file = StringIO.StringIO()
104 out_file = StringIO.StringIO()
120 out_file = StringIO.StringIO()
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
Dgenerate.py9 import StringIO
48 if isinstance(f, StringIO.StringIO):
82 f = StringIO.StringIO()
114 flatten_to_file = StringIO.StringIO()
128 s = StringIO.StringIO()
200 f = StringIO.StringIO()
/external/autotest/server/site_tests/native_Benchmarks/
Dnative_Benchmarks_common.py7 import StringIO
22 stdout = StringIO.StringIO()
23 stderr = StringIO.StringIO()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/
Dtest_generation_conditionals.py26 import StringIO
47 fp = StringIO.StringIO(s1)
51 fp = StringIO.StringIO(s1)
56 fp = StringIO.StringIO(s2)
60 fp = StringIO.StringIO(s2)
159 fp = StringIO.StringIO(s1)
163 fp = StringIO.StringIO(s1)
169 fp = StringIO.StringIO(s2)
173 fp = StringIO.StringIO(s2)
/external/libxml2/python/tests/
Dinbuf.py5 import StringIO
6 str_io = StringIO.StringIO
9 str_io = io.StringIO
Dresolver.py5 import StringIO
6 str_io = StringIO.StringIO
9 str_io = io.StringIO
Dreadererr.py8 import StringIO
9 str_io = StringIO.StringIO
12 str_io = io.StringIO
Dreader4.py8 import StringIO
9 str_io = StringIO.StringIO
12 str_io = io.StringIO
Dreader6.py8 import StringIO
9 str_io = StringIO.StringIO
12 str_io = io.StringIO
Dreadernext.py9 import StringIO
10 str_io = StringIO.StringIO
13 str_io = io.StringIO
Doutbuf.py5 import StringIO
6 str_io = StringIO.StringIO
9 str_io = io.StringIO
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/
Dutil.py17 from StringIO import StringIO as BytesIO
18 from StringIO import StringIO
21 from io import BytesIO, StringIO
80 fp = StringIO(res.get_source(namepart))
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dtransfer_test.py38 six.StringIO(), chunksize=chunksize, total_size=total_size)
43 download = transfer.Download.FromStream(six.StringIO())
50 six.StringIO(), chunksize=10, total_size=total_size)
59 download = transfer.Download.FromStream(six.StringIO())
72 download = transfer.Download.FromStream(six.StringIO(),
83 download_stream = six.StringIO()
112 download_stream = six.StringIO()
141 download_stream = six.StringIO()
210 six.StringIO(upload_contents),
226 six.StringIO(upload_contents),
/external/v8/tools/testrunner/server/
Dcompression.py29 import cStringIO as StringIO namespace
54 self.data = StringIO.StringIO()
107 self.data = StringIO.StringIO()
/external/chromium-trace/catapult/dashboard/dashboard/
Dgraph_csv_test.py6 import StringIO
71 for row in csv.reader(StringIO.StringIO(response.body)):
79 for index, row, in enumerate(csv.reader(StringIO.StringIO(response.body))):
90 for index, row, in enumerate(csv.reader(StringIO.StringIO(response.body))):
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/
Djsmin.py35 from cStringIO import StringIO
38 from StringIO import StringIO
40 from io import StringIO
44 ins = StringIO(js)
45 outs = StringIO()
/external/chromium-trace/catapult/third_party/typ/typ/fakes/
Dhost_fake.py40 self.stdin = io.StringIO()
41 self.stdout = io.StringIO()
42 self.stderr = io.StringIO()
71 self.stdin = io.StringIO()
72 self.stdout = io.StringIO()
73 self.stderr = io.StringIO()
172 f = io.StringIO()
281 class FakeResponse(io.StringIO):
284 io.StringIO.__init__(self, response)
/external/antlr/antlr-3.4/runtime/Python/
Dxmlrunner.py16 from StringIO import StringIO
19 from StringIO import StringIO
78 tb_stream = StringIO()
182 sys.stdout = StringIO()
183 sys.stderr = StringIO()
218 self._stream = StringIO()
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Dfixjsstyle.py21 import StringIO
54 output_buffer = StringIO.StringIO()

12345678910>>...12