/external/python/cpython2/Objects/ |
D | tupleobject.c | 49 PyTuple_New(register Py_ssize_t size) in PyTuple_New() function 194 result = PyTuple_New(n); in PyTuple_Pack() 285 pieces = PyTuple_New(n); in tuplerepr() 409 np = (PyTupleObject *)PyTuple_New(len); in tupleslice() 449 np = (PyTupleObject *) PyTuple_New(size); in tupleconcat() 488 return PyTuple_New(0); in tuplerepeat() 493 np = (PyTupleObject *) PyTuple_New(size); in tuplerepeat() 653 return PyTuple_New(0); in tuple_new() 722 return PyTuple_New(0); in tuplesubscript() 731 result = PyTuple_New(slicelength); in tuplesubscript() [all …]
|
D | codeobject.c | 165 nulltuple = PyTuple_New(0); in PyCode_NewEmpty() 229 newtuple = PyTuple_New(len); in validate_and_copy_tuple() 322 ourfreevars = PyTuple_New(0); in code_new() 328 ourcellvars = PyTuple_New(0); in code_new() 478 tuple = PyTuple_New(len); in _PyCode_ConstantKey() 506 tuple = PyTuple_New(len); in _PyCode_ConstantKey()
|
D | structseq.c | 83 np = (PyTupleObject *)PyTuple_New(high-low); in structseq_slice() 123 return PyTuple_New(0); in structseq_subscript() 124 result = PyTuple_New(slicelen); in structseq_subscript() 383 tup = PyTuple_New(n_visible_fields); in structseq_reduce()
|
D | enumobject.c | 116 result = PyTuple_New(2); in enum_next_long() 155 result = PyTuple_New(2); in enum_next()
|
/external/python/cpython3/Objects/ |
D | tupleobject.c | 80 PyTuple_New(Py_ssize_t size) in PyTuple_New() function 219 result = PyTuple_New(n); in PyTuple_Pack() 425 PyTupleObject *tuple = (PyTupleObject *)PyTuple_New(n); in _PyTuple_FromArray() 490 np = (PyTupleObject *) PyTuple_New(size); in tupleconcat() 529 return PyTuple_New(0); in tuplerepeat() 534 np = (PyTupleObject *) PyTuple_New(size); in tuplerepeat() 705 return PyTuple_New(0); in tuple_new_impl() 769 return PyTuple_New(0); in tuplesubscript() 778 result = PyTuple_New(slicelength); in tuplesubscript() 902 *pv = PyTuple_New(newsize); in _PyTuple_Resize()
|
D | codeobject.c | 316 nulltuple = PyTuple_New(0); in PyCode_NewEmpty() 385 newtuple = PyTuple_New(len); in validate_and_copy_tuple() 499 ourfreevars = PyTuple_New(0); in code_new() 505 ourcellvars = PyTuple_New(0); in code_new() 739 tuple = PyTuple_New(len); in _PyCode_ConstantKey() 767 tuple = PyTuple_New(len); in _PyCode_ConstantKey()
|
D | enumobject.c | 135 result = PyTuple_New(2); in enum_next_long() 180 result = PyTuple_New(2); in enum_next()
|
/external/python/cpython2/Objects/stringlib/ |
D | partition.h | 24 out = PyTuple_New(3); in stringlib_partition() 74 out = PyTuple_New(3); in stringlib_rpartition()
|
/external/python/cpython3/Objects/stringlib/ |
D | partition.h | 21 out = PyTuple_New(3); in STRINGLIB() 76 out = PyTuple_New(3); in STRINGLIB()
|
/external/python/cpython2/Modules/ |
D | itertoolsmodule.c | 638 result = PyTuple_New(n); in tee() 1470 iters = PyTuple_New(numargs-1); in imap_new() 1549 argtuple = PyTuple_New(numargs); in imap_next() 1817 PyObject *tmpargs = PyTuple_New(0); in product_new() 1850 pools = PyTuple_New(npools); in product_new() 1924 result = PyTuple_New(npools); in product_next() 1942 result = PyTuple_New(npools); in product_next() 2156 result = PyTuple_New(r); in combinations_next() 2170 result = PyTuple_New(r); in combinations_next() 2405 result = PyTuple_New(r); in cwr_next() [all …]
|
D | _functoolsmodule.c | 32 if ((args = PyTuple_New(2)) == NULL) in functools_reduce() 40 if ((args = PyTuple_New(2)) == NULL) in functools_reduce()
|
/external/python/cffi/c/ |
D | cffi1_module.c | 92 *included_ffis = PyTuple_New(num); in make_included_tuples() 93 *included_libs = PyTuple_New(num); in make_included_tuples()
|
/external/python/cpython3/Include/ |
D | tupleobject.h | 30 PyAPI_FUNC(PyObject *) PyTuple_New(Py_ssize_t size);
|
/external/python/cpython3/Modules/ |
D | itertoolsmodule.c | 893 result = PyTuple_New(n); in itertools_tee_impl() 2114 PyObject *tmpargs = PyTuple_New(0); in product_new() 2148 pools = PyTuple_New(npools); in product_new() 2234 result = PyTuple_New(npools); in product_next() 2314 indices = PyTuple_New(n); in product_reduce() 2362 result = PyTuple_New(n); in product_setstate() 2563 result = PyTuple_New(r); in combinations_next() 2639 indices = PyTuple_New(lz->r); in combinations_reduce() 2684 result = PyTuple_New(lz->r); in combinations_setstate() 2897 result = PyTuple_New(r); in cwr_next() [all …]
|
D | _operator.c | 1035 result = PyTuple_New(nitems); in itemgetter_call() 1165 attr = PyTuple_New(nattrs); in attrgetter_new() 1203 PyObject *attr_chain = PyTuple_New(dot_count + 1); in attrgetter_new() 1326 result = PyTuple_New(nattrs); in attrgetter_call() 1364 PyObject *attrstrings = PyTuple_New(ag->nattrs); in attrgetter_args() 1595 argreprs = PyTuple_New(numtotalargs); in methodcaller_repr() 1656 newargs = PyTuple_New(1 + callargcount); in methodcaller_reduce()
|
D | _tkinter.c | 478 else if ((v = PyTuple_New(argc)) != NULL) { in Split() 524 result = PyTuple_New(size); in SplitObj() 544 result = PyTuple_New(size); in SplitObj() 1269 result = PyTuple_New(size); in FromObj() 2239 if (!(v = PyTuple_New(objc))) in _tkinter_tkapp_splitlist() 2273 if (!(v = PyTuple_New(argc))) in _tkinter_tkapp_splitlist() 2320 if (!(v = PyTuple_New(objc))) in _tkinter_tkapp_split() 2381 if (!(args = PyTuple_New(objc - 1))) in PythonCmd() 3133 return PyTuple_New(0); in _tkinter__flatten() 3135 context.tuple = PyTuple_New(context.maxsize); in _tkinter__flatten()
|
/external/python/cpython3/Modules/_sqlite/ |
D | cursor.c | 244 row = PyTuple_New(numcols); in _pysqlite_fetch_one_row() 424 second_argument = PyTuple_New(0); in _pysqlite_query_execute() 453 func_args = PyTuple_New(1); in _pysqlite_query_execute() 540 Py_SETREF(self->description, PyTuple_New(numcols)); in _pysqlite_query_execute() 545 descriptor = PyTuple_New(7); in _pysqlite_query_execute()
|
/external/python/cpython2/Include/ |
D | tupleobject.h | 40 PyAPI_FUNC(PyObject *) PyTuple_New(Py_ssize_t size);
|
/external/libxml2/python/ |
D | types.c | 491 tuple = PyTuple_New(2); in libxml_xmlXPathObjectPtrWrap() 515 tuple = PyTuple_New(2); in libxml_xmlXPathObjectPtrWrap() 533 tuple = PyTuple_New(2); in libxml_xmlXPathObjectPtrWrap() 542 tuple = PyTuple_New(2); in libxml_xmlXPathObjectPtrWrap()
|
D | libxml.c | 1639 list = PyTuple_New(2); in libxml_xmlErrorFuncHandler() 1725 list = PyTuple_New(4); in libxml_xmlParserCtxtGenericErrorFuncHandler() 1845 py_retval = PyTuple_New(2); in libxml_xmlParserCtxtGetErrorHandler() 1913 list = PyTuple_New(2); in libxml_xmlValidCtxtGenericErrorFuncHandler() 1940 list = PyTuple_New(2); in libxml_xmlValidCtxtGenericWarningFuncHandler() 2072 list = PyTuple_New(4); in libxml_xmlTextReaderErrorCallback() 2159 py_retval = PyTuple_New(2); in libxml_xmlTextReaderGetErrorHandler() 2266 list = PyTuple_New(nargs + 1); in libxml_xmlXPathFuncCallback() 3171 list = PyTuple_New(2); in libxml_xmlRelaxNGValidityGenericErrorFuncHandler() 3198 list = PyTuple_New(2); in libxml_xmlRelaxNGValidityGenericWarningFuncHandler() [all …]
|
/external/python/cpython2/Doc/includes/ |
D | run-func.c | 27 pArgs = PyTuple_New(argc - 3); in main()
|
/external/python/cpython3/Doc/includes/ |
D | run-func.c | 28 pArgs = PyTuple_New(argc - 3); in main()
|
/external/python/cpython2/Modules/_sqlite/ |
D | cursor.c | 315 row = PyTuple_New(numcols); in _pysqlite_fetch_one_row() 507 second_argument = PyTuple_New(0); in _pysqlite_query_execute() 547 func_args = PyTuple_New(1); in _pysqlite_query_execute() 681 Py_SETREF(self->description, PyTuple_New(numcols)); in _pysqlite_query_execute() 686 descriptor = PyTuple_New(7); in _pysqlite_query_execute()
|
/external/python/cpython2/RISCOS/Modules/ |
D | swimodule.c | 398 { result=PyTuple_New(n); in swi_swi() 488 result1 = PyTuple_New(l); in swi_tuples() 535 result = PyTuple_New(c); in swi_tuple()
|
/external/python/cpython2/Mac/Modules/snd/ |
D | _Sndihooks.c | 409 if( (rsizes = PyTuple_New(arg.numsizes)) == NULL) 447 if( (rrates = PyTuple_New(arg.numrates)) == NULL)
|