Home
last modified time | relevance | path

Searched refs:encodefunc (Results 1 – 4 of 4) sorted by relevance

/external/curl/lib/
Dmime.h74 size_t (*encodefunc)(char *buffer, size_t size, bool ateof, member
Dmime.c850 sz = part->encoder->encodefunc(buffer, bufsize, ateof, part); in read_encoded_part_content()
/external/python/cpython3/Modules/_io/
Dtextio.c663 encodefunc_t encodefunc; member
794 encodefunc_t encodefunc; member
935 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()
/external/python/cpython2/Modules/_io/
Dtextio.c678 encodefunc_t encodefunc; member
808 encodefunc_t encodefunc; member
868 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()