Home
last modified time | relevance | path

Searched refs:sio (Results 1 – 25 of 48) sorted by relevance

12

/external/llvm-project/lldb/test/API/python_api/disassemble-raw-data/
DTestDisassemble_VST1_64.py55 sio = StringIO()
56 insts.Print(sio)
57 self.assertEqual(split(assembly), split(sio.getvalue()))
64 sio = StringIO()
65 inst.Print(sio)
66 self.assertEqual(asm, sio.getvalue().strip())
/external/python/cpython2/Lib/json/tests/
Dtest_dump.py7 sio = StringIO()
8 self.json.dump({}, sio)
9 self.assertEqual(sio.getvalue(), '{}')
Dtest_indent.py49 sio = StringIO()
50 self.json.dump(h, sio, indent=indent)
51 self.assertEqual(sio.getvalue(), expected)
/external/python/cpython3/Lib/test/test_json/
Dtest_indent.py56 sio = StringIO()
57 self.json.dump(h, sio, indent=indent)
58 self.assertEqual(sio.getvalue(), expected)
Dtest_dump.py8 sio = StringIO()
9 self.json.dump({}, sio)
10 self.assertEqual(sio.getvalue(), '{}')
/external/python/cpython2/Lib/test/
Dtest_bz2.py102 sio = StringIO(self.TEXT)
103 for line in sio.readlines():
111 sio = StringIO(self.TEXT)
112 self.assertEqual(bz2f.readlines(), sio.readlines())
118 sio = StringIO(self.TEXT)
119 self.assertEqual(list(iter(bz2f)), sio.readlines())
136 sio = StringIO(self.TEXT)
137 self.assertEqual(list(bz2f.xreadlines()), sio.readlines())
181 sio = StringIO(self.TEXT)
182 bz2f.writelines(sio.readlines())
Dtest_cfgparser.py45 sio = StringIO.StringIO(string)
46 cf.readfp(sio)
182 sio = StringIO.StringIO(src)
183 self.assertRaises(exc, self.cf.readfp, sio)
573 sio = StringIO.StringIO()
574 cp.write(sio)
575 return sio.getvalue()
Dtest_mimetypes.py38 sio = StringIO.StringIO("x-application/x-unittest pyunit\n")
39 self.db.readfp(sio)
Dtest_sax.py1068 sio = StringIO("invalid")
1071 self.assertRaises(SAXParseException, parser.parse, sio)
/external/python/cpython2/Lib/
Dpprint.py121 sio = _StringIO()
122 self._format(object, sio, 0, 0, {}, 0)
123 return sio.getvalue()
255 sio = _StringIO()
256 write = sio.write
262 return ("%s%s%s" % (closure, sio.getvalue(), closure)), True, False
/external/python/cpython3/Lib/logging/
D__init__.py612 sio = io.StringIO()
617 traceback.print_exception(ei[0], ei[1], tb, None, sio)
618 s = sio.getvalue()
619 sio.close()
1527 sio = io.StringIO()
1528 sio.write('Stack (most recent call last):\n')
1529 traceback.print_stack(f, file=sio)
1530 sinfo = sio.getvalue()
1533 sio.close()
/external/python/cpython2/Lib/distutils/tests/
Dtest_dist.py354 sio = StringIO.StringIO()
355 dist.metadata.write_pkg_file(sio)
356 return sio.getvalue()
/external/cldr/common/testData/transforms/
Deo-fonipa-t-eo.txt74 Subkonscio subkonst͡sio
149 funkcio funkt͡sio
253 pozicio pozit͡sio
/external/icu/icu4c/source/data/lang/
Dseh.txt22 id{"indonésio"}
Dpt.txt170 frr{"frísio setentrional"}
173 fy{"frísio ocidental"}
218 id{"indonésio"}
/external/python/cpython3/Lib/distutils/tests/
Dtest_dist.py268 sio = io.StringIO()
269 dist.metadata.write_pkg_file(sio)
270 return sio.getvalue()
/external/python/cpython3/Lib/test/
Dtest_mimetypes.py51 sio = io.StringIO("x-application/x-unittest pyunit\n")
52 self.db.readfp(sio)
Dtest_nntplib.py407 sio = _NNTPServerIO(handler)
410 file = io.BufferedRWPair(sio, sio)
411 return (sio, file)
440 self.sio, file = make_mock_file(self.handler)
863 self.assertFalse(self.sio.closed)
866 self.assertTrue(self.sio.closed)
Dtest_configparser.py553 sio = src
555 sio = io.StringIO(src)
557 cf.read_file(sio)
1393 sio = io.StringIO()
1394 cp.write(sio)
1395 return sio.getvalue()
1633 sio = io.StringIO("""
1640 parser.readfp(sio, filename='StringIO')
/external/python/cpython2/Lib/logging/
D__init__.py438 sio = cStringIO.StringIO()
439 traceback.print_exception(ei[0], ei[1], ei[2], None, sio)
440 s = sio.getvalue()
441 sio.close()
/external/python/cpython3/Lib/
Dpprint.py152 sio = _StringIO()
153 self._format(object, sio, 0, 0, {}, 0)
154 return sio.getvalue()
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_baseEnglishToIpa.txt94 $vowel { sio > ʒ ə ; # commission
96 sio > ʃ ə ; # fusion
/external/scapy/scapy/contrib/
Dhttp2.py2635 sio = BytesIO(s)
2644 for hdr_line in sio:
2691 sio = BytesIO(body)
2692 frgmt = sio.read(max_frm_sz - base_data_frm_len - base_frm_len)
2694 nxt_frgmt = sio.read(max_frm_sz - base_data_frm_len - base_frm_len)
/external/icu/icu4c/source/data/locales/
Dkam.txt255 dn{"Kĩsio kya ĩsaa"}
/external/python/cpython3/Lib/xml/etree/
DElementTree.py1760 sio = None
1762 sio = out = io.StringIO()
1772 return sio.getvalue() if sio is not None else None

12