/external/libcxx/test/std/utilities/memory/default.allocator/ |
D | allocator_pointers.pass.cpp | 38 typename std::allocator_traits<Alloc>::const_pointer cvp; in test_pointer() local 47 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer() 48 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer() 49 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer() 50 static_assert(std::is_same<bool, decltype(cvp != vp)>::value, ""); in test_pointer() 51 static_assert(std::is_same<bool, decltype( vp > cvp)>::value, ""); in test_pointer() 52 static_assert(std::is_same<bool, decltype(cvp > vp)>::value, ""); 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() [all …]
|
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/ |
D | allocator_pointers.pass.cpp | 39 typename std::allocator_traits<Alloc>::const_pointer cvp; in test_pointer() local 48 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer() 49 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer() 50 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer() 51 static_assert(std::is_same<bool, decltype(cvp != vp)>::value, ""); 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() [all …]
|
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/ |
D | p2.cpp | 107 void test_x0_cvvoid(N0::X0<const volatile void*> x0, const volatile void *cvp) { in test_x0_cvvoid() argument 108 x0.f1(cvp); // okay: we've explicitly specialized in test_x0_cvvoid() 235 void test_func_template(N0::X0<void *> xvp, void *vp, const void *cvp, in test_func_template() argument 237 xvp.ft1(vp, cvp); in test_func_template()
|
D | p2-0x.cpp | 146 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()
|
D | p1.cpp | 91 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/ |
D | xmllint.c | 2766 xmlValidCtxtPtr cvp; in parseAndPrintFile() local 2768 if ((cvp = xmlNewValidCtxt()) == NULL) { in parseAndPrintFile() 2773 cvp->userData = (void *) stderr; in parseAndPrintFile() 2774 cvp->error = (xmlValidityErrorFunc) fprintf; in parseAndPrintFile() 2775 cvp->warning = (xmlValidityWarningFunc) fprintf; in parseAndPrintFile() 2780 if (!xmlValidateDtd(cvp, doc, dtd)) { in parseAndPrintFile() 2794 xmlFreeValidCtxt(cvp); in parseAndPrintFile() 2798 xmlValidCtxtPtr cvp; in parseAndPrintFile() local 2800 if ((cvp = xmlNewValidCtxt()) == NULL) { in parseAndPrintFile() 2809 cvp->userData = (void *) stderr; in parseAndPrintFile() [all …]
|
/external/clang/test/CXX/drs/ |
D | dr1xx.cpp | 406 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);
|