Home
last modified time | relevance | path

Searched refs:textio (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Modules/_io/clinic/
Dtextio.c.h186 _io_TextIOWrapper___init___impl(textio *self, PyObject *buffer,
292 …return_value = _io_TextIOWrapper___init___impl((textio *)self, buffer, encoding, errors, newline, … in _io_TextIOWrapper___init__()
311 _io_TextIOWrapper_reconfigure_impl(textio *self, PyObject *encoding,
317 _io_TextIOWrapper_reconfigure(textio *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwna… in _io_TextIOWrapper_reconfigure()
378 _io_TextIOWrapper_detach_impl(textio *self);
381 _io_TextIOWrapper_detach(textio *self, PyObject *Py_UNUSED(ignored)) in _io_TextIOWrapper_detach()
395 _io_TextIOWrapper_write_impl(textio *self, PyObject *text);
398 _io_TextIOWrapper_write(textio *self, PyObject *arg) in _io_TextIOWrapper_write()
426 _io_TextIOWrapper_read_impl(textio *self, Py_ssize_t n);
429 _io_TextIOWrapper_read(textio *self, PyObject *const *args, Py_ssize_t nargs) in _io_TextIOWrapper_read()
[all …]
/external/python/cpython3/Modules/_io/
Dtextio.c697 } textio; typedef
700 textiowrapper_set_decoded_chars(textio *self, PyObject *chars);
706 ascii_encode(textio *self, PyObject *text) in ascii_encode()
712 utf16be_encode(textio *self, PyObject *text) in utf16be_encode()
719 utf16le_encode(textio *self, PyObject *text) in utf16le_encode()
726 utf16_encode(textio *self, PyObject *text) in utf16_encode()
741 utf32be_encode(textio *self, PyObject *text) in utf32be_encode()
748 utf32le_encode(textio *self, PyObject *text) in utf32le_encode()
755 utf32_encode(textio *self, PyObject *text) in utf32_encode()
770 utf8_encode(textio *self, PyObject *text) in utf8_encode()
[all …]
/external/python/cpython2/Modules/_io/
Dtextio.c708 } textio; typedef
711 textiowrapper_set_decoded_chars(textio *self, PyObject *chars);
717 ascii_encode(textio *self, PyObject *text) in ascii_encode()
725 utf16be_encode(textio *self, PyObject *text) in utf16be_encode()
733 utf16le_encode(textio *self, PyObject *text) in utf16le_encode()
741 utf16_encode(textio *self, PyObject *text) in utf16_encode()
757 utf32be_encode(textio *self, PyObject *text) in utf32be_encode()
765 utf32le_encode(textio *self, PyObject *text) in utf32le_encode()
773 utf32_encode(textio *self, PyObject *text) in utf32_encode()
789 utf8_encode(textio *self, PyObject *text) in utf8_encode()
[all …]
/external/python/cpython3/Lib/test/
Dtest_getpass.py100 mock.patch('io.TextIOWrapper') as textio:
109 textio.assert_called_once_with(fileio.return_value)
126 mock.patch('io.TextIOWrapper') as textio, \
135 textio.return_value)
Dtest_io.py2798 textio = self.TextIOWrapper(bufio, newline=newline,
2803 c2 = textio.read(2)
2807 got_lines.append(c2 + textio.readline())
2809 got_lines = list(textio)
3392 textio = self.TextIOWrapper(bufio, encoding='ascii',
3396 textio.write(text)
3405 textio.write(text * 10) # total content is larger than bufio buffer
/external/python/cpython3/Tools/c-analyzer/
DTODO295 Modules/_io/textio.c:PyId__dealloc_warn _Py_IDENTIFIER(_dealloc_warn)
296 Modules/_io/textio.c:PyId_close _Py_IDENTIFIER(close)
297 Modules/_io/textio.c:PyId_decode _Py_IDENTIFIER(decode)
298 Modules/_io/textio.c:PyId_fileno _Py_IDENTIFIER(fileno)
299 Modules/_io/textio.c:PyId_flush _Py_IDENTIFIER(flush)
300 Modules/_io/textio.c:PyId_getpreferredencoding _Py_IDENTIFIER(getpreferredencodin…
301 Modules/_io/textio.c:PyId_isatty _Py_IDENTIFIER(isatty)
302 Modules/_io/textio.c:PyId_mode _Py_IDENTIFIER(mode)
303 Modules/_io/textio.c:PyId_name _Py_IDENTIFIER(name)
304 Modules/_io/textio.c:PyId_raw _Py_IDENTIFIER(raw)
[all …]
Dknown.tsv354 Modules/_io/textio.c - incrementalnewlinedecoder_getset variable static PyGetSetDef incrementalnewl…
355 Modules/_io/textio.c - incrementalnewlinedecoder_methods variable static PyMethodDef incrementalnew…
653 Modules/_io/clinic/textio.c.h _io_IncrementalNewlineDecoder___init__ _parser variable static _PyArg…
654 Modules/_io/clinic/textio.c.h _io_IncrementalNewlineDecoder_decode _parser variable static _PyArg_P…
655 Modules/_io/clinic/textio.c.h _io_TextIOWrapper___init__ _parser variable static _PyArg_Parser _par…
656 Modules/_io/clinic/textio.c.h _io_TextIOWrapper_reconfigure _parser variable static _PyArg_Parser _…
1061 Modules/_io/textio.c - PyId_close variable _Py_IDENTIFIER(close)
1077 Modules/_io/textio.c - PyId__dealloc_warn variable _Py_IDENTIFIER(_dealloc_warn)
1078 Modules/_io/textio.c - PyId_decode variable _Py_IDENTIFIER(decode)
1124 Modules/_io/textio.c - PyId_fileno variable _Py_IDENTIFIER(fileno)
[all …]
/external/python/cpython3/
DAndroid-darwin_x86_64.bp30 "Modules/_io/textio.c",
DAndroid-bionic.bp44 "Modules/_io/textio.c",
DAndroid-linux_x86_64.bp45 "Modules/_io/textio.c",
DMakefile.pre.in295 Modules/_io/textio.o \
/external/python/cpython2/Lib/test/
Dtest_io.py2191 textio = self.TextIOWrapper(bufio, newline=newline,
2196 c2 = textio.read(2)
2200 got_lines.append(c2 + textio.readline())
2202 got_lines = list(textio)
/external/python/cpython3/Modules/
DSetup126 …io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c
/external/python/cpython2/
DAndroid.bp571 "Modules/_io/textio.c",
/external/python/cpython2/PC/VC6/
Dpythoncore.dsp746 SOURCE=..\..\Modules\_io\textio.c
/external/python/cpython2/Modules/
DSetup.dist195 …io/bufferedio.c _io/bytesio.c _io/fileio.c _io/iobase.c _io/_iomodule.c _io/stringio.c _io/textio.c