Home
last modified time | relevance | path

Searched refs:PyTuple_New (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/alsa-lib/modules/mixer/simple/
Dpython.c183 obj1 = PyTuple_New(xdir + xval); in is_ops()
200 obj1 = PyTuple_New(1); in get_x_range_ops()
239 obj1 = PyTuple_New(3); in set_range_ops()
254 obj1 = PyTuple_New(2); in get_x_ops()
313 obj1 = PyTuple_New(3); in ask_dB_vol_ops()
359 obj1 = PyTuple_New(3); in set_volume_ops()
372 obj1 = PyTuple_New(3); in set_switch_ops()
386 obj1 = PyTuple_New(4); in set_dB_ops()
404 obj1 = PyTuple_New(1); in enum_item_name_ops()
451 obj1 = PyTuple_New(1); in get_enum_item_ops()
[all …]
/third_party/python/Objects/stringlib/
Dpartition.h26 out = PyTuple_New(3); in STRINGLIB()
83 out = PyTuple_New(3); in STRINGLIB()
/third_party/boost/libs/python/src/
Dtuple.cpp17 : object(detail::new_reference(PyTuple_New(0))) in tuple_base()
/third_party/boost/boost/python/detail/
Dmake_tuple.hpp24 tuple result((detail::new_reference)::PyTuple_New(N));
/third_party/python/Include/
Dtupleobject.h30 PyAPI_FUNC(PyObject *) PyTuple_New(Py_ssize_t size);
/third_party/python/Modules/
Ditertoolsmodule.c1025 result = PyTuple_New(n); in itertools_tee_impl()
2239 PyObject *tmpargs = PyTuple_New(0); in product_new()
2273 pools = PyTuple_New(npools); in product_new()
2359 result = PyTuple_New(npools); in product_next()
2444 indices = PyTuple_New(n); in product_reduce()
2492 result = PyTuple_New(n); in product_setstate()
2691 result = PyTuple_New(r); in combinations_next()
2772 indices = PyTuple_New(lz->r); in combinations_reduce()
2817 result = PyTuple_New(lz->r); in combinations_setstate()
3028 result = PyTuple_New(r); in cwr_next()
[all …]
D_operator.c1060 result = PyTuple_New(nitems); in itemgetter_call()
1166 attr = PyTuple_New(nattrs); in attrgetter_new()
1204 PyObject *attr_chain = PyTuple_New(dot_count + 1); in attrgetter_new()
1338 result = PyTuple_New(nattrs); in attrgetter_call()
1376 PyObject *attrstrings = PyTuple_New(ag->nattrs); in attrgetter_args()
1597 argreprs = PyTuple_New(numtotalargs); in methodcaller_repr()
1658 newargs = PyTuple_New(1 + callargcount); in methodcaller_reduce()
D_tkinter.c533 else if ((v = PyTuple_New(argc)) != NULL) { in Split()
579 result = PyTuple_New(size); in SplitObj()
599 result = PyTuple_New(size); in SplitObj()
1324 result = PyTuple_New(size); in FromObj()
2292 if (!(v = PyTuple_New(objc))) in _tkinter_tkapp_splitlist()
2326 if (!(v = PyTuple_New(argc))) in _tkinter_tkapp_splitlist()
2379 if (!(v = PyTuple_New(objc))) in _tkinter_tkapp_split()
2440 if (!(args = PyTuple_New(objc - 1))) in PythonCmd()
3192 return PyTuple_New(0); in _tkinter__flatten()
3194 context.tuple = PyTuple_New(context.maxsize); in _tkinter__flatten()
Dxxsubtype.c49 PyObject *result = PyTuple_New(3); in spamlist_specialmeth()
D_scproxy.c95 v = PyTuple_New(len); in get_proxy_settings()
Dsyslogmodule.c189 if ((openargs = PyTuple_New(0))) { in syslog_syslog()
/third_party/python/Doc/includes/
Drun-func.c28 pArgs = PyTuple_New(argc - 3); in main()
/third_party/python/Objects/
Dcodeobject.c345 nulltuple = PyTuple_New(0); in PyCode_NewEmpty()
492 newtuple = PyTuple_New(len); in validate_and_copy_tuple()
605 ourfreevars = PyTuple_New(0); in code_new_impl()
611 ourcellvars = PyTuple_New(0); in code_new_impl()
845 tuple = PyTuple_New(len); in _PyCode_ConstantKey()
873 tuple = PyTuple_New(len); in _PyCode_ConstantKey()
1039 PyObject *result = PyTuple_New(3); in lineiter_next()
Dgenericaliasobject.c206 PyObject *parameters = PyTuple_New(len); in _Py_make_parameters()
271 PyObject *subargs = PyTuple_New(nsubargs); in subs_tvars()
322 PyObject *newargs = PyTuple_New(nargs); in _Py_subs_parameters()
Denumobject.c142 result = PyTuple_New(2); in enum_next_long()
192 result = PyTuple_New(2); in enum_next()
Dunionobject.c155 PyObject *flattened_args = PyTuple_New(total_args); in flatten_args()
192 PyObject *new_args = PyTuple_New(arg_length); in dedup_and_flatten_args()
Dexceptions.c57 self->args = PyTuple_New(0); in BaseException_new()
650 empty_tuple = PyTuple_New(0); in ImportError_init()
861 newargs = PyTuple_New(nargs); in oserror_parse_args()
1022 self->args = PyTuple_New(0); in OSError_new()
1164 args = PyTuple_New(size); in OSError_reduce()
1340 PyObject *empty_tuple = PyTuple_New(0); in NameError_init()
1415 PyObject *empty_tuple = PyTuple_New(0); in AttributeError_init()
2425 self->args = PyTuple_New(0); in MemoryError_new()
Dnamespaceobject.c179 PyObject *result, *args = PyTuple_New(0); in namespace_reduce()
Dtupleobject.c143 return PyTuple_New(0); in tuple_get_empty()
149 PyTuple_New(Py_ssize_t size) in PyTuple_New() function
976 *pv = PyTuple_New(newsize); in _PyTuple_Resize()
/third_party/libxml2/python/
Dtypes.c615 tuple = PyTuple_New(2); in libxml_xmlXPathObjectPtrWrap()
639 tuple = PyTuple_New(2); in libxml_xmlXPathObjectPtrWrap()
657 tuple = PyTuple_New(2); in libxml_xmlXPathObjectPtrWrap()
666 tuple = PyTuple_New(2); in libxml_xmlXPathObjectPtrWrap()
Dlibxml.c1640 list = PyTuple_New(2); in libxml_xmlErrorFuncHandler()
1726 list = PyTuple_New(4); in libxml_xmlParserCtxtGenericErrorFuncHandler()
1846 py_retval = PyTuple_New(2); in libxml_xmlParserCtxtGetErrorHandler()
1914 list = PyTuple_New(2); in libxml_xmlValidCtxtGenericErrorFuncHandler()
1941 list = PyTuple_New(2); in libxml_xmlValidCtxtGenericWarningFuncHandler()
2073 list = PyTuple_New(4); in libxml_xmlTextReaderErrorCallback()
2160 py_retval = PyTuple_New(2); in libxml_xmlTextReaderGetErrorHandler()
2267 list = PyTuple_New(nargs + 1); in libxml_xmlXPathFuncCallback()
3173 list = PyTuple_New(2); in libxml_xmlRelaxNGValidityGenericErrorFuncHandler()
3200 list = PyTuple_New(2); in libxml_xmlRelaxNGValidityGenericWarningFuncHandler()
[all …]
/third_party/python/Modules/_sqlite/
Dcursor.c280 row = PyTuple_New(numcols); in _pysqlite_fetch_one_row()
459 second_argument = PyTuple_New(0); in _pysqlite_query_execute()
488 func_args = PyTuple_New(1); in _pysqlite_query_execute()
569 Py_SETREF(self->description, PyTuple_New(numcols)); in _pysqlite_query_execute()
/third_party/python/Python/
Dbltinmodule.c1231 iters = PyTuple_New(numargs-1); in map_new()
1274 PyObject *iters = PyTuple_New(nargs-1); in map_vectorcall()
1363 PyObject *args = PyTuple_New(numargs+1); in map_reduce()
1722 emptytuple = PyTuple_New(0); in min_max()
2655 PyObject *empty = PyTuple_New(0); in zip_new()
2673 ittuple = PyTuple_New(tuplesize); in zip_new()
2687 result = PyTuple_New(tuplesize); in zip_new()
2763 result = PyTuple_New(tuplesize); in zip_next()
Dmodsupport.c102 v = PyTuple_New(n); in do_ignore()
259 if ((v = PyTuple_New(n)) == NULL) { in do_mktuple()
/third_party/boost/libs/python/src/object/
Dfunction.cpp76 m_arg_names = object(handle<>(PyTuple_New(tuple_size))); in function()
166 PyTuple_New(static_cast<ssize_t>(max_arity))); in call()

1234