Home
last modified time | relevance | path

Searched refs:PySequence_Fast_GET_SIZE (Results 1 – 25 of 40) 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()
724 int size = PySequence_Fast_GET_SIZE(seq);
761 int size = PySequence_Fast_GET_SIZE(seq);
786 int size = PySequence_Fast_GET_SIZE(seq);
Dtf_session_helper.cc221 Py_ssize_t len = PySequence_Fast_GET_SIZE(feed_values); in RunCallableHelper()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc1118 int len = PySequence_Fast_GET_SIZE(seq); in CallBackwardFunction()
1415 int len = PySequence_Fast_GET_SIZE(seq);
1523 int len = PySequence_Fast_GET_SIZE(seq);
1564 int len = PySequence_Fast_GET_SIZE(seq);
1661 int len = PySequence_Fast_GET_SIZE(seq);
1703 int len = PySequence_Fast_GET_SIZE(seq.get());
1837 for (Py_ssize_t j = 0; j < PySequence_Fast_GET_SIZE(item); j++) {
1895 for (int i = 0; i < PySequence_Fast_GET_SIZE(item); i++) {
2060 PyObject* result = PyTuple_New(PySequence_Fast_GET_SIZE(fast_seq.get()));
2061 for (int i = 0; i < PySequence_Fast_GET_SIZE(fast_seq.get()); i++) {
[all …]
/external/python/cpython3/Modules/
D_posixsubprocess.c637 num_args = PySequence_Fast_GET_SIZE(fast_args); in subprocess_fork_exec()
643 if (PySequence_Fast_GET_SIZE(fast_args) != num_args) { in subprocess_fork_exec()
D_winapi.c732 envsize = PySequence_Fast_GET_SIZE(keys); in getenvironment()
733 if (PySequence_Fast_GET_SIZE(values) != envsize) { in getenvironment()
836 *size = PySequence_Fast_GET_SIZE(value_fast) * sizeof(HANDLE); in gethandlelist()
847 for (i = 0; i < PySequence_Fast_GET_SIZE(value_fast); i++) { in gethandlelist()
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()
2327 if (PySequence_Fast_GET_SIZE(seq) != view.ndim) { in get_pointer()
Dselectmodule.c98 for (i = 0; i < PySequence_Fast_GET_SIZE(fast_seq); i++) { in seq2set()
2169 if (PySequence_Fast_GET_SIZE(seq) > INT_MAX) { in kqueue_queue_control()
2174 nchanges = (int)PySequence_Fast_GET_SIZE(seq); in kqueue_queue_control()
D_abc.c289 if (PySequence_Fast_GET_SIZE(it) != 2) { in compute_abstract_methods()
D_tkinter.c1031 size = PySequence_Fast_GET_SIZE(value); in AsObj()
1331 objc = PySequence_Fast_GET_SIZE(args); in Tkapp_CallArgs()
3062 size = PySequence_Fast_GET_SIZE(item); in _flatten1()
D_json.c1733 if (PySequence_Fast_GET_SIZE(s_fast) == 0) { in encoder_listencode_list()
1765 for (i = 0; i < PySequence_Fast_GET_SIZE(s_fast); i++) { in encoder_listencode_list()
D_elementtree.c1172 for (i = 0; i < PySequence_Fast_GET_SIZE(seq); i++) { in _elementtree_Element_extend()
1917 newlen = PySequence_Fast_GET_SIZE(seq); in element_ass_subscr()
3742 for (i = 0; i < PySequence_Fast_GET_SIZE(events_seq); ++i) { in _elementtree_XMLParser__setevents_impl()
/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.rst139 .. c:function:: Py_ssize_t PySequence_Fast_GET_SIZE(PyObject *o)
144 :c:func:`PySequence_Fast_GET_SIZE` is faster because it can assume *o* is a list
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c219 for (i = 0; i < PySequence_Fast_GET_SIZE(fieldlist); ++i) { in MakeFields()
298 for (i = 0; i < PySequence_Fast_GET_SIZE(anon_names); ++i) { in MakeAnonFields()
/external/tensorflow/tensorflow/python/lib/core/
Dpy_seq_tensor.cc241 if (TF_PREDICT_FALSE(s != PySequence_Fast_GET_SIZE(seq.get()))) { \
255 if (TF_PREDICT_FALSE(s != PySequence_Fast_GET_SIZE(seq.get()))) { \
/external/python/cpython2/Doc/c-api/
Dsequence.rst219 .. c:function:: Py_ssize_t PySequence_Fast_GET_SIZE(PyObject *o)
224 :c:func:`PySequence_Fast_GET_SIZE` is faster because it can assume *o* is a list
/external/tensorflow/tensorflow/python/util/
Dutil.cc423 size_(PySequence_Fast_GET_SIZE(seq_.get())), in SequenceValueIterator()
880 const Py_ssize_t s = PySequence_Fast_GET_SIZE(seq.get()); in IsNamedtuple()
/external/python/cpython2/Modules/
Dselectmodule.c99 for (i = 0; i < PySequence_Fast_GET_SIZE(fast_seq); i++) { in seq2set()
1650 if (PySequence_Fast_GET_SIZE(seq) > INT_MAX) { in kqueue_queue_control()
1655 nchanges = (int)PySequence_Fast_GET_SIZE(seq); in kqueue_queue_control()
/external/python/cpython3/Objects/
Dstructseq.c109 len = PySequence_Fast_GET_SIZE(arg); in structseq_new_impl()
Dlistobject.c609 n = PySequence_Fast_GET_SIZE(v_as_SF); in list_ass_slice()
837 n = PySequence_Fast_GET_SIZE(iterable); in list_extend()
2876 if (PySequence_Fast_GET_SIZE(seq) != slicelength) { in list_ass_subscript()
2881 PySequence_Fast_GET_SIZE(seq), in list_ass_subscript()
/external/python/cpython2/Include/
Dabstract.h1160 #define PySequence_Fast_GET_SIZE(o) \ macro
/external/python/cpython2/Objects/
Dlistobject.c646 n = PySequence_Fast_GET_SIZE(v_as_SF); in list_ass_slice()
817 n = PySequence_Fast_GET_SIZE(b); in listextend()
2710 if (PySequence_Fast_GET_SIZE(seq) != slicelength) { in list_ass_subscript()
2715 PySequence_Fast_GET_SIZE(seq), in list_ass_subscript()
Dstructseq.c170 len = PySequence_Fast_GET_SIZE(arg); in structseq_new()
/external/python/cpython3/Include/
Dabstract.h914 #define PySequence_Fast_GET_SIZE(o) \ macro

12