/external/python/cpython2/Modules/ |
D | cgensupport.c | 14 PyArg_GetObject(register PyObject *args, int nargs, int i, PyObject **p_arg) in PyArg_GetObject() argument 16 if (nargs != 1) { in PyArg_GetObject() 18 nargs != PyTuple_Size(args) || in PyArg_GetObject() 19 i < 0 || i >= nargs) { in PyArg_GetObject() 34 PyArg_GetLong(register PyObject *args, int nargs, int i, long *p_arg) in PyArg_GetLong() argument 36 if (nargs != 1) { in PyArg_GetLong() 38 nargs != PyTuple_Size(args) || in PyArg_GetLong() 39 i < 0 || i >= nargs) { in PyArg_GetLong() 52 PyArg_GetShort(register PyObject *args, int nargs, int i, short *p_arg) in PyArg_GetShort() argument 55 if (!PyArg_GetLong(args, nargs, i, &x)) in PyArg_GetShort() [all …]
|
D | cgensupport.h | 32 extern int PyArg_GetObject(PyObject *args, int nargs, 34 extern int PyArg_GetLong(PyObject *args, int nargs, 36 extern int PyArg_GetShort(PyObject *args, int nargs, 38 extern int PyArg_GetFloat(PyObject *args, int nargs, 40 extern int PyArg_GetString(PyObject *args, int nargs, 42 extern int PyArg_GetChar(PyObject *args, int nargs, 44 extern int PyArg_GetLongArray(PyObject *args, int nargs, 46 extern int PyArg_GetShortArray(PyObject *args, int nargs, 48 extern int PyArg_GetDoubleArray(PyObject *args, int nargs, 50 extern int PyArg_GetFloatArray(PyObject *args, int nargs, [all …]
|
/external/python/cpython3/Modules/clinic/ |
D | _operator.c.h | 46 _operator_add(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _operator_add() argument 52 if (!_PyArg_CheckPositional("add", nargs, 2, 2)) { in _operator_add() 76 _operator_sub(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _operator_sub() argument 82 if (!_PyArg_CheckPositional("sub", nargs, 2, 2)) { in _operator_sub() 106 _operator_mul(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _operator_mul() argument 112 if (!_PyArg_CheckPositional("mul", nargs, 2, 2)) { in _operator_mul() 136 _operator_matmul(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _operator_matmul() argument 142 if (!_PyArg_CheckPositional("matmul", nargs, 2, 2)) { in _operator_matmul() 166 _operator_floordiv(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _operator_floordiv() argument 172 if (!_PyArg_CheckPositional("floordiv", nargs, 2, 2)) { in _operator_floordiv() [all …]
|
D | _codecsmodule.c.h | 86 _codecs_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _codecs_encode() argument 92 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _codecs_encode() 97 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 3, 0, argsbuf); in _codecs_encode() 163 _codecs_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _codecs_decode() argument 169 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _codecs_decode() 174 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 3, 0, argsbuf); in _codecs_decode() 233 _codecs_escape_decode(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _codecs_escape_decode() argument 239 if (!_PyArg_CheckPositional("escape_decode", nargs, 1, 2)) { in _codecs_escape_decode() 259 if (nargs < 2) { in _codecs_escape_decode() 305 _codecs_escape_encode(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _codecs_escape_encode() argument [all …]
|
D | zlibmodule.c.h | 23 zlib_compress(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in zlib_compress() argument 29 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in zlib_compress() 33 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf); in zlib_compress() 84 zlib_decompress(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in zlib_decompress() argument 90 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in zlib_decompress() 95 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 3, 0, argsbuf); in zlib_decompress() 180 zlib_compressobj(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in zlib_compressobj() argument 186 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in zlib_compressobj() 194 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 6, 0, argsbuf); in zlib_compressobj() 284 zlib_decompressobj(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in zlib_decompressobj() argument [all …]
|
D | selectmodule.c.h | 40 select_select(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in select_select() argument 48 if (!_PyArg_CheckPositional("select", nargs, 3, 4)) { in select_select() 54 if (nargs < 4) { in select_select() 86 select_poll_register(pollObject *self, PyObject *const *args, Py_ssize_t nargs) in select_poll_register() argument 92 if (!_PyArg_CheckPositional("register", nargs, 1, 2)) { in select_poll_register() 98 if (nargs < 2) { in select_poll_register() 134 select_poll_modify(pollObject *self, PyObject *const *args, Py_ssize_t nargs) in select_poll_modify() argument 140 if (!_PyArg_CheckPositional("modify", nargs, 2, 2)) { in select_poll_modify() 210 select_poll_poll(pollObject *self, PyObject *const *args, Py_ssize_t nargs) in select_poll_poll() argument 215 if (!_PyArg_CheckPositional("poll", nargs, 0, 1)) { in select_poll_poll() [all …]
|
D | _gdbmmodule.c.h | 18 _gdbm_gdbm_get(gdbmobject *self, PyObject *const *args, Py_ssize_t nargs) in _gdbm_gdbm_get() argument 24 if (!_PyArg_CheckPositional("get", nargs, 1, 2)) { in _gdbm_gdbm_get() 28 if (nargs < 2) { in _gdbm_gdbm_get() 53 _gdbm_gdbm_setdefault(gdbmobject *self, PyObject *const *args, Py_ssize_t nargs) in _gdbm_gdbm_setdefault() argument 59 if (!_PyArg_CheckPositional("setdefault", nargs, 1, 2)) { in _gdbm_gdbm_setdefault() 63 if (nargs < 2) { in _gdbm_gdbm_setdefault() 105 _gdbm_gdbm_keys(gdbmobject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObj… in _gdbm_gdbm_keys() argument 111 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser in _gdbm_gdbm_keys() 138 _gdbm_gdbm_firstkey(gdbmobject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, P… in _gdbm_gdbm_firstkey() argument 144 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser in _gdbm_gdbm_firstkey() [all …]
|
D | audioop.c.h | 19 audioop_getsample(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in audioop_getsample() argument 26 if (!_PyArg_CheckPositional("getsample", nargs, 3, 3)) { in audioop_getsample() 76 audioop_max(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in audioop_max() argument 82 if (!_PyArg_CheckPositional("max", nargs, 2, 2)) { in audioop_max() 120 audioop_minmax(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in audioop_minmax() argument 126 if (!_PyArg_CheckPositional("minmax", nargs, 2, 2)) { in audioop_minmax() 164 audioop_avg(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in audioop_avg() argument 170 if (!_PyArg_CheckPositional("avg", nargs, 2, 2)) { in audioop_avg() 208 audioop_rms(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in audioop_rms() argument 214 if (!_PyArg_CheckPositional("rms", nargs, 2, 2)) { in audioop_rms() [all …]
|
D | fcntlmodule.c.h | 28 fcntl_fcntl(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in fcntl_fcntl() argument 35 if (!_PyArg_CheckPositional("fcntl", nargs, 2, 3)) { in fcntl_fcntl() 45 if (nargs < 3) { in fcntl_fcntl() 97 fcntl_ioctl(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in fcntl_ioctl() argument 105 if (!_PyArg_CheckPositional("ioctl", nargs, 2, 4)) { in fcntl_ioctl() 115 if (nargs < 3) { in fcntl_ioctl() 119 if (nargs < 4) { in fcntl_ioctl() 149 fcntl_flock(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in fcntl_flock() argument 155 if (!_PyArg_CheckPositional("flock", nargs, 2, 2)) { in fcntl_flock() 206 fcntl_lockf(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in fcntl_lockf() argument [all …]
|
D | overlapped.c.h | 21 _overlapped_CreateIoCompletionPort(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _overlapped_CreateIoCompletionPort() argument 29 if (!_PyArg_ParseStack(args, nargs, ""F_HANDLE""F_HANDLE""F_ULONG_PTR"k:CreateIoCompletionPort", in _overlapped_CreateIoCompletionPort() 56 _overlapped_GetQueuedCompletionStatus(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _overlapped_GetQueuedCompletionStatus() argument 62 if (!_PyArg_ParseStack(args, nargs, ""F_HANDLE"k:GetQueuedCompletionStatus", in _overlapped_GetQueuedCompletionStatus() 89 _overlapped_PostQueuedCompletionStatus(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _overlapped_PostQueuedCompletionStatus() argument 97 …if (!_PyArg_ParseStack(args, nargs, ""F_HANDLE"k"F_ULONG_PTR""F_POINTER":PostQueuedCompletionStatu… in _overlapped_PostQueuedCompletionStatus() 124 _overlapped_RegisterWaitWithQueue(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _overlapped_RegisterWaitWithQueue() argument 132 if (!_PyArg_ParseStack(args, nargs, ""F_HANDLE""F_HANDLE""F_POINTER"k:RegisterWaitWithQueue", in _overlapped_RegisterWaitWithQueue() 183 _overlapped_UnregisterWaitEx(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _overlapped_UnregisterWaitEx() argument 189 if (!_PyArg_ParseStack(args, nargs, ""F_HANDLE""F_HANDLE":UnregisterWaitEx", in _overlapped_UnregisterWaitEx() [all …]
|
D | _hashopenssl.c.h | 83 EVPXOF_digest(EVPobject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in EVPXOF_digest() argument 91 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 0, argsbuf); in EVPXOF_digest() 130 EVPXOF_hexdigest(EVPobject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in EVPXOF_hexdigest() argument 138 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 0, argsbuf); in EVPXOF_hexdigest() 181 EVP_new(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in EVP_new() argument 187 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in EVP_new() 192 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf); in EVP_new() 235 _hashlib_openssl_md5(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _hashlib_openssl_md5() argument 241 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_md5() 245 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 1, 0, argsbuf); in _hashlib_openssl_md5() [all …]
|
D | readline.c.h | 29 readline_read_init_file(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in readline_read_init_file() argument 34 if (!_PyArg_CheckPositional("read_init_file", nargs, 0, 1)) { in readline_read_init_file() 37 if (nargs < 1) { in readline_read_init_file() 63 readline_read_history_file(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in readline_read_history_file() argument 68 if (!_PyArg_CheckPositional("read_history_file", nargs, 0, 1)) { in readline_read_history_file() 71 if (nargs < 1) { in readline_read_history_file() 97 readline_write_history_file(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in readline_write_history_file() argument 102 if (!_PyArg_CheckPositional("write_history_file", nargs, 0, 1)) { in readline_write_history_file() 105 if (nargs < 1) { in readline_write_history_file() 134 readline_append_history_file(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in readline_append_history_file() argument [all …]
|
D | posixmodule.c.h | 37 os_stat(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in os_stat() argument 43 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in os_stat() 48 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 0, argsbuf); in os_stat() 96 os_lstat(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in os_lstat() argument 102 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in os_lstat() 106 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 0, argsbuf); in os_lstat() 169 os_access(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in os_access() argument 175 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in os_access() 183 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 2, 2, 0, argsbuf); in os_access() 306 os_chdir(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in os_chdir() argument [all …]
|
D | _elementtree.c.h | 168 _elementtree_Element_find(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *k… in _elementtree_Element_find() argument 174 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _elementtree_Element_find() 178 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf); in _elementtree_Element_find() 208 _elementtree_Element_findtext(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObjec… in _elementtree_Element_findtext() argument 214 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _elementtree_Element_findtext() 219 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 3, 0, argsbuf); in _elementtree_Element_findtext() 254 _elementtree_Element_findall(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject… in _elementtree_Element_findall() argument 260 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _elementtree_Element_findall() 264 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf); in _elementtree_Element_findall() 293 _elementtree_Element_iterfind(ElementObject *self, PyObject *const *args, Py_ssize_t nargs, PyObjec… in _elementtree_Element_iterfind() argument [all …]
|
D | _sre.c.h | 175 …PatternObject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _sre_SRE_Pattern_match() argument 184 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_match() 209 …PatternObject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _sre_SRE_Pattern_fullmatch() argument 218 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_fullmatch() 245 …PatternObject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _sre_SRE_Pattern_search() argument 254 if (!_PyArg_ParseStackAndKeywords(args, nargs, kwnames, &_parser, in _sre_SRE_Pattern_search() 278 _sre_SRE_Pattern_findall(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kw… in _sre_SRE_Pattern_findall() argument 284 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _sre_SRE_Pattern_findall() 289 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 3, 0, argsbuf); in _sre_SRE_Pattern_findall() 350 …PatternObject *self, PyTypeObject *cls, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _sre_SRE_Pattern_finditer() argument [all …]
|
D | _asynciomodule.c.h | 33 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _asyncio_Future___init__() local 34 Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0; in _asyncio_Future___init__() 37 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 0… in _asyncio_Future___init__() 139 _asyncio_Future_add_done_callback(FutureObj *self, PyObject *const *args, Py_ssize_t nargs, PyObjec… in _asyncio_Future_add_done_callback() argument 145 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _asyncio_Future_add_done_callback() 149 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 1, 0, argsbuf); in _asyncio_Future_add_done_callback() 193 _asyncio_Future_cancel(FutureObj *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in _asyncio_Future_cancel() argument 199 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _asyncio_Future_cancel() 202 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 1, 0, argsbuf); in _asyncio_Future_cancel() 330 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _asyncio_Task___init__() local [all …]
|
/external/python/cpython3/Python/clinic/ |
D | bltinmodule.c.h | 91 builtin_format(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in builtin_format() argument 97 if (!_PyArg_CheckPositional("format", nargs, 1, 2)) { in builtin_format() 101 if (nargs < 2) { in builtin_format() 174 builtin_compile(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in builtin_compile() argument 180 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 3; in builtin_compile() 189 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 3, 6, 0, argsbuf); in builtin_compile() 268 builtin_divmod(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in builtin_divmod() argument 274 if (!_PyArg_CheckPositional("divmod", nargs, 2, 2)) { in builtin_divmod() 305 builtin_eval(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in builtin_eval() argument 312 if (!_PyArg_CheckPositional("eval", nargs, 1, 3)) { in builtin_eval() [all …]
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/ |
D | INVOKEINTERFACE.java | 39 …private int nargs; // Number of arguments on stack (number of stack slots), called "count" in vmsp… field in INVOKEINTERFACE 50 public INVOKEINTERFACE(final int index, final int nargs) { in INVOKEINTERFACE() argument 53 if (nargs < 1) { in INVOKEINTERFACE() 54 throw new ClassGenException("Number of arguments must be > 0 " + nargs); in INVOKEINTERFACE() 56 this.nargs = nargs; in INVOKEINTERFACE() 68 out.writeByte(nargs); in dump() 78 return nargs; in getCount() 89 nargs = bytes.readUnsignedByte(); in initFromFile() 99 return super.toString(cp) + " " + nargs; in toString() 105 return nargs; // nargs includes this reference in consumeStack()
|
/external/python/cpython3/Objects/clinic/ |
D | bytearrayobject.c.h | 17 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in bytearray___init__() local 18 Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0; in bytearray___init__() 23 …fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser, 0, 3… in bytearray___init__() 210 bytearray_translate(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwn… in bytearray_translate() argument 216 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in bytearray_translate() 220 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf); in bytearray_translate() 254 bytearray_maketrans(void *null, PyObject *const *args, Py_ssize_t nargs) in bytearray_maketrans() argument 260 if (!_PyArg_CheckPositional("maketrans", nargs, 2, 2)) { in bytearray_maketrans() 313 bytearray_replace(PyByteArrayObject *self, PyObject *const *args, Py_ssize_t nargs) in bytearray_replace() argument 320 if (!_PyArg_CheckPositional("replace", nargs, 2, 3)) { in bytearray_replace() [all …]
|
D | bytesobject.c.h | 26 bytes_split(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_split() argument 32 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_split() 36 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf); in bytes_split() 177 bytes_rsplit(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in bytes_rsplit() argument 183 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_rsplit() 187 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf); in bytes_rsplit() 249 bytes_strip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs) in bytes_strip() argument 254 if (!_PyArg_CheckPositional("strip", nargs, 0, 1)) { in bytes_strip() 257 if (nargs < 1) { in bytes_strip() 283 bytes_lstrip(PyBytesObject *self, PyObject *const *args, Py_ssize_t nargs) in bytes_lstrip() argument [all …]
|
D | odictobject.c.h | 18 OrderedDict_fromkeys(PyTypeObject *type, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in OrderedDict_fromkeys() argument 24 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in OrderedDict_fromkeys() 28 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf); in OrderedDict_fromkeys() 60 OrderedDict_setdefault(PyODictObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwna… in OrderedDict_setdefault() argument 66 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in OrderedDict_setdefault() 70 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf); in OrderedDict_setdefault() 103 OrderedDict_pop(PyODictObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in OrderedDict_pop() argument 109 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in OrderedDict_pop() 113 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 1, 2, 0, argsbuf); in OrderedDict_pop() 144 OrderedDict_popitem(PyODictObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in OrderedDict_popitem() argument [all …]
|
D | dictobject.c.h | 18 dict_fromkeys(PyTypeObject *type, PyObject *const *args, Py_ssize_t nargs) in dict_fromkeys() argument 24 if (!_PyArg_CheckPositional("fromkeys", nargs, 1, 2)) { in dict_fromkeys() 28 if (nargs < 2) { in dict_fromkeys() 61 dict_get(PyDictObject *self, PyObject *const *args, Py_ssize_t nargs) in dict_get() argument 67 if (!_PyArg_CheckPositional("get", nargs, 1, 2)) { in dict_get() 71 if (nargs < 2) { in dict_get() 98 dict_setdefault(PyDictObject *self, PyObject *const *args, Py_ssize_t nargs) in dict_setdefault() argument 104 if (!_PyArg_CheckPositional("setdefault", nargs, 1, 2)) { in dict_setdefault() 108 if (nargs < 2) { in dict_setdefault() 135 dict_pop(PyDictObject *self, PyObject *const *args, Py_ssize_t nargs) in dict_pop() argument [all …]
|
/external/python/cpython3/Objects/ |
D | call.c | 13 PyObject *const *args, Py_ssize_t nargs, 17 _PyStack_UnpackDict_Free(PyObject *const *stack, Py_ssize_t nargs, 129 Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); in _PyObject_FastCallDictTstate() local 130 assert(nargs >= 0); in _PyObject_FastCallDictTstate() 131 assert(nargs == 0 || args != NULL); in _PyObject_FastCallDictTstate() 137 return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwargs); in _PyObject_FastCallDictTstate() 148 args, nargs, in _PyObject_FastCallDictTstate() 154 nargs | PY_VECTORCALL_ARGUMENTS_OFFSET, kwnames); in _PyObject_FastCallDictTstate() 155 _PyStack_UnpackDict_Free(newargs, nargs, kwnames); in _PyObject_FastCallDictTstate() 172 PyObject *const *args, Py_ssize_t nargs, in _PyObject_MakeTpCall() argument [all …]
|
/external/python/cpython3/Modules/_io/clinic/ |
D | bytesio.c.h | 167 _io_BytesIO_read(bytesio *self, PyObject *const *args, Py_ssize_t nargs) in _io_BytesIO_read() argument 172 if (!_PyArg_CheckPositional("read", nargs, 0, 1)) { in _io_BytesIO_read() 175 if (nargs < 1) { in _io_BytesIO_read() 204 _io_BytesIO_read1(bytesio *self, PyObject *const *args, Py_ssize_t nargs) in _io_BytesIO_read1() argument 209 if (!_PyArg_CheckPositional("read1", nargs, 0, 1)) { in _io_BytesIO_read1() 212 if (nargs < 1) { in _io_BytesIO_read1() 242 _io_BytesIO_readline(bytesio *self, PyObject *const *args, Py_ssize_t nargs) in _io_BytesIO_readline() argument 247 if (!_PyArg_CheckPositional("readline", nargs, 0, 1)) { in _io_BytesIO_readline() 250 if (nargs < 1) { in _io_BytesIO_readline() 280 _io_BytesIO_readlines(bytesio *self, PyObject *const *args, Py_ssize_t nargs) in _io_BytesIO_readlines() argument [all …]
|
/external/cronet/third_party/libxml/src/include/libxml/ |
D | xpathInternals.h | 298 if (nargs != (x)) \ 595 XMLPUBFUN void xmlXPathLastFunction(xmlXPathParserContextPtr ctxt, int nargs); 596 XMLPUBFUN void xmlXPathPositionFunction(xmlXPathParserContextPtr ctxt, int nargs); 597 XMLPUBFUN void xmlXPathCountFunction(xmlXPathParserContextPtr ctxt, int nargs); 598 XMLPUBFUN void xmlXPathIdFunction(xmlXPathParserContextPtr ctxt, int nargs); 599 XMLPUBFUN void xmlXPathLocalNameFunction(xmlXPathParserContextPtr ctxt, int nargs); 600 XMLPUBFUN void xmlXPathNamespaceURIFunction(xmlXPathParserContextPtr ctxt, int nargs); 601 XMLPUBFUN void xmlXPathStringFunction(xmlXPathParserContextPtr ctxt, int nargs); 602 XMLPUBFUN void xmlXPathStringLengthFunction(xmlXPathParserContextPtr ctxt, int nargs); 603 XMLPUBFUN void xmlXPathConcatFunction(xmlXPathParserContextPtr ctxt, int nargs); [all …]
|