/third_party/python/Modules/_blake2/clinic/ |
D | blake2b_impl.c.h | 28 PyObject * const *fastargs; in py_blake2b_new() local 45 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 1… in py_blake2b_new() 46 if (!fastargs) { in py_blake2b_new() 53 data = fastargs[0]; in py_blake2b_new() 58 if (fastargs[1]) { in py_blake2b_new() 59 if (PyFloat_Check(fastargs[1])) { in py_blake2b_new() 64 digest_size = _PyLong_AsInt(fastargs[1]); in py_blake2b_new() 72 if (fastargs[2]) { in py_blake2b_new() 73 if (PyObject_GetBuffer(fastargs[2], &key, PyBUF_SIMPLE) != 0) { in py_blake2b_new() 77 _PyArg_BadArgument("blake2b", "argument 'key'", "contiguous buffer", fastargs[2]); in py_blake2b_new() [all …]
|
D | blake2s_impl.c.h | 28 PyObject * const *fastargs; in py_blake2s_new() local 45 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 1… in py_blake2s_new() 46 if (!fastargs) { in py_blake2s_new() 53 data = fastargs[0]; in py_blake2s_new() 58 if (fastargs[1]) { in py_blake2s_new() 59 if (PyFloat_Check(fastargs[1])) { in py_blake2s_new() 64 digest_size = _PyLong_AsInt(fastargs[1]); in py_blake2s_new() 72 if (fastargs[2]) { in py_blake2s_new() 73 if (PyObject_GetBuffer(fastargs[2], &key, PyBUF_SIMPLE) != 0) { in py_blake2s_new() 77 _PyArg_BadArgument("blake2s", "argument 'key'", "contiguous buffer", fastargs[2]); in py_blake2s_new() [all …]
|
/third_party/python/Objects/clinic/ |
D | funcobject.c.h | 33 PyObject * const *fastargs; in func_new() local 42 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 5… in func_new() 43 if (!fastargs) { in func_new() 46 if (!PyObject_TypeCheck(fastargs[0], &PyCode_Type)) { in func_new() 47 _PyArg_BadArgument("function", "argument 'code'", (&PyCode_Type)->tp_name, fastargs[0]); in func_new() 50 code = (PyCodeObject *)fastargs[0]; in func_new() 51 if (!PyDict_Check(fastargs[1])) { in func_new() 52 _PyArg_BadArgument("function", "argument 'globals'", "dict", fastargs[1]); in func_new() 55 globals = fastargs[1]; in func_new() 59 if (fastargs[2]) { in func_new() [all …]
|
D | descrobject.c.h | 15 PyObject * const *fastargs; in mappingproxy_new() local 19 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 1… in mappingproxy_new() 20 if (!fastargs) { in mappingproxy_new() 23 mapping = fastargs[0]; in mappingproxy_new() 78 PyObject * const *fastargs; in property_init() local 86 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 4… in property_init() 87 if (!fastargs) { in property_init() 93 if (fastargs[0]) { in property_init() 94 fget = fastargs[0]; in property_init() 99 if (fastargs[1]) { in property_init() [all …]
|
D | moduleobject.c.h | 23 PyObject * const *fastargs; in module___init__() local 29 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in module___init__() 30 if (!fastargs) { in module___init__() 33 if (!PyUnicode_Check(fastargs[0])) { in module___init__() 34 _PyArg_BadArgument("module", "argument 'name'", "str", fastargs[0]); in module___init__() 37 if (PyUnicode_READY(fastargs[0]) == -1) { in module___init__() 40 name = fastargs[0]; in module___init__() 44 doc = fastargs[1]; in module___init__()
|
D | complexobject.c.h | 23 PyObject * const *fastargs; in complex_new() local 29 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 2… in complex_new() 30 if (!fastargs) { in complex_new() 36 if (fastargs[0]) { in complex_new() 37 r = fastargs[0]; in complex_new() 42 i = fastargs[1]; in complex_new()
|
D | structseq.c.h | 15 PyObject * const *fastargs; in structseq_new() local 21 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in structseq_new() 22 if (!fastargs) { in structseq_new() 25 arg = fastargs[0]; in structseq_new() 29 dict = fastargs[1]; in structseq_new()
|
D | enumobject.c.h | 30 PyObject * const *fastargs; in enum_new() local 36 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in enum_new() 37 if (!fastargs) { in enum_new() 40 iterable = fastargs[0]; in enum_new() 44 start = fastargs[1]; in enum_new()
|
D | longobject.c.h | 15 PyObject * const *fastargs; in long_new() local 21 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 2… in long_new() 22 if (!fastargs) { in long_new() 29 x = fastargs[0]; in long_new() 34 obase = fastargs[1]; in long_new()
|
/third_party/python/Python/clinic/ |
D | traceback.c.h | 22 PyObject * const *fastargs; in tb_new() local 29 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 4, 4… in tb_new() 30 if (!fastargs) { in tb_new() 33 tb_next = fastargs[0]; in tb_new() 34 if (!PyObject_TypeCheck(fastargs[1], &PyFrame_Type)) { in tb_new() 35 … _PyArg_BadArgument("TracebackType", "argument 'tb_frame'", (&PyFrame_Type)->tp_name, fastargs[1]); in tb_new() 38 tb_frame = (PyFrameObject *)fastargs[1]; in tb_new() 39 if (PyFloat_Check(fastargs[2])) { in tb_new() 44 tb_lasti = _PyLong_AsInt(fastargs[2]); in tb_new() 48 if (PyFloat_Check(fastargs[3])) { in tb_new() [all …]
|
/third_party/python/Modules/clinic/ |
D | itertoolsmodule.c.h | 28 PyObject * const *fastargs; in itertools_groupby() local 34 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in itertools_groupby() 35 if (!fastargs) { in itertools_groupby() 38 it = fastargs[0]; in itertools_groupby() 42 keyfunc = fastargs[1]; in itertools_groupby() 349 PyObject * const *fastargs; in itertools_combinations() local 354 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 2… in itertools_combinations() 355 if (!fastargs) { in itertools_combinations() 358 iterable = fastargs[0]; in itertools_combinations() 359 if (PyFloat_Check(fastargs[1])) { in itertools_combinations() [all …]
|
D | _datetimemodule.c.h | 28 PyObject * const *fastargs; in iso_calendar_date_new() local 34 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 3, 3… in iso_calendar_date_new() 35 if (!fastargs) { in iso_calendar_date_new() 38 if (PyFloat_Check(fastargs[0])) { in iso_calendar_date_new() 43 year = _PyLong_AsInt(fastargs[0]); in iso_calendar_date_new() 47 if (PyFloat_Check(fastargs[1])) { in iso_calendar_date_new() 52 week = _PyLong_AsInt(fastargs[1]); in iso_calendar_date_new() 56 if (PyFloat_Check(fastargs[2])) { in iso_calendar_date_new() 61 weekday = _PyLong_AsInt(fastargs[2]); in iso_calendar_date_new()
|
D | _pickle.c.h | 112 PyObject * const *fastargs; in _pickle_Pickler___init__() local 120 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 4… in _pickle_Pickler___init__() 121 if (!fastargs) { in _pickle_Pickler___init__() 124 file = fastargs[0]; in _pickle_Pickler___init__() 128 if (fastargs[1]) { in _pickle_Pickler___init__() 129 protocol = fastargs[1]; in _pickle_Pickler___init__() 134 if (fastargs[2]) { in _pickle_Pickler___init__() 135 fix_imports = PyObject_IsTrue(fastargs[2]); in _pickle_Pickler___init__() 143 buffer_callback = fastargs[3]; in _pickle_Pickler___init__() 332 PyObject * const *fastargs; in _pickle_Unpickler___init__() local [all …]
|
D | _lzmamodule.c.h | 182 PyObject * const *fastargs; in _lzma_LZMADecompressor___init__() local 189 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 3… in _lzma_LZMADecompressor___init__() 190 if (!fastargs) { in _lzma_LZMADecompressor___init__() 196 if (fastargs[0]) { in _lzma_LZMADecompressor___init__() 197 if (PyFloat_Check(fastargs[0])) { in _lzma_LZMADecompressor___init__() 202 format = _PyLong_AsInt(fastargs[0]); in _lzma_LZMADecompressor___init__() 210 if (fastargs[1]) { in _lzma_LZMADecompressor___init__() 211 memlimit = fastargs[1]; in _lzma_LZMADecompressor___init__() 216 filters = fastargs[2]; in _lzma_LZMADecompressor___init__()
|
D | _elementtree.c.h | 601 PyObject * const *fastargs; in _elementtree_TreeBuilder___init__() local 610 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 1… in _elementtree_TreeBuilder___init__() 611 if (!fastargs) { in _elementtree_TreeBuilder___init__() 617 if (fastargs[0]) { in _elementtree_TreeBuilder___init__() 618 element_factory = fastargs[0]; in _elementtree_TreeBuilder___init__() 627 if (fastargs[1]) { in _elementtree_TreeBuilder___init__() 628 comment_factory = fastargs[1]; in _elementtree_TreeBuilder___init__() 633 if (fastargs[2]) { in _elementtree_TreeBuilder___init__() 634 pi_factory = fastargs[2]; in _elementtree_TreeBuilder___init__() 639 if (fastargs[3]) { in _elementtree_TreeBuilder___init__() [all …]
|
D | _asynciomodule.c.h | 32 PyObject * const *fastargs; in _asyncio_Future___init__() local 37 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 0… in _asyncio_Future___init__() 38 if (!fastargs) { in _asyncio_Future___init__() 44 loop = fastargs[0]; in _asyncio_Future___init__() 329 PyObject * const *fastargs; in _asyncio_Task___init__() local 336 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 1… in _asyncio_Task___init__() 337 if (!fastargs) { in _asyncio_Task___init__() 340 coro = fastargs[0]; in _asyncio_Task___init__() 344 if (fastargs[1]) { in _asyncio_Task___init__() 345 loop = fastargs[1]; in _asyncio_Task___init__() [all …]
|
D | selectmodule.c.h | 520 PyObject * const *fastargs; in select_epoll() local 526 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 2… in select_epoll() 527 if (!fastargs) { in select_epoll() 533 if (fastargs[0]) { in select_epoll() 534 if (PyFloat_Check(fastargs[0])) { in select_epoll() 539 sizehint = _PyLong_AsInt(fastargs[0]); in select_epoll() 547 if (PyFloat_Check(fastargs[1])) { in select_epoll() 552 flags = _PyLong_AsInt(fastargs[1]); in select_epoll()
|
D | _struct.c.h | 26 PyObject * const *fastargs; in Struct___init__() local 30 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 1… in Struct___init__() 31 if (!fastargs) { in Struct___init__() 34 format = fastargs[0]; in Struct___init__()
|
/third_party/python/Modules/_io/clinic/ |
D | textio.c.h | 30 PyObject * const *fastargs; in _io_IncrementalNewlineDecoder___init__() local 37 …fastargs = _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 if (PyFloat_Check(fastargs[1])) { in _io_IncrementalNewlineDecoder___init__() 47 translate = _PyLong_AsInt(fastargs[1]); in _io_IncrementalNewlineDecoder___init__() 54 errors = fastargs[2]; in _io_IncrementalNewlineDecoder___init__() 198 PyObject * const *fastargs; in _io_TextIOWrapper___init__() local 208 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 6… in _io_TextIOWrapper___init__() 209 if (!fastargs) { in _io_TextIOWrapper___init__() [all …]
|
D | winconsoleio.c.h | 54 PyObject * const *fastargs; in _io__WindowsConsoleIO___init__() local 62 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 4… in _io__WindowsConsoleIO___init__() 63 if (!fastargs) { in _io__WindowsConsoleIO___init__() 66 nameobj = fastargs[0]; in _io__WindowsConsoleIO___init__() 70 if (fastargs[1]) { in _io__WindowsConsoleIO___init__() 71 if (!PyUnicode_Check(fastargs[1])) { in _io__WindowsConsoleIO___init__() 72 _PyArg_BadArgument("_WindowsConsoleIO", "argument 'mode'", "str", fastargs[1]); in _io__WindowsConsoleIO___init__() 76 mode = PyUnicode_AsUTF8AndSize(fastargs[1], &mode_length); in _io__WindowsConsoleIO___init__() 88 if (fastargs[2]) { in _io__WindowsConsoleIO___init__() 89 if (PyFloat_Check(fastargs[2])) { in _io__WindowsConsoleIO___init__() [all …]
|
D | bufferedio.c.h | 423 PyObject * const *fastargs; in _io_BufferedReader___init__() local 429 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in _io_BufferedReader___init__() 430 if (!fastargs) { in _io_BufferedReader___init__() 433 raw = fastargs[0]; in _io_BufferedReader___init__() 437 if (PyFloat_Check(fastargs[1])) { in _io_BufferedReader___init__() 444 PyObject *iobj = PyNumber_Index(fastargs[1]); in _io_BufferedReader___init__() 482 PyObject * const *fastargs; in _io_BufferedWriter___init__() local 488 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2… in _io_BufferedWriter___init__() 489 if (!fastargs) { in _io_BufferedWriter___init__() 492 raw = fastargs[0]; in _io_BufferedWriter___init__() [all …]
|
D | fileio.c.h | 55 PyObject * const *fastargs; in _io_FileIO___init__() local 63 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 4… in _io_FileIO___init__() 64 if (!fastargs) { in _io_FileIO___init__() 67 nameobj = fastargs[0]; in _io_FileIO___init__() 71 if (fastargs[1]) { in _io_FileIO___init__() 72 if (!PyUnicode_Check(fastargs[1])) { in _io_FileIO___init__() 73 _PyArg_BadArgument("FileIO", "argument 'mode'", "str", fastargs[1]); in _io_FileIO___init__() 77 mode = PyUnicode_AsUTF8AndSize(fastargs[1], &mode_length); in _io_FileIO___init__() 89 if (fastargs[2]) { in _io_FileIO___init__() 90 if (PyFloat_Check(fastargs[2])) { in _io_FileIO___init__() [all …]
|
D | stringio.c.h | 271 PyObject * const *fastargs; in _io_StringIO___init__() local 277 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 2… in _io_StringIO___init__() 278 if (!fastargs) { in _io_StringIO___init__() 284 if (fastargs[0]) { in _io_StringIO___init__() 285 value = fastargs[0]; in _io_StringIO___init__() 290 newline_obj = fastargs[1]; in _io_StringIO___init__()
|
D | bytesio.c.h | 499 PyObject * const *fastargs; in _io_BytesIO___init__() local 504 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 1… in _io_BytesIO___init__() 505 if (!fastargs) { in _io_BytesIO___init__() 511 initvalue = fastargs[0]; in _io_BytesIO___init__()
|
/third_party/python/Modules/_sha3/clinic/ |
D | sha3module.c.h | 21 PyObject * const *fastargs; in py_sha3_new() local 27 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 1… in py_sha3_new() 28 if (!fastargs) { in py_sha3_new() 35 data = fastargs[0]; in py_sha3_new() 40 usedforsecurity = PyObject_IsTrue(fastargs[1]); in py_sha3_new()
|