/external/python/cpython3/Modules/clinic/ |
D | itertoolsmodule.c.h | 68 if (!PyObject_TypeCheck(PyTuple_GET_ITEM(args, 0), &groupby_type)) { in itertools__grouper() 69 … _PyArg_BadArgument("_grouper", "argument 1", (&groupby_type)->tp_name, PyTuple_GET_ITEM(args, 0)); in itertools__grouper() 72 parent = PyTuple_GET_ITEM(args, 0); in itertools__grouper() 73 tgtkey = PyTuple_GET_ITEM(args, 1); in itertools__grouper() 105 it = PyTuple_GET_ITEM(args, 0); in itertools_teedataobject() 106 if (!PyList_Check(PyTuple_GET_ITEM(args, 1))) { in itertools_teedataobject() 107 _PyArg_BadArgument("teedataobject", "argument 2", "list", PyTuple_GET_ITEM(args, 1)); in itertools_teedataobject() 110 values = PyTuple_GET_ITEM(args, 1); in itertools_teedataobject() 111 next = PyTuple_GET_ITEM(args, 2); in itertools_teedataobject() 140 iterable = PyTuple_GET_ITEM(args, 0); in itertools__tee() [all …]
|
D | _collectionsmodule.c.h | 53 if (PyFloat_Check(PyTuple_GET_ITEM(args, 0))) { in tuplegetter_new() 60 PyObject *iobj = PyNumber_Index(PyTuple_GET_ITEM(args, 0)); in tuplegetter_new() 70 doc = PyTuple_GET_ITEM(args, 1); in tuplegetter_new()
|
D | _bz2module.c.h | 98 if (PyFloat_Check(PyTuple_GET_ITEM(args, 0))) { in _bz2_BZ2Compressor___init__() 103 compresslevel = _PyLong_AsInt(PyTuple_GET_ITEM(args, 0)); in _bz2_BZ2Compressor___init__()
|
/external/python/cffi/c/ |
D | cdlopen.c | 190 char *g = PyBytes_AS_STRING(PyTuple_GET_ITEM(globals, i * 2)); in ffiobj_init() 195 PyObject *o = PyTuple_GET_ITEM(globals, i * 2 + 1); in ffiobj_init() 228 nf += PyTuple_GET_SIZE(PyTuple_GET_ITEM(struct_unions, i)) - 1; in ffiobj_init() 242 PyObject *desc = PyTuple_GET_ITEM(struct_unions, i); in ffiobj_init() 244 char *s = PyBytes_AS_STRING(PyTuple_GET_ITEM(desc, 0)); in ffiobj_init() 263 char *f = PyBytes_AS_STRING(PyTuple_GET_ITEM(desc, j + 1)); in ffiobj_init() 298 char *e = PyBytes_AS_STRING(PyTuple_GET_ITEM(enums, i)); in ffiobj_init() 324 char *t = PyBytes_AS_STRING(PyTuple_GET_ITEM(typenames, i)); in ffiobj_init()
|
D | ffi_obj.c | 133 ffi1 = (FFIObject *)PyTuple_GET_ITEM(included_ffis, i); in ffi_fetch_int_constant() 362 my_alloc = PyTuple_GET_ITEM(allocator, 1); in _ffi_new_with_allocator() 363 my_free = PyTuple_GET_ITEM(allocator, 2); in _ffi_new_with_allocator() 366 alloc1.ca_dont_clear = (PyTuple_GET_ITEM(allocator, 3) == Py_False); in _ffi_new_with_allocator() 368 return _ffi_new((FFIObject *)PyTuple_GET_ITEM(allocator, 0), in _ffi_new_with_allocator() 497 arg = PyTuple_GET_ITEM(args, 0); in ffi_offsetof() 505 ct = direct_typeoffsetof(ct, PyTuple_GET_ITEM(args, i), i > 1, &ofs1); in ffi_offsetof() 541 arg = PyTuple_GET_ITEM(args, 0); in ffi_addressof() 570 ct = direct_typeoffsetof(ct, PyTuple_GET_ITEM(args, i), in ffi_addressof() 784 old = PyTuple_GET_ITEM(outer_args, 1); in _ffi_callback_decorator() [all …]
|
/external/python/cpython3/Objects/ |
D | genericaliasobject.c | 138 PyObject *p = PyTuple_GET_ITEM(alias->args, i); in ga_repr() 182 if (PyTuple_GET_ITEM(self, i) == item) { in tuple_index() 210 PyObject *t = PyTuple_GET_ITEM(args, iarg); in make_parameters() 238 PyObject *t2 = PyTuple_GET_ITEM(subparams, j); in make_parameters() 276 PyObject *arg = PyTuple_GET_ITEM(subparams, i); in subs_tvars() 315 PyObject **argitems = is_tuple ? &PyTuple_GET_ITEM(item, 0) : &item; in ga_getitem() 334 PyObject *arg = PyTuple_GET_ITEM(alias->args, iarg); in ga_getitem() 575 PyObject *origin = PyTuple_GET_ITEM(args, 0); in ga_new() 576 PyObject *arguments = PyTuple_GET_ITEM(args, 1); in ga_new()
|
D | enumobject.c | 127 old_index = PyTuple_GET_ITEM(result, 0); in enum_next_long() 128 old_item = PyTuple_GET_ITEM(result, 1); in enum_next_long() 172 old_index = PyTuple_GET_ITEM(result, 0); in enum_next() 173 old_item = PyTuple_GET_ITEM(result, 1); in enum_next()
|
D | exceptions.c | 110 return PyObject_Str(PyTuple_GET_ITEM(self->args, 0)); in BaseException_str() 122 PyTuple_GET_ITEM(self->args, 0)); in BaseException_repr() 517 value = PyTuple_GET_ITEM(args, 0); in StopIteration_init() 582 Py_INCREF(PyTuple_GET_ITEM(args, 0)); in SystemExit_init() 583 Py_XSETREF(self->code, PyTuple_GET_ITEM(args, 0)); in SystemExit_init() 664 msg = PyTuple_GET_ITEM(args, 0); in ImportError_init() 863 PyObject *val = PyTuple_GET_ITEM(args, i); in oserror_parse_args() 1164 tmp = PyTuple_GET_ITEM(self->args, 0); in OSError_reduce() 1168 tmp = PyTuple_GET_ITEM(self->args, 1); in OSError_reduce() 1358 Py_INCREF(PyTuple_GET_ITEM(args, 0)); in SyntaxError_init() [all …]
|
D | typeobject.c | 342 PyObject *b = PyTuple_GET_ITEM(bases, i); in type_mro_modified() 400 PyObject *b = PyTuple_GET_ITEM(bases, i); in assign_version_tag() 743 ob = PyTuple_GET_ITEM(new_bases, i); in type_set_bases() 992 obj = (PyObject *) Py_TYPE(PyTuple_GET_ITEM(args, 0)); in type_call() 1416 if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b) in PyType_IsSubtype() 1598 if (PyTuple_GET_ITEM(tuple, j) == o) in tail_contains() 1623 PyObject *o = PyTuple_GET_ITEM(tuple, i); in check_duplicates() 1625 if (PyTuple_GET_ITEM(tuple, j) == o) { in check_duplicates() 1666 PyObject *c = PyTuple_GET_ITEM(L, remain[i]); in set_mro_error() 1743 candidate = PyTuple_GET_ITEM(cur_tuple, remain[i]); in pmerge() [all …]
|
/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 127 obj = PyTuple_GET_ITEM(self->description, i); in pysqlite_row_subscript() 128 obj = PyTuple_GET_ITEM(obj, 0); in pysqlite_row_subscript() 171 if (PyList_Append(list, PyTuple_GET_ITEM(PyTuple_GET_ITEM(self->description, i), 0)) != 0) { in pysqlite_row_keys()
|
/external/python/cpython3/Modules/ |
D | _operator.c | 1021 obj = PyTuple_GET_ITEM(args, 0); in itemgetter_call() 1027 result = PyTuple_GET_ITEM(obj, ig->index); in itemgetter_call() 1043 item = PyTuple_GET_ITEM(ig->item, i); in itemgetter_call() 1173 PyObject *item = PyTuple_GET_ITEM(args, idx); in attrgetter_new() 1292 attr_name = PyTuple_GET_ITEM(attr, name_idx); in dotted_getattr() 1321 obj = PyTuple_GET_ITEM(args, 0); in attrgetter_call() 1323 return dotted_getattr(obj, PyTuple_GET_ITEM(ag->attr, 0)); in attrgetter_call() 1334 attr = PyTuple_GET_ITEM(ag->attr, i); in attrgetter_call() 1371 PyObject *attr = PyTuple_GET_ITEM(ag->attr, i); in attrgetter_args() 1397 PyObject *attr = dotjoinattr(PyTuple_GET_ITEM(ag->attr, 0), &attrsep); in attrgetter_repr() [all …]
|
D | itertoolsmodule.c | 2143 PyObject *item = PyTuple_GET_ITEM(args, i); in product_new() 2151 PyObject *pool = PyTuple_GET_ITEM(pools, i - nargs); in product_new() 2229 pool = PyTuple_GET_ITEM(pools, i); in product_next() 2232 elem = PyTuple_GET_ITEM(pool, 0); in product_next() 2254 pool = PyTuple_GET_ITEM(pools, i); in product_next() 2259 elem = PyTuple_GET_ITEM(pool, 0); in product_next() 2261 oldelem = PyTuple_GET_ITEM(result, i); in product_next() 2266 elem = PyTuple_GET_ITEM(pool, indices[i]); in product_next() 2268 oldelem = PyTuple_GET_ITEM(result, i); in product_next() 2332 PyObject* indexObject = PyTuple_GET_ITEM(state, i); in product_setstate() [all …]
|
/external/python/cpython2/Modules/ |
D | itertoolsmodule.c | 1476 it = PyObject_GetIter(PyTuple_GET_ITEM(args, i)); in imap_new() 1491 func = PyTuple_GET_ITEM(args, 0); in imap_new() 1554 val = PyIter_Next(PyTuple_GET_ITEM(lz->iters, i)); in imap_next() 1855 PyObject *item = PyTuple_GET_ITEM(args, i); in product_new() 1863 PyObject *pool = PyTuple_GET_ITEM(pools, i - nargs); in product_new() 1929 pool = PyTuple_GET_ITEM(pools, i); in product_next() 1932 elem = PyTuple_GET_ITEM(pool, 0); in product_next() 1947 elem = PyTuple_GET_ITEM(old_result, i); in product_next() 1959 pool = PyTuple_GET_ITEM(pools, i); in product_next() 1964 elem = PyTuple_GET_ITEM(pool, 0); in product_next() [all …]
|
/external/python/cpython2/Modules/_sqlite/ |
D | row.c | 114 … compare_key = PyString_AsString(PyTuple_GET_ITEM(PyTuple_GET_ITEM(self->description, i), 0)); in pysqlite_row_subscript() 172 if (PyList_Append(list, PyTuple_GET_ITEM(PyTuple_GET_ITEM(self->description, i), 0)) != 0) { in pysqlite_row_keys()
|
/external/python/cpython2/Objects/ |
D | exceptions.c | 65 Py_INCREF(PyTuple_GET_ITEM(self->args, 0)); in BaseException_init() 66 Py_XSETREF(self->message, PyTuple_GET_ITEM(self->args, 0)); in BaseException_init() 107 out = PyObject_Str(PyTuple_GET_ITEM(self->args, 0)); in BaseException_str() 143 out = PyObject_Unicode(PyTuple_GET_ITEM(self->args, 0)); in BaseException_unicode() 517 Py_INCREF(PyTuple_GET_ITEM(args, 0)); in SystemExit_init() 518 Py_XSETREF(self->code, PyTuple_GET_ITEM(args, 0)); in SystemExit_init() 769 tmp = PyTuple_GET_ITEM(self->args, 0); in EnvironmentError_reduce() 773 tmp = PyTuple_GET_ITEM(self->args, 1); in EnvironmentError_reduce() 1057 Py_INCREF(PyTuple_GET_ITEM(args, 0)); in SyntaxError_init() 1058 Py_XSETREF(self->msg, PyTuple_GET_ITEM(args, 0)); in SyntaxError_init() [all …]
|
D | enumobject.c | 113 Py_DECREF(PyTuple_GET_ITEM(result, 0)); in enum_next_long() 114 Py_DECREF(PyTuple_GET_ITEM(result, 1)); in enum_next_long() 152 Py_DECREF(PyTuple_GET_ITEM(result, 0)); in enum_next() 153 Py_DECREF(PyTuple_GET_ITEM(result, 1)); in enum_next()
|
D | typeobject.c | 140 PyObject *b = PyTuple_GET_ITEM(bases, i); in type_mro_modified() 200 PyObject *b = PyTuple_GET_ITEM(bases, i); in assign_version_tag() 472 ob = PyTuple_GET_ITEM(value, i); in type_set_bases() 544 ob = PyTuple_GET_ITEM(old_bases, i); in type_set_bases() 552 ob = PyTuple_GET_ITEM(value, i); in type_set_bases() 1181 if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b) in PyType_IsSubtype() 1350 base = PyTuple_GET_ITEM(bases, i); in fill_classic_mro() 1601 PyObject *base = PyTuple_GET_ITEM(bases, i); in mro_implementation() 1688 cls = PyTuple_GET_ITEM(tuple, i); in mro_internal() 1737 base_proto = PyTuple_GET_ITEM(bases, i); in best_base() [all …]
|
D | tupleobject.c | 169 PyObject *elt = PyTuple_GET_ITEM(t, i); in _PyTuple_MaybeUntrack() 302 temp = PyTuple_GET_ITEM(pieces, 0); in tuplerepr() 311 temp = PyTuple_GET_ITEM(pieces, n-1); in tuplerepr() 374 cmp = PyObject_RichCompareBool(el, PyTuple_GET_ITEM(a, i), in tuplecontains() 673 item = PyTuple_GET_ITEM(tmp, i); in tuple_subtype_new() 960 item = PyTuple_GET_ITEM(seq, it->it_index); in tupleiter_next()
|
D | codeobject.c | 37 PyObject *v = PyTuple_GET_ITEM(tuple, i); in intern_strings() 41 PyString_InternInPlace(&PyTuple_GET_ITEM(tuple, i)); in intern_strings() 53 PyObject *v = PyTuple_GET_ITEM(tuple, i); in intern_string_constants() 234 item = PyTuple_GET_ITEM(tup, i); in validate_and_copy_tuple() 485 item = PyTuple_GET_ITEM(op, i); in _PyCode_ConstantKey()
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_tensor_converter_wrapper.cc | 108 Py_INCREF(PyTuple_GET_ITEM(result, 1)); in Convert() 109 Py_INCREF(PyTuple_GET_ITEM(result, 2)); in Convert()
|
/external/python/cpython3/Include/cpython/ |
D | tupleobject.h | 27 #define PyTuple_GET_ITEM(op, i) (_PyTuple_CAST(op)->ob_item[i]) macro
|
/external/python/cpython3/Modules/_io/clinic/ |
D | bufferedio.c.h | 588 reader = PyTuple_GET_ITEM(args, 0); in _io_BufferedRWPair___init__() 589 writer = PyTuple_GET_ITEM(args, 1); in _io_BufferedRWPair___init__() 593 if (PyFloat_Check(PyTuple_GET_ITEM(args, 2))) { in _io_BufferedRWPair___init__() 600 PyObject *iobj = PyNumber_Index(PyTuple_GET_ITEM(args, 2)); in _io_BufferedRWPair___init__()
|
/external/python/cpython3/Include/ |
D | structseq.h | 40 #define PyStructSequence_GET_ITEM(op, i) PyTuple_GET_ITEM(op, i)
|
/external/python/cpython2/Include/ |
D | tupleobject.h | 50 #define PyTuple_GET_ITEM(op, i) (((PyTupleObject *)(op))->ob_item[i]) macro
|
/external/python/cpython2/Python/ |
D | _warnings.c | 145 action = PyTuple_GET_ITEM(tmp_item, 0); in get_filter() 146 msg = PyTuple_GET_ITEM(tmp_item, 1); in get_filter() 147 cat = PyTuple_GET_ITEM(tmp_item, 2); in get_filter() 148 mod = PyTuple_GET_ITEM(tmp_item, 3); in get_filter() 149 ln_obj = PyTuple_GET_ITEM(tmp_item, 4); in get_filter()
|