Searched refs:Derived (Results 1 - 25 of 113) sorted by relevance

12345

/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/
H A Dmb-ctor.cc24 class Derived : public virtual Base class in inherits:Base
27 Derived(int i);
28 ~Derived();
34 Derived::Derived(int i) : Base(i) function in class:Derived
46 Derived::~Derived()
48 printf("~Derived\n");
51 class DeeplyDerived : public Derived
54 DeeplyDerived(int i) : Base(i), Derived(
[all...]
H A Ddestrprint.cc17 class Derived : public Base class in inherits:Base
22 Derived() : Base(), z(23) function in class:Derived
26 ~Derived()
33 Derived d;
H A Dtypeid.cc38 struct Derived : public VB1, VB2 struct in inherits:VB1,VB2
42 Derived d;
H A Dtypeid.exp52 # typeid for these is Derived. Don't try these tests until the
55 foreach der_var {*b *vb1 *vb2 *bv d {const Derived} {const Derived &}} {
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.cp/
H A Ddestrprint.cc17 class Derived : public Base class in inherits:Base
22 Derived() : Base(), z(23) function in class:Derived
26 ~Derived()
33 Derived d;
H A Dmb-ctor.cc24 class Derived : public virtual Base class in inherits:Base
27 Derived(int i);
28 ~Derived();
34 Derived::Derived(int i) : Base(i) function in class:Derived
46 Derived::~Derived()
48 printf("~Derived\n");
51 class DeeplyDerived : public Derived
54 DeeplyDerived(int i) : Base(i), Derived(
[all...]
H A Dcasts.cc23 struct Derived : public Alpha struct in inherits:Alpha
45 Derived derived;
H A Dtypeid.cc38 struct Derived : public VB1, VB2 struct in inherits:VB1,VB2
42 Derived d;
H A Dtypeid.exp44 # typeid for these is Derived. Don't try these tests until the
47 foreach der_var {*b *vb1 *vb2 *bv d {const Derived} {const Derived &}} {
H A Drvalue-ref-casts.cc44 struct Derived : public Alpha struct in inherits:Alpha
68 Derived derived;
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dvector-builder.h51 The derived class Derived provides the functionality of this class
52 for specific Ts. Derived needs to provide the following interface:
111 template<typename T, typename Shape, typename Derived>
125 bool operator == (const Derived &) const;
126 bool operator != (const Derived &x) const { return !operator == (x); }
145 Derived *derived () { return static_cast<Derived *> (this); }
146 const Derived *derived () const;
153 template<typename T, typename Shape, typename Derived>
154 inline const Derived *
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dvector-builder.h51 The derived class Derived provides the functionality of this class
52 for specific Ts. Derived needs to provide the following interface:
111 template<typename T, typename Shape, typename Derived>
125 bool operator == (const Derived &) const;
126 bool operator != (const Derived &x) const { return !operator == (x); }
145 Derived *derived () { return static_cast<Derived *> (this); }
146 const Derived *derived () const;
153 template<typename T, typename Shape, typename Derived>
154 inline const Derived *
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.mi/
H A Dmi-var-rtti.cc22 struct Derived : public Base { struct in inherits:Base
23 Derived() : B(2), C(3) {} function in struct:Derived
32 Derived d;
47 check_new_derived_with_rtti ptr {Derived \*} $testname
48 check_new_derived_with_rtti constPtr {const Derived \*} $testname
49 check_new_derived_with_rtti ptrConst {Derived \* const} $testname
50 check_new_derived_with_rtti constPtrConst {const Derived \* const} \
61 Derived d;
71 check_new_derived_with_rtti ref {Derived \&} $testname
72 check_new_derived_with_rtti constRef {const Derived \
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.mi/
H A Dmi-var-rtti.cc22 struct Derived : public Base { struct in inherits:Base
23 Derived() : B(2), C(3) {} function in struct:Derived
32 Derived d;
47 check_new_derived_with_rtti ptr {Derived \*} $testname
48 check_new_derived_with_rtti constPtr {const Derived \*} $testname
49 check_new_derived_with_rtti ptrConst {Derived \* const} $testname
50 check_new_derived_with_rtti constPtrConst {const Derived \* const} \
61 Derived d;
71 check_new_derived_with_rtti ref {Derived \&} $testname
72 check_new_derived_with_rtti constRef {const Derived \
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DIndirectThunks.h24 template <typename Derived> class ThunkInserter {
25 Derived &getDerived() { return *static_cast<Derived *>(this); }
42 template <typename Derived>
43 void ThunkInserter<Derived>::createThunkFunction(MachineModuleInfo &MMI,
85 template <typename Derived>
86 bool ThunkInserter<Derived>::run(MachineModuleInfo &MMI, MachineFunction &MF) {
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
H A Dubsan_type_hash_itanium.cc113 /// \brief Determine whether \p Derived has a \p Base base class subobject at
115 static bool isDerivedFromAtOffset(const abi::__class_type_info *Derived, argument
118 if (Derived->__type_name == Base->__type_name ||
120 Derived->__type_name[0] != '*' &&
121 !internal_strcmp(Derived->__type_name, Base->__type_name)))
125 dynamic_cast<const abi::__si_class_type_info*>(Derived))
129 dynamic_cast<const abi::__vmi_class_type_info*>(Derived);
154 /// \brief Find the derived-most dynamic base class of \p Derived at offset
157 const abi::__class_type_info *Derived, sptr Offset) {
159 return Derived;
156 findBaseAtOffset( const abi::__class_type_info *Derived, sptr Offset) argument
231 abi::__class_type_info *Derived = local
[all...]
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/ubsan/
H A Dubsan_type_hash_itanium.cc115 /// \brief Determine whether \p Derived has a \p Base base class subobject at
117 static bool isDerivedFromAtOffset(const abi::__class_type_info *Derived, argument
120 if (Derived->__type_name == Base->__type_name ||
122 !internal_strcmp(Derived->__type_name, Base->__type_name)))
126 dynamic_cast<const abi::__si_class_type_info*>(Derived))
130 dynamic_cast<const abi::__vmi_class_type_info*>(Derived);
155 /// \brief Find the derived-most dynamic base class of \p Derived at offset
158 const abi::__class_type_info *Derived, sptr Offset) {
160 return Derived;
163 dynamic_cast<const abi::__si_class_type_info*>(Derived))
157 findBaseAtOffset( const abi::__class_type_info *Derived, sptr Offset) argument
232 abi::__class_type_info *Derived = local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.guile/
H A Dscm-value.c48 struct Derived : public Base {
51 Base *base = new Derived ();
52 Derived derived;
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.guile/
H A Dscm-value.c48 struct Derived : public Base {
51 Base *base = new Derived ();
52 Derived derived;
/netbsd-current/external/apache2/llvm/dist/clang/utils/TableGen/
H A DClangSyntaxEmitter.cpp47 for (llvm::Record *Derived : Records.getAllDerivedDefinitions("NodeType"))
48 if (llvm::Record *Base = Derived->getValueAsOptionalDef("base"))
49 link(Derived, Base);
51 llvm::sort(N.Derived, [](const NodeType *L, const NodeType *R) {
56 N.Record->isSubClassOf("External") || N.Derived.empty());
57 assert(!N.Record->isSubClassOf("Alternatives") || !N.Derived.empty());
64 std::vector<const NodeType *> Derived; member in struct:__anon1214::Hierarchy::NodeType
80 for (const NodeType *D : Start->Derived)
93 void link(const llvm::Record *Derived, const llvm::Record *Base) { argument
94 auto &CN = get(Derived
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DRecursiveASTVisitor.h164 template <typename Derived> class RecursiveASTVisitor {
175 Derived &getDerived() { return *static_cast<Derived *>(this); }
352 decltype(&Derived::Traverse##NAME)>::value \
356 decltype(&Derived::Traverse##NAME)>::value, \
357 Derived &, RecursiveASTVisitor &>>(*this) \
510 template <typename Derived>
511 bool RecursiveASTVisitor<Derived>::dataTraverseNode(Stmt *S,
529 template <typename Derived>
530 bool RecursiveASTVisitor<Derived>
[all...]
H A DNonTrivialTypeVisitor.h21 template <class Derived, class RetTy = void> struct DestructedTypeVisitor {
46 Derived &asDerived() { return static_cast<Derived &>(*this); }
49 template <class Derived, class RetTy = void>
74 Derived &asDerived() { return static_cast<Derived &>(*this); }
77 template <class Derived, bool IsMove, class RetTy = void>
107 Derived &asDerived() { return static_cast<Derived &>(*this); }
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DTreeTransform.h100 template<typename Derived>
106 Derived &Self;
110 ForgetPartiallySubstitutedPackRAII(Derived &Self) : Self(Self) {
132 Derived &getDerived() { return static_cast<Derived&>(*this); }
135 const Derived &getDerived() const {
136 return static_cast<const Derived&>(*this);
3739 template <typename Derived>
3740 StmtResult TreeTransform<Derived>::TransformStmt(Stmt *S, StmtDiscardKind SDK) {
3775 template<typename Derived>
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gold/testsuite/
H A Ddebug_msg.cc53 class Derived : public Base class in inherits:Base
79 Derived d;
/netbsd-current/external/gpl3/gdb.old/dist/gdb/unittests/
H A Dscoped_restore-selftests.c28 struct Derived : Base {};
81 Derived derived;

Completed in 385 milliseconds

12345