/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() 412 np = (PyTupleObject *)PyTuple_New(len); in tupleslice() 452 np = (PyTupleObject *) PyTuple_New(size); in tupleconcat() 491 return PyTuple_New(0); in tuplerepeat() 496 np = (PyTupleObject *) PyTuple_New(size); in tuplerepeat() 656 return PyTuple_New(0); in tuple_new() 725 return PyTuple_New(0); in tuplesubscript() 734 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() 479 tuple = PyTuple_New(len); in _PyCode_ConstantKey() 507 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 | 110 result = PyTuple_New(2); in enum_next_long() 149 result = PyTuple_New(2); in enum_next()
|
D | iterobject.c | 177 PyObject *args = PyTuple_New(0); in calliter_iternext()
|
D | exceptions.c | 40 self->args = PyTuple_New(0); in BaseException_new() 676 tuple = PyTuple_New(3); in EnvironmentError_str() 715 tuple = PyTuple_New(2); in EnvironmentError_str() 769 args = PyTuple_New(3); in EnvironmentError_reduce() 907 tuple = PyTuple_New(3); in WindowsError_str() 946 tuple = PyTuple_New(2); in WindowsError_str()
|
D | abstract.c | 2201 result = PyTuple_New(n); 2571 a = PyTuple_New(1); 2601 args = PyTuple_New(0); 2621 args = PyTuple_New(0); 2652 args = PyTuple_New(0); 2689 args = PyTuple_New(0); 2720 result = PyTuple_New(n);
|
/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/cpython2/Modules/ |
D | itertoolsmodule.c | 652 result = PyTuple_New(n); in tee() 1484 iters = PyTuple_New(numargs-1); in imap_new() 1563 argtuple = PyTuple_New(numargs); in imap_next() 1827 PyObject *tmpargs = PyTuple_New(0); in product_new() 1860 pools = PyTuple_New(npools); in product_new() 1934 result = PyTuple_New(npools); in product_next() 1952 result = PyTuple_New(npools); in product_next() 2166 result = PyTuple_New(r); in combinations_next() 2180 result = PyTuple_New(r); in combinations_next() 2415 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()
|
D | xxsubtype.c | 49 PyObject *result = PyTuple_New(3); in spamlist_specialmeth()
|
D | _tkinter.c | 556 else if ((v = PyTuple_New(argc)) != NULL) { in Split() 602 result = PyTuple_New(size); in SplitObj() 1357 result = PyTuple_New(size); in FromObj() 2312 if (!(v = PyTuple_New(objc))) in Tkapp_SplitList() 2338 if (!(v = PyTuple_New(argc))) in Tkapp_SplitList() 2377 if (!(v = PyTuple_New(objc))) in Tkapp_Split() 2451 if (!(arg = PyTuple_New(argc - 1))) in PythonCmd() 3408 return PyTuple_New(0); in Tkinter_Flatten() 3410 context.tuple = PyTuple_New(context.maxsize); in Tkinter_Flatten()
|
D | syslogmodule.c | 166 if ((openargs = PyTuple_New(0))) { in syslog_syslog()
|
D | glmodule.c | 70 { PyObject *v = PyTuple_New( 2 ); in gl_qread() 5544 { PyObject *v = PyTuple_New( 2 ); in gl_getdepth() 5560 { PyObject *v = PyTuple_New( 2 ); in gl_getcpos() 5576 { PyObject *v = PyTuple_New( 2 ); in gl_getsize() 5592 { PyObject *v = PyTuple_New( 2 ); in gl_getorigin() 5610 { PyObject *v = PyTuple_New( 4 ); in gl_getviewport() 5630 { PyObject *v = PyTuple_New( 4 ); in gl_gettp() 5650 { PyObject *v = PyTuple_New( 4 ); in gl_getgpos() 5691 { PyObject *v = PyTuple_New( 3 ); in gl_gRGBcolor() 5709 { PyObject *v = PyTuple_New( 3 ); in gl_gRGBmask() [all …]
|
/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/cpython2/Modules/_sqlite/ |
D | cursor.c | 316 row = PyTuple_New(numcols); in _pysqlite_fetch_one_row() 508 second_argument = PyTuple_New(0); in _pysqlite_query_execute() 548 func_args = PyTuple_New(1); in _pysqlite_query_execute() 682 Py_SETREF(self->description, PyTuple_New(numcols)); in _pysqlite_query_execute() 687 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)
|
/external/python/cpython2/Python/ |
D | modsupport.c | 165 v = PyTuple_New(n); in do_ignore() 294 if ((v = PyTuple_New(n)) == NULL) { in do_mktuple()
|
D | bltinmodule.c | 264 arg = PyTuple_New(1); in builtin_filter() 1021 else if ((alist = PyTuple_New(n)) == NULL) in builtin_map() 1591 if (!(dummy_args = PyTuple_New(0))) in builtin_print() 2541 itlist = PyTuple_New(itemsize); in builtin_zip() 2560 PyObject *next = PyTuple_New(itemsize); in builtin_zip() 2767 tuple = PyTuple_New(0); in filtertuple() 2771 if ((result = PyTuple_New(len)) == NULL) in filtertuple()
|
/external/python/cpython2/Modules/_ctypes/ |
D | callbacks.c | 115 nulltuple = PyTuple_New(0); in PyCode_NewEmpty() 234 arglist = PyTuple_New(nArgs); in _CallPythonObject()
|
/external/python/cpython2/Mac/Modules/ |
D | _scproxy.c | 90 v = PyTuple_New(len); in get_proxy_settings()
|