Home
last modified time | relevance | path

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

12

/external/python/cpython3/Objects/stringlib/
Djoin.h27 seqlen = PySequence_Fast_GET_SIZE(seq); in STRINGLIB()
91 if (seqlen != PySequence_Fast_GET_SIZE(seq)) { in STRINGLIB()
/external/tensorflow/tensorflow/python/client/
Dtf_session.i72 int size = PySequence_Fast_GET_SIZE(py_int_seq); in PyInt64ListToVector()
645 int size = PySequence_Fast_GET_SIZE(seq);
682 int size = PySequence_Fast_GET_SIZE(seq);
707 int size = PySequence_Fast_GET_SIZE(seq);
/external/python/cpython2/Modules/_ctypes/
Dstgdict.c203 for (i = 0; i < PySequence_Fast_GET_SIZE(fieldlist); ++i) { in MakeFields()
282 for (i = 0; i < PySequence_Fast_GET_SIZE(anon_names); ++i) { in MakeAnonFields()
/external/python/cpython3/Doc/c-api/
Dsequence.rst161 .. c:function:: Py_ssize_t PySequence_Fast_GET_SIZE(PyObject *o)
166 :c:func:`PySequence_Fast_GET_SIZE` is faster because it can assume *o* is a list
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c199 for (i = 0; i < PySequence_Fast_GET_SIZE(fieldlist); ++i) { in MakeFields()
278 for (i = 0; i < PySequence_Fast_GET_SIZE(anon_names); ++i) { in MakeAnonFields()
/external/python/cpython2/Doc/c-api/
Dsequence.rst220 .. c:function:: Py_ssize_t PySequence_Fast_GET_SIZE(PyObject *o)
225 :c:func:`PySequence_Fast_GET_SIZE` is faster because it can assume *o* is a list
/external/python/cpython3/Modules/
D_testbuffer.c319 nitems = PySequence_Fast_GET_SIZE(items); in pack_from_list()
1187 ndim = PySequence_Fast_GET_SIZE(shape); in init_ndbuf()
1197 if (PySequence_Fast_GET_SIZE(strides) == 0) in init_ndbuf()
1204 else if (PySequence_Fast_GET_SIZE(strides) != ndim) { in init_ndbuf()
1233 nitems = PySequence_Fast_GET_SIZE(items); in init_ndbuf()
2328 if (PySequence_Fast_GET_SIZE(seq) != view.ndim) { in get_pointer()
D_posixsubprocess.c628 num_args = PySequence_Fast_GET_SIZE(fast_args); in subprocess_fork_exec()
D_tkinter.c1083 size = PySequence_Fast_GET_SIZE(value); in AsObj()
1387 objc = PySequence_Fast_GET_SIZE(args); in Tkapp_CallArgs()
3137 size = PySequence_Fast_GET_SIZE(item); in _flatten1()
D_json.c1771 if (PySequence_Fast_GET_SIZE(s_fast) == 0) { in encoder_listencode_list()
1803 for (i = 0; i < PySequence_Fast_GET_SIZE(s_fast); i++) { in encoder_listencode_list()
Dselectmodule.c98 for (i = 0; i < PySequence_Fast_GET_SIZE(fast_seq); i++) { in seq2set()
Dsocketmodule.c3618 nitems = PySequence_Fast_GET_SIZE(fast); in sock_recvmsg_into()
3940 ndataparts = PySequence_Fast_GET_SIZE(data_fast); in sock_sendmsg_iovec()
4036 ncmsgs = PySequence_Fast_GET_SIZE(cmsg_fast);
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc954 int len = PySequence_Fast_GET_SIZE(seq);
1031 int len = PySequence_Fast_GET_SIZE(seq);
1237 int len = PySequence_Fast_GET_SIZE(seq);
1274 int len = PySequence_Fast_GET_SIZE(seq);
/external/python/cpython3/Objects/
Dstructseq.c101 len = PySequence_Fast_GET_SIZE(arg); in structseq_new()
Dlistobject.c614 n = PySequence_Fast_GET_SIZE(v_as_SF); in list_ass_slice()
800 n = PySequence_Fast_GET_SIZE(b); in listextend()
2567 if (PySequence_Fast_GET_SIZE(seq) != slicelength) { in list_ass_subscript()
2572 PySequence_Fast_GET_SIZE(seq), in list_ass_subscript()
Dmemoryobject.c1368 ndim = PySequence_Fast_GET_SIZE(shape); in memory_cast()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_seq_tensor.cc184 if (TF_PREDICT_FALSE(s != PySequence_Fast_GET_SIZE(seq.get()))) { \
/external/python/cpython2/Include/
Dabstract.h1160 #define PySequence_Fast_GET_SIZE(o) \ macro
/external/python/cpython2/Objects/
Dlistobject.c649 n = PySequence_Fast_GET_SIZE(v_as_SF); in list_ass_slice()
820 n = PySequence_Fast_GET_SIZE(b); in listextend()
2711 if (PySequence_Fast_GET_SIZE(seq) != slicelength) { in list_ass_subscript()
2716 PySequence_Fast_GET_SIZE(seq), in list_ass_subscript()
Dstructseq.c170 len = PySequence_Fast_GET_SIZE(arg); in structseq_new()
Dunicodeobject.c5671 seqlen = PySequence_Fast_GET_SIZE(fseq); in PyUnicode_Join()
5701 seqlen = PySequence_Fast_GET_SIZE(fseq); in PyUnicode_Join()
5731 seqlen = PySequence_Fast_GET_SIZE(fseq); in PyUnicode_Join()
Dbytearrayobject.c2613 n = PySequence_Fast_GET_SIZE(seq); in bytearray_join()
/external/python/cpython3/Include/
Dabstract.h1140 #define PySequence_Fast_GET_SIZE(o) \ macro
/external/python/cpython2/Modules/
D_json.c2275 if (PySequence_Fast_GET_SIZE(s_fast) == 0) { in encoder_listencode_list()
2307 for (i = 0; i < PySequence_Fast_GET_SIZE(s_fast); i++) { in encoder_listencode_list()
Dselectmodule.c99 for (i = 0; i < PySequence_Fast_GET_SIZE(fast_seq); i++) { in seq2set()

12