Home
last modified time | relevance | path

Searched refs:PySequence_Size (Results 1 – 25 of 36) sorted by relevance

12

/external/python/cpython3/Objects/
Denumobject.c384 n = PySequence_Size(seq); in reversed_new_impl()
456 seqsize = PySequence_Size(ro->seq); in reversed_len()
481 Py_ssize_t n = PySequence_Size(ro->seq); in reversed_setstate()
Diterobject.c88 seqsize = PySequence_Size(it->it_seq); in iter_len()
Dabstract.c1724 PySequence_Size(PyObject *s) in PySequence_Size() function
1750 return PySequence_Size(s); in PySequence_Length()
1752 #define PySequence_Length PySequence_Size
/external/python/cpython3/Modules/
D_bisectmodule.c65 hi = PySequence_Size(list); in internal_bisect_right()
249 hi = PySequence_Size(list); in internal_bisect_left()
D_posixsubprocess.c207 argc = PySequence_Size(self); in _PySequence_BytesToCharpArray()
1124 extra_group_size = PySequence_Size(extra_groups_packed); in subprocess_fork_exec_impl()
Dtermios.c493 if (!PySequence_Check(winsz) || PySequence_Size(winsz) != 2) { in termios_tcsetwinsize_impl()
Dposixmodule.c6909 argc = PySequence_Size(argv); in os_execv_impl()
6984 argc = PySequence_Size(argv); in os_execve_impl()
7355 argc = PySequence_Size(argv); in py_posix_spawn()
9774 Py_ssize_t len = PySequence_Size(groups); in os_setgroups()
11485 cnt = PySequence_Size(buffers); in os_readv_impl()
11608 cnt = PySequence_Size(buffers); in os_preadv_impl()
11764 Py_ssize_t i = PySequence_Size(headers); in os_sendfile_impl()
11798 Py_ssize_t i = PySequence_Size(trailers); in os_sendfile_impl()
12149 cnt = PySequence_Size(buffers); in os_writev_impl()
12254 cnt = PySequence_Size(buffers); in os_pwritev_impl()
/external/python/cpython3/Include/
Dabstract.h657 PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o);
662 #define PySequence_Length PySequence_Size
/external/python/cpython3/Doc/c-api/
Dsequence.rst18 .. c:function:: Py_ssize_t PySequence_Size(PyObject *o)
150 retrieved by calling :c:func:`PySequence_Size` on *o*, but
/external/python/cpython3/Modules/_testlimitedcapi/
Dabstract.c335 RETURN_SIZE(PySequence_Size(obj)); in sequence_size()
/external/pytorch/torch/csrc/autograd/
Dpython_variable_indexing.cpp289 auto n = PySequence_Size(index); in treatSequenceAsTuple()
/external/python/cpython3/Python/
Dcrossinterp.c1333 : PySequence_Size(names); in _sharedns_init()
1439 if (PySequence_Size(names) == 0) { in _PyXI_NamespaceFromNames()
Dgetargs.c496 len = PySequence_Size(arg); in converttuple()
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c312 len = PySequence_Size(fields); in PyCStructUnionType_update_stginfo()
/external/pytorch/torch/csrc/utils/
Dpython_arg_parser.cpp873 if (PySequence_Size(obj) == 0) { in is_int_or_symint_list()
1558 TORCH_INTERNAL_ASSERT(failed_idx < PySequence_Size(obj)); in parse()
/external/pytorch/functorch/csrc/dim/
Dminpybind.h354 auto r = PySequence_Size(ptr()); in size()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc276 const auto size = PySequence_Size(value); in TensorShapeNumDims()
397 const int num_values = PySequence_Size(py_list); in SetOpAttrList()
1975 int len = PySequence_Size(list);
2141 int len = PySequence_Size(list);
3305 PyObject* num_inputs = PyLong_FromLong(PySequence_Size(inputs));
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/python/
Drepeated.c364 Py_ssize_t seq_size = PySequence_Size(seq); in PyUpb_RepeatedContainer_SetSubscript()
/external/python/cpython3/Modules/_sqlite/
Dcursor.c658 num_params = PySequence_Size(parameters); in bind_parameters()
/external/python/cpython3/PC/
Dpython3dll.c554 EXPORT_FUNC(PySequence_Size)
/external/python/cpython3/Doc/data/
Dstable_abi.dat588 func,PySequence_Size,3.2,,
Drefcounts.dat2063 PySequence_Size:Py_ssize_t:::
2064 PySequence_Size:PyObject*:o:0:
/external/python/cpython3/Misc/NEWS.d/
D3.6.2rc1.rst525 errors caused by not checking results of PyObject_Size(), PySequence_Size(),
D3.5.4rc1.rst591 errors caused by not checking results of PyObject_Size(), PySequence_Size(),
/external/webp/swig/
Dlibwebp_python_wrap.c875 # ifndef PySequence_Size
876 # define PySequence_Size PySequence_Length macro

12