Searched refs:encodefunc (Results 1 – 4 of 4) sorted by relevance
74 size_t (*encodefunc)(char *buffer, size_t size, bool ateof, member
850 sz = part->encoder->encodefunc(buffer, bufsize, ateof, part); in read_encoded_part_content()
663 encodefunc_t encodefunc; member794 encodefunc_t encodefunc; member935 self->encodefunc = NULL; in _textiowrapper_set_encoder()948 self->encodefunc = e->encodefunc; in _textiowrapper_set_encoder()1122 self->encodefunc = NULL; in _io_TextIOWrapper___init___impl()1661 if (self->encodefunc != NULL) { in _io_TextIOWrapper_write_impl()1662 if (PyUnicode_IS_ASCII(text) && is_asciicompat_encoding(self->encodefunc)) { in _io_TextIOWrapper_write_impl()1667 b = (*self->encodefunc)((PyObject *) self, text); in _io_TextIOWrapper_write_impl()
678 encodefunc_t encodefunc; member808 encodefunc_t encodefunc; member868 self->encodefunc = NULL; in textiowrapper_init()1001 self->encodefunc = e->encodefunc; in textiowrapper_init()1297 if (self->encodefunc != NULL) { in textiowrapper_write()1298 b = (*self->encodefunc)((PyObject *) self, text); in textiowrapper_write()