/external/chromium_org/base/ |
template_util_unittest.cc | 18 class Child : public Parent {}; 44 // (is_convertible < Child), (Parent > ::value) 47 COMPILE_ASSERT( (is_convertible<Child, Parent>::value), IsConvertible); 48 COMPILE_ASSERT(!(is_convertible<Parent, Child>::value), IsConvertible); 61 COMPILE_ASSERT(!(is_same<Child, Parent>::value), IsSame); 62 COMPILE_ASSERT(!(is_same<Parent, Child>::value), IsSame);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2073.js | 50 var Child, 51 child; 52 Child = function() {}; 53 Child.prototype = this; 54 child = new Child(); 55 child.id = nextid(); 56 child.parent = this; 57 child.left = this.last; 58 child.right = null [all...] |
/external/compiler-rt/test/asan/TestCases/Windows/ |
wrong_downcast_on_heap.cc | 9 class Child : public Parent { 16 Child *c = (Child*)p; // Intentional error here!
|
wrong_downcast_on_stack.cc | 9 class Child : public Parent { 16 Child *c = (Child*)&p; // Intentional error here!
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
clone_test.cc | 17 int Child(void *arg) { 19 printf("Child: %p\n", x); 28 pid_t clone_pid = clone(Child, sp, CLONE_FILES | CLONE_VM, NULL); 36 // Make sure the child stack was indeed unpoisoned.
|
swapcontext_test.cc | 34 void Child(int mode) { 36 printf("Child: %p\n", x); 50 printf("Child stack: %p\n", child_stack); 51 // Setup child context. 58 makecontext(&child_context, (void (*)())Child, 1, mode);
|
/external/compiler-rt/test/lsan/TestCases/ |
swapcontext.cc | 14 void Child() { 16 printf("Child: %p\n", &child_stack); 25 printf("Child stack: %p\n", child_stack); 32 makecontext(&child_context, Child, 0);
|
/external/clang/test/Analysis/inlining/ |
dyn-dispatch-bifurcate.cpp | 28 class Child : public Parent { 34 Child *b = reinterpret_cast<Child *>(a);
|
/external/libcxxabi/test/ |
inherited_exception.cpp | 38 struct Child : public Base, public Base2 { 43 Child child; local 44 child.b1 = 10; 45 child.b2 = 11; 46 child.c = 12; 47 throw child; 51 Child child; local 52 child.b1 = 10 59 Child* child = new Child; local [all...] |
/frameworks/base/sax/java/android/sax/ |
Children.java | 25 Child[] children = new Child[16]; 28 * Looks up a child by name and creates a new one if necessary. 34 Child current = children[index]; 37 current = new Child(parent, uri, localName, parent.depth + 1, hash); 42 Child previous; 47 // We already have a child with that name. 55 // Add a new child to the bucket. 56 current = new Child(parent, uri, localName, parent.depth + 1, hash); 63 * Looks up a child by name [all...] |
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
inherited_exception.cpp | 20 struct Child : public Base, public Base2 { 25 Child child; local 26 child.b1 = 10; 27 child.b2 = 11; 28 child.c = 12; 29 throw child; 33 Child child; local 34 child.b1 = 10 41 Child* child = new Child; local [all...] |
/external/clang/test/CodeGenCXX/ |
microsoft-abi-methods.cpp | 68 class Child: public 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" 78 // Make sure that the Base destructor call in the Child denstructor uses 80 // CHECK: define linkonce_odr x86_thiscallcc void @"\01??1Child@@QAE@XZ"
|
/external/clang/test/Analysis/ |
reinterpret-cast.cpp | 10 struct Child : public IntWrapper { 15 Child *wrapper = reinterpret_cast<Child*>(data); 17 // We don't actually know if 'data' is a Child.
|
inline.cpp | 68 class Child : public Parent { 77 Child x; 100 class Child : public Parent { 108 Child() : m_child(0) {} 114 Child x; 122 class Grandchild : public Child {}; 148 class Child : virtual public Parent { 156 Child() : m_child(0) {} 162 Child x; 170 class Grandchild : virtual public Child {}; [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_mutants.py | 165 class Child: 182 self.a = Child(self)
|
test_isinstance.py | 169 class Child(Super): 193 self.assertEqual(False, isinstance(Super(), Child)) 197 self.assertEqual(True, isinstance(Child(), Super)) 198 self.assertEqual(False, isinstance(Child(), AbstractSuper)) 205 self.assertEqual(False, isinstance(AbstractSuper(), Child)) 210 self.assertEqual(False, isinstance(AbstractChild(), Child)) 216 self.assertEqual(False, issubclass(Super, Child)) 218 self.assertEqual(True, issubclass(Child, Child)) 219 self.assertEqual(True, issubclass(Child, Super) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mutants.py | 165 class Child: 182 self.a = Child(self)
|
test_isinstance.py | 169 class Child(Super): 193 self.assertEqual(False, isinstance(Super(), Child)) 197 self.assertEqual(True, isinstance(Child(), Super)) 198 self.assertEqual(False, isinstance(Child(), AbstractSuper)) 205 self.assertEqual(False, isinstance(AbstractSuper(), Child)) 210 self.assertEqual(False, isinstance(AbstractChild(), Child)) 216 self.assertEqual(False, issubclass(Super, Child)) 218 self.assertEqual(True, issubclass(Child, Child)) 219 self.assertEqual(True, issubclass(Child, Super) [all...] |
/external/pdfium/fpdfsdk/src/ |
fpdfdoc.cpp | 21 CPDF_Bookmark Child = tree.GetFirstChild(This);
22 while (Child != NULL) {
24 CPDF_Bookmark Found = FindBookmark(tree, Child, title);
26 Child = tree.GetNextSibling(Child);
|
/external/llvm/include/llvm/ADT/ |
Twine.h | 65 /// - If a Twine has another Twine as a child, that child should always be 133 union Child 152 Child LHS; 155 Child RHS; 179 explicit Twine(Child _LHS, NodeKind _LHSKind, 180 Child _RHS, NodeKind _RHSKind) 229 // A twine child should always be binary. 246 /// printOneChild - Print one child from a twine. 247 void printOneChild(raw_ostream &OS, Child Ptr, NodeKind Kind) const [all...] |
/external/llvm/include/llvm/Object/ |
Archive.h | 50 class Child { 62 Child(const Archive *Parent, const char *Start); 64 bool operator ==(const Child &other) const { 69 bool operator <(const Child &other) const { 73 Child getNext() const; 100 Child child; member in class:llvm::object::Archive::child_iterator 102 child_iterator() : child(Child(nullptr, nullptr)) {} 103 child_iterator(const Child &c) : child(c) { [all...] |
/external/llvm/lib/DebugInfo/ |
DWARFDebugInfoEntry.cpp | 48 const DWARFDebugInfoEntryMinimal *child = getFirstChild(); local 49 if (recurseDepth > 0 && child) { 50 while (child) { 51 child->dump(OS, u, recurseDepth-1, indent+2); 52 child = child->getSibling(); 269 const DWARFDebugInfoEntryMinimal *Child = getFirstChild(); 270 while (Child) { 271 Child->collectChildrenAddressRanges(U, Ranges); 272 Child = Child->getSibling() [all...] |
/external/llvm/lib/Object/ |
Archive.cpp | 82 Archive::Child::Child(const Archive *Parent, const char *Start) 103 Archive::Child Archive::Child::getNext() const { 113 return Child(Parent, nullptr); 115 return Child(Parent, NextLoc); 118 ErrorOr<StringRef> Archive::Child::getName() const { 163 Archive::Child::getMemoryBuffer(bool FullPath) const { 179 Archive::Child::getAsBinary(LLVMContext *Context) const { 322 Child c(this, Loc) [all...] |
/external/llvm/utils/TableGen/ |
DAGISelMatcherEmitter.cpp | 162 // We need to encode the child and the offset of the failure code before 165 // children depends on the VBR size of the child, so for large children we 180 assert(ChildSize != 0 && "Should not have a zero-sized child!"); 293 const Matcher *Child; 296 Child = SOM->getCaseMatcher(i); 299 Child = cast<SwitchTypeMatcher>(N)->getCaseMatcher(i); 306 // children depends on the VBR size of the child, so for large children we 317 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx+VBRSize+IdxSize, 321 assert(ChildSize != 0 && "Should not have a zero-sized child!");
|
/external/clang/test/SemaCXX/ |
typo-correction.cpp | 172 class Child: public Parent {}; 173 void Child::add_types(int value) {} // expected-error{{out-of-line definition of 'add_types' does not match any declaration in 'Child'}}
|