Home
last modified time | relevance | path

Searched refs:PyTuple_New (Results 1 – 25 of 78) 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/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()
D_posixsubprocess.c801 converted_args = PyTuple_New(num_args); in subprocess_fork_exec()
921 preexec_fn_args_tuple = PyTuple_New(0); in subprocess_fork_exec()
D_tracemalloc.c1083 frame_obj = PyTuple_New(2); in frame_to_pyobject()
1114 frames = PyTuple_New(traceback->nframe); in traceback_to_pyobject()
1147 trace_obj = PyTuple_New(4); in trace_to_pyobject()
D_sre.c842 item = PyTuple_New(self->groups); in _sre_SRE_Pattern_findall_impl()
2104 result = PyTuple_New(size); in match_group()
2144 result = PyTuple_New(self->groups-1); in _sre_SRE_Match_groups_impl()
2258 pair = PyTuple_New(2); in _pair()
2309 regs = PyTuple_New(self->groups); in match_regs()
D_functoolsmodule.c673 if ((args = PyTuple_New(2)) == NULL) in functools_reduce()
681 if ((args = PyTuple_New(2)) == NULL) in functools_reduce()
840 key = PyTuple_New(key_size); in lru_cache_make_key()
D_testbuffer.c330 args = PyTuple_New(2 + nmemb); in pack_from_list()
428 args = PyTuple_New(2+nmemb); in pack_single()
1941 ret = PyTuple_New(4); in slice_indices()
1985 return PyTuple_New(0); in ssize_array_as_tuple()
1987 tuple = PyTuple_New(len); in ssize_array_as_tuple()
/third_party/python/Include/
Dtupleobject.h30 PyAPI_FUNC(PyObject *) PyTuple_New(Py_ssize_t size);
/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/python/Doc/includes/
Drun-func.c28 pArgs = PyTuple_New(argc - 3); in main()
/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()

1234