• Home
  • Raw
  • Download

Lines Matching refs:fastargs

28     PyObject * const *fastargs;  in py_blake2b_new()  local
45fastargs = _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 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[3]) { in py_blake2b_new()
80 if (PyObject_GetBuffer(fastargs[3], &salt, PyBUF_SIMPLE) != 0) { in py_blake2b_new()
84 _PyArg_BadArgument("blake2b", "argument 'salt'", "contiguous buffer", fastargs[3]); in py_blake2b_new()
91 if (fastargs[4]) { in py_blake2b_new()
92 if (PyObject_GetBuffer(fastargs[4], &person, PyBUF_SIMPLE) != 0) { in py_blake2b_new()
96 _PyArg_BadArgument("blake2b", "argument 'person'", "contiguous buffer", fastargs[4]); in py_blake2b_new()
103 if (fastargs[5]) { in py_blake2b_new()
104 fanout = _PyLong_AsInt(fastargs[5]); in py_blake2b_new()
112 if (fastargs[6]) { in py_blake2b_new()
113 depth = _PyLong_AsInt(fastargs[6]); in py_blake2b_new()
121 if (fastargs[7]) { in py_blake2b_new()
122 if (!_PyLong_UnsignedLong_Converter(fastargs[7], &leaf_size)) { in py_blake2b_new()
129 if (fastargs[8]) { in py_blake2b_new()
130 if (!_PyLong_UnsignedLongLong_Converter(fastargs[8], &node_offset)) { in py_blake2b_new()
137 if (fastargs[9]) { in py_blake2b_new()
138 node_depth = _PyLong_AsInt(fastargs[9]); in py_blake2b_new()
146 if (fastargs[10]) { in py_blake2b_new()
147 inner_size = _PyLong_AsInt(fastargs[10]); in py_blake2b_new()
155 if (fastargs[11]) { in py_blake2b_new()
156 last_node = PyObject_IsTrue(fastargs[11]); in py_blake2b_new()
164 usedforsecurity = PyObject_IsTrue(fastargs[12]); in py_blake2b_new()