Home
last modified time | relevance | path

Searched refs:cvp (Results 1 – 10 of 10) 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/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.c2773 xmlValidCtxtPtr cvp; in parseAndPrintFile() local
2775 if ((cvp = xmlNewValidCtxt()) == NULL) { in parseAndPrintFile()
2780 cvp->userData = (void *) stderr; in parseAndPrintFile()
2781 cvp->error = (xmlValidityErrorFunc) fprintf; in parseAndPrintFile()
2782 cvp->warning = (xmlValidityWarningFunc) fprintf; in parseAndPrintFile()
2787 if (!xmlValidateDtd(cvp, doc, dtd)) { in parseAndPrintFile()
2801 xmlFreeValidCtxt(cvp); in parseAndPrintFile()
2805 xmlValidCtxtPtr cvp; in parseAndPrintFile() local
2807 if ((cvp = xmlNewValidCtxt()) == NULL) { in parseAndPrintFile()
2816 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/valgrind/coregrind/m_syswrap/
Dsyswrap-solaris.c6999 PRE_REG_READ4(long, "lwp_cond_wait", vki_lwp_cond_t *, cvp,
7002 vki_lwp_cond_t *cvp = (vki_lwp_cond_t *) ARG1; local
7004 PRE_FIELD_READ("lwp_cond_wait(cvp->type)", cvp->vki_cond_type);
7006 cvp->vki_cond_waiters_kernel);
7015 vki_lwp_cond_t *cvp = (vki_lwp_cond_t *) ARG1; local
7017 POST_FIELD_WRITE(cvp->vki_cond_waiters_kernel);
7028 PRE_REG_READ1(long, "lwp_cond_broadcast", vki_lwp_cond_t *, cvp);
7030 vki_lwp_cond_t *cvp = (vki_lwp_cond_t *) ARG1; local
7031 PRE_FIELD_READ("lwp_cond_broadcast(cvp->type)", cvp->vki_cond_type);
7033 cvp->vki_cond_waiters_kernel);
[all …]
/external/valgrind/memcheck/tests/solaris/
Dscalar.stderr.exp2596 Syscall param lwp_cond_wait(cvp) contains uninitialised byte(s)
2631 Syscall param lwp_cond_broadcast(cvp) contains uninitialised byte(s)