Home
last modified time | relevance | path

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

1234567

/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/protobuf/objectivec/DevTools/
Dpddm_tests.py44 f = io.StringIO(u'')
49 f = io.StringIO(u"""PDDM-DEFINE foo( )
61 f = io.StringIO(u"""
91 f = io.StringIO(u"""
119 f = io.StringIO(input_str)
174 f = io.StringIO(input_str)
186 f = io.StringIO(u"""
230 f = io.StringIO(u"""
243 f = io.StringIO(u"""
276 f = io.StringIO(u"""
[all …]
/external/toolchain-utils/crosperf/
Dexperiment_file_unittest.py9 import StringIO
91 input_file = StringIO.StringIO(EXPERIMENT_FILE_1)
111 input_file = StringIO.StringIO(EXPERIMENT_FILE_2)
124 input_file = StringIO.StringIO(EXPERIMENT_FILE_3)
128 input_file = StringIO.StringIO(EXPERIMENT_FILE_1)
Dcrosperf_unittest.py9 import StringIO
40 input_file = StringIO.StringIO(EXPERIMENT_FILE_1)
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
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/v8/tools/ignition/
Dlinux_perf_report_test.py6 import StringIO
53 perf_stream = StringIO.StringIO(PERF_SCRIPT_OUTPUT)
67 perf_stream = StringIO.StringIO(PERF_SCRIPT_OUTPUT)
125 perf_stream = StringIO.StringIO("""
Dlinux_perf_bytecode_annotate_test.py5 import StringIO
69 perf_stream = StringIO.StringIO(PERF_SCRIPT_OUTPUT)
75 codegen_stream = StringIO.StringIO(D8_CODEGEN_OUTPUT)
/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/autotest/server/site_tests/telemetry_Crosperf/
Dtelemetry_Crosperf.py7 import StringIO
74 stdout = StringIO.StringIO()
75 stderr = StringIO.StringIO()
168 stdout = StringIO.StringIO()
169 stderr = StringIO.StringIO()
/external/autotest/server/site_tests/native_Benchmarks/
Dnative_Benchmarks_common.py7 import StringIO
22 stdout = StringIO.StringIO()
23 stderr = StringIO.StringIO()
/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
Dinput_callback.py8 import StringIO
9 str_io = StringIO.StringIO
12 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/v8/tools/testrunner/server/
Dcompression.py29 import cStringIO as StringIO namespace
54 self.data = StringIO.StringIO()
107 self.data = StringIO.StringIO()
/external/autotest/server/cros/
Dtelemetry_runner.py7 import StringIO
275 output = StringIO.StringIO()
276 error_output = StringIO.StringIO()
415 stdout = StringIO.StringIO()
416 stderr = StringIO.StringIO()
/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/google-breakpad/src/tools/python/tests/
Dfilter_syms_unittest.py36 import StringIO
48 input_io = cStringIO.StringIO(input_data)
49 output_io = cStringIO.StringIO()

1234567