/third_party/python/Modules/_blake2/clinic/ |
H A 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, 0, argsbuf); 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 digest_size = _PyLong_AsInt(fastargs[1]); in py_blake2s_new() 67 if (fastargs[2]) { in py_blake2s_new() 68 if (PyObject_GetBuffer(fastargs[2], &key, PyBUF_SIMPLE) != 0) { in py_blake2s_new() 72 _PyArg_BadArgument("blake2s", "argument 'key'", "contiguous buffer", fastargs[2]); in py_blake2s_new() 79 if (fastargs[ in py_blake2s_new() [all...] |
H A 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, 0, argsbuf); 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 digest_size = _PyLong_AsInt(fastargs[1]); in py_blake2b_new() 67 if (fastargs[2]) { in py_blake2b_new() 68 if (PyObject_GetBuffer(fastargs[2], &key, PyBUF_SIMPLE) != 0) { in py_blake2b_new() 72 _PyArg_BadArgument("blake2b", "argument 'key'", "contiguous buffer", fastargs[2]); in py_blake2b_new() 79 if (fastargs[ in py_blake2b_new() [all...] |
/third_party/python/Objects/clinic/ |
H A 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, 0, argsbuf); 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, 0, argsbuf); 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[ in property_init() [all...] |
H A 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, 0, argsbuf); 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[ in func_new() [all...] |
H A 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, 0, argsbuf); 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__()
|
H A 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, 0, argsbuf); in structseq_new() 22 if (!fastargs) { in structseq_new() 25 arg = fastargs[0]; in structseq_new() 29 dict = fastargs[1]; in structseq_new()
|
H A D | complexobject.c.h | 108 PyObject * const *fastargs; in complex_new() local 114 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 2, 0, argsbuf); in complex_new() 115 if (!fastargs) { in complex_new() 121 if (fastargs[0]) { in complex_new() 122 r = fastargs[0]; in complex_new() 127 i = fastargs[1]; in complex_new()
|
H A 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, 0, argsbuf); in enum_new() 37 if (!fastargs) { in enum_new() 40 iterable = fastargs[0]; in enum_new() 44 start = fastargs[1]; in enum_new()
|
/third_party/python/Modules/clinic/ |
H A D | socketmodule.c.h | 16 PyObject * const *fastargs; in sock_initobj() local 24 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 4, 0, argsbuf); in sock_initobj() 25 if (!fastargs) { in sock_initobj() 31 if (fastargs[0]) { in sock_initobj() 32 family = _PyLong_AsInt(fastargs[0]); in sock_initobj() 40 if (fastargs[1]) { in sock_initobj() 41 type = _PyLong_AsInt(fastargs[1]); in sock_initobj() 49 if (fastargs[2]) { in sock_initobj() 50 proto = _PyLong_AsInt(fastargs[2]); in sock_initobj() 58 fdobj = fastargs[ in sock_initobj() [all...] |
H A D | itertoolsmodule.c.h | 60 PyObject * const *fastargs; in itertools_groupby() local 66 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2, 0, argsbuf); in itertools_groupby() 67 if (!fastargs) { in itertools_groupby() 70 it = fastargs[0]; in itertools_groupby() 74 keyfunc = fastargs[1]; in itertools_groupby() 383 PyObject * const *fastargs; in itertools_combinations() local 388 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 2, 2, 0, argsbuf); in itertools_combinations() 389 if (!fastargs) { in itertools_combinations() 392 iterable = fastargs[0]; in itertools_combinations() 395 PyObject *iobj = _PyNumber_Index(fastargs[ in itertools_combinations() 431 PyObject * const *fastargs; itertools_combinations_with_replacement() local 478 PyObject * const *fastargs; itertools_permutations() local 517 PyObject * const *fastargs; itertools_accumulate() local 569 PyObject * const *fastargs; itertools_compress() local 644 PyObject * const *fastargs; itertools_count() local [all...] |
H A 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, 0, argsbuf); 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...] |
H A 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, 0, argsbuf); in iso_calendar_date_new() 35 if (!fastargs) { in iso_calendar_date_new() 38 year = _PyLong_AsInt(fastargs[0]); in iso_calendar_date_new() 42 week = _PyLong_AsInt(fastargs[1]); in iso_calendar_date_new() 46 weekday = _PyLong_AsInt(fastargs[2]); in iso_calendar_date_new()
|
H A D | _lzmamodule.c.h | 177 PyObject * const *fastargs; in _lzma_LZMADecompressor___init__() local 184 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 3, 0, argsbuf); in _lzma_LZMADecompressor___init__() 185 if (!fastargs) { in _lzma_LZMADecompressor___init__() 191 if (fastargs[0]) { in _lzma_LZMADecompressor___init__() 192 format = _PyLong_AsInt(fastargs[0]); in _lzma_LZMADecompressor___init__() 200 if (fastargs[1]) { in _lzma_LZMADecompressor___init__() 201 memlimit = fastargs[1]; in _lzma_LZMADecompressor___init__() 206 filters = fastargs[2]; in _lzma_LZMADecompressor___init__()
|
H A D | _elementtree.c.h | 596 PyObject * const *fastargs; in _elementtree_TreeBuilder___init__() local 605 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 1, 0, argsbuf); in _elementtree_TreeBuilder___init__() 606 if (!fastargs) { in _elementtree_TreeBuilder___init__() 612 if (fastargs[0]) { in _elementtree_TreeBuilder___init__() 613 element_factory = fastargs[0]; in _elementtree_TreeBuilder___init__() 622 if (fastargs[1]) { in _elementtree_TreeBuilder___init__() 623 comment_factory = fastargs[1]; in _elementtree_TreeBuilder___init__() 628 if (fastargs[2]) { in _elementtree_TreeBuilder___init__() 629 pi_factory = fastargs[2]; in _elementtree_TreeBuilder___init__() 634 if (fastargs[ in _elementtree_TreeBuilder___init__() 807 PyObject * const *fastargs; _elementtree_XMLParser___init__() local [all...] |
H A 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, 0, argsbuf); in _asyncio_Future___init__() 38 if (!fastargs) { in _asyncio_Future___init__() 44 loop = fastargs[0]; in _asyncio_Future___init__() 312 PyObject * const *fastargs; in _asyncio_Task___init__() local 320 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 1, 0, argsbuf); in _asyncio_Task___init__() 321 if (!fastargs) { in _asyncio_Task___init__() 324 coro = fastargs[0]; in _asyncio_Task___init__() 328 if (fastargs[1]) { in _asyncio_Task___init__() 329 loop = fastargs[ in _asyncio_Task___init__() [all...] |
/third_party/python/Python/clinic/ |
H A 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, 0, argsbuf); 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 tb_lasti = _PyLong_AsInt(fastargs[2]); in tb_new() 43 tb_lineno = _PyLong_AsInt(fastargs[3]); in tb_new()
|
H A D | Python-tokenize.c.h | 15 PyObject * const *fastargs; in tokenizeriter_new() local 19 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 1, 0, argsbuf); in tokenizeriter_new() 20 if (!fastargs) { in tokenizeriter_new() 23 if (!PyUnicode_Check(fastargs[0])) { in tokenizeriter_new() 24 _PyArg_BadArgument("tokenizeriter", "argument 'source'", "str", fastargs[0]); in tokenizeriter_new() 28 source = PyUnicode_AsUTF8AndSize(fastargs[0], &source_length); in tokenizeriter_new()
|
/third_party/python/Modules/_io/clinic/ |
H A 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, 0, argsbuf); 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 198 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 6, 0, argsbuf); in _io_TextIOWrapper___init__() 199 if (!fastargs) { in _io_TextIOWrapper___init__() 202 buffer = fastargs[ in _io_TextIOWrapper___init__() [all...] |
H A 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, 0, argsbuf); 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 closefd = _PyLong_AsInt(fastargs[ in _io__WindowsConsoleIO___init__() [all...] |
H A 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, 0, argsbuf); 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 closefd = _PyLong_AsInt(fastargs[ in _io_FileIO___init__() [all...] |
H A D | bufferedio.c.h | 408 PyObject * const *fastargs; in _io_BufferedReader___init__() local 414 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2, 0, argsbuf); in _io_BufferedReader___init__() 415 if (!fastargs) { in _io_BufferedReader___init__() 418 raw = fastargs[0]; in _io_BufferedReader___init__() 424 PyObject *iobj = _PyNumber_Index(fastargs[1]); in _io_BufferedReader___init__() 462 PyObject * const *fastargs; in _io_BufferedWriter___init__() local 468 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 2, 0, argsbuf); in _io_BufferedWriter___init__() 469 if (!fastargs) { in _io_BufferedWriter___init__() 472 raw = fastargs[0]; in _io_BufferedWriter___init__() 478 PyObject *iobj = _PyNumber_Index(fastargs[ in _io_BufferedWriter___init__() 609 PyObject * const *fastargs; _io_BufferedRandom___init__() local [all...] |
H A D | stringio.c.h | 261 PyObject * const *fastargs; in _io_StringIO___init__() local 267 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 2, 0, argsbuf); in _io_StringIO___init__() 268 if (!fastargs) { in _io_StringIO___init__() 274 if (fastargs[0]) { in _io_StringIO___init__() 275 value = fastargs[0]; in _io_StringIO___init__() 280 newline_obj = fastargs[1]; in _io_StringIO___init__()
|
/third_party/python/Modules/_multiprocessing/clinic/ |
H A D | semaphore.c.h | 166 PyObject * const *fastargs; in _multiprocessing_SemLock() local 174 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 5, 5, 0, argsbuf); in _multiprocessing_SemLock() 175 if (!fastargs) { in _multiprocessing_SemLock() 178 kind = _PyLong_AsInt(fastargs[0]); in _multiprocessing_SemLock() 182 value = _PyLong_AsInt(fastargs[1]); in _multiprocessing_SemLock() 186 maxvalue = _PyLong_AsInt(fastargs[2]); in _multiprocessing_SemLock() 190 if (!PyUnicode_Check(fastargs[3])) { in _multiprocessing_SemLock() 191 _PyArg_BadArgument("SemLock", "argument 'name'", "str", fastargs[3]); in _multiprocessing_SemLock() 195 name = PyUnicode_AsUTF8AndSize(fastargs[3], &name_length); in _multiprocessing_SemLock() 203 unlink = _PyLong_AsInt(fastargs[ in _multiprocessing_SemLock() [all...] |
/third_party/python/Modules/_sqlite/clinic/ |
H A D | connection.c.h | 19 PyObject * const *fastargs; in pysqlite_connection_init() local 31 fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 1, 8, 0, argsbuf); in pysqlite_connection_init() 32 if (!fastargs) { in pysqlite_connection_init() 35 database = fastargs[0]; in pysqlite_connection_init() 39 if (fastargs[1]) { in pysqlite_connection_init() 40 if (PyFloat_CheckExact(fastargs[1])) { in pysqlite_connection_init() 41 timeout = PyFloat_AS_DOUBLE(fastargs[1]); in pysqlite_connection_init() 45 timeout = PyFloat_AsDouble(fastargs[1]); in pysqlite_connection_init() 54 if (fastargs[2]) { in pysqlite_connection_init() 55 detect_types = _PyLong_AsInt(fastargs[ in pysqlite_connection_init() [all...] |
/third_party/python/Modules/_sha3/clinic/ |
H A 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, 0, argsbuf); 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()
|