Home
last modified time | relevance | path

Searched full:derived (Results 1 – 25 of 20737) sorted by relevance

12345678910>>...830

/aosp_15_r20/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensorBase.h28 template<typename Derived>
29 class TensorBase<Derived, ReadOnlyAccessors>
32 typedef internal::traits<Derived> DerivedTraits;
40 EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<CustomNullaryOp, const Derived>
42 return TensorCwiseNullaryOp<CustomNullaryOp, const Derived>(derived(), func); in nullaryExpr()
47 …EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<internal::scalar_constant_op<Scalar>, const Derived>
53 …N_STRONG_INLINE const TensorCwiseNullaryOp<internal::UniformRandomGenerator<Scalar>, const Derived>
58 EIGEN_STRONG_INLINE const TensorCwiseNullaryOp<RandomGenerator, const Derived>
65 EIGEN_STRONG_INLINE const TensorGeneratorOp<Generator, const Derived>
67 return TensorGeneratorOp<Generator, const Derived>(derived(), generator); in generate()
[all …]
/aosp_15_r20/external/libcxxabi/test/
H A Dcatch_pointer_reference.pass.cpp36 struct Derived : Base {}; struct
38 struct Ambiguous : Derived, Derived2 {};
103 // Derived * in f1()
104 assert_catches< Base * , Derived *, Derived>(); in f1()
105 assert_catches<const Base * , Derived *, Derived>(); in f1()
106 assert_catches< volatile Base * , Derived *, Derived>(); in f1()
107 assert_catches<const volatile Base * , Derived *, Derived>(); in f1()
108 assert_catches< Base * const , Derived *, Derived>(); in f1()
109 assert_catches<const Base * const , Derived *, Derived>(); in f1()
110 assert_catches< volatile Base * const , Derived *, Derived>(); in f1()
[all …]
/aosp_15_r20/external/cronet/third_party/libc++abi/src/test/
H A Dcatch_pointer_reference.pass.cpp35 struct Derived : Base {}; struct
37 struct Ambiguous : Derived, Derived2 {};
102 // Derived * in f1()
103 assert_catches< Base * , Derived *, Derived>(); in f1()
104 assert_catches<const Base * , Derived *, Derived>(); in f1()
105 assert_catches< volatile Base * , Derived *, Derived>(); in f1()
106 assert_catches<const volatile Base * , Derived *, Derived>(); in f1()
107 assert_catches< Base * const , Derived *, Derived>(); in f1()
108 assert_catches<const Base * const , Derived *, Derived>(); in f1()
109 assert_catches< volatile Base * const , Derived *, Derived>(); in f1()
[all …]
/aosp_15_r20/external/icu/icu4c/source/i18n/
H A Dnumber_fluent.cpp34 template<typename Derived>
35 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation) const& { in notation()
36 Derived copy(*this); in notation()
42 template<typename Derived>
43 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation)&& { in notation()
44 Derived move(std::move(*this)); in notation()
50 template<typename Derived>
51 Derived NumberFormatterSettings<Derived>::unit(const icu::MeasureUnit& unit) const& { in unit()
52 Derived copy(*this); in unit()
59 template<typename Derived>
[all …]
/aosp_15_r20/external/cronet/third_party/icu/source/i18n/
H A Dnumber_fluent.cpp34 template<typename Derived>
35 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation) const& { in notation()
36 Derived copy(*this); in notation()
42 template<typename Derived>
43 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation)&& { in notation()
44 Derived move(std::move(*this)); in notation()
50 template<typename Derived>
51 Derived NumberFormatterSettings<Derived>::unit(const icu::MeasureUnit& unit) const& { in unit()
52 Derived copy(*this); in unit()
59 template<typename Derived>
[all …]
H A Dnumrange_fluent.cpp30 template<typename Derived>
31 Derived NumberRangeFormatterSettings<Derived>::numberFormatterBoth(const UnlocalizedNumberFormatter… in numberFormatterBoth()
32 Derived copy(*this); in numberFormatterBoth()
39 template<typename Derived>
40 Derived NumberRangeFormatterSettings<Derived>::numberFormatterBoth(const UnlocalizedNumberFormatter… in numberFormatterBoth()
41 Derived move(std::move(*this)); in numberFormatterBoth()
48 template<typename Derived>
49 Derived NumberRangeFormatterSettings<Derived>::numberFormatterBoth(UnlocalizedNumberFormatter&& for… in numberFormatterBoth()
50 Derived copy(*this); in numberFormatterBoth()
57 template<typename Derived>
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/AST/
DAttrVisitor.inc1619 template <typename Derived>
1620 bool VISITORCLASS<Derived>::TraverseAArch64SVEPcsAttr(AArch64SVEPcsAttr *A) {
1628 template <typename Derived>
1629 bool VISITORCLASS<Derived>::TraverseAArch64VectorPcsAttr(AArch64VectorPcsAttr *A) {
1637 template <typename Derived>
1638 bool VISITORCLASS<Derived>::TraverseAMDGPUFlatWorkGroupSizeAttr(AMDGPUFlatWorkGroupSizeAttr *A) {
1650 template <typename Derived>
1651 bool VISITORCLASS<Derived>::TraverseAMDGPUKernelCallAttr(AMDGPUKernelCallAttr *A) {
1659 template <typename Derived>
1660 bool VISITORCLASS<Derived>::TraverseAMDGPUMaxNumWorkGroupsAttr(AMDGPUMaxNumWorkGroupsAttr *A) {
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/AST/
DAttrVisitor.inc1611 template <typename Derived>
1612 bool VISITORCLASS<Derived>::TraverseAArch64SVEPcsAttr(AArch64SVEPcsAttr *A) {
1620 template <typename Derived>
1621 bool VISITORCLASS<Derived>::TraverseAArch64VectorPcsAttr(AArch64VectorPcsAttr *A) {
1629 template <typename Derived>
1630 bool VISITORCLASS<Derived>::TraverseAMDGPUFlatWorkGroupSizeAttr(AMDGPUFlatWorkGroupSizeAttr *A) {
1642 template <typename Derived>
1643 bool VISITORCLASS<Derived>::TraverseAMDGPUKernelCallAttr(AMDGPUKernelCallAttr *A) {
1651 template <typename Derived>
1652 bool VISITORCLASS<Derived>::TraverseAMDGPUMaxNumWorkGroupsAttr(AMDGPUMaxNumWorkGroupsAttr *A) {
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/AST/
DAttrVisitor.inc1611 template <typename Derived>
1612 bool VISITORCLASS<Derived>::TraverseAArch64SVEPcsAttr(AArch64SVEPcsAttr *A) {
1620 template <typename Derived>
1621 bool VISITORCLASS<Derived>::TraverseAArch64VectorPcsAttr(AArch64VectorPcsAttr *A) {
1629 template <typename Derived>
1630 bool VISITORCLASS<Derived>::TraverseAMDGPUFlatWorkGroupSizeAttr(AMDGPUFlatWorkGroupSizeAttr *A) {
1642 template <typename Derived>
1643 bool VISITORCLASS<Derived>::TraverseAMDGPUKernelCallAttr(AMDGPUKernelCallAttr *A) {
1651 template <typename Derived>
1652 bool VISITORCLASS<Derived>::TraverseAMDGPUMaxNumWorkGroupsAttr(AMDGPUMaxNumWorkGroupsAttr *A) {
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/AST/
DAttrVisitor.inc1563 template <typename Derived>
1564 bool VISITORCLASS<Derived>::TraverseAArch64SVEPcsAttr(AArch64SVEPcsAttr *A) {
1572 template <typename Derived>
1573 bool VISITORCLASS<Derived>::TraverseAArch64VectorPcsAttr(AArch64VectorPcsAttr *A) {
1581 template <typename Derived>
1582 bool VISITORCLASS<Derived>::TraverseAMDGPUFlatWorkGroupSizeAttr(AMDGPUFlatWorkGroupSizeAttr *A) {
1594 template <typename Derived>
1595 bool VISITORCLASS<Derived>::TraverseAMDGPUKernelCallAttr(AMDGPUKernelCallAttr *A) {
1603 template <typename Derived>
1604 bool VISITORCLASS<Derived>::TraverseAMDGPUNumSGPRAttr(AMDGPUNumSGPRAttr *A) {
[all …]
/aosp_15_r20/out/soong/.intermediates/external/clang/clang-gen-attributes/gen/clang/AST/
DAttrVisitor.inc806 template <typename Derived>
807 bool VISITORCLASS<Derived>::TraverseAMDGPUNumSGPRAttr(AMDGPUNumSGPRAttr *A) {
815 template <typename Derived>
816 bool VISITORCLASS<Derived>::TraverseAMDGPUNumVGPRAttr(AMDGPUNumVGPRAttr *A) {
824 template <typename Derived>
825 bool VISITORCLASS<Derived>::TraverseARMInterruptAttr(ARMInterruptAttr *A) {
833 template <typename Derived>
834 bool VISITORCLASS<Derived>::TraverseAbiTagAttr(AbiTagAttr *A) {
842 template <typename Derived>
843 bool VISITORCLASS<Derived>::TraverseAcquireCapabilityAttr(AcquireCapabilityAttr *A) {
[all …]
/aosp_15_r20/external/eigen/Eigen/src/Core/
H A DCwiseNullaryOp.h106 template<typename Derived>
110 const CwiseNullaryOp<CustomNullaryOp,typename DenseBase<Derived>::PlainObject>
114 DenseBase<Derived>::NullaryExpr(Index rows, Index cols, const CustomNullaryOp& func)
137 template<typename Derived>
141 const CwiseNullaryOp<CustomNullaryOp, typename DenseBase<Derived>::PlainObject>
145 DenseBase<Derived>::NullaryExpr(Index size, const CustomNullaryOp& func)
147 EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived)
161 template<typename Derived>
165 const CwiseNullaryOp<CustomNullaryOp, typename DenseBase<Derived>::PlainObject>
169 DenseBase<Derived>::NullaryExpr(const CustomNullaryOp& func)
[all …]
H A DDenseCoeffsBase.h24 * \tparam Derived Type of the derived class
31 * \sa DenseCoeffsBase<Derived, WriteAccessors>, DenseCoeffsBase<Derived, DirectAccessors>,
34 template<typename Derived>
35 class DenseCoeffsBase<Derived,ReadOnlyAccessors> : public EigenBase<Derived>
38 typedef typename internal::traits<Derived>::StorageKind StorageKind;
39 typedef typename internal::traits<Derived>::Scalar Scalar;
49 typedef typename internal::conditional<bool(internal::traits<Derived>::Flags&LvalueBit),
58 typedef EigenBase<Derived> Base;
62 using Base::derived;
67 return int(Derived::RowsAtCompileTime) == 1 ? 0 in rowIndexByOuterInner()
[all …]
H A DDenseBase.h34 * \tparam Derived is the derived type, e.g., a matrix type or an expression.
41 template<typename Derived> class DenseBase
43 : public DenseCoeffsBase<Derived, internal::accessors_level<Derived>::value>
45 : public DenseCoeffsBase<Derived,DirectWriteAccessors>
53 typedef Eigen::InnerIterator<Derived> InnerIterator;
55 typedef typename internal::traits<Derived>::StorageKind StorageKind;
63 typedef typename internal::traits<Derived>::StorageIndex StorageIndex;
66 typedef typename internal::traits<Derived>::Scalar Scalar;
74 typedef DenseCoeffsBase<Derived, internal::accessors_level<Derived>::value> Base;
76 using Base::derived;
[all …]
H A DStlIterators.h20 template<typename Derived>
24 typedef indexed_based_stl_iterator_traits<Derived> traits;
50 Derived& operator++() { ++m_index; return derived(); }
51 Derived& operator--() { --m_index; return derived(); }
53 Derived operator++(int) { Derived prev(derived()); operator++(); return prev;}
54 Derived operator--(int) { Derived prev(derived()); operator--(); return prev;}
56 …friend Derived operator+(const indexed_based_stl_iterator_base& a, Index b) { Derived ret(a.derive…
57 …friend Derived operator-(const indexed_based_stl_iterator_base& a, Index b) { Derived ret(a.derive…
58 …friend Derived operator+(Index a, const indexed_based_stl_iterator_base& b) { Derived ret(b.derive…
59 …friend Derived operator-(Index a, const indexed_based_stl_iterator_base& b) { Derived ret(b.derive…
[all …]
/aosp_15_r20/external/grpc-grpc/src/core/lib/channel/
H A Dpromise_based_filter.h185 template <typename Derived>
187 return HasAsyncErrorInterceptor(&Derived::Call::OnClientToServerMessage, in CallHasAsyncErrorInterceptor()
188 &Derived::Call::OnServerInitialMetadata, in CallHasAsyncErrorInterceptor()
189 &Derived::Call::OnServerToClientMessage); in CallHasAsyncErrorInterceptor()
226 template <typename Derived>
228 return HasChannelAccess(&Derived::Call::OnClientInitialMetadata, in CallHasChannelAccess()
229 &Derived::Call::OnClientToServerMessage, in CallHasChannelAccess()
230 &Derived::Call::OnServerInitialMetadata, in CallHasChannelAccess()
231 &Derived::Call::OnServerToClientMessage, in CallHasChannelAccess()
232 &Derived::Call::OnServerTrailingMetadata, in CallHasChannelAccess()
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/type_index/include/boost/type_index/
Dtype_index_facade.hpp54 /// \tparam Derived Class derived from type_index_facade.
57 /// Protected member functions raw_name() \b must be defined in Derived class. All the other
61 template <class Derived, class TypeInfo>
65 BOOST_CXX14_CONSTEXPR const Derived & derived() const BOOST_NOEXCEPT { in derived() function in boost::typeindex::type_index_facade
66 return *static_cast<Derived const*>(this); in derived()
72 … /// \b Override: This function \b may be redefined in Derived class. Overrides \b must not throw.
73 /// \return Name of a type. By default returns Derived::raw_name().
75 return derived().raw_name(); in name()
78 /// \b Override: This function \b may be redefined in Derived class. Overrides may throw.
79 /// \return Human readable type name. By default returns Derived::name().
[all …]
/aosp_15_r20/external/eigen/unsupported/Eigen/src/SpecialFunctions/
H A DBesselFunctionsArrayAPI.h29 template <typename Derived>
31 Eigen::internal::scalar_bessel_i0_op<typename Derived::Scalar>, const Derived>
32 bessel_i0(const Eigen::ArrayBase<Derived>& x) { in bessel_i0()
34 Eigen::internal::scalar_bessel_i0_op<typename Derived::Scalar>, in bessel_i0()
35 const Derived>(x.derived()); in bessel_i0()
52 template <typename Derived>
54 Eigen::internal::scalar_bessel_i0e_op<typename Derived::Scalar>, const Derived>
55 bessel_i0e(const Eigen::ArrayBase<Derived>& x) { in bessel_i0e()
57 Eigen::internal::scalar_bessel_i0e_op<typename Derived::Scalar>, in bessel_i0e()
58 const Derived>(x.derived()); in bessel_i0e()
[all …]
/aosp_15_r20/external/eigen/Eigen/src/Core/util/
H A DSymbolicIndex.h76 template<typename Derived>
80 const Derived& derived() const { return *static_cast<const Derived*>(this); } in derived() function
89 Index eval(const T& values) const { return derived().eval_impl(values); } in eval()
93 Index eval(Types&&... values) const { return derived().eval_impl(std::make_tuple(values...)); } in eval()
96 NegateExpr<Derived> operator-() const { return NegateExpr<Derived>(derived()); }
98 AddExpr<Derived,ValueExpr<> > operator+(Index b) const
99 { return AddExpr<Derived,ValueExpr<> >(derived(), b); }
100 AddExpr<Derived,ValueExpr<> > operator-(Index a) const
101 { return AddExpr<Derived,ValueExpr<> >(derived(), -a); }
102 ProductExpr<Derived,ValueExpr<> > operator*(Index a) const
[all …]
/aosp_15_r20/external/pigweed/pw_allocator/block/public/pw_allocator/block/
H A Dallocatable.h39 /// This mix-in requires its derived type also derive from `ContiguousBlock`
48 template <typename Derived>
52 // Assert within a function, since `Derived` is not complete when this type in AllocatableBlock()
54 static_assert(is_contiguous_v<Derived>, in AllocatableBlock()
55 "Types derived from AllocatableBlock must also derive from " in AllocatableBlock()
125 static BlockResult<Derived> AllocFirst(Derived*&& block, Layout layout);
156 static BlockResult<Derived> AllocLast(Derived*&& block, Layout layout);
184 BlockResult<Derived> Resize(size_t new_inner_size);
194 static BlockResult<Derived> Free(Derived*&& block);
201 static BlockResult<Derived> DoAllocFirst(Derived*&& block, Layout layout);
[all …]
H A Dcontiguous.h37 /// This mix-in requires its derived type also derive from `BasicBlock`, and
42 /// - static Derived* AsBlock(BytesSpan)
49 template <typename Derived>
53 // Assert within a function, since `Derived` is not complete when this type in ContiguousBlock()
56 is_block_v<Derived>, in ContiguousBlock()
57 "Types derived from ContiguousBlock must also derive from BasicBlock"); in ContiguousBlock()
61 static constexpr size_t kMaxAddressableSize = Derived::MaxAddressableSize();
78 static Result<Derived*> Init(ByteSpan region);
82 inline Derived* Prev() const;
86 inline Derived* Next() const;
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/multi_index/include/boost/multi_index/detail/
Diter_adaptor.hpp82 template<class Derived,class Base>
85 Derived,
99 friend bool operator==(const Derived& x,const Derived& y) in operator ==()
104 Derived& operator++() in operator ++()
111 Derived& final(){return *static_cast<Derived*>(this);} in final()
112 const Derived& final()const{return *static_cast<const Derived*>(this);} in final()
115 template<class Derived,class Base>
117 const forward_iter_adaptor_base<Derived,Base>& x, in operator ==() argument
118 const forward_iter_adaptor_base<Derived,Base>& y) in operator ==()
121 static_cast<const Derived&>(x),static_cast<const Derived&>(y)); in operator ==()
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/conversion/test/
Dpolymorphic_cast_test.cpp64 struct Derived : public Base, Base2 struct
66 virtual std::string kind() { return "Derived"; } in kind() argument
71 Base * base = new Derived; in test_polymorphic_cast()
73 Derived * derived; in test_polymorphic_cast() local
77 derived = boost::polymorphic_cast<Derived*>( base ); in test_polymorphic_cast()
79 BOOST_TEST( derived != 0 ); in test_polymorphic_cast()
81 if( derived != 0 ) in test_polymorphic_cast()
83 BOOST_TEST_EQ( derived->kind(), "Derived" ); in test_polymorphic_cast()
88 BOOST_ERROR( "boost::polymorphic_cast<Derived*>( base ) threw std::bad_cast" ); in test_polymorphic_cast()
114 Base * base = new Derived; in test_polymorphic_pointer_cast()
[all …]
/aosp_15_r20/external/pigweed/pw_sync/pw_sync_private/
H A Dborrow_lockable_tests.h48 struct Derived : public Base { struct
92 Derived derived;
93 Borrowable<Derived, Lock> borrowable(derived, lock);
95 BorrowedPointer<Derived, Lock> borrowed = borrowable.acquire();
97 EXPECT_EQ(borrowed->value, Derived::kInitialValue);
101 EXPECT_EQ(derived.value, 13);
107 Derived derived;
108 Borrowable<Derived, Lock> borrowable(derived, lock);
109 const Borrowable<Derived, Lock> const_borrowable(borrowable);
111 BorrowedPointer<Derived, Lock> borrowed = const_borrowable.acquire();
[all …]
/aosp_15_r20/external/mesa3d/src/freedreno/isa/
H A Dir3-cat5.xml46 <derived name="BASE" type="uint">
48 </derived>
61 <derived name="DST_HALF" expr="#type-half" type="bool" display="h"/>
63 <derived name="HALF" expr="#multisrc-half" type="bool" display="h"/>
126 <derived name="SRC2_IMM_OFFSET" expr="#false" type="bool"/>
127 <derived name="P" expr="#false" type="bool" display=""/>
128 <derived name="1D" expr="#false" type="bool" display=""/>
152 <derived name="BINDLESS" expr="#cat5-s2enb-is-bindless" type="bool"/>
153 <derived name="S2EN" expr="#cat5-s2enb-is-indirect" type="bool" display=".s2en"/>
154 <derived name="UNIFORM" expr="#cat5-s2enb-is-uniform" type="bool" display=".uniform"/>
[all …]

12345678910>>...830