Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/memory/default.allocator/
Dallocator_pointers.pass.cpp38 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/
Dallocator_pointers.pass.cpp39 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/
Dp2.cpp107 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()
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.c2766 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/
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);