Home
last modified time | relevance | path

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

12

/external/python/cpython3/Objects/stringlib/
Djoin.h30 seqlen = PySequence_Fast_GET_SIZE(seq); in STRINGLIB()
103 if (seqlen != PySequence_Fast_GET_SIZE(seq)) { in STRINGLIB()
/external/tensorflow/tensorflow/python/framework/
Dpython_api_parameter_converter_wrapper.cc35 PySequence_Fast_GET_SIZE(args_fast)); in Convert()
Dop_def_util.cc198 Py_ssize_t len = PySequence_Fast_GET_SIZE(result.get()); in ConvertListAttr()
/external/tensorflow/tensorflow/python/util/
Dfunction_parameter_canonicalizer_binding_for_test.cc52 PySequence_Fast_GET_SIZE(defaults_fast.get()))); in PYBIND11_MODULE()
Dutil.cc469 size_(seq_.get() ? PySequence_Fast_GET_SIZE(seq_.get()) : 0), in SequenceValueIterator()
1046 const Py_ssize_t s = PySequence_Fast_GET_SIZE(seq.get()); in IsNamedtuple()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc1356 int len = PySequence_Fast_GET_SIZE(seq); in CallBackwardFunction()
1943 int len = PySequence_Fast_GET_SIZE(seq.get());
2164 Py_ssize_t output_len = PySequence_Fast_GET_SIZE(output_seq);
2181 int len = PySequence_Fast_GET_SIZE(seq);
2253 int len = PySequence_Fast_GET_SIZE(seq);
2329 Py_ssize_t input_len = PySequence_Fast_GET_SIZE(input_seq.get());
2342 if (PySequence_Fast_GET_SIZE(indices_fast.get()) !=
2360 Py_ssize_t num_jvps = PySequence_Fast_GET_SIZE(jvp_index_seq.get());
2426 int len = PySequence_Fast_GET_SIZE(fast_result.get());
2711 int len = PySequence_Fast_GET_SIZE(seq);
[all …]
/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.rst146 .. c:function:: Py_ssize_t PySequence_Fast_GET_SIZE(PyObject *o)
151 :c:func:`PySequence_Fast_GET_SIZE` is faster because it can assume *o* is a
/external/python/cpython3/Modules/
D_posixsubprocess.c716 num_args = PySequence_Fast_GET_SIZE(fast_args); in subprocess_fork_exec()
722 if (PySequence_Fast_GET_SIZE(fast_args) != num_args) { in subprocess_fork_exec()
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.c147 for (i = 0; i < PySequence_Fast_GET_SIZE(fast_seq); i++) { in seq2set()
2172 if (PySequence_Fast_GET_SIZE(seq) > INT_MAX) { in select_kqueue_control_impl()
2177 nchanges = (int)PySequence_Fast_GET_SIZE(seq); in select_kqueue_control_impl()
D_abc.c327 if (PySequence_Fast_GET_SIZE(it) != 2) { in compute_abstract_methods()
D_winapi.c900 *size = PySequence_Fast_GET_SIZE(value_fast) * sizeof(HANDLE); in gethandlelist()
911 for (i = 0; i < PySequence_Fast_GET_SIZE(value_fast); i++) { in gethandlelist()
D_tkinter.c1062 size = PySequence_Fast_GET_SIZE(value); in AsObj()
1357 objc = PySequence_Fast_GET_SIZE(args); in Tkapp_CallArgs()
3090 size = PySequence_Fast_GET_SIZE(item); in _flatten1()
D_json.c1671 if (PySequence_Fast_GET_SIZE(s_fast) == 0) { in encoder_listencode_list()
1703 for (i = 0; i < PySequence_Fast_GET_SIZE(s_fast); i++) { in encoder_listencode_list()
/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/python/cpython3/Modules/_ctypes/
Dstgdict.c219 for (i = 0; i < PySequence_Fast_GET_SIZE(fieldlist); ++i) { in MakeFields()
300 for (i = 0; i < PySequence_Fast_GET_SIZE(anon_names); ++i) { in MakeAnonFields()
/external/tensorflow/tensorflow/python/client/
Dtf_session_helper.cc219 Py_ssize_t len = PySequence_Fast_GET_SIZE(feed_values); in RunCallableHelper()
655 Py_ssize_t len = PySequence_Fast_GET_SIZE(dtypes); in TF_CreatePlaceholders()
/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/Include/
Dabstract.h696 #define PySequence_Fast_GET_SIZE(o) \ macro
/external/python/cpython3/Objects/
Dstructseq.c138 len = PySequence_Fast_GET_SIZE(arg); in structseq_new_impl()
Dlistobject.c633 n = PySequence_Fast_GET_SIZE(v_as_SF); in list_ass_slice()
861 n = PySequence_Fast_GET_SIZE(iterable); in list_extend()
2964 if (PySequence_Fast_GET_SIZE(seq) != slicelength) { in list_ass_subscript()
2969 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/
Dstructseq.c170 len = PySequence_Fast_GET_SIZE(arg); in structseq_new()
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()

12