/external/python/cpython2/Modules/ |
D | _heapqmodule.c | 67 PyList_SET_ITEM(heap, parentpos, newitem); in _siftdown() 68 PyList_SET_ITEM(heap, pos, parent); in _siftdown() 112 PyList_SET_ITEM(heap, childpos, tmp2); in _siftup() 113 PyList_SET_ITEM(heap, pos, tmp1); in _siftup() 171 PyList_SET_ITEM(heap, 0, lastelt); in heappop() 202 PyList_SET_ITEM(heap, 0, item); in heapreplace() 254 PyList_SET_ITEM(heap, 0, item); in heappushpop() 353 PyList_SET_ITEM(heap, 0, elem); in nlargest() 407 PyList_SET_ITEM(heap, pos, parent); in _siftdownmax() 411 PyList_SET_ITEM(heap, pos, newitem); in _siftdownmax() [all …]
|
D | _weakref.c | 84 PyList_SET_ITEM(result, i, (PyObject *) current); in weakref_getweakrefs()
|
D | _elementtree.c | 987 PyList_SET_ITEM(list, i, item); in element_getchildren() 1388 PyList_SET_ITEM(list, i, item); 1490 PyList_SET_ITEM(recycle, i, self->extra->children[cur]); 1911 PyList_SET_ITEM(list, 0, self->data); 1912 Py_INCREF(data); PyList_SET_ITEM(list, 1, data);
|
D | ossaudiodev.c | 918 PyList_SET_ITEM(labels, i, s); in build_namelists() 923 PyList_SET_ITEM(names, i, s); in build_namelists()
|
/external/python/cpython2/Objects/stringlib/ |
D | split.h | 41 PyList_SET_ITEM(list, count, sub); \ 80 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in stringlib_split_whitespace() 132 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in stringlib_split_char() 180 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in stringlib_split() 219 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in stringlib_rsplit_whitespace() 272 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in stringlib_rsplit_char() 321 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in stringlib_rsplit()
|
/external/python/cpython3/Objects/stringlib/ |
D | split.h | 38 PyList_SET_ITEM(list, count, sub); \ 77 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB() 129 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB() 177 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB() 216 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB() 269 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB() 318 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB()
|
/external/tensorflow/tensorflow/python/client/ |
D | tf_session.i | 161 PyList_SET_ITEM($result, i, CreateWrappedTFOperation($1[i])); 180 PyList_SET_ITEM($result, i, CreateWrappedTFOperation($1[i])); 199 PyList_SET_ITEM($result, i, PyUnicode_FromString($1[i])); 218 PyList_SET_ITEM($result, i, CreateWrappedTFOutput(tf_outputs[i])); 235 PyList_SET_ITEM($result, i, PyBytes_FromStringAndSize(input_str.data(), 276 PyList_SET_ITEM(temp_string_list.get(), i, elem); 322 PyList_SET_ITEM($result, i, $1->at(i)); 405 PyList_SET_ITEM($result, i, CreateWrappedTFOutput(outputs[i])); 424 PyList_SET_ITEM($result, i, CreateWrappedTFOperation(opers[i])); 639 PyList_SET_ITEM($result, i, PyLong_FromLongLong($1[i])); [all …]
|
D | tf_sessionrun_wrapper.i | 100 PyList_SET_ITEM($result, i, (*$1)[i]);
|
/external/python/cpython3/Modules/ |
D | _heapqmodule.c | 152 PyList_SET_ITEM(heap, 0, lastelt); in heappop_internal() 189 PyList_SET_ITEM(heap, 0, item); in heapreplace_internal() 247 PyList_SET_ITEM(heap, 0, item); in heappushpop()
|
D | _queuemodule.c | 141 PyList_SET_ITEM(self->lst, self->lst_pos, Py_None); in simplequeue_pop_item() 149 PyList_SET_ITEM(self->lst, self->lst_pos, item); in simplequeue_pop_item()
|
D | _weakref.c | 96 PyList_SET_ITEM(result, i, (PyObject *) current); in weakref_getweakrefs()
|
D | _elementtree.c | 939 PyList_SET_ITEM(children, i, child); in _elementtree_Element___getstate___impl() 1423 PyList_SET_ITEM(list, i, item); in _elementtree_Element_getchildren_impl() 1797 PyList_SET_ITEM(list, i, item); in element_subscr() 1884 PyList_SET_ITEM(recycle, i, self->extra->children[cur]); in element_ass_subscr() 1949 PyList_SET_ITEM(recycle, i, self->extra->children[cur]); in element_ass_subscr() 2661 PyList_SET_ITEM(list, 0, self->data); in treebuilder_handle_data() 2662 Py_INCREF(data); PyList_SET_ITEM(list, 1, data); in treebuilder_handle_data()
|
D | selectmodule.c | 655 PyList_SET_ITEM(result_list, j, value); in poll_poll() 981 PyList_SET_ITEM(result_list, i, value); in devpoll_poll() 1599 PyList_SET_ITEM(elist, i, etuple); in pyepoll_poll() 2250 PyList_SET_ITEM(result, i, (PyObject *)ch); in kqueue_queue_control()
|
D | ossaudiodev.c | 1076 PyList_SET_ITEM(labels, i, s); in build_namelists() 1081 PyList_SET_ITEM(names, i, s); in build_namelists()
|
D | arraymodule.c | 1583 PyList_SET_ITEM(list, i, v); in array_array_tolist_impl() 2048 PyList_SET_ITEM(converted_items, i, pyfloat); in array__array_reconstructor_impl() 2070 PyList_SET_ITEM(converted_items, i, pyfloat); in array__array_reconstructor_impl() 2149 PyList_SET_ITEM(converted_items, i, pylong); in array__array_reconstructor_impl()
|
/external/python/cpython2/Include/ |
D | listobject.h | 62 #define PyList_SET_ITEM(op, i, v) (((PyListObject *)(op))->ob_item[i] = (v)) macro
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | strings.i | 102 PyList_SET_ITEM(temp_string_list.get(), i, converted[i].release());
|
/external/python/cpython2/Python/ |
D | _warnings.c | 861 PyList_SET_ITEM(filters, pos++, in init_filters() 864 PyList_SET_ITEM(filters, pos++, in init_filters() 866 PyList_SET_ITEM(filters, pos++, in init_filters() 874 PyList_SET_ITEM(filters, pos++, create_filter(PyExc_BytesWarning, in init_filters()
|
/external/python/cpython3/Include/ |
D | listobject.h | 73 #define PyList_SET_ITEM(op, i, v) (((PyListObject *)(op))->ob_item[i] = (v)) macro
|
/external/python/cpython3/Python/ |
D | _warnings.c | 1271 PyList_SET_ITEM(filters, pos++, in init_filters() 1273 PyList_SET_ITEM(filters, pos++, in init_filters() 1275 PyList_SET_ITEM(filters, pos++, in init_filters() 1277 PyList_SET_ITEM(filters, pos++, in init_filters() 1279 PyList_SET_ITEM(filters, pos++, in init_filters()
|
/external/tensorflow/tensorflow/python/util/ |
D | py_checkpoint_reader.i | 58 PyList_SET_ITEM(value.get(), i, dim_value.release());
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe_src.cc | 1037 PyList_SET_ITEM(list, i, in AggregateGradients() 1772 PyList_SET_ITEM(py_result, i, reinterpret_cast<PyObject*>(result[i])); 2787 PyList_SET_ITEM(flat_result.get(), i, EagerTensorFromHandle(retvals[i])); 2821 PyList_SET_ITEM(inner_list, j, obj); 2823 PyList_SET_ITEM(result, i, inner_list); 2830 PyList_SET_ITEM(inner_list, j, obj); 2832 PyList_SET_ITEM(result, i, inner_list); 2836 PyList_SET_ITEM(result, i, obj);
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.cc | 482 PyList_SET_ITEM(list.get(), index, key); in Keys() 498 PyList_SET_ITEM(list.get(), index, value); in Values() 524 PyList_SET_ITEM(list.get(), index, obj.release()); in Items()
|
/external/python/cpython2/Objects/ |
D | dictobject.c | 1206 PyList_SET_ITEM(pieces, 0, s); in dict_repr() 1215 PyList_SET_ITEM(pieces, PyList_GET_SIZE(pieces) - 1, temp); in dict_repr() 1322 PyList_SET_ITEM(v, j, key); in dict_keys() 1356 PyList_SET_ITEM(v, j, value); in dict_values() 1388 PyList_SET_ITEM(v, i, item); in dict_items()
|
/external/python/cpython3/Doc/c-api/ |
D | list.rst | 83 .. c:function:: void PyList_SET_ITEM(PyObject *list, Py_ssize_t i, PyObject *o)
|