Home
last modified time | relevance | path

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

12345678

/external/python/cpython3/Modules/clinic/
Ditertoolsmodule.c.h29 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in itertools_groupby()
65 if (!_PyArg_CheckPositional("_grouper", PyTuple_GET_SIZE(args), 2, 2)) { in itertools__grouper()
102 if (!_PyArg_CheckPositional("teedataobject", PyTuple_GET_SIZE(args), 3, 3)) { in itertools_teedataobject()
137 if (!_PyArg_CheckPositional("_tee", PyTuple_GET_SIZE(args), 1, 1)) { in itertools__tee()
216 if (!_PyArg_CheckPositional("cycle", PyTuple_GET_SIZE(args), 1, 1)) { in itertools_cycle()
248 if (!_PyArg_CheckPositional("dropwhile", PyTuple_GET_SIZE(args), 2, 2)) { in itertools_dropwhile()
279 if (!_PyArg_CheckPositional("takewhile", PyTuple_GET_SIZE(args), 2, 2)) { in itertools_takewhile()
310 if (!_PyArg_CheckPositional("starmap", PyTuple_GET_SIZE(args), 2, 2)) { in itertools_starmap()
350 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in itertools_combinations()
403 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in itertools_combinations_with_replacement()
[all …]
D_hashopenssl.c.h197 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in EVP_new()
251 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_md5()
303 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha1()
355 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha224()
407 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha256()
459 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha384()
511 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha512()
565 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha3_224()
621 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha3_256()
677 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _hashlib_openssl_sha3_384()
[all …]
D_bz2module.c.h92 if (!_PyArg_CheckPositional("BZ2Compressor", PyTuple_GET_SIZE(args), 0, 1)) { in _bz2_BZ2Compressor___init__()
95 if (PyTuple_GET_SIZE(args) < 1) { in _bz2_BZ2Compressor___init__()
147 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _bz2_BZ2Decompressor_decompress()
D_bisectmodule.c.h32 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in _bisect_bisect_right()
109 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in _bisect_insort_right()
183 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in _bisect_bisect_left()
260 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in _bisect_insort_left()
D_sre.c.h200 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _sre_SRE_Pattern_match()
279 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _sre_SRE_Pattern_fullmatch()
360 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _sre_SRE_Pattern_search()
439 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _sre_SRE_Pattern_findall()
520 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _sre_SRE_Pattern_finditer()
598 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _sre_SRE_Pattern_scanner()
677 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in _sre_SRE_Pattern_split()
733 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in _sre_SRE_Pattern_sub()
791 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in _sre_SRE_Pattern_subn()
988 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in _sre_SRE_Match_groups()
[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()
D_datetimemodule.c.h29 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in iso_calendar_date_new()
95 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in datetime_datetime_now()
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()
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()
602 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _elementtree_TreeBuilder___init__()
813 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in _elementtree_XMLParser___init__()
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()
540 switch (PyTuple_GET_SIZE(args)) { in _curses_window_box()
583 switch (PyTuple_GET_SIZE(args)) { in _curses_window_delch()
636 switch (PyTuple_GET_SIZE(args)) { in _curses_window_derwin()
823 switch (PyTuple_GET_SIZE(args)) { in _curses_window_getch()
874 switch (PyTuple_GET_SIZE(args)) { in _curses_window_getkey()
922 switch (PyTuple_GET_SIZE(args)) { in _curses_window_get_wch()
978 switch (PyTuple_GET_SIZE(args)) { in _curses_window_hline()
[all …]
/external/python/cpython2/Objects/
Dframeobject.c543 …slots = f->f_code->co_nlocals + PyTuple_GET_SIZE(f->f_code->co_cellvars) + PyTuple_GET_SIZE(f->f_c… in frame_traverse()
576 …slots = f->f_code->co_nlocals + PyTuple_GET_SIZE(f->f_code->co_cellvars) + PyTuple_GET_SIZE(f->f_c… in frame_clear()
593 ncells = PyTuple_GET_SIZE(f->f_code->co_cellvars); in frame_sizeof()
594 nfrees = PyTuple_GET_SIZE(f->f_code->co_freevars); in frame_sizeof()
711 ncells = PyTuple_GET_SIZE(code->co_cellvars); in PyFrame_New()
712 nfrees = PyTuple_GET_SIZE(code->co_freevars); in PyFrame_New()
928 j = PyTuple_GET_SIZE(map); in PyFrame_FastToLocals()
933 ncells = PyTuple_GET_SIZE(co->co_cellvars); in PyFrame_FastToLocals()
934 nfreevars = PyTuple_GET_SIZE(co->co_freevars); in PyFrame_FastToLocals()
975 j = PyTuple_GET_SIZE(map); in PyFrame_LocalsToFast()
[all …]
/external/python/cpython3/Objects/
Dgenericaliasobject.c121 Py_ssize_t len = PyTuple_GET_SIZE(alias->args); in ga_repr()
203 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in make_parameters()
227 Py_ssize_t len2 = PyTuple_GET_SIZE(subparams); in make_parameters()
267 if (subparams && PyTuple_Check(subparams) && PyTuple_GET_SIZE(subparams)) { in subs_tvars()
268 Py_ssize_t nparams = PyTuple_GET_SIZE(params); in subs_tvars()
269 Py_ssize_t nsubargs = PyTuple_GET_SIZE(subparams); in subs_tvars()
307 Py_ssize_t nparams = PyTuple_GET_SIZE(alias->parameters); in ga_getitem()
314 Py_ssize_t nitems = is_tuple ? PyTuple_GET_SIZE(item) : 1; in ga_getitem()
328 Py_ssize_t nargs = PyTuple_GET_SIZE(alias->args); in ga_getitem()
572 if (!_PyArg_CheckPositional("GenericAlias", PyTuple_GET_SIZE(args), 2, 2)) { in ga_new()
Dframeobject.c618 + PyTuple_GET_SIZE(code->co_cellvars) in frame_nslots()
619 + PyTuple_GET_SIZE(code->co_freevars)); in frame_nslots()
701 ncells = PyTuple_GET_SIZE(code->co_cellvars); in frame_sizeof()
702 nfrees = PyTuple_GET_SIZE(code->co_freevars); in frame_sizeof()
781 Py_ssize_t ncells = PyTuple_GET_SIZE(code->co_cellvars); in frame_alloc()
782 Py_ssize_t nfrees = PyTuple_GET_SIZE(code->co_freevars); in frame_alloc()
1092 j = PyTuple_GET_SIZE(map); in PyFrame_FastToLocalsWithError()
1099 ncells = PyTuple_GET_SIZE(co->co_cellvars); in PyFrame_FastToLocalsWithError()
1100 nfreevars = PyTuple_GET_SIZE(co->co_freevars); in PyFrame_FastToLocalsWithError()
1156 j = PyTuple_GET_SIZE(map); in PyFrame_LocalsToFast()
[all …]
Dcall.c175 if (PyTuple_GET_SIZE(keywords)) { in _PyObject_MakeTpCall()
226 Py_ssize_t nargs = PyTuple_GET_SIZE(tuple); in PyVectorcall_Call()
353 Py_ssize_t nkwargs = (kwnames == NULL) ? 0 : PyTuple_GET_SIZE(kwnames); in _PyFunction_Vectorcall()
369 && co->co_argcount == PyTuple_GET_SIZE(argdefs)) { in _PyFunction_Vectorcall()
374 stack, PyTuple_GET_SIZE(argdefs), in _PyFunction_Vectorcall()
388 nd = PyTuple_GET_SIZE(argdefs); in _PyFunction_Vectorcall()
470 Py_ssize_t argcount = PyTuple_GET_SIZE(args); in _PyObject_Call_Prepend()
538 PyTuple_GET_SIZE(args), in _PyObject_CallFunctionVa()
915 nkwargs = PyTuple_GET_SIZE(kwnames); in _PyStack_AsDict()
1022 Py_ssize_t n = PyTuple_GET_SIZE(kwnames) + nargs; in _PyStack_UnpackDict_Free()
Dtupleobject.c741 newobj = type->tp_alloc(type, n = PyTuple_GET_SIZE(tmp)); in tuple_subtype_new()
774 i += PyTuple_GET_SIZE(self); in tuplesubscript()
786 slicelength = PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start, in tuplesubscript()
793 slicelength == PyTuple_GET_SIZE(self) && in tuplesubscript()
1025 if (it->it_index < PyTuple_GET_SIZE(seq)) { in tupleiter_next()
1042 len = PyTuple_GET_SIZE(it->it_seq) - it->it_index; in tupleiter_len()
1068 else if (index > PyTuple_GET_SIZE(it->it_seq)) in tupleiter_setstate()
1069 index = PyTuple_GET_SIZE(it->it_seq); /* exhausted iterator */ in tupleiter_setstate()
/external/python/cpython3/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()
107 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in OrderedDict_popitem()
149 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in OrderedDict_move_to_end()
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()
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()
Dlongobject.c.h16 Py_ssize_t nargs = PyTuple_GET_SIZE(args); in long_new()
203 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in int_to_bytes()
285 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 2; in int_from_bytes()
Dlistobject.c.h182 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in list_sort()
321 if (!_PyArg_CheckPositional("list", PyTuple_GET_SIZE(args), 0, 1)) { in list___init__()
324 if (PyTuple_GET_SIZE(args) < 1) { in list___init__()
Dbytesobject.c.h32 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_split()
188 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_rsplit()
372 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1; in bytes_translate()
637 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_decode()
708 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_splitlines()
805 Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0; in bytes_hex()
/external/python/cffi/c/
Dcdlopen.c179 Py_ssize_t i, n = PyTuple_GET_SIZE(globals) / 2; in ffiobj_init()
224 Py_ssize_t i, n = PyTuple_GET_SIZE(struct_unions); in ffiobj_init()
228 nf += PyTuple_GET_SIZE(PyTuple_GET_ITEM(struct_unions, i)) - 1; in ffiobj_init()
243 Py_ssize_t j, nf1 = PyTuple_GET_SIZE(desc) - 1; in ffiobj_init()
288 Py_ssize_t i, n = PyTuple_GET_SIZE(enums); in ffiobj_init()
314 Py_ssize_t i, n = PyTuple_GET_SIZE(typenames); in ffiobj_init()
337 included_libs = PyTuple_New(PyTuple_GET_SIZE(includes)); in ffiobj_init()
/external/python/cpython3/Modules/
D_operator.c959 nitems = PyTuple_GET_SIZE(args); in itemgetter_new()
1018 if (!_PyArg_CheckPositional("itemgetter", PyTuple_GET_SIZE(args), 1, 1)) in itemgetter_call()
1025 && ig->index < PyTuple_GET_SIZE(obj)) in itemgetter_call()
1035 assert(PyTuple_GET_SIZE(ig->item) == nitems); in itemgetter_call()
1161 nattrs = PyTuple_GET_SIZE(args); in attrgetter_new()
1289 name_count = PyTuple_GET_SIZE(attr); in dotted_getattr()
1319 if (!_PyArg_CheckPositional("attrgetter", PyTuple_GET_SIZE(args), 1, 1)) in attrgetter_call()
1326 assert(PyTuple_GET_SIZE(ag->attr) == nattrs); in attrgetter_call()
1503 if (PyTuple_GET_SIZE(args) < 1) { in methodcaller_new()
1529 mc->args = PyTuple_GetSlice(args, 1, PyTuple_GET_SIZE(args)); in methodcaller_new()
[all …]
/external/python/cpython2/Modules/_sqlite/
Drow.c95 _idx += PyTuple_GET_SIZE(self->data); in pysqlite_row_subscript()
104 _idx += PyTuple_GET_SIZE(self->data); in pysqlite_row_subscript()
157 return PyTuple_GET_SIZE(self->data); in pysqlite_row_length()

12345678