Home
last modified time | relevance | path

Searched refs:PyTuple_GET_SIZE (Results 1 – 25 of 146) sorted by relevance

123456

/third_party/python/Modules/clinic/
Ditertoolsmodule.c.h26 if (!_PyArg_CheckPositional("pairwise", PyTuple_GET_SIZE(args), 1, 1)) { in pairwise_new()
60 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in itertools_groupby()
96 if (!_PyArg_CheckPositional("_grouper", PyTuple_GET_SIZE(args), 2, 2)) { in itertools__grouper()
133 if (!_PyArg_CheckPositional("teedataobject", PyTuple_GET_SIZE(args), 3, 3)) { in itertools_teedataobject()
168 if (!_PyArg_CheckPositional("_tee", PyTuple_GET_SIZE(args), 1, 1)) { in itertools__tee()
242 if (!_PyArg_CheckPositional("cycle", PyTuple_GET_SIZE(args), 1, 1)) { in itertools_cycle()
274 if (!_PyArg_CheckPositional("dropwhile", PyTuple_GET_SIZE(args), 2, 2)) { in itertools_dropwhile()
305 if (!_PyArg_CheckPositional("takewhile", PyTuple_GET_SIZE(args), 2, 2)) { in itertools_takewhile()
336 if (!_PyArg_CheckPositional("starmap", PyTuple_GET_SIZE(args), 2, 2)) { in itertools_starmap()
376 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in itertools_combinations()
[all …]
D_hashopenssl.c.h187 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in EVP_new()
241 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_md5()
293 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha1()
345 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha224()
397 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha256()
449 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha384()
501 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha512()
555 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha3_224()
611 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha3_256()
667 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha3_384()
[all …]
D_asynciomodule.c.h33 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _asyncio_Future___init__()
145 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _asyncio_Future_add_done_callback()
199 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _asyncio_Future_cancel()
330 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _asyncio_Task___init__()
432 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _asyncio_Task_cancel()
487 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _asyncio_Task_get_stack()
531 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _asyncio_Task_print_stack()
690 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _asyncio__get_event_loop()
D_bisectmodule.c.h32 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in _bisect_bisect_right()
115 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in _bisect_insort_right()
195 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in _bisect_bisect_left()
278 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in _bisect_insort_left()
D_cursesmodule.c.h42 switch (PyTuple_GET_SIZE(args)) { in _curses_window_addch()
114 switch (PyTuple_GET_SIZE(args)) { in _curses_window_addstr()
189 switch (PyTuple_GET_SIZE(args)) { in _curses_window_addnstr()
515 switch (PyTuple_GET_SIZE(args)) { in _curses_window_box()
558 switch (PyTuple_GET_SIZE(args)) { in _curses_window_delch()
611 switch (PyTuple_GET_SIZE(args)) { in _curses_window_derwin()
778 switch (PyTuple_GET_SIZE(args)) { in _curses_window_getch()
829 switch (PyTuple_GET_SIZE(args)) { in _curses_window_getkey()
877 switch (PyTuple_GET_SIZE(args)) { in _curses_window_get_wch()
933 switch (PyTuple_GET_SIZE(args)) { in _curses_window_hline()
[all …]
D_datetimemodule.c.h29 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in iso_calendar_date_new()
80 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in datetime_datetime_now()
D_elementtree.c.h174 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _elementtree_Element_find()
214 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _elementtree_Element_findtext()
260 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _elementtree_Element_findall()
299 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _elementtree_Element_iterfind()
338 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _elementtree_Element_get()
376 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _elementtree_Element_iter()
597 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _elementtree_TreeBuilder___init__()
808 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _elementtree_XMLParser___init__()
D_pickle.c.h113 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _pickle_Pickler___init__()
333 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _pickle_Unpickler___init__()
503 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in _pickle_dump()
584 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _pickle_dumps()
669 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _pickle_load()
772 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _pickle_loads()
Dbinascii.c.h55 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in binascii_b2a_uu()
139 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in binascii_b2a_base64()
446 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in binascii_b2a_hex()
516 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in binascii_hexlify()
643 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in binascii_a2b_qp()
696 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in binascii_b2a_qp()
D_ssl.c.h285 switch (PyTuple_GET_SIZE(args)) { in _ssl__SSLSocket_read()
354 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _ssl__SSLSocket_get_channel_binding()
415 if (!_PyArg_CheckPositional("_SSLContext", PyTuple_GET_SIZE(args), 1, 1)) { in _ssl__SSLContext()
536 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _ssl__SSLContext_load_cert_chain()
584 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _ssl__SSLContext_load_verify_locations()
645 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in _ssl__SSLContext__wrap_socket()
714 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 3; in _ssl__SSLContext__wrap_bio()
858 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _ssl__SSLContext_get_ca_certs()
1184 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _ssl_txt2obj()
/third_party/python/Objects/
Dunionobject.c54 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in is_generic_alias_in_args()
68 Py_ssize_t nargs = PyTuple_GET_SIZE(alias->args); in union_instancecheck()
102 Py_ssize_t nargs = PyTuple_GET_SIZE(alias->args); in union_subclasscheck()
143 Py_ssize_t arg_length = PyTuple_GET_SIZE(args); in flatten_args()
149 total_args += PyTuple_GET_SIZE(((unionobject*) arg)->args); in flatten_args()
164 Py_ssize_t nested_arg_length = PyTuple_GET_SIZE(nested_args); in flatten_args()
191 Py_ssize_t arg_length = PyTuple_GET_SIZE(args); in dedup_and_flatten_args()
331 Py_ssize_t len = PyTuple_GET_SIZE(alias->args); in union_repr()
379 Py_ssize_t nargs = PyTuple_GET_SIZE(newargs); in union_getitem()
479 if (PyTuple_GET_SIZE(args) == 1) { in make_union()
Dgenericaliasobject.c122 Py_ssize_t len = PyTuple_GET_SIZE(alias->args); in ga_repr()
204 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _Py_make_parameters()
228 Py_ssize_t len2 = PyTuple_GET_SIZE(subparams); in _Py_make_parameters()
268 if (subparams && PyTuple_Check(subparams) && PyTuple_GET_SIZE(subparams)) { in subs_tvars()
269 Py_ssize_t nparams = PyTuple_GET_SIZE(params); in subs_tvars()
270 Py_ssize_t nsubargs = PyTuple_GET_SIZE(subparams); in subs_tvars()
300 Py_ssize_t nparams = PyTuple_GET_SIZE(parameters); in _Py_subs_parameters()
307 Py_ssize_t nitems = is_tuple ? PyTuple_GET_SIZE(item) : 1; in _Py_subs_parameters()
321 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _Py_subs_parameters()
609 if (!_PyArg_CheckPositional("GenericAlias", PyTuple_GET_SIZE(args), 2, 2)) { in ga_new()
Dframeobject.c632 + PyTuple_GET_SIZE(code->co_cellvars) in frame_nslots()
633 + PyTuple_GET_SIZE(code->co_freevars)); in frame_nslots()
710 ncells = PyTuple_GET_SIZE(code->co_cellvars); in frame_sizeof()
711 nfrees = PyTuple_GET_SIZE(code->co_freevars); in frame_sizeof()
788 Py_ssize_t ncells = PyTuple_GET_SIZE(code->co_cellvars); in frame_alloc()
789 Py_ssize_t nfrees = PyTuple_GET_SIZE(code->co_freevars); in frame_alloc()
1041 j = PyTuple_GET_SIZE(map); in PyFrame_FastToLocalsWithError()
1048 ncells = PyTuple_GET_SIZE(co->co_cellvars); in PyFrame_FastToLocalsWithError()
1049 nfreevars = PyTuple_GET_SIZE(co->co_freevars); in PyFrame_FastToLocalsWithError()
1105 j = PyTuple_GET_SIZE(map); in PyFrame_LocalsToFast()
[all …]
Dtupleobject.c790 newobj = type->tp_alloc(type, n = PyTuple_GET_SIZE(tmp)); in tuple_subtype_new()
823 i += PyTuple_GET_SIZE(self); in tuplesubscript()
835 slicelength = PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start, in tuplesubscript()
842 slicelength == PyTuple_GET_SIZE(self) && in tuplesubscript()
1091 if (it->it_index < PyTuple_GET_SIZE(seq)) { in tupleiter_next()
1108 len = PyTuple_GET_SIZE(it->it_seq) - it->it_index; in tupleiter_len()
1134 else if (index > PyTuple_GET_SIZE(it->it_seq)) in tupleiter_setstate()
1135 index = PyTuple_GET_SIZE(it->it_seq); /* exhausted iterator */ in tupleiter_setstate()
/third_party/python/Objects/clinic/
Dodictobject.c.h24 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in OrderedDict_fromkeys()
66 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in OrderedDict_setdefault()
109 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in OrderedDict_pop()
150 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in OrderedDict_popitem()
192 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in OrderedDict_move_to_end()
Dmemoryobject.c.h22 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in memoryview()
74 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in memoryview_cast()
162 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in memoryview_tobytes()
234 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in memoryview_hex()
Denumobject.c.h31 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in enum_new()
71 if (!_PyArg_CheckPositional("reversed", PyTuple_GET_SIZE(args), 1, 1)) { in reversed_new()
Dbytesobject.c.h32 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_split()
183 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_rsplit()
362 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in bytes_translate()
622 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_decode()
693 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_splitlines()
785 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_hex()
825 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in bytes_new()
Dtupleobject.c.h84 if (!_PyArg_CheckPositional("tuple", PyTuple_GET_SIZE(args), 0, 1)) { in tuple_new()
87 if (PyTuple_GET_SIZE(args) < 1) { in tuple_new()
Ddescrobject.c.h16 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in mappingproxy_new()
79 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in property_init()
Dcodeobject.c.h46 if (!_PyArg_CheckPositional("code", PyTuple_GET_SIZE(args), 14, 16)) { in code_new()
118 if (PyTuple_GET_SIZE(args) < 15) { in code_new()
126 if (PyTuple_GET_SIZE(args) < 16) { in code_new()
172 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in code_replace()
Dlistobject.c.h172 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in list_sort()
306 if (!_PyArg_CheckPositional("list", PyTuple_GET_SIZE(args), 0, 1)) { in list___init__()
309 if (PyTuple_GET_SIZE(args) < 1) { in list___init__()
Dbytearrayobject.c.h17 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in bytearray___init__()
216 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in bytearray_translate()
396 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytearray_split()
495 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytearray_rsplit()
849 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytearray_decode()
933 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytearray_splitlines()
1025 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytearray_hex()
/third_party/python/Modules/
D_operator.c970 nitems = PyTuple_GET_SIZE(args); in itemgetter_new()
1041 if (!_PyArg_CheckPositional("itemgetter", PyTuple_GET_SIZE(args), 1, 1)) in itemgetter_call()
1048 && ig->index < PyTuple_GET_SIZE(obj)) in itemgetter_call()
1058 assert(PyTuple_GET_SIZE(ig->item) == nitems); in itemgetter_call()
1160 nattrs = PyTuple_GET_SIZE(args); in attrgetter_new()
1299 name_count = PyTuple_GET_SIZE(attr); in dotted_getattr()
1329 if (!_PyArg_CheckPositional("attrgetter", PyTuple_GET_SIZE(args), 1, 1)) in attrgetter_call()
1336 assert(PyTuple_GET_SIZE(ag->attr) == nattrs); in attrgetter_call()
1490 if (PyTuple_GET_SIZE(args) < 1) { in methodcaller_new()
1518 mc->args = PyTuple_GetSlice(args, 1, PyTuple_GET_SIZE(args)); in methodcaller_new()
[all …]
/third_party/python/Modules/_io/clinic/
Dbufferedio.c.h409 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _io_BufferedReader___init__()
463 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _io_BufferedWriter___init__()
560 if (!_PyArg_CheckPositional("BufferedRWPair", PyTuple_GET_SIZE(args), 2, 3)) { in _io_BufferedRWPair___init__()
565 if (PyTuple_GET_SIZE(args) < 3) { in _io_BufferedRWPair___init__()
609 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _io_BufferedRandom___init__()

123456