HomeSort by relevance Sort by last modified time
    Searched refs:StringIO (Results 1 - 25 of 74) sorted by null

1 2 3

  /external/webkit/Tools/Scripts/webkitpy/common/
newstringio.py 30 """'with'-compliant StringIO implementation."""
32 import StringIO
35 class StringIO(StringIO.StringIO):
newstringio_unittest.py 41 with newstringio.StringIO("foo") as f:
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
test_memorizingfile.py 36 import StringIO
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/layout_tests/
read_checksum_from_png_unittest.py 25 import StringIO
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/webkit/Tools/Scripts/webkitpy/common/system/
deprecated_logging_unittest.py 30 import StringIO
41 test_stderr = StringIO.StringIO()
outputcapture.py 33 from StringIO import StringIO
41 captured_output = StringIO()
  /external/webkit/Tools/Scripts/webkitpy/test/
cat_unittest.py 23 import StringIO
35 sys.stdin = StringIO.StringIO(input)
skip_unittest.py 23 import StringIO
40 self.log_stream = StringIO.StringIO()
  /external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/
__init__.py 24 >>> from StringIO import StringIO
25 >>> io = StringIO()
52 >>> from StringIO import StringIO
53 >>> io = StringIO('["streaming API"]')
  /external/antlr/antlr-3.4/runtime/Python/tests/
t054main.py 9 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)
    [all...]
t056lexer.py 9 from StringIO import StringIO
  /external/chromium-trace/trace-viewer/build/
flatten.py 9 import StringIO
14 out = StringIO.StringIO()
29 out = StringIO.StringIO()
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/
main-scripts.rb 50 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.ne
    [all...]
  /external/sonivox/jet_tools/JetCreator/
img_Paste.py 34 stream = cStringIO.StringIO(getData())
img_favicon.py 54 stream = cStringIO.StringIO(getData())
  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
fixjsstyle_test.py 21 import StringIO
64 actual = StringIO.StringIO()
230 actual = StringIO.StringIO()
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
chromium_unittest.py 30 import StringIO
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...]
mock_drt_unittest.py 166 stdin = newstringio.StringIO(drt_input)
167 stdout = newstringio.StringIO()
168 stderr = newstringio.StringIO()
176 # We use the StringIO.buflist here instead of getvalue() because
177 # the StringIO might be a mix of unicode/ascii and 8-bit strings.
183 stdin = newstringio.StringIO()
184 stdout = newstringio.StringIO()
185 stderr = newstringio.StringIO()
  /external/antlr/antlr-3.4/runtime/Python/unittests/
testdottreegen.py 5 from StringIO import StringIO
  /external/webkit/Tools/Scripts/webkitpy/common/checkout/
changelog_unittest.py 36 from StringIO import StringIO
96 changelog_file = StringIO(changelog_contents)
106 changelog_file = StringIO(changelog_contents)
  /external/webkit/Source/WebKit2/Scripts/webkit2/
messages_unittest.py 24 from StringIO import StringIO
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/Source/WebKit/chromium/scripts/
jsmin.py 55 from cStringIO import StringIO
76 minifier.input = StringIO(text)
77 minifier.output = StringIO()
  /external/llvm/utils/llvm-build/llvmbuild/
componentinfo.py 6 import StringIO
103 result = StringIO.StringIO()
155 result = StringIO.StringIO()
240 result = StringIO.StringIO()
312 result = StringIO.StringIO()
355 result = StringIO.StringIO(
    [all...]
  /external/antlr/antlr-3.4/runtime/Python/
xmlrunner.py 16 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()
setup.py 94 import StringIO
121 buf = StringIO.StringIO()
182 import StringIO
253 buf = StringIO.StringIO()

Completed in 439 milliseconds

1 2 3