Home
last modified time | relevance | path

Searched refs:cvp (Results 1 – 11 of 11) sorted by relevance

/external/libcxx/test/std/utilities/memory/default.allocator/
Dallocator_pointers.pass.cpp40 typename std::allocator_traits<Alloc>::const_pointer cvp; in test_pointer() local
43 ((void)cvp); // Prevent unused warning in test_pointer()
52 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer()
53 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer()
54 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer()
55 static_assert(std::is_same<bool, decltype(cvp != vp)>::value, ""); in test_pointer()
56 static_assert(std::is_same<bool, decltype( vp > cvp)>::value, ""); in test_pointer()
57 static_assert(std::is_same<bool, decltype(cvp > vp)>::value, ""); in test_pointer()
58 static_assert(std::is_same<bool, decltype( vp >= cvp)>::value, ""); in test_pointer()
59 static_assert(std::is_same<bool, decltype(cvp >= vp)>::value, ""); in test_pointer()
[all …]
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/
Dallocator_pointers.pass.cpp41 typename std::allocator_traits<Alloc>::const_pointer cvp; in test_pointer() local
44 ((void)cvp); // Prevent unused warning in test_pointer()
53 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer()
54 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer()
55 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer()
56 static_assert(std::is_same<bool, decltype(cvp != vp)>::value, ""); in test_pointer()
57 static_assert(std::is_same<bool, decltype( vp > cvp)>::value, ""); in test_pointer()
58 static_assert(std::is_same<bool, decltype(cvp > vp)>::value, ""); in test_pointer()
59 static_assert(std::is_same<bool, decltype( vp >= cvp)>::value, ""); in test_pointer()
60 static_assert(std::is_same<bool, decltype(cvp >= vp)>::value, ""); in test_pointer()
[all …]
/external/python/pybind11/tests/
Dtest_opaque_types.py18 cvp = m.ClassWithSTLVecProperty()
19 assert m.print_opaque_list(cvp.stringList) == "Opaque list: []"
21 cvp.stringList = lst
22 cvp.stringList.push_back("Element 3")
23 assert m.print_opaque_list(cvp.stringList) == "Opaque list: [Element 1, Element 3]"
/external/clang/test/SemaCXX/
Derr_reference_bind_drops_quals.cpp6 volatile ptr vp, const volatile ptr cvp, restrict volatile ptr rvp, in test1() argument
13 ptr& p6 = cvp; // expected-error {{drops 'const' and 'volatile' qualifiers}} in test1()
22 const ptr& cp6 = cvp; // expected-error {{drops 'volatile' qualifier}} in test1()
31 const volatile ptr& cvp6 = cvp; in test1()
40 const restrict volatile ptr& crvp6 = cvp; in test1()
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
Dp2.cpp141 void test_x0_cvvoid(N0::X0<const volatile void*> x0, const volatile void *cvp) { in test_x0_cvvoid() argument
142 x0.f1(cvp); // okay: we've explicitly specialized in test_x0_cvvoid()
281 void test_func_template(N0::X0<void *> xvp, void *vp, const void *cvp, in test_func_template() argument
283 xvp.ft1(vp, cvp); in test_func_template()
Dp2-0x.cpp146 void test_x0_cvvoid(N0::X0<const volatile void*> x0, const volatile void *cvp) { in test_x0_cvvoid() argument
147 x0.f1(cvp); // okay: we've explicitly specialized in test_x0_cvvoid()
274 void test_func_template(N0::X0<void *> xvp, void *vp, const void *cvp, in test_func_template() argument
276 xvp.ft1(vp, cvp); in test_func_template()
Dp1.cpp91 void test_func_template(X0<void *> xvp, void *vp, const void *cvp) { in test_func_template() argument
92 xvp.ft1(vp, cvp); in test_func_template()
/external/libxml2/
Dxmllint.c2756 xmlValidCtxtPtr cvp; in parseAndPrintFile() local
2758 if ((cvp = xmlNewValidCtxt()) == NULL) { in parseAndPrintFile()
2763 cvp->userData = (void *) stderr; in parseAndPrintFile()
2764 cvp->error = (xmlValidityErrorFunc) fprintf; in parseAndPrintFile()
2765 cvp->warning = (xmlValidityWarningFunc) fprintf; in parseAndPrintFile()
2770 if (!xmlValidateDtd(cvp, doc, dtd)) { in parseAndPrintFile()
2784 xmlFreeValidCtxt(cvp); in parseAndPrintFile()
2788 xmlValidCtxtPtr cvp; in parseAndPrintFile() local
2790 if ((cvp = xmlNewValidCtxt()) == NULL) { in parseAndPrintFile()
2799 cvp->userData = (void *) stderr; in parseAndPrintFile()
[all …]
/external/clang/test/CXX/drs/
Ddr1xx.cpp406 extern const volatile void *cvp;
410 int *qcv = static_cast<int*>(cvp); // expected-error {{casts away qualifiers}}
414 const int *cqcv = static_cast<const int*>(cvp); // expected-error {{casts away qualifiers}}
418 const volatile int *cvqcv = static_cast<const volatile int*>(cvp);
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/CorrelatedValuePropagation/
Dadd.ll1 ; RUN: opt < %s -correlated-propagation -cvp-dont-process-adds=false -S | FileCheck %s
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/
Dinternal_raw_IPA-old.txt47127 cvp %13716