Home
last modified time | relevance | path

Searched refs:Child (Results 1 – 25 of 549) sorted by relevance

12345678910>>...22

/external/llvm-project/clang-tools-extra/clangd/index/dex/
DIterator.cpp31 for (const auto &Child : Children) in AndIterator() local
32 ReachedEnd |= Child->reachedEnd(); in AndIterator()
68 for (const auto &Child : Children) in consume() local
69 Boost *= Child->consume(); in consume()
81 for (const auto &Child : Children) { in dump() local
82 OS << Separator << *Child; in dump()
100 for (auto &Child : Children) { in sync() local
101 Child->advanceTo(SyncID); in sync()
102 ReachedEnd |= Child->reachedEnd(); in sync()
109 if (Child->peek() > SyncID) { in sync()
[all …]
/external/mockito/src/test/java/org/mockitousage/matchers/
DReflectionMatchersTest.java29 class Child extends Parent { class in ReflectionMatchersTest
32 …public Child(int parentField, String protectedParentField, int childFieldOne, Object childFieldTwo… in Child() method in ReflectionMatchersTest.Child
40 void run(Child child); in run()
49 Child actual = new Child(1, "foo", 2, "bar"); in setup()
55 Child wanted = new Child(1, "foo", 2, "bar"); in shouldMatchWhenFieldValuesEqual()
61 Child wanted = new Child(1, "foo", 2, "bar XXX"); in shouldNotMatchWhenFieldValuesDiffer()
67 Child wanted = new Child(1, "foo", 999, "bar"); in shouldNotMatchAgain()
73 Child wanted = new Child(1, "XXXXX", 2, "bar"); in shouldNotMatchYetAgain()
79 Child wanted = new Child(234234, "foo", 2, "bar"); in shouldNotMatch()
85 Child wanted = new Child(1, "foo", 2, "excluded"); in shouldMatchWhenFieldValuesEqualWithOneFieldExcluded()
[all …]
/external/llvm-project/llvm/lib/WindowsManifest/
DWindowsManifestMerger.cpp90 for (xmlNodePtr Child = Parent->children; Child; Child = Child->next) { in getChildWithName() local
91 if (xmlStringsEqual(Child->name, ElementName)) { in getChildWithName()
92 return Child; in getChildWithName()
326 for (xmlNodePtr Child = Node->children; Child; Child = Child->next) { in explicateNamespace() local
327 explicateNamespace(PrefixDef, Child); in explicateNamespace()
500 for (xmlNodePtr Child = Node->children; Child; Child = Child->next) { in reconcileNamespaces() local
501 if (auto E = reconcileNamespaces(Child)) { in reconcileNamespaces()
518 for (xmlNodePtr Child = AdditionalFirstChild; Child; Child = Child->next) { in treeMerge() local
520 if (!isMergeableElement(Child->name) || in treeMerge()
522 getChildWithName(OriginalRoot, Child->name)) || in treeMerge()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/WindowsManifest/
DWindowsManifestMerger.cpp90 for (xmlNodePtr Child = Parent->children; Child; Child = Child->next) { in getChildWithName() local
91 if (xmlStringsEqual(Child->name, ElementName)) { in getChildWithName()
92 return Child; in getChildWithName()
326 for (xmlNodePtr Child = Node->children; Child; Child = Child->next) { in explicateNamespace() local
327 explicateNamespace(PrefixDef, Child); in explicateNamespace()
500 for (xmlNodePtr Child = Node->children; Child; Child = Child->next) { in reconcileNamespaces() local
501 if (auto E = reconcileNamespaces(Child)) { in reconcileNamespaces()
518 for (xmlNodePtr Child = AdditionalFirstChild; Child; Child = Child->next) { in treeMerge() local
520 if (!isMergeableElement(Child->name) || in treeMerge()
522 getChildWithName(OriginalRoot, Child->name)) || in treeMerge()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp26 for (const Stmt *Child : S->children()) in containsMacro() local
27 if (Child && containsMacro(Child)) in containsMacro()
40 for (const Stmt *Child : S->children()) in containsEnum() local
41 if (Child && containsEnum(Child)) in containsEnum()
56 for (const Stmt *Child : S->children()) in containsStaticLocal() local
57 if (Child && containsStaticLocal(Child)) in containsStaticLocal()
68 for (const Stmt *Child : S->children()) in containsBuiltinOffsetOf() local
69 if (Child && containsBuiltinOffsetOf(Child)) in containsBuiltinOffsetOf()
/external/python/pybind11/tests/
Dtest_call_policies.cpp36 class Child { in TEST_SUBMODULE() class
38 Child() { py::print("Allocating child."); } in TEST_SUBMODULE() function in TEST_SUBMODULE::Child
39 Child(const Child &) = default; in TEST_SUBMODULE()
40 Child(Child &&) = default; in TEST_SUBMODULE()
41 ~Child() { py::print("Releasing child."); } in TEST_SUBMODULE()
43 py::class_<Child>(m, "Child") in TEST_SUBMODULE()
51 void addChild(Child *) { } in TEST_SUBMODULE() argument
52 Child *returnChild() { return new Child(); } in TEST_SUBMODULE()
53 Child *returnNullChild() { return nullptr; } in TEST_SUBMODULE()
57 .def(py::init([](Child *) { return new Parent(); }), py::keep_alive<1, 2>()) in TEST_SUBMODULE() argument
/external/compiler-rt/test/profile/Linux/
Dinstrprof-file_ex.test7 CHECK: Dump from Child 0
8 CHECK-NEXT: Dump from Child 1
9 CHECK-NEXT: Dump from Child 2
10 CHECK-NEXT: Dump from Child 3
11 CHECK-NEXT: Dump from Child 4
12 CHECK-NEXT: Dump from Child 5
13 CHECK-NEXT: Dump from Child 6
14 CHECK-NEXT: Dump from Child 7
15 CHECK-NEXT: Dump from Child 8
16 CHECK-NEXT: Dump from Child 9
/external/llvm-project/compiler-rt/test/profile/Linux/
Dinstrprof-file_ex.test7 CHECK: Dump from Child 0
8 CHECK-NEXT: Dump from Child 1
9 CHECK-NEXT: Dump from Child 2
10 CHECK-NEXT: Dump from Child 3
11 CHECK-NEXT: Dump from Child 4
12 CHECK-NEXT: Dump from Child 5
13 CHECK-NEXT: Dump from Child 6
14 CHECK-NEXT: Dump from Child 7
15 CHECK-NEXT: Dump from Child 8
16 CHECK-NEXT: Dump from Child 9
/external/llvm-project/llvm/unittests/Object/
DArchiveTest.cpp46 auto Child = A->child_begin(ChildErr); in createChild() local
49 return Child; in createChild()
61 auto Child = createChild(ArchiveWithMember); in TEST_F() local
62 ASSERT_THAT_EXPECTED(Child, Succeeded()); in TEST_F()
64 Expected<uint64_t> Size = (*Child)->getSize(); in TEST_F()
70 auto Child = createChild(ThinArchiveWithMember); in TEST_F() local
71 ASSERT_THAT_EXPECTED(Child, Succeeded()); in TEST_F()
73 Expected<uint64_t> Size = (*Child)->getSize(); in TEST_F()
84 auto Child = createChild(ArchiveWithMember); in TEST_F() local
85 ASSERT_THAT_EXPECTED(Child, Succeeded()); in TEST_F()
[all …]
/external/python/cpython2/Lib/test/
Dtest_isinstance.py166 class Child(Super): class
189 self.assertEqual(False, isinstance(Super(), Child))
193 self.assertEqual(True, isinstance(Child(), Super))
194 self.assertEqual(False, isinstance(Child(), AbstractSuper))
201 self.assertEqual(False, isinstance(AbstractSuper(), Child))
206 self.assertEqual(False, isinstance(AbstractChild(), Child))
212 self.assertEqual(False, issubclass(Super, Child))
214 self.assertEqual(True, issubclass(Child, Child))
215 self.assertEqual(True, issubclass(Child, Super))
216 self.assertEqual(False, issubclass(Child, AbstractSuper))
[all …]
/external/llvm-project/libcxxabi/test/
Dinherited_exception.pass.cpp52 struct Child : public Base, public Base2 { struct
57 Child child; in f1() argument
65 Child child; in f2()
73 static Child child; in f3()
87 catch (const Child& c) in main()
109 catch (const Child& b) in main()
127 catch (const Child& b) in main()
141 catch (const Child& c) in main()
167 catch (const Child* b) in main()
/external/libcxxabi/test/
Dinherited_exception.pass.cpp47 struct Child : public Base, public Base2 { struct
52 Child child; in f1() argument
60 Child child; in f2()
68 static Child child; in f3()
82 catch (const Child& c) in main()
104 catch (const Child& b) in main()
122 catch (const Child& b) in main()
136 catch (const Child& c) in main()
162 catch (const Child* b) in main()
/external/python/cpython3/Lib/test/
Dtest_isinstance.py178 class Child(Super): class
192 self.assertEqual(False, isinstance(Super(), Child))
196 self.assertEqual(True, isinstance(Child(), Super))
197 self.assertEqual(False, isinstance(Child(), AbstractSuper))
204 self.assertEqual(False, isinstance(AbstractSuper(), Child))
209 self.assertEqual(False, isinstance(AbstractChild(), Child))
215 self.assertEqual(False, issubclass(Super, Child))
217 self.assertEqual(True, issubclass(Child, Child))
218 self.assertEqual(True, issubclass(Child, Super))
219 self.assertEqual(False, issubclass(Child, AbstractSuper))
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Ddual_ref_counted.h51 template <typename Child>
56 RefCountedPtr<Child> Ref() GRPC_MUST_USE_RESULT { in Ref()
58 return RefCountedPtr<Child>(static_cast<Child*>(this)); in Ref()
61 RefCountedPtr<Child> Ref(const DebugLocation& location, in Ref()
64 return RefCountedPtr<Child>(static_cast<Child*>(this)); in Ref()
110 RefCountedPtr<Child> RefIfNonZero() GRPC_MUST_USE_RESULT { in RefIfNonZero()
125 return RefCountedPtr<Child>(static_cast<Child*>(this)); in RefIfNonZero()
128 RefCountedPtr<Child> RefIfNonZero(const DebugLocation& location, in RefIfNonZero()
150 return RefCountedPtr<Child>(static_cast<Child*>(this)); in RefIfNonZero()
153 WeakRefCountedPtr<Child> WeakRef() GRPC_MUST_USE_RESULT { in WeakRef()
[all …]
Dref_counted.h266 template <typename Child, typename Impl = PolymorphicRefCount,
273 RefCountedPtr<Child> Ref() GRPC_MUST_USE_RESULT { in Ref()
275 return RefCountedPtr<Child>(static_cast<Child*>(this)); in Ref()
278 RefCountedPtr<Child> Ref(const DebugLocation& location, in Ref()
281 return RefCountedPtr<Child>(static_cast<Child*>(this)); in Ref()
290 internal::Delete<Child, DeleteUponUnref>(static_cast<Child*>(this)); in Unref()
295 internal::Delete<Child, DeleteUponUnref>(static_cast<Child*>(this)); in Unref()
299 RefCountedPtr<Child> RefIfNonZero() GRPC_MUST_USE_RESULT { in RefIfNonZero()
300 return RefCountedPtr<Child>(refs_.RefIfNonZero() ? static_cast<Child*>(this) in RefIfNonZero()
303 RefCountedPtr<Child> RefIfNonZero(const DebugLocation& location, in RefIfNonZero()
[all …]
/external/grpc-grpc/src/core/lib/gprpp/
Dref_counted.h43 template <typename Child>
46 RefCountedPtr<Child> Ref() GRPC_MUST_USE_RESULT { in Ref()
48 return RefCountedPtr<Child>(static_cast<Child*>(this)); in Ref()
57 Delete(static_cast<Child*>(this)); in Unref()
90 template <typename Child>
93 RefCountedPtr<Child> Ref() GRPC_MUST_USE_RESULT { in Ref()
95 return RefCountedPtr<Child>(static_cast<Child*>(this)); in Ref()
98 RefCountedPtr<Child> Ref(const DebugLocation& location, in Ref()
116 Delete(static_cast<Child*>(this)); in Unref()
Dorphanable.h76 template <typename Child>
95 RefCountedPtr<Child> Ref() GRPC_MUST_USE_RESULT { in Ref()
97 return RefCountedPtr<Child>(static_cast<Child*>(this)); in Ref()
102 Delete(static_cast<Child*>(this)); in Unref()
118 template <typename Child>
151 RefCountedPtr<Child> Ref() GRPC_MUST_USE_RESULT { in Ref()
153 return RefCountedPtr<Child>(static_cast<Child*>(this)); in Ref()
156 RefCountedPtr<Child> Ref(const DebugLocation& location, in Ref()
174 Delete(static_cast<Child*>(this)); in Unref()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp30 for (const Stmt *Child : S->children()) in containsMacro() local
31 if (Child && containsMacro(Child)) in containsMacro()
44 for (const Stmt *Child : S->children()) in containsEnum() local
45 if (Child && containsEnum(Child)) in containsEnum()
60 for (const Stmt *Child : S->children()) in containsStaticLocal() local
61 if (Child && containsStaticLocal(Child)) in containsStaticLocal()
72 for (const Stmt *Child : S->children()) in containsBuiltinOffsetOf() local
73 if (Child && containsBuiltinOffsetOf(Child)) in containsBuiltinOffsetOf()
/external/llvm-project/clang/lib/Tooling/Syntax/
DTree.cpp70 void syntax::Tree::appendChildLowLevel(Node *Child, NodeRole Role) { in appendChildLowLevel() argument
71 assert(Child->getRole() == NodeRole::Detached); in appendChildLowLevel()
74 Child->setRole(Role); in appendChildLowLevel()
75 appendChildLowLevel(Child); in appendChildLowLevel()
78 void syntax::Tree::appendChildLowLevel(Node *Child) { in appendChildLowLevel() argument
79 assert(Child->Parent == nullptr); in appendChildLowLevel()
80 assert(Child->NextSibling == nullptr); in appendChildLowLevel()
81 assert(Child->PreviousSibling == nullptr); in appendChildLowLevel()
82 assert(Child->getRole() != NodeRole::Detached); in appendChildLowLevel()
84 Child->Parent = this; in appendChildLowLevel()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/objectid/
DObjectWithCreator1261Test.java23 public Map<String, Child> children;
26 public Child favoriteChild;
33 children = new TreeMap<String, Child>(); in Parent()
40 static class Child class in ObjectWithCreator1261Test
52 protected Child() { } in Child() method in ObjectWithCreator1261Test.Child
55 public Child(@JsonProperty("name") String name, in Child() method in ObjectWithCreator1261Test.Child
61 public Child(String n) { in Child() method in ObjectWithCreator1261Test.Child
96 Child child1 = new Child(child1Name); in createInitialAnswer()
99 Child child2 = new Child(child2Name); in createInitialAnswer()
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dclass_util_unittest.py17 class Child(Parent): class
22 Parent, Child, 'MethodShouldBeOverridden'))
29 class Child(Parent): class
32 class Grandchild(Child):
44 class Child(Parent): class
49 Parent, Child, 'MethodShouldBeOverridden'))
56 class Child(Parent): class
60 class Grandchild(Child):
72 class Child(Parent): class
78 Parent, Child, 'WrongMethod')
/external/llvm/include/llvm/Object/
DArchive.h55 class Child {
70 Child(const Archive *Parent, const char *Start, std::error_code *EC);
71 Child(const Archive *Parent, StringRef Data, uint16_t StartOfFile);
73 bool operator ==(const Child &other) const {
79 ErrorOr<Child> getNext() const;
110 Child C;
114 child_iterator() : C(Child(nullptr, nullptr, nullptr)), E(nullptr) {} in child_iterator()
115 child_iterator(const Child &C, Error *E) : C(C), E(E) {} in child_iterator()
116 const Child *operator->() const { return &C; }
117 const Child &operator*() const { return C; }
[all …]
/external/llvm-project/llvm/include/llvm/ObjectYAML/
DArchiveYAML.h25 struct Child { struct
35 Child() { in Child() function
52 Optional<std::vector<Child>> Members;
59 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ArchYAML::Archive::Child) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument
69 template <> struct MappingTraits<ArchYAML::Archive::Child> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
70 static void mapping(IO &IO, ArchYAML::Archive::Child &C); in LLVM_YAML_IS_SEQUENCE_VECTOR()
71 static std::string validate(IO &, ArchYAML::Archive::Child &C); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/llvm/lib/Object/
DArchive.cpp90 Archive::Child::Child(const Archive *Parent, StringRef Data, in Child() function in Archive::Child
94 Archive::Child::Child(const Archive *Parent, const char *Start, in Child() function in Archive::Child
122 ErrorOr<uint64_t> Archive::Child::getSize() const { in getSize()
132 ErrorOr<uint64_t> Archive::Child::getRawSize() const { in getRawSize()
139 bool Archive::Child::isThinMember() const { in isThinMember()
144 ErrorOr<std::string> Archive::Child::getFullName() const { in getFullName()
159 ErrorOr<StringRef> Archive::Child::getBuffer() const { in getBuffer()
177 ErrorOr<Archive::Child> Archive::Child::getNext() const { in getNext()
187 return Child(Parent, nullptr, nullptr); in getNext()
194 Child Ret(Parent, NextLoc, &EC); in getNext()
[all …]
/external/llvm-project/clang/test/Analysis/
Dinline.cpp68 class Child : public Parent { class
77 Child x; in testVirtual()
100 class Child : public Parent { class
108 Child() : m_child(0) {} in Child() function in PR13569::Child
114 Child x; in testVirtual()
122 class Grandchild : public Child {};
148 class Child : virtual public Parent { class
156 Child() : m_child(0) {} in Child() function in PR13569_virtual::Child
162 Child x; in testVirtual()
170 class Grandchild : virtual public Child {};
[all …]

12345678910>>...22