Home
last modified time | relevance | path

Searched refs:PyList_Size (Results 1 – 25 of 74) 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);
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/util/
Dnest.cc89 for (size_t i = 0; i < PyList_Size(keys.get()); ++i) { in FlattenDictItems()
98 size_t flat_keys_sz = PyList_Size(flat_keys.get()); in FlattenDictItems()
99 size_t flat_values_sz = PyList_Size(flat_values.get()); in FlattenDictItems()
/external/python/cpython3/Include/
Dlistobject.h29 PyAPI_FUNC(Py_ssize_t) PyList_Size(PyObject *);
/external/python/cpython2/Include/
Dlistobject.h48 PyAPI_FUNC(Py_ssize_t) PyList_Size(PyObject *);
/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibration_wrapper.cc174 const size_t inputs_size = PyList_Size(input_shapes); in Prepare()
190 for (size_t dim_index = 0; dim_index < PyList_Size(shape); ++dim_index) { in Prepare()
212 const size_t inputs_size = PyList_Size(input_value); in FeedTensor()
/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/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.cc166 Py_ssize_t size = PyList_Size(py_list.get()); in FindAllExtensionNumbers()
/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/cpython3/Tools/peg_generator/peg_extension/
Dpeg_extension.c119 Py_ssize_t len = PyList_Size(list); in dump_memo_stats()
/external/tensorflow/tensorflow/python/framework/
Dpython_api_dispatcher.cc66 Py_ssize_t num_items = PyList_Size(value); in FindDispatchTypes()
/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.c170 if (!PyList_Check(term) || PyList_Size(term) != 7) { in termios_tcsetattr()
190 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/python/framework/experimental/
Dunified_api.cc151 Py_ssize_t len = PyList_Size(outputs.ptr()); in PYBIND11_MODULE()
/external/python/cpython2/RISCOS/Modules/
Dswimodule.c79 n=PyList_Size(init); in PyBlock_New()
268 n=PyList_Size(v); in block_ass_slice()
/external/python/cpython3/Modules/_sqlite/
Dconnection.c218 for (i = 0; i < PyList_Size(self->statements); i++) { in pysqlite_do_all_statements()
233 for (i = 0; i < PyList_Size(self->cursors); i++) { in pysqlite_do_all_statements()
761 for (i = 0; i < PyList_Size(self->statements); i++) { in _pysqlite_drop_unused_statement_references()
792 for (i = 0; i < PyList_Size(self->cursors); i++) { in _pysqlite_drop_unused_cursor_references()
/external/python/cpython2/PC/os2vacpp/
Dpython.def230 PyList_Size
/external/tensorflow/tensorflow/python/lib/core/
Dpy_func.cc254 for (int i = 0; i < PyList_Size(result); ++i) { in DoCallPyFunc()
/external/tensorflow/tensorflow/lite/toco/python/
Dtoco_python_api.cc330 int64 size = PyList_Size(list); in RegisterCustomOpdefs()

123