Home
last modified time | relevance | path

Searched refs:nargs (Results 1 – 25 of 474) sorted by relevance

12345678910>>...19

/third_party/python/Modules/clinic/
D_operator.c.h46 _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.h86 _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 …]
Dzlibmodule.c.h23 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_gdbmmodule.c.h18 _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 …]
Dselectmodule.c.h40 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()
206 select_poll_poll(pollObject *self, PyObject *const *args, Py_ssize_t nargs) in select_poll_poll() argument
211 if (!_PyArg_CheckPositional("poll", nargs, 0, 1)) { in select_poll_poll()
[all …]
Dfcntlmodule.c.h28 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 …]
Daudioop.c.h19 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 …]
Doverlapped.c.h21 _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 …]
Dreadline.c.h29 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_hashopenssl.c.h83 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 …]
Dposixmodule.c.h37 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.h168 _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.h175 …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.h33 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 …]
/third_party/python/Python/clinic/
Dbltinmodule.c.h91 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 …]
/third_party/python/Objects/clinic/
Dbytearrayobject.c.h17 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 …]
Dbytesobject.c.h26 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 …]
Dodictobject.c.h18 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 …]
Ddictobject.c.h18 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 …]
Dunicodeobject.c.h80 unicode_center(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in unicode_center() argument
86 if (!_PyArg_CheckPositional("center", nargs, 1, 2)) { in unicode_center()
101 if (nargs < 2) { in unicode_center()
136 unicode_encode(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in unicode_encode() argument
142 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in unicode_encode()
146 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 2, 0, argsbuf); in unicode_encode()
206 unicode_expandtabs(PyObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in unicode_expandtabs() argument
212 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in unicode_expandtabs()
215 args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser, 0, 1, 0, argsbuf); in unicode_expandtabs()
514 unicode_ljust(PyObject *self, PyObject *const *args, Py_ssize_t nargs) in unicode_ljust() argument
[all …]
/third_party/python/Objects/
Dcall.c13 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 …]
/third_party/python/Modules/_io/clinic/
Dbytesio.c.h167 _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 …]
Dbufferedio.c.h112 _io__Buffered_peek(buffered *self, PyObject *const *args, Py_ssize_t nargs) in _io__Buffered_peek() argument
117 if (!_PyArg_CheckPositional("peek", nargs, 0, 1)) { in _io__Buffered_peek()
120 if (nargs < 1) { in _io__Buffered_peek()
154 _io__Buffered_read(buffered *self, PyObject *const *args, Py_ssize_t nargs) in _io__Buffered_read() argument
159 if (!_PyArg_CheckPositional("read", nargs, 0, 1)) { in _io__Buffered_read()
162 if (nargs < 1) { in _io__Buffered_read()
187 _io__Buffered_read1(buffered *self, PyObject *const *args, Py_ssize_t nargs) in _io__Buffered_read1() argument
192 if (!_PyArg_CheckPositional("read1", nargs, 0, 1)) { in _io__Buffered_read1()
195 if (nargs < 1) { in _io__Buffered_read1()
303 _io__Buffered_readline(buffered *self, PyObject *const *args, Py_ssize_t nargs) in _io__Buffered_readline() argument
[all …]
Dstringio.c.h57 _io_StringIO_read(stringio *self, PyObject *const *args, Py_ssize_t nargs) in _io_StringIO_read() argument
62 if (!_PyArg_CheckPositional("read", nargs, 0, 1)) { in _io_StringIO_read()
65 if (nargs < 1) { in _io_StringIO_read()
93 _io_StringIO_readline(stringio *self, PyObject *const *args, Py_ssize_t nargs) in _io_StringIO_readline() argument
98 if (!_PyArg_CheckPositional("readline", nargs, 0, 1)) { in _io_StringIO_readline()
101 if (nargs < 1) { in _io_StringIO_readline()
131 _io_StringIO_truncate(stringio *self, PyObject *const *args, Py_ssize_t nargs) in _io_StringIO_truncate() argument
136 if (!_PyArg_CheckPositional("truncate", nargs, 0, 1)) { in _io_StringIO_truncate()
139 if (nargs < 1) { in _io_StringIO_truncate()
171 _io_StringIO_seek(stringio *self, PyObject *const *args, Py_ssize_t nargs) in _io_StringIO_seek() argument
[all …]
/third_party/node/test/parallel/
Dtest-timers-args.js9 function timeout(nargs) { argument
10 const args = range(nargs);
15 if (nargs < 128) timeout(nargs + 1);
19 function interval(nargs) { argument
20 const args = range(nargs);
26 if (nargs < 128) interval(nargs + 1);

12345678910>>...19