Home
last modified time | relevance | path

Searched refs:xvalue (Results 1 – 12 of 12) sorted by relevance

/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5-0x.cpp6 template<typename T> T&& xvalue();
29 Base&& base0 = xvalue<Base>(); in test_rvalue_refs()
30 Base&& base1 = xvalue<Derived>(); in test_rvalue_refs()
31 int&& int0 = xvalue<int>(); in test_rvalue_refs()
80 NonCopyable &&nc2 = xvalue<NonCopyable>(); in test_direct_binding()
81 NonCopyable &&nc3 = xvalue<NonCopyableDerived>(); in test_direct_binding()
84 const NonCopyable &nc6 = xvalue<NonCopyable>(); in test_direct_binding()
85 const NonCopyable &nc7 = xvalue<NonCopyableDerived>(); in test_direct_binding()
142 base_rvalue_ref(xvalue<Base>()); in test()
143 base_rvalue_ref(xvalue<Derived>()); in test()
[all …]
/external/libcxx/test/support/
Demplace_constructible.h10 explicit EmplaceConstructible(T xvalue) : value(xvalue) {} in EmplaceConstructible()
18 explicit EmplaceConstructibleAndMoveInsertable(T xvalue) : value(xvalue) {} in EmplaceConstructibleAndMoveInsertable()
30 explicit EmplaceConstructibleAndMoveable(T xvalue) noexcept : value(xvalue) {} in EmplaceConstructibleAndMoveable()
50 explicit EmplaceConstructibleMoveableAndAssignable(T xvalue) noexcept in EmplaceConstructibleMoveableAndAssignable()
51 : value(xvalue) {} in EmplaceConstructibleMoveableAndAssignable()
66 EmplaceConstructibleMoveableAndAssignable& operator=(T xvalue) {
67 value = std::move(xvalue);
Darchetypes.hpp82 TestBase& operator=(int xvalue) noexcept { in operator =()
83 value = xvalue; in operator =()
146 TEST_CONSTEXPR_CXX14 ValueBase& operator=(int xvalue) noexcept { in operator =()
147 value = xvalue; in operator =()
/external/clang/test/CXX/over/over.match/over.match.funcs/
Dp4-0x.cpp5 template<typename T> T &&xvalue();
42 float &fr1 = xvalue<X0>().f(); in test_ref_qualifier_binding()
45 float &fr3 = xvalue<X0>().ft(2); in test_ref_qualifier_binding()
51 float &fr1 = xvalue<X0>()(); in test_ref_qualifier_binding_with_surrogates()
57 float &fr1 = xvalue<X0>() + prvalue<X0>(); in test_ref_qualifier_binding_operators()
60 float &fr3 = xvalue<X0>() + 2; in test_ref_qualifier_binding_operators()
66 float &fr1 = xvalue<X0>().h(); in test_ref_qualifier_overloading()
69 float &fr3 = xvalue<X0>().h2(); in test_ref_qualifier_overloading()
/external/clang/test/CXX/expr/expr.post/expr.static.cast/
Dp3-0x.cpp10 template<typename T> T&& xvalue();
17 A &&ar4 = static_cast<A&&>(xvalue<A>()); in test()
18 A &&ar5 = static_cast<A&&>(xvalue<B>()); in test()
23 const A &&ar10 = static_cast<const A&&>(xvalue<A>()); in test()
24 const A &&ar11 = static_cast<const A&&>(xvalue<B>()); in test()
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
Dp3-0x.cpp14 template<typename T> T&& xvalue();
19 X<int> xi1 = f0(xvalue<int>()); in test_f0()
22 X<Y> xy1 = f0(xvalue<Y>()); in test_f0()
31 X<int> xi1 = f1(xvalue<int>()); in test_f1()
34 X<Y> xy1 = f1(xvalue<Y>()); in test_f1()
/external/clang/test/CXX/expr/expr.post/expr.const.cast/
Dp1-0x.cpp12 template<typename T> T&& xvalue();
17 int *&&ptr1 = const_cast<int *&&>(xvalue<const int*>()); in test_classification()
20 X &&ptr4 = const_cast<X&&>(xvalue<X>()); in test_classification()
24 …int *&ptr7 = const_cast<int *&>(xvalue<const int*>()); // expected-error {{const_cast from rvalue … in test_classification()
27 …X &ptrA = const_cast<X&>(xvalue<X>()); // expected-error {{const_cast from rvalue to reference typ… in test_classification()
/external/clang/test/CXX/expr/expr.mptr.oper/
Dp6-0x.cpp6 template<typename T> T&& xvalue();
19 (xvalue<X>().*pmf)(17); in test()
25 …(xvalue<X>().*l_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{… in test()
31 (xvalue<X>().*r_pmf)(17); in test()
/external/clang/test/CXX/expr/expr.post/expr.reinterpret.cast/
Dp1-0x.cpp9 template<typename T> T&& xvalue();
15 int &&ir3 = reinterpret_cast<int &&>(xvalue<char>()); in test_classification()
17 int &ir4 = reinterpret_cast<int &>(xvalue<char>()); in test_classification()
/external/libcxx/test/libcxx/algorithms/
Ddebug_less.pass.cpp29 explicit MyType(int xvalue = 0) : value(xvalue) {} in MyType()
/external/fonttools/Doc/source/designspaceLib/
Dreadme.rst506 - ``xvalue``: required, number. The value on this axis.
518 <dimension name="width" xvalue="0.000000" />
519 <dimension name="weight" xvalue="0.000000" yvalue="0.003" />
655 <dimension name="width" xvalue="0.000000" />
656 <dimension name="weight" xvalue="0.000000" />
701 <dimension name="width" xvalue="400" yvalue="300" />
702 <dimension name="weight" xvalue="66" />
810 <dimension name="width" xvalue="400" yvalue="300" />
811 <dimension name="weight" xvalue="66" />
817 <dimension name="width" xvalue="100" />
[all …]
/external/libxml2/
Dxmlschemastypes.c4693 const xmlChar *xvalue, in xmlSchemaCompareValuesInternal() argument
4784 xv = xvalue; in xmlSchemaCompareValuesInternal()
4999 const xmlChar *xvalue, in xmlSchemaCompareValuesWhtspExt() argument
5006 return(xmlSchemaCompareValuesInternal(xtype, x, xvalue, xws, ytype, y, in xmlSchemaCompareValuesWhtspExt()