Lines Matching refs:fastargs
596 PyObject * const *fastargs;
605 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 1, 0, argsbuf);
606 if (!fastargs) {
612 if (fastargs[0]) {
613 element_factory = fastargs[0];
622 if (fastargs[1]) {
623 comment_factory = fastargs[1];
628 if (fastargs[2]) {
629 pi_factory = fastargs[2];
634 if (fastargs[3]) {
635 insert_comments = PyObject_IsTrue(fastargs[3]);
643 insert_pis = PyObject_IsTrue(fastargs[4]);
807 PyObject * const *fastargs;
813 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 0, 0, argsbuf);
814 if (!fastargs) {
820 if (fastargs[0]) {
821 target = fastargs[0];
826 if (fastargs[1] == Py_None) {
829 else if (PyUnicode_Check(fastargs[1])) {
831 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length);
841 _PyArg_BadArgument("XMLParser", "argument 'encoding'", "str or None", fastargs[1]);