/external/python/cpython2/Modules/ |
D | _heapqmodule.c | 51 newitem = PyList_GET_ITEM(heap, pos); in _siftdown() 54 parent = PyList_GET_ITEM(heap, parentpos); in _siftdown() 65 parent = PyList_GET_ITEM(heap, parentpos); in _siftdown() 66 newitem = PyList_GET_ITEM(heap, pos); in _siftdown() 97 PyList_GET_ITEM(heap, childpos), in _siftup() 98 PyList_GET_ITEM(heap, rightpos)); in _siftup() 110 tmp1 = PyList_GET_ITEM(heap, childpos); in _siftup() 111 tmp2 = PyList_GET_ITEM(heap, pos); in _siftup() 163 lastelt = PyList_GET_ITEM(heap, n-1) ; in heappop() 170 returnitem = PyList_GET_ITEM(heap, 0); in heappop() [all …]
|
/external/python/cpython2/Python/ |
D | peephole.c | 57 constant = PyList_GET_ITEM(consts, arg); in tuple_of_constants() 100 v = PyList_GET_ITEM(consts, GETARG(codestr, 0)); in fold_binops_on_constants() 101 w = PyList_GET_ITEM(consts, GETARG(codestr, 3)); in fold_binops_on_constants() 201 v = PyList_GET_ITEM(consts, GETARG(codestr, 0)); in fold_unaryops_on_constants() 401 if (PyList_GET_ITEM(consts, j) == Py_None) in PyCode_Optimize() 408 assert(PyList_GET_ITEM(consts, j) == Py_None); in PyCode_Optimize() 422 !PyObject_IsTrue(PyList_GET_ITEM(consts, j))) in PyCode_Optimize()
|
D | Python-ast.c | 3352 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_mod() 3392 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_mod() 3455 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_mod() 3568 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() 3597 res = obj2ast_expr(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() 3653 res = obj2ast_expr(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() 3682 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() 3711 res = obj2ast_expr(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() 3774 res = obj2ast_expr(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() 3815 res = obj2ast_expr(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() [all …]
|
D | _warnings.c | 137 tmp_item = *item = PyList_GET_ITEM(_filters, i); in get_filter() 878 if (PyList_GET_ITEM(filters, x) == NULL) { in init_filters()
|
/external/python/cpython3/Modules/ |
D | _heapqmodule.c | 141 lastelt = PyList_GET_ITEM(heap, n-1) ; in heappop_internal() 151 returnitem = PyList_GET_ITEM(heap, 0); in heappop_internal() 187 returnitem = PyList_GET_ITEM(heap, 0); in heapreplace_internal() 232 cmp = PyObject_RichCompareBool(PyList_GET_ITEM(heap, 0), item, Py_LT); in heappushpop() 245 returnitem = PyList_GET_ITEM(heap, 0); in heappushpop()
|
D | _abc.c | 284 PyList_GET_ITEM(items, pos), in compute_abstract_methods() 676 PyObject *scls = PyList_GET_ITEM(subclasses, pos); in _abc__abc_subclasscheck_impl()
|
D | _queuemodule.c | 139 item = PyList_GET_ITEM(self->lst, self->lst_pos); in simplequeue_pop_item()
|
D | _asynciomodule.c | 447 PyObject *cb_tup = PyList_GET_ITEM(fut->fut_callbacks, i); in future_schedule_callbacks() 962 PyObject *cb_tup = PyList_GET_ITEM(self->fut_callbacks, 0); in _asyncio_Future_remove_done_callback() 984 PyObject *item = PyList_GET_ITEM(self->fut_callbacks, i); in _asyncio_Future_remove_done_callback() 1211 PyObject *cb = PyList_GET_ITEM(fut->fut_callbacks, i); in FutureObj_get_callbacks()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 3980 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_mod() 4021 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_mod() 4086 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_mod() 4203 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() 4233 res = obj2ast_expr(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() 4318 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() 4348 res = obj2ast_expr(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() 4420 res = obj2ast_expr(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() 4450 res = obj2ast_keyword(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() 4480 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &val, arena); in obj2ast_stmt() [all …]
|
D | peephole.c | 150 PyObject *constant = PyList_GET_ITEM(consts, arg); in fold_tuple_on_constants() 294 !PyObject_IsTrue(PyList_GET_ITEM(consts, get_arg(codestr, i)))) in PyCode_Optimize()
|
D | pystate.c | 460 res = PyList_GET_ITEM(state->modules_by_index, index); in PyState_FindModule() 503 if(module == PyList_GET_ITEM(state->modules_by_index, index)) { in PyState_AddModule() 547 PyObject *m = PyList_GET_ITEM(state->modules_by_index, i); in _PyState_ClearModules()
|
D | marshal.c | 502 w_object(PyList_GET_ITEM(v, i), p); in w_complex_object() 913 PyObject *tmp = PyList_GET_ITEM(p->refs, idx); in r_ref_insert() 1460 v = PyList_GET_ITEM(p->refs, n); in r_object()
|
D | _warnings.c | 181 tmp_item = PyList_GET_ITEM(filters, i); in get_filter() 1283 if (PyList_GET_ITEM(filters, x) == NULL) { in init_filters()
|
/external/python/cpython2/Include/ |
D | listobject.h | 61 #define PyList_GET_ITEM(op, i) (((PyListObject *)(op))->ob_item[i]) macro
|
D | abstract.h | 1168 (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i))
|
/external/protobuf/python/google/protobuf/pyext/ |
D | repeated_composite_container.cc | 354 PyList_GET_ITEM(self->child_messages, i)); in ReorderAttached() 475 PyList_GET_ITEM(self->child_messages, i)); in Release() 495 PyObject* msg = PyList_GET_ITEM(self->child_messages, i); in SetOwner()
|
D | message.cc | 1015 PyObject* tmp = PyList_GET_ITEM(cmessage_list, i); in CheckAndGetInteger() 1017 PyList_GET_ITEM(cmessage_list, to)); in CheckAndGetInteger() 1030 PyList_GET_ITEM(cmessage_list, PyList_GET_SIZE(cmessage_list) - 1)); in CheckAndGetInteger() 1271 PyList_GET_ITEM(container->child_messages, i)); in CheckAndGetInteger()
|
/external/python/cpython3/Include/ |
D | listobject.h | 72 #define PyList_GET_ITEM(op, i) (((PyListObject *)(op))->ob_item[i]) macro
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_util.cc | 87 PyObject* v = PyList_GET_ITEM(ret_val, i); in TryAppendTraceback()
|
/external/python/cpython2/PC/ |
D | _subprocess.c | 360 PyObject* key = PyList_GET_ITEM(keys, i); in getenvironment() 361 PyObject* value = PyList_GET_ITEM(values, i); in getenvironment()
|
/external/python/cpython2/Objects/ |
D | typeobject.c | 106 ref = PyList_GET_ITEM(raw, i); in PyType_Modified() 412 ref = PyList_GET_ITEM(subclasses, i); in mro_subclasses() 522 PyArg_UnpackTuple(PyList_GET_ITEM(temp, i), in type_set_bases() 1406 if (PyList_GET_ITEM(list, j) == o) in tail_contains() 1439 PyObject *o = PyList_GET_ITEM(list, i); in check_duplicates() 1441 if (PyList_GET_ITEM(list, j) == o) { in check_duplicates() 1474 PyObject *L = PyList_GET_ITEM(to_merge, i); in set_mro_error() 1476 PyObject *c = PyList_GET_ITEM(L, remain[i]); in set_mro_error() 1525 PyObject *cur_list = PyList_GET_ITEM(to_merge, i); in pmerge() 1539 candidate = PyList_GET_ITEM(cur_list, remain[i]); in pmerge() [all …]
|
D | listobject.c | 400 temp = PyList_GET_ITEM(pieces, 0); in list_repr() 409 temp = PyList_GET_ITEM(pieces, PyList_GET_SIZE(pieces) - 1); in list_repr() 441 cmp = PyObject_RichCompareBool(el, PyList_GET_ITEM(a, i), in list_contains() 2663 garbage[i] = PyList_GET_ITEM(self, cur); in list_ass_subscript() 2914 item = PyList_GET_ITEM(seq, it->it_index); in listiter_next() 3035 item = PyList_GET_ITEM(seq, index); in listreviter_next()
|
/external/python/cpython3/Modules/_sqlite/ |
D | statement.c | 241 current_param = PyList_GET_ITEM(parameters, i); in pysqlite_statement_bind_parameters()
|
/external/python/cpython2/Modules/_sqlite/ |
D | statement.c | 250 current_param = PyList_GET_ITEM(parameters, i); in pysqlite_statement_bind_parameters()
|
/external/python/cpython3/Doc/c-api/ |
D | list.rst | 67 .. c:function:: PyObject* PyList_GET_ITEM(PyObject *list, Py_ssize_t i)
|