/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/ |
H A D | tuple_array_template_depth.pass.cpp | 32 tuple_t tup; local 33 tup = arr;
|
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
H A D | disable_reduced_arity_initialization_extension.pass.cpp | 75 auto tup = doc_example(); local 76 assert(std::get<0>(tup) == "hello world"); 77 assert(std::get<1>(tup) == 42); 78 assert(std::get<2>(tup) == std::error_code{});
|
H A D | enable_reduced_arity_initialization_extension.pass.cpp | 87 auto tup = doc_example(); local 88 assert(std::get<0>(tup) == "hello world"); 89 assert(std::get<1>(tup) == 42); 90 assert(std::get<2>(tup) == std::error_code{});
|
/external/libcxx/test/std/utilities/intseq/intseq.general/ |
H A D | integer_seq.pass.cpp | 54 auto tup = std::make_tuple ( 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ); local 57 auto t3 = extract ( tup, int3() ); 61 auto t7 = extract ( tup, size7 ()); 65 auto t4 = extract ( tup, size4 ()); 69 auto t2 = extract ( tup, size2 ()); 73 auto tintmix = extract ( tup, intmix ()); 77 auto tsizemix = extract ( tup, sizemix ());
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
H A D | make_from_tuple.pass.cpp | 63 constexpr bool do_constexpr_test(Tuple&& tup) { argument 66 return std::make_from_tuple<Tp>(std::forward<Tuple>(tup)).args == tup; 76 bool do_forwarding_test(Tuple&& tup) { argument 79 const Tp value = std::make_from_tuple<Tp>(std::forward<Tuple>(tup)); 80 return value.args == tup 86 constexpr std::tuple<> tup; local 87 static_assert(do_constexpr_test(tup), ""); 90 constexpr std::tuple<int> tup(42); 91 static_assert(do_constexpr_test(tup), ""); [all...] |
/external/clang/test/SemaTemplate/ |
H A D | deduction.cpp | 249 template <typename... Es> struct tup : tup_impl<0, Es...> {}; struct in namespace:PR27601_RecursivelyInheritedBaseSpecializationsDeductionAmbiguity::ns2 262 tup<int, double, char> t;
|
/external/python/cpython3/Objects/ |
H A D | structseq.c | 237 PyObject* tup = NULL; local 245 tup = PyTuple_New(n_visible_fields); 246 if (!tup) 255 PyTuple_SET_ITEM(tup, i, self->ob_item[i]); 264 result = Py_BuildValue("(O(OO))", Py_TYPE(self), tup, dict); 266 Py_DECREF(tup); 272 Py_XDECREF(tup);
|
H A D | codeobject.c | 280 validate_and_copy_tuple(PyObject *tup) argument 286 len = PyTuple_GET_SIZE(tup); 292 item = PyTuple_GET_ITEM(tup, i);
|
H A D | memoryobject.c | 2201 ptr_from_tuple(Py_buffer *view, PyObject *tup) argument 2204 Py_ssize_t dim, nindices = PyTuple_GET_SIZE(tup); 2215 index = PyNumber_AsSsize_t(PyTuple_GET_ITEM(tup, dim), 2259 memory_item_multi(PyMemoryViewObject *self, PyObject *tup) argument 2263 Py_ssize_t nindices = PyTuple_GET_SIZE(tup); 2277 ptr = ptr_from_tuple(view, tup);
|
/external/python/cpython2/Modules/ |
H A D | timemodule.c | 395 PyObject *tup = NULL; local 404 if (!PyArg_ParseTuple(args, "s|O:strftime", &fmt, &tup)) 407 if (tup == NULL) { 410 } else if (!gettmarg(tup, &buf)) 564 PyObject *tup = NULL; local 567 if (!PyArg_UnpackTuple(args, "asctime", 0, 1, &tup)) 569 if (tup == NULL) { 572 } else if (!gettmarg(tup, &buf)) 629 time_mktime(PyObject *self, PyObject *tup) argument 633 if (!gettmarg(tup, [all...] |
H A D | _collectionsmodule.c | 1458 PyObject *tup; local 1459 tup = PyTuple_Pack(1, key); 1460 if (!tup) return NULL; 1461 PyErr_SetObject(PyExc_KeyError, tup); 1462 Py_DECREF(tup);
|
H A D | _ssl.c | 1110 PyObject *tup; local 1111 tup = PyList_AsTuple(lst); 1113 return tup; 3768 PyObject *keyusage = NULL, *cert = NULL, *enc = NULL, *tup = NULL; local 3807 if ((tup = PyTuple_New(3)) == NULL) { 3811 PyTuple_SET_ITEM(tup, 0, cert); 3813 PyTuple_SET_ITEM(tup, 1, enc); 3815 PyTuple_SET_ITEM(tup, 2, keyusage); 3817 if (PyList_Append(result, tup) < 0) { 3821 Py_CLEAR(tup); 3858 PyObject *crl = NULL, *enc = NULL, *tup = NULL; local [all...] |
H A D | cPickle.c | 3798 PyObject *tup; local 3803 if (!(tup = Pdata_popTuple(self->stack, self->stack->length - len))) 3805 PDATA_PUSH(self->stack, tup, -1); 3930 PyObject *class, *tup, *obj=0; local 3938 if (!( tup=Pdata_popTuple(self->stack, i+1))) return -1; 3941 obj = Instance_New(class, tup); 3944 Py_DECREF(tup); 3955 PyObject *tup, *class=0, *obj=0, *module_name, *class_name; local 3981 if ((tup=Pdata_popTuple(self->stack, i))) { 3982 obj = Instance_New(class, tup); [all...] |
/external/python/cpython2/Objects/ |
H A D | structseq.c | 240 PyObject *tup; local 250 if ((tup = make_tuple(obj)) == NULL) { 267 val = PyTuple_GetItem(tup, i); 273 Py_DECREF(tup); 278 Py_DECREF(tup); 304 Py_DECREF(tup); 318 PyObject *tup, *result; local 319 tup = make_tuple(obj); 320 result = PySequence_Concat(tup, b); 321 Py_DECREF(tup); 328 PyObject *tup, *result; local 338 PyObject *tup; local 351 PyObject *tup; local 364 PyObject *tup, *result; local 374 PyObject* tup; local [all...] |
H A D | codeobject.c | 222 validate_and_copy_tuple(PyObject *tup) argument 228 len = PyTuple_GET_SIZE(tup); 234 item = PyTuple_GET_ITEM(tup, i);
|
H A D | dictobject.c | 19 PyObject *tup; local 20 tup = PyTuple_Pack(1, arg); 21 if (!tup) 23 PyErr_SetObject(PyExc_KeyError, tup); 24 Py_DECREF(tup);
|
H A D | setobject.c | 16 PyObject *tup; local 17 tup = PyTuple_Pack(1, arg); 18 if (!tup) 20 PyErr_SetObject(PyExc_KeyError, tup); 21 Py_DECREF(tup);
|
/external/python/cpython3/Modules/ |
H A D | timemodule.c | 563 PyObject *tup = NULL; local 582 if (!PyArg_ParseTuple(args, "U|O:strftime", &format_arg, &tup)) 585 if (tup == NULL) { 590 else if (!gettmarg(tup, &buf) || !checktm(&buf)) 765 PyObject *tup = NULL; local 768 if (!PyArg_UnpackTuple(args, "asctime", 0, 1, &tup)) 770 if (tup == NULL) { 775 } else if (!gettmarg(tup, &buf) || !checktm(&buf)) 808 time_mktime(PyObject *self, PyObject *tup) argument 812 if (!gettmarg(tup, [all...] |
H A D | _collectionsmodule.c | 1978 PyObject *tup; local 1979 tup = PyTuple_Pack(1, key); 1980 if (!tup) return NULL; 1981 PyErr_SetObject(PyExc_KeyError, tup); 1982 Py_DECREF(tup);
|
H A D | _ssl.c | 1195 PyObject *tup; local 1196 tup = PyList_AsTuple(lst); 1198 return tup; 1657 PyObject *tup = cipher_to_tuple(sk_SSL_CIPHER_value(ciphers, i)); local 1658 if (!tup) { 1662 PyList_SET_ITEM(res, i, tup); 4857 PyObject *keyusage = NULL, *cert = NULL, *enc = NULL, *tup = NULL; local 4892 if ((tup = PyTuple_New(3)) == NULL) { 4896 PyTuple_SET_ITEM(tup, 0, cert); 4898 PyTuple_SET_ITEM(tup, 4945 PyObject *crl = NULL, *enc = NULL, *tup = NULL; local [all...] |
/external/python/cpython3/Python/ |
H A D | errors.c | 138 PyObject *tup; local 139 tup = PyTuple_Pack(1, arg); 140 if (!tup) 142 PyErr_SetObject(PyExc_KeyError, tup); 143 Py_DECREF(tup);
|
H A D | import.c | 385 PyObject *tup = PyTuple_Pack(2, name, wr); \ 386 PyList_Append(weaklist, tup); \ 387 Py_XDECREF(tup); \ 440 PyObject *tup = PyList_GET_ITEM(weaklist, i); local 441 PyObject *name = PyTuple_GET_ITEM(tup, 0); 442 PyObject *mod = PyWeakref_GET_OBJECT(PyTuple_GET_ITEM(tup, 1));
|
H A D | ceval.c | 2497 PyObject *tup = PyTuple_New(oparg); local 2498 if (tup == NULL) 2502 PyTuple_SET_ITEM(tup, oparg, item); 2504 PUSH(tup);
|
/external/python/cpython3/Modules/_ctypes/ |
H A D | _ctypes.c | 3721 PyObject *tup = NULL; local 3731 /* tup will not be allocated if numretvals == 1 */ 3734 tup = PyTuple_New(numretvals); 3735 if (tup == NULL) { 3751 PyTuple_SET_ITEM(tup, index, v); 3762 PyTuple_SET_ITEM(tup, index, v); 3770 return tup;
|
/external/python/cpython2/Modules/_ctypes/ |
H A D | _ctypes.c | 3832 PyObject *tup = NULL; local 3842 /* tup will not be allocated if numretvals == 1 */ 3845 tup = PyTuple_New(numretvals); 3846 if (tup == NULL) { 3862 PyTuple_SET_ITEM(tup, index, v); 3871 PyTuple_SET_ITEM(tup, index, v); 3879 return tup;
|