Home
last modified time | relevance | path

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

/external/python/cpython3/Include/
Dabstract.h660 #undef PySequence_Length
661 PyAPI_FUNC(Py_ssize_t) PySequence_Length(PyObject *o);
662 #define PySequence_Length PySequence_Size macro
/external/pytorch/torch/csrc/utils/
Dtensor_numpy.cpp109 int ndim = PySequence_Length(py_seq); in seq_to_aten_shape()
455 if (PySequence_Length(py_strides) == -1 || in tensor_from_cuda_array_interface()
456 static_cast<size_t>(PySequence_Length(py_strides)) != sizes.size()) { in tensor_from_cuda_array_interface()
Dinvalid_arguments.cpp87 auto num_elements = PySequence_Length(object); in is_matching()
282 auto num_elements = PySequence_Length(arg); in _formattedArgDesc()
Dtensor_new.cpp95 auto length = PySequence_Length(seq); in compute_sizes()
176 auto length = PySequence_Length(obj); in infer_scalar_type()
/external/python/cpython3/Modules/_testlimitedcapi/
Dabstract.c342 RETURN_SIZE(PySequence_Length(obj)); in sequence_length()
/external/python/cpython3/Doc/c-api/
Dsequence.rst19 Py_ssize_t PySequence_Length(PyObject *o)
Dintro.rst533 n = PySequence_Length(sequence);
/external/pytorch/torch/csrc/
DStorage.cpp405 Py_ssize_t length = PySequence_Length(sequence); in THPStorage_pynew()
/external/python/cpython3/Objects/
Dabstract.c1746 #undef PySequence_Length
1748 PySequence_Length(PyObject *s) in PySequence_Length() function
1752 #define PySequence_Length PySequence_Size macro
Dtypevarobject.c526 Py_ssize_t args_len = PySequence_Length(args); in typevar_typing_prepare_subst_impl()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_seq_tensor.cc162 auto length = PySequence_Length(obj); in InferShapeAndType()
/external/python/cpython3/Doc/faq/
Dextending.rst98 like :c:func:`PySequence_Length`, :c:func:`PySequence_GetItem`, etc. as well
/external/python/cpython3/PC/
Dpython3dll.c549 EXPORT_FUNC(PySequence_Length)
/external/python/cpython3/Doc/data/
Dstable_abi.dat583 func,PySequence_Length,3.2,,
Dpython3.13.abi675 …<elf-symbol name='PySequence_Length' type='func-type' binding='global-binding' visibility='default…
4627PySequence_Length' mangled-name='PySequence_Length' filepath='Objects/abstract.c' line='1748' colu…
/external/python/cpython3/Modules/
D_winapi.c2336 nhandles = PySequence_Length(handle_seq); in _winapi_BatchedWaitForMultipleObjects_impl()
2588 nhandles = PySequence_Length(handle_seq); in _winapi_WaitForMultipleObjects_impl()
D_testbuffer.c355 PySequence_Length(item) == nmemb) { in pack_from_list()
437 PySequence_Length(item) == nmemb) { in pack_single()
D_lzmamodule.c396 num_filters = PySequence_Length(filterspecs); in parse_filter_chain_spec()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c1813 for (i = 0; i < PySequence_Length(lines); i++) { in _multibytecodec_MultibyteStreamWriter_writelines_impl()
/external/python/cpython3/Misc/
Dstable_abi.toml1268 [function.PySequence_Length]
DHISTORY32030 PySequence_Length.
/external/pytorch/torch/csrc/dynamo/
Dguards.cpp1176 return PySequence_Length(value) == _length; in check_nopybind()
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c4891 otherlen = PySequence_Length(value); in Array_ass_subscript()
/external/webp/swig/
Dlibwebp_python_wrap.c876 # define PySequence_Size PySequence_Length
/external/marisa-trie/bindings/python/
Dmarisa-swig_wrap.cxx877 # define PySequence_Size PySequence_Length