• Home
  • Raw
  • Download

Lines Matching refs:fastargs

30     PyObject * const *fastargs;  in _io_IncrementalNewlineDecoder___init__()  local
37fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 3… in _io_IncrementalNewlineDecoder___init__()
38 if (!fastargs) { in _io_IncrementalNewlineDecoder___init__()
41 decoder = fastargs[0]; in _io_IncrementalNewlineDecoder___init__()
42 translate = _PyLong_AsInt(fastargs[1]); in _io_IncrementalNewlineDecoder___init__()
49 errors = fastargs[2]; in _io_IncrementalNewlineDecoder___init__()
188 PyObject * const *fastargs; in _io_TextIOWrapper___init__() local
198fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 6… in _io_TextIOWrapper___init__()
199 if (!fastargs) { in _io_TextIOWrapper___init__()
202 buffer = fastargs[0]; in _io_TextIOWrapper___init__()
206 if (fastargs[1]) { in _io_TextIOWrapper___init__()
207 if (fastargs[1] == Py_None) { in _io_TextIOWrapper___init__()
210 else if (PyUnicode_Check(fastargs[1])) { in _io_TextIOWrapper___init__()
212 encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length); in _io_TextIOWrapper___init__()
222 _PyArg_BadArgument("TextIOWrapper", "argument 'encoding'", "str or None", fastargs[1]); in _io_TextIOWrapper___init__()
229 if (fastargs[2]) { in _io_TextIOWrapper___init__()
230 errors = fastargs[2]; in _io_TextIOWrapper___init__()
235 if (fastargs[3]) { in _io_TextIOWrapper___init__()
236 if (fastargs[3] == Py_None) { in _io_TextIOWrapper___init__()
239 else if (PyUnicode_Check(fastargs[3])) { in _io_TextIOWrapper___init__()
241 newline = PyUnicode_AsUTF8AndSize(fastargs[3], &newline_length); in _io_TextIOWrapper___init__()
251 _PyArg_BadArgument("TextIOWrapper", "argument 'newline'", "str or None", fastargs[3]); in _io_TextIOWrapper___init__()
258 if (fastargs[4]) { in _io_TextIOWrapper___init__()
259 line_buffering = _PyLong_AsInt(fastargs[4]); in _io_TextIOWrapper___init__()
267 write_through = _PyLong_AsInt(fastargs[5]); in _io_TextIOWrapper___init__()