Searched refs:StringIO (Results 1 - 25 of 70) sorted by relevance

123

/external/webkit/Tools/Scripts/webkitpy/common/
H A Dnewstringio.py30 """'with'-compliant StringIO implementation."""
32 import StringIO namespace
35 class StringIO(StringIO.StringIO): class in inherits:StringIO.StringIO
H A Dnewstringio_unittest.py41 with newstringio.StringIO("foo") as f:
/external/webkit/Tools/Scripts/webkitpy/layout_tests/
H A Dread_checksum_from_png_unittest.py25 import StringIO namespace
33 filehandle = StringIO.StringIO('''\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x03 \x00\x00\x02X\x08\x02\x00\x00\x00\x15\x14\x15'\x00\x00\x00)tEXtchecksum\x003c4134fe2739880353f91c5b84cadbaaC\xb8?\xec\x00\x00\x16\xfeIDATx\x9c\xed\xdd[\x8cU\xe5\xc1\xff\xf15T\x18\x0ea,)\xa6\x80XZ<\x10\n\xd6H\xc4V\x88}\xb5\xa9\xd6r\xd5\x0bki0\xa6\xb5ih\xd2\xde\x98PHz\xd1\x02=\\q#\x01\x8b\xa5rJ\x8b\x88i\xacM\xc5h\x8cbMk(\x1ez@!\x0c\xd5\xd2\xc2\xb44\x1c\x848\x1dF(\xeb\x7f\xb1\xff\xd9\xef~g\xd6\xde3\xe0o\x10\xec\xe7sa6{\xd6z\xd6\xb3\xd7\xf3\xa8_7\xdbM[Y\x96\x05\x00\x009\xc3\xde\xeb\t\x00\x00\xbc\xdf\x08,\x00\x800\x81\x05\x00\x10&\xb0\x00\x00\xc2\x04\x16\x00@\x98\xc0\x02\x00\x08\x13X\x00\x00a\x02\x0b\x00 Lx01\x00\x84\t,\x00\x800\x81\x05\x00\x10\xd64\xb0\xda\x9a\xdb\xb6m\xdb\xb4i\xd3\xfa\x9fr\xf3\xcd7\x0f\xe5T\x07\xe5\xd4\xa9''')
38 filehandle = StringIO.StringIO('''\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x03 \x00\x00\x02X\x08\x02\x00\x00\x00\x15\x14\x15'\x00\x00\x16\xfeIDATx\x9c\xed\xdd[\x8cU\xe5\xc1\xff\xf15T\x18\x0ea,)\xa6\x80XZ<\x10\n\xd6H\xc4V\x88}\xb5\xa9\xd6r\xd5\x0bki0\xa6\xb5ih\xd2\xde\x98PHz\xd1\x02=\\q#\x01\x8b\xa5rJ\x8b\x88i\xacM\xc5h\x8cbMk(\x1ez@!\x0c\xd5\xd2\xc2\xb44\x1c\x848\x1dF(\xeb\x7f\xb1\xff\xd9\xef~g\xd6\xde3\xe0o\x10\xec\xe7sa6{\xd6z\xd6\xb3\xd7\xf3\xa8_7\xdbM[Y\x96\x05\x00\x009\xc3\xde\xeb\t\x00\x00\xbc\xdf\x08,\x00\x800\x81\x05\x00\x10&\xb0\x00\x00\xc2\x04\x16\x00@\x98\xc0\x02\x00\x08\x13X\x00\x00a\x02\x0b\x00 Lx01\x00\x84\t,\x00\x800\x81\x05\x00\x10\xd64\xb0\xda\x9a\xdb\xb6m\xdb\xb4i\xd3\xfa\x9fr\xf3\xcd7\x0f\xe5T\x07\xe5\xd4\xa9S\x8b\x17/\x1e?~\xfc\xf8\xf1\xe3\xef\xbf\xff\xfe\xf7z:M5\xbb\x87\x17\xcbUZ\x8f|V\xd7\xbd\x10\xb6\xcd{b\x88\xf6j\xb3\x9b?\x14\x9b\xa1>\xe6\xf9\xd9\xcf\x00\x17\x93''')
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt054main.py9 from StringIO import StringIO namespace
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(inpu
[all...]
H A Dt056lexer.py9 from StringIO import StringIO namespace
H A Dt018llstar.py6 from cStringIO import StringIO namespace
H A Dt020fuzzy.py6 from cStringIO import StringIO namespace
H A Dt055templates.py9 from StringIO import StringIO namespace
64 file=StringIO(templates),
235 file=StringIO(templates),
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
H A Dtest_memorizingfile.py36 import StringIO namespace
79 memorizing_file = memorizingfile.MemorizingFile(StringIO.StringIO(
84 memorizing_file = memorizingfile.MemorizingFile(StringIO.StringIO(
89 memorizing_file = memorizingfile.MemorizingFile(StringIO.StringIO(
95 memorizing_file = memorizingfile.MemorizingFile(StringIO.StringIO(
/external/webkit/Tools/Scripts/webkitpy/common/system/
H A Ddeprecated_logging_unittest.py30 import StringIO namespace
41 test_stderr = StringIO.StringIO()
H A Doutputcapture.py33 from StringIO import StringIO namespace
41 captured_output = StringIO()
/external/chromium-trace/trace-viewer/build/
H A Dflatten.py8 import StringIO namespace
11 out = StringIO.StringIO()
26 out = StringIO.StringIO()
/external/webkit/Tools/Scripts/webkitpy/test/
H A Dcat_unittest.py23 import StringIO namespace
35 sys.stdin = StringIO.StringIO(input)
H A Dskip_unittest.py23 import StringIO namespace
40 self.log_stream = StringIO.StringIO()
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/
H A 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
[all...]
/external/antlr/antlr-3.4/runtime/Python/unittests/
H A Dtestdottreegen.py5 from StringIO import StringIO namespace
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
H A Dfixjsstyle_test.py21 import StringIO namespace
64 actual = StringIO.StringIO()
230 actual = StringIO.StringIO()
/external/webkit/Source/WebKit2/Scripts/webkit2/
H A Dmessages_unittest.py24 from StringIO import StringIO namespace
212 self.receiver = messages.MessageReceiver.parse(StringIO(_messages_file_contents))
673 file_contents = messages.generate_messages_header(StringIO(_messages_file_contents))
679 file_contents = messages.generate_message_handler(StringIO(_messages_file_contents))
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dchromium_unittest.py30 import StringIO namespace
64 self.driver._proc.stdin = StringIO.StringIO()
73 self.driver._proc.stdout = StringIO.StringIO("first\nsecond\nthird\n")
84 # reading from a StringIO does not raise IOError like a real file would, so raise IOError manually.
95 self.driver._proc.stdin = StringIO.StringIO()
96 self.driver._proc.stdout = StringIO.StringIO()
[all...]
/external/webkit/Tools/Scripts/webkitpy/common/checkout/
H A Dchangelog_unittest.py36 from StringIO import StringIO namespace
96 changelog_file = StringIO(changelog_contents)
106 changelog_file = StringIO(changelog_contents)
/external/llvm/utils/llvm-build/llvmbuild/
H A Dcomponentinfo.py6 import StringIO namespace
103 result = StringIO.StringIO()
155 result = StringIO.StringIO()
240 result = StringIO.StringIO()
312 result = StringIO.StringIO()
355 result = StringIO
[all...]
/external/antlr/antlr-3.4/runtime/Python/
H A Dxmlrunner.py16 from StringIO import StringIO namespace
19 from StringIO import StringIO namespace
78 tb_stream = StringIO()
182 sys.stdout = StringIO()
183 sys.stderr = StringIO()
218 self._stream = StringIO()
H A Dsetup.py94 import StringIO namespace
121 buf = StringIO.StringIO()
182 import StringIO namespace
253 buf = StringIO.StringIO()
/external/webkit/Source/WebKit/chromium/scripts/
H A Dconcatenate_css_files.py36 from cStringIO import StringIO namespace
90 output = StringIO()
H A Dconcatenate_js_files.py36 from cStringIO import StringIO namespace
91 output = StringIO()

Completed in 514 milliseconds

123