Searched defs:Child (Results 1 - 25 of 43) sorted by relevance

12

/external/compiler-rt/test/asan/TestCases/Windows/
H A Dwrong_downcast_on_heap.cc9 class Child : public Parent { class in inherits:Parent
16 Child *c = (Child*)p; // Intentional error here!
H A Dwrong_downcast_on_stack.cc9 class Child : public Parent { class in inherits:Parent
16 Child *c = (Child*)&p; // Intentional error here!
/external/v8/test/mjsunit/regress/
H A Dregress-2073.js50 var Child,
52 Child = function() {}; class
53 Child.prototype = this;
54 child = new Child();
51 Child = function() {}; function
/external/llvm/include/llvm/DebugInfo/PDB/
H A DConcreteSymbolEnumerator.h32 std::unique_ptr<PDBSymbol> Child = Enumerator->getChildAtIndex(Index); variable
33 return make_concrete_child(std::move(Child));
37 std::unique_ptr<PDBSymbol> Child = Enumerator->getNext(); variable
38 return make_concrete_child(std::move(Child));
50 make_concrete_child(std::unique_ptr<PDBSymbol> Child) const {
51 ChildType *ConcreteChild = dyn_cast_or_null<ChildType>(Child.release());
/external/clang/test/Analysis/inlining/
H A Ddyn-dispatch-bifurcate.cpp28 class Child : public Parent { class in namespace:ReinterpretDisruptsDynamicTypeInfo
34 Child *b = reinterpret_cast<Child *>(a);
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dclone_test.cc17 int Child(void *arg) { function
19 printf("Child: %p\n", x);
28 pid_t clone_pid = clone(Child, sp, CLONE_FILES | CLONE_VM, NULL);
H A Dswapcontext_test.cc34 void Child(int mode) { function
36 printf("Child: %p\n", x);
50 printf("Child stack: %p\n", child_stack);
58 makecontext(&child_context, (void (*)())Child, 1, mode);
/external/compiler-rt/test/lsan/TestCases/
H A Dswapcontext.cc19 void Child() { function
21 printf("Child: %p\n", &child_stack);
30 printf("Child stack: %p\n", child_stack);
37 makecontext(&child_context, Child, 0);
/external/libcxxabi/test/
H A Dinherited_exception.pass.cpp38 struct Child : public Base, public Base2 { struct in inherits:Base,Base2
43 Child child;
51 Child child;
59 static Child child;
73 catch (const Child& c)
95 catch (const Child& b)
113 catch (const Child& b)
127 catch (const Child& c)
153 catch (const Child* b)
/external/clang/test/CodeGenCXX/
H A Dmicrosoft-abi-methods.cpp68 class Child: public Base { }; class in inherits:Base
71 Child c;
72 // Make sure that the Base constructor call in the Child constructor uses
74 // CHECK: define linkonce_odr x86_thiscallcc %class.Child* @"\01??0Child@@QAE@XZ"
81 // Make sure that the Base destructor call in the Child denstructor uses
83 // CHECK: define linkonce_odr x86_thiscallcc void @"\01??1Child@@QAE@XZ"
/external/clang/test/Analysis/
H A Dreinterpret-cast.cpp10 struct Child : public IntWrapper { struct in inherits:IntWrapper
15 Child *wrapper = reinterpret_cast<Child*>(data);
17 // We don't actually know if 'data' is a Child.
H A Dinline.cpp68 class Child : public Parent { class in namespace:PureVirtualParent
77 Child x;
100 class Child : public Parent { class in namespace:PR13569
108 Child() : m_child(0) {} function in class:PR13569::Child
114 Child x;
122 class Grandchild : public Child {};
148 class Child : virtual public Parent { class in namespace:PR13569_virtual
156 Child() : m_child(0) {} function in class:PR13569_virtual::Child
162 Child x;
170 class Grandchild : virtual public Child {};
418 struct Child : public Parent { struct in namespace:rdar12409977
[all...]
/external/llvm/include/llvm/ADT/
H A DSCCIterator.h55 StackElement(NodeType *Node, const ChildItTy &Child, unsigned Min) argument
56 : Node(Node), NextChild(Child), MinVisited(Min) {}
H A DTwine.h134 union Child union in class:llvm::Twine
154 Child LHS;
157 Child RHS;
179 explicit Twine(Child LHS, NodeKind LHSKind, Child RHS, NodeKind RHSKind)
246 void printOneChild(raw_ostream &OS, Child Ptr, NodeKind Kind) const;
249 void printOneChildRepr(raw_ostream &OS, Child Ptr,
387 Child LHS, RHS;
500 Child NewLHS, NewRHS;
/external/llvm/include/llvm/Object/
H A DArchive.h54 class Child { class in class:llvm::object::Archive
66 Child(const Archive *Parent, const char *Start);
68 bool operator ==(const Child &other) const {
73 bool operator <(const Child &other) const {
77 Child getNext() const;
109 Child child;
112 child_iterator() : child(Child(nullptr, nullptr)) {}
113 child_iterator(const Child &c) : child(c) {}
114 const Child *operator->() const { return &child; }
115 const Child
[all...]
/external/clang/unittests/AST/
H A DCommentParser.cpp95 T *&Child) {
107 return ::testing::AssertionFailure() << "Child is NULL";
109 Child = dyn_cast<T>(CommentChild);
110 if (!Child)
112 << "Child is not of requested type, but a "
93 GetChildAt(const Comment *C, size_t Idx, T *&Child) argument
/external/llvm/lib/Object/
H A DArchive.cpp84 Archive::Child::Child(const Archive *Parent, const char *Start) function in class:Archive::Child
108 uint64_t Archive::Child::getSize() const {
114 uint64_t Archive::Child::getRawSize() const {
118 Archive::Child Archive::Child::getNext() const {
128 return Child(Parent, nullptr);
130 return Child(Parent, NextLoc);
133 uint64_t Archive::Child::getChildOffset() const {
140 ErrorOr<StringRef> Archive::Child
[all...]
/external/llvm/lib/Transforms/Utils/
H A DLoopSimplify.cpp707 DomTreeNode *Child = Children.front(); local
708 DT->changeImmediateDominator(Child, Node->getIDom());
/external/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp293 const Matcher *Child; local
296 Child = SOM->getCaseMatcher(i);
299 Child = cast<SwitchTypeMatcher>(N)->getCaseMatcher(i);
317 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx+VBRSize+IdxSize,
H A DDAGISelMatcherGen.cpp799 const TreePatternNode *Child = N->getChild(ChildNo); local
801 EmitResultOperand(Child, InstOps);
806 if (!Child->isLeaf() && Child->getOperator()->isSubClassOf("Instruction"))
/external/clang/lib/Index/
H A DCommentToXML.cpp102 const Comment *Child = *I; local
103 if (!Child)
105 switch (Child->getCommentKind()) {
110 const ParagraphComment *PC = cast<ParagraphComment>(Child);
121 const BlockCommandComment *BCC = cast<BlockCommandComment>(Child);
144 const ParamCommandComment *PCC = cast<ParamCommandComment>(Child);
156 const TParamCommandComment *TPCC = cast<TParamCommandComment>(Child);
168 MiscBlocks.push_back(cast<BlockCommandComment>(Child));
172 const VerbatimLineComment *VLC = cast<VerbatimLineComment>(Child);
/external/llvm/include/llvm/Analysis/
H A DLoopInfo.h283 LoopT *Child = *I; local
284 assert(Child->ParentLoop == this && "Child is not a child of this loop!");
286 Child->ParentLoop = nullptr;
287 return Child;
H A DRegionInfoImpl.h359 if (RegionT *Child = getSubRegionNode(BB))
360 return Child->getNode();
417 typename Tr::RegionT *RegionBase<Tr>::removeSubRegion(RegionT *Child) { argument
418 assert(Child->parent == this && "Child is not a child of this region!");
419 Child->parent = nullptr;
422 [&](const std::unique_ptr<RegionT> &R) { return R.get() == Child; });
425 return Child;
/external/llvm/include/llvm/CodeGen/
H A DDIE.h181 void addChild(std::unique_ptr<DIE> Child) { argument
182 assert(!Child->getParent());
184 Child->Parent = this;
185 Children.push_back(std::move(Child));
/external/llvm/lib/CodeGen/
H A DMachineCSE.cpp691 MachineDomTreeNode *Child = Children[i]; local
692 WorkList.push_back(Child);

Completed in 2217 milliseconds

12