Home
last modified time | relevance | path

Searched refs:PyTuple_Size (Results 1 – 25 of 72) sorted by relevance

123

/external/python/cpython2/Modules/
Dcgensupport.c18 nargs != PyTuple_Size(args) || in PyArg_GetObject()
38 nargs != PyTuple_Size(args) || in PyArg_GetLong()
150 *p_arg = PyTuple_Size(v); in PyArg_GetLongArraySize()
179 if (PyTuple_Size(v) != n) { in PyArg_GetLongArray()
216 if (PyTuple_Size(v) != n) { in PyArg_GetShortArray()
253 if (PyTuple_Size(v) != n) { in PyArg_GetDoubleArray()
286 if (PyTuple_Size(v) != n) { in PyArg_GetFloatArray()
D_cursesmodule.c377 switch (PyTuple_Size(args)) { in PyCursesWindow_AddCh()
427 switch (PyTuple_Size(args)) { in PyCursesWindow_AddStr()
476 switch (PyTuple_Size(args)) { in PyCursesWindow_AddNStr()
524 switch (PyTuple_Size(args)) { in PyCursesWindow_Bkgd()
582 switch (PyTuple_Size(args)) { in PyCursesWindow_BkgdSet()
644 switch(PyTuple_Size(args)){ in PyCursesWindow_Box()
692 switch (PyTuple_Size(args)) { in PyCursesWindow_ChgAt()
741 switch (PyTuple_Size(args)) { in PyCursesWindow_DelCh()
765 switch (PyTuple_Size(args)) { in PyCursesWindow_DerWin()
798 switch (PyTuple_Size(args)) { in PyCursesWindow_EchoChar()
[all …]
Ddlmodule.c85 Py_ssize_t n = PyTuple_Size(args); in dl_call()
D_tkinter.c413 argc = PyTuple_Size(args); in Merge()
584 size = PyTuple_Size(arg); in SplitObj()
1144 size = PyTuple_Size(value); in AsObj()
1156 result = Tcl_NewListObj(PyTuple_Size(value), argv); in AsObj()
1474 objc = PyTuple_Size(args); in Tkapp_CallArgs()
1605 if (1 == PyTuple_Size(args)){ in Tkapp_Call()
2108 if (PyTuple_Size(args) == 1) { in Tkapp_GetInt()
2155 if (PyTuple_Size(args) == 1) { in Tkapp_GetDouble()
DcPickle.c1499 assert(PyTuple_Size(t) == len); in store_tuple_elements()
1533 if ((len = PyTuple_Size(args)) < 0) in save_tuple()
1823 if (!PyTuple_Check(p) || PyTuple_Size(p) != 2) { in batch_dict()
1851 if (!PyTuple_Check(firstitem) || PyTuple_Size(firstitem) != 2) { in batch_dict()
1889 if (!PyTuple_Check(p) || PyTuple_Size(p) != 2) { in batch_dict()
2413 size = PyTuple_Size(args); in save_reduce()
2483 n = PyTuple_Size(argtup); in save_reduce()
2649 if (type == &PyTuple_Type && PyTuple_Size(args) == 0) { in save()
4326 if (!PyTuple_Check(pair) || PyTuple_Size(pair) != 2 || in load_extension()
4586 if (PyTuple_Check(state) && PyTuple_Size(state) == 2) { in load_build()
D_curses_panel.c271 if (PyTuple_Size(args) != 1) { in PyCursesPanel_replace_panel()
D_randommodule.c357 if (PyTuple_Size(state) != N+1) { in random_setstate()
Dimgfile.c265 extended = PyTuple_Size(args) >= 4; in imgfile_readscaled()
/external/tensorflow/tensorflow/python/framework/
Dpython_api_dispatcher.cc177 if (num_params_ != PyTuple_Size(params)) { in Dispatch()
191 PyTuple_Size(params)) in Dispatch()
/external/python/cpython3/Include/
Dtupleobject.h31 PyAPI_FUNC(Py_ssize_t) PyTuple_Size(PyObject *);
/external/python/cpython3/Modules/_sqlite/
Drow.c123 nitems = PyTuple_Size(self->description); in pysqlite_row_subscript()
168 nitems = PyTuple_Size(self->description); in pysqlite_row_keys()
/external/python/cpython2/Modules/_sqlite/
Drow.c111 nitems = PyTuple_Size(self->description); in pysqlite_row_subscript()
169 nitems = PyTuple_Size(self->description); in pysqlite_row_keys()
/external/python/cpython2/Include/
Dtupleobject.h41 PyAPI_FUNC(Py_ssize_t) PyTuple_Size(PyObject *);
Dpy_curses.h128 switch(PyTuple_Size(args)) { \
/external/python/cpython2/Objects/
Dclassobject.c86 n = PyTuple_Size(bases); in PyClass_New()
212 n = PyTuple_Size(cp->cl_bases); in class_lookup()
312 n = PyTuple_Size(v); in set_bases()
503 n = PyTuple_Size(cp->cl_bases); in PyClass_IsSubclass()
570 PyTuple_Size(arg) != 0)) in PyInstance_New()
1494 if (!PyTuple_Check(coerced) || PyTuple_Size(coerced) != 2) { in half_binop()
1583 if (!PyTuple_Check(coerced) || PyTuple_Size(coerced) != 2) { in instance_coerce()
2558 if (PyTuple_Size(arg) >= 1) in instancemethod_call()
2586 Py_ssize_t argcount = PyTuple_Size(arg); in instancemethod_call()
Drangeobject.c74 if (PyTuple_Size(args) <= 1) { in range_new()
Dframeobject.c829 assert(PyTuple_Size(map) >= nmap); in map_to_dict()
877 assert(PyTuple_Size(map) >= nmap); in dict_to_map()
/external/python/cpython2/Python/
Dbltinmodule.c953 n = PyTuple_Size(args); in builtin_map()
1363 if (PyTuple_Size(args) > 1) in min_max()
1658 for (i = 0; i < PyTuple_Size(args); i++) { in builtin_print()
1674 for (i = 0; i < PyTuple_Size(args); i++) { in builtin_print()
1974 if (PyTuple_Size(args) <= 1) { in builtin_range()
2772 Py_ssize_t len = PyTuple_Size(tuple); in filtertuple()
/external/python/cpython2/PC/os2vacpp/
Dpython.def409 PyTuple_Size
/external/python/cpython2/RISCOS/Modules/
Ddrawfmodule.c168 { element_count=PyTuple_Size(dp); in DrawF_Path()
429 { int n=PyTuple_Size(arg); in SetWord()
/external/python/cpython3/Modules/
D_randommodule.c430 if (PyTuple_Size(state) != N+1) { in _random_Random_setstate()
/external/python/cpython2/Doc/c-api/
Dtuple.rst63 .. c:function:: Py_ssize_t PyTuple_Size(PyObject *p)
/external/python/cpython3/Objects/
Dframeobject.c985 assert(PyTuple_Size(map) >= nmap); in map_to_dict()
1038 assert(PyTuple_Size(map) >= nmap); in dict_to_map()
/external/python/cffi/c/
Dffi_obj.c491 if (PyTuple_Size(args) < 2) { in ffi_offsetof()
535 if (PyTuple_Size(args) < 1) { in ffi_addressof()
/external/python/cpython2/Modules/_ctypes/
Dstgdict.c470 if (PyTuple_Size(pair) == 3) { /* bits specified */ in PyCStructUnionType_update_stgdict()

123