Searched refs:textio (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Modules/_io/clinic/ |
H A D | textio.c.h | 176 _io_TextIOWrapper___init___impl(textio *self, PyObject *buffer, 272 return_value = _io_TextIOWrapper___init___impl((textio *)self, buffer, encoding, errors, newline, line_buffering, write_through); in _io_TextIOWrapper___init__() 291 _io_TextIOWrapper_reconfigure_impl(textio *self, PyObject *encoding, 297 _io_TextIOWrapper_reconfigure(textio *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _io_TextIOWrapper_reconfigure() 358 _io_TextIOWrapper_detach_impl(textio *self); 361 _io_TextIOWrapper_detach(textio *self, PyObject *Py_UNUSED(ignored)) in _io_TextIOWrapper_detach() 375 _io_TextIOWrapper_write_impl(textio *self, PyObject *text); 378 _io_TextIOWrapper_write(textio *self, PyObject *arg) in _io_TextIOWrapper_write() 406 _io_TextIOWrapper_read_impl(textio *self, Py_ssize_t n); 409 _io_TextIOWrapper_read(textio *sel [all...] |
/third_party/python/Modules/_io/ |
H A D | textio.c | 22 class _io.TextIOWrapper "textio *" "&TextIOWrapper_Type" 688 } textio; typedef 691 textiowrapper_set_decoded_chars(textio *self, PyObject *chars); 697 ascii_encode(textio *self, PyObject *text) in ascii_encode() 703 utf16be_encode(textio *self, PyObject *text) in utf16be_encode() 710 utf16le_encode(textio *self, PyObject *text) in utf16le_encode() 717 utf16_encode(textio *self, PyObject *text) in utf16_encode() 732 utf32be_encode(textio *self, PyObject *text) in utf32be_encode() 739 utf32le_encode(textio *self, PyObject *text) in utf32le_encode() 746 utf32_encode(textio *sel [all...] |
/third_party/python/Lib/test/ |
H A D | test_getpass.py | 103 mock.patch('io.TextIOWrapper') as textio: 112 textio.assert_called_once_with(fileio.return_value) 129 mock.patch('io.TextIOWrapper') as textio, \ 138 textio.return_value)
|
H A D | test_io.py | 2826 textio = self.TextIOWrapper(bufio, newline=newline, 2831 c2 = textio.read(2) 2835 got_lines.append(c2 + textio.readline()) 2837 got_lines = list(textio) 3421 textio = self.TextIOWrapper(bufio, encoding='ascii', 3425 textio.write(text) 3434 textio.write(text * 10) # total content is larger than bufio buffer
|
Completed in 10 milliseconds