Lines Matching refs:PyObject
52 PyObject *codec_register(PyObject *self, PyObject *search_function)
67 PyObject *codec_lookup(PyObject *self, PyObject *args)
87 static PyObject *
88 codec_encode(PyObject *self, PyObject *args)
92 PyObject *v;
121 static PyObject *
122 codec_decode(PyObject *self, PyObject *args)
126 PyObject *v;
148 PyObject *codec_tuple(PyObject *unicode,
151 PyObject *v;
160 static PyObject *
161 escape_decode(PyObject *self,
162 PyObject *args)
175 static PyObject *
176 escape_encode(PyObject *self,
177 PyObject *args)
179 PyObject *str;
206 static PyObject *
207 unicode_internal_decode(PyObject *self,
208 PyObject *args)
210 PyObject *obj;
232 static PyObject *
233 utf_7_decode(PyObject *self,
234 PyObject *args)
240 PyObject *decoded = NULL;
255 static PyObject *
256 utf_8_decode(PyObject *self,
257 PyObject *args)
263 PyObject *decoded = NULL;
278 static PyObject *
279 utf_16_decode(PyObject *self,
280 PyObject *args)
287 PyObject *decoded;
301 static PyObject *
302 utf_16_le_decode(PyObject *self,
303 PyObject *args)
310 PyObject *decoded = NULL;
325 static PyObject *
326 utf_16_be_decode(PyObject *self,
327 PyObject *args)
334 PyObject *decoded = NULL;
357 static PyObject *
358 utf_16_ex_decode(PyObject *self,
359 PyObject *args)
364 PyObject *unicode, *tuple;
382 static PyObject *
383 utf_32_decode(PyObject *self,
384 PyObject *args)
391 PyObject *decoded;
405 static PyObject *
406 utf_32_le_decode(PyObject *self,
407 PyObject *args)
414 PyObject *decoded;
428 static PyObject *
429 utf_32_be_decode(PyObject *self,
430 PyObject *args)
437 PyObject *decoded;
459 static PyObject *
460 utf_32_ex_decode(PyObject *self,
461 PyObject *args)
466 PyObject *unicode, *tuple;
484 static PyObject *
485 unicode_escape_decode(PyObject *self,
486 PyObject *args)
490 PyObject *unicode;
501 static PyObject *
502 raw_unicode_escape_decode(PyObject *self,
503 PyObject *args)
507 PyObject *unicode;
518 static PyObject *
519 latin_1_decode(PyObject *self,
520 PyObject *args)
523 PyObject *unicode;
535 static PyObject *
536 ascii_decode(PyObject *self,
537 PyObject *args)
540 PyObject *unicode;
552 static PyObject *
553 charmap_decode(PyObject *self,
554 PyObject *args)
557 PyObject *unicode;
559 PyObject *mapping = NULL;
574 static PyObject *
575 mbcs_decode(PyObject *self,
576 PyObject *args)
582 PyObject *decoded = NULL;
601 static PyObject *
602 readbuffer_encode(PyObject *self,
603 PyObject *args)
617 static PyObject *
618 charbuffer_encode(PyObject *self,
619 PyObject *args)
633 static PyObject *
634 unicode_internal_encode(PyObject *self,
635 PyObject *args)
637 PyObject *obj;
660 static PyObject *
661 utf_7_encode(PyObject *self,
662 PyObject *args)
664 PyObject *str, *v;
684 static PyObject *
685 utf_8_encode(PyObject *self,
686 PyObject *args)
688 PyObject *str, *v;
713 static PyObject *
714 utf_16_encode(PyObject *self,
715 PyObject *args)
717 PyObject *str, *v;
737 static PyObject *
738 utf_16_le_encode(PyObject *self,
739 PyObject *args)
741 PyObject *str, *v;
760 static PyObject *
761 utf_16_be_encode(PyObject *self,
762 PyObject *args)
764 PyObject *str, *v;
790 static PyObject *
791 utf_32_encode(PyObject *self,
792 PyObject *args)
794 PyObject *str, *v;
814 static PyObject *
815 utf_32_le_encode(PyObject *self,
816 PyObject *args)
818 PyObject *str, *v;
837 static PyObject *
838 utf_32_be_encode(PyObject *self,
839 PyObject *args)
841 PyObject *str, *v;
860 static PyObject *
861 unicode_escape_encode(PyObject *self,
862 PyObject *args)
864 PyObject *str, *v;
881 static PyObject *
882 raw_unicode_escape_encode(PyObject *self,
883 PyObject *args)
885 PyObject *str, *v;
903 static PyObject *
904 latin_1_encode(PyObject *self,
905 PyObject *args)
907 PyObject *str, *v;
926 static PyObject *
927 ascii_encode(PyObject *self,
928 PyObject *args)
930 PyObject *str, *v;
949 static PyObject *
950 charmap_encode(PyObject *self,
951 PyObject *args)
953 PyObject *str, *v;
955 PyObject *mapping = NULL;
976 static PyObject*
977 charmap_build(PyObject *self, PyObject *args)
979 PyObject *map;
987 static PyObject *
988 mbcs_encode(PyObject *self,
989 PyObject *args)
991 PyObject *str, *v;
1024 static PyObject *register_error(PyObject *self, PyObject *args)
1027 PyObject *handler;
1043 static PyObject *lookup_error(PyObject *self, PyObject *args)