Home
last modified time | relevance | path

Searched refs:PyList_Size (Results 1 – 25 of 69) sorted by relevance

123

/external/python/cpython2/Modules/
Dcgensupport.c154 *p_arg = PyList_Size(v); in PyArg_GetLongArraySize()
192 if (PyList_Size(v) != n) { in PyArg_GetLongArray()
229 if (PyList_Size(v) != n) { in PyArg_GetShortArray()
264 if (PyList_Size(v) != n) { in PyArg_GetDoubleArray()
297 if (PyList_Size(v) != n) { in PyArg_GetFloatArray()
Dtermios.c157 if (!PyList_Check(term) || PyList_Size(term) != 7) { in termios_tcsetattr()
176 if (!PyList_Check(cc) || PyList_Size(cc) != NCCS) { in termios_tcsetattr()
Dsyslogmodule.c80 argv_len = PyList_Size(argv); in syslog_get_argv()
Dcstubs109 n = PyList_Size(v);
132 width = PyList_Size(w);
212 n = PyList_Size(v);
301 if (!PyList_Check(v) || PyList_Size(v) != s_nctl) {
312 PyList_Size(w) != t_nctl) {
376 if (!PyList_Check(v) || PyList_Size(v) != npoints) {
420 npoints = PyList_Size(v);
Dflmodule.c58 n = PyList_Size(allgenerics); in knowgeneric()
84 n = PyList_Size(allgenerics); in findgeneric()
104 n = PyList_Size(allgenerics); in forgetgeneric()
125 n = PyList_Size(allgenerics); in releaseobjects()
Dsvmodule.c667 if (!PyList_Check(rgb) || PyList_Size(rgb) != 256) { in sv_LoadMap()
748 if ((length = PyList_Size(list)) < 0) in doParams()
/external/tensorflow/tensorflow/python/client/
Dtf_session.i38 size_t size = PyList_Size(py_tensor_list); in PyTensorListToVector()
259 Py_ssize_t len = PyList_Size($input);
593 size_t size = PyList_Size($input);
614 size_t size = PyList_Size($input);
Dtf_sessionrun_wrapper.i62 size_t size = PyList_Size($input);
/external/python/cpython2/Include/
Dlistobject.h48 PyAPI_FUNC(Py_ssize_t) PyList_Size(PyObject *);
/external/python/cpython3/Include/
Dlistobject.h53 PyAPI_FUNC(Py_ssize_t) PyList_Size(PyObject *);
/external/python/cpython3/Doc/c-api/
Dlist.rst46 .. c:function:: Py_ssize_t PyList_Size(PyObject *list)
56 Macro form of :c:func:`PyList_Size` without error checking.
/external/python/cpython2/Python/
Ddynload_beos.c80 list_size = PyList_Size( id_list ); in beos_cleanup_dyn()
Dtraceback.c142 Py_ssize_t _npath = PyList_Size(path); in _Py_DisplaySourceLine()
/external/python/cpython2/Doc/c-api/
Dlist.rst55 .. c:function:: Py_ssize_t PyList_Size(PyObject *list)
69 Macro form of :c:func:`PyList_Size` without error checking.
/external/python/cpython3/Modules/
Dtermios.c156 if (!PyList_Check(term) || PyList_Size(term) != 7) { in termios_tcsetattr()
175 if (!PyList_Check(cc) || PyList_Size(cc) != NCCS) { in termios_tcsetattr()
Dsyslogmodule.c80 argv_len = PyList_Size(argv); in syslog_get_argv()
/external/python/cpython2/Modules/_sqlite/
Dconnection.c245 for (i = 0; i < PyList_Size(self->statements); i++) { in pysqlite_do_all_statements()
258 for (i = 0; i < PyList_Size(self->cursors); i++) { in pysqlite_do_all_statements()
817 for (i = 0; i < PyList_Size(self->statements); i++) { in _pysqlite_drop_unused_statement_references()
848 for (i = 0; i < PyList_Size(self->cursors); i++) { in _pysqlite_drop_unused_cursor_references()
/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibration_wrapper.cc89 const size_t inputs_size = PyList_Size(input_value); in FeedTensor()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c221 for (i = 0; i < PyList_Size(self->statements); i++) { in pysqlite_do_all_statements()
236 for (i = 0; i < PyList_Size(self->cursors); i++) { in pysqlite_do_all_statements()
767 for (i = 0; i < PyList_Size(self->statements); i++) { in _pysqlite_drop_unused_statement_references()
798 for (i = 0; i < PyList_Size(self->cursors); i++) { in _pysqlite_drop_unused_cursor_references()
/external/tensorflow/tensorflow/python/framework/
Dcpp_shape_inference.cc185 int cnt = PyList_Size(input_constant_tensor_values); in RunCppShapeInference()
/external/python/cpython2/RISCOS/Modules/
Dswimodule.c79 n=PyList_Size(init); in PyBlock_New()
268 n=PyList_Size(v); in block_ass_slice()
/external/tensorflow/tensorflow/python/
Dpywrap_tfe.i208 Py_ssize_t len = PyList_Size($input);
/external/python/cpython2/PC/os2vacpp/
Dpython.def230 PyList_Size
/external/selinux/libselinux/src/
Daudit2why.c331 numlines = PyList_Size(listObj); in analyze()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc253 for (int i = 0; i < PyList_Size(result); ++i) { in DoCallPyFunc()

123