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

12345678

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_mimetools.py5 import StringIO namespace
9 msgtext1 = mimetools.Message(StringIO.StringIO(
22 i = StringIO.StringIO(start)
23 o = StringIO.StringIO()
25 i = StringIO.StringIO(o.getvalue())
26 o = StringIO
[all...]
H A Dtest_softspace.py3 import StringIO namespace
8 f = StringIO.StringIO()
H A Dtest_tokenize.py38 >>> for tok in generate_tokens(StringIO(indent_error_file).readline): pass
49 ... if isinstance(f, str): f = StringIO(f)
534 from StringIO import StringIO namespace
542 f = StringIO(s)
574 g = generate_tokens(StringIO(s).readline) # tokenize the string
H A Dtest_uu.py23 inp = cStringIO.StringIO(plaintext)
24 out = cStringIO.StringIO()
27 inp = cStringIO.StringIO(plaintext)
28 out = cStringIO.StringIO()
33 inp = cStringIO.StringIO(encodedtextwrapped % (0666, "t1"))
34 out = cStringIO.StringIO()
37 inp = cStringIO.StringIO(
42 out = cStringIO.StringIO()
47 inp = cStringIO.StringIO("begin 644 t1\n" + encodedtext)
48 out = cStringIO.StringIO()
[all...]
H A Dtest_cmd.py13 import StringIO namespace
186 input = StringIO.StringIO("print test\nprint test2")
187 output = StringIO.StringIO()
H A Dtest_pickle.py2 from cStringIO import StringIO namespace
29 f = StringIO()
38 f = StringIO(buf)
48 f = StringIO()
60 f = StringIO(buf)
H A Dtest_shlex.py8 from cStringIO import StringIO namespace
10 from StringIO import StringIO namespace
162 lex = shlex.shlex(StringIO(s))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
H A Dquopri_codec.py8 from cStringIO import StringIO namespace
10 from StringIO import StringIO namespace
22 f = StringIO(str(input))
23 g = StringIO()
37 f = StringIO(str(input))
38 g = StringIO()
H A Duu_codec.py26 from cStringIO import StringIO namespace
29 infile = StringIO(str(input))
30 outfile = StringIO()
62 from cStringIO import StringIO namespace
64 infile = StringIO(str(input))
65 outfile = StringIO()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
H A Dquopri_codec.py8 from cStringIO import StringIO namespace
10 from StringIO import StringIO namespace
22 f = StringIO(str(input))
23 g = StringIO()
37 f = StringIO(str(input))
38 g = StringIO()
H A Duu_codec.py26 from cStringIO import StringIO namespace
29 infile = StringIO(str(input))
30 outfile = StringIO()
62 from cStringIO import StringIO namespace
64 infile = StringIO(str(input))
65 outfile = StringIO()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
H A Dtest_main.py5 import StringIO namespace
32 input_stream = StringIO.StringIO(u"print 'nothing'\nprint u'über'\n")
33 out = StringIO.StringIO()
35 err = StringIO.StringIO()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/
H A Drpythond.py10 import StringIO namespace
40 sys.stdout = sys.stderr = fakefile = StringIO.StringIO()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/mime/
H A Daudio.py11 from cStringIO import StringIO namespace
34 fakefile = StringIO(hdr)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/
H A Dtest_dump.py1 from cStringIO import StringIO namespace
7 sio = StringIO()
H A Dtest_indent.py2 from StringIO import StringIO namespace
49 sio = StringIO()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/sax/
H A D__init__.py37 from cStringIO import StringIO namespace
39 from StringIO import StringIO namespace
48 inpsrc.setByteStream(StringIO(string))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/
H A D__init__.py37 from cStringIO import StringIO namespace
39 from StringIO import StringIO namespace
48 inpsrc.setByteStream(StringIO(string))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dshelve.py67 from cStringIO import StringIO namespace
69 from StringIO import StringIO namespace
121 f = StringIO(self.dict[key])
130 f = StringIO()
190 f = StringIO(value)
195 f = StringIO(value)
200 f = StringIO(value)
205 f = StringIO(value)
210 f = StringIO(valu
[all...]
H A Dio.py21 interface to a buffered raw stream (`BufferedIOBase`). Finally, StringIO
54 "BytesIO", "StringIO", "BufferedIOBase",
64 open, FileIO, BytesIO, StringIO, BufferedReader,
96 for klass in (StringIO, TextIOWrapper):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A Dio.py21 interface to a buffered raw stream (`BufferedIOBase`). Finally, StringIO
45 "BytesIO", "StringIO", "BufferedIOBase",
55 open, FileIO, BytesIO, StringIO, BufferedReader,
88 for klass in (StringIO, TextIOWrapper):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/
H A Dtest_dump.py1 from cStringIO import StringIO namespace
7 sio = StringIO()
H A Dtest_indent.py2 from StringIO import StringIO namespace
49 sio = StringIO()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
H A Diterators.py15 from cStringIO import StringIO namespace
45 for line in StringIO(payload):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/
H A Dexample.py7 """A simple fast partial StringIO replacement.
9 This module provides a simple useful replacement for the StringIO
11 generality of StringIO, but it provides enough for most
17 from cStringIO import StringIO
19 an_output_stream = StringIO()
24 an_input_stream = StringIO(a_string)
33 def StringIO(o): member in class:cStringIO
34 """Return a StringIO-like stream for reading or writing"""
35 StringIO.pyarg = "|O"

Completed in 440 milliseconds

12345678