Home
last modified time | relevance | path

Searched refs:Parent (Results 1 – 25 of 2047) sorted by relevance

12345678910>>...82

/third_party/skia/third_party/externals/tint/src/resolver/
Dcompound_statement_test.cc47 EXPECT_EQ(s->Block()->Parent(), nullptr); in TEST_F()
67 EXPECT_EQ(s->Parent(), s->FindFirstParent<sem::FunctionBlockStatement>()); in TEST_F()
74 EXPECT_EQ(s->Block()->Parent(), in TEST_F()
76 ASSERT_TRUE(s->Block()->Parent()->Is<sem::FunctionBlockStatement>()); in TEST_F()
78 EXPECT_EQ(s->Block()->Parent()->Parent(), nullptr); in TEST_F()
102 EXPECT_EQ(s->Parent(), s->FindFirstParent<sem::FunctionBlockStatement>()); in TEST_F()
103 EXPECT_EQ(s->Parent(), s->Block()); in TEST_F()
109 EXPECT_EQ(s->Parent(), s->Block()); in TEST_F()
110 EXPECT_EQ(s->Parent(), s->FindFirstParent<sem::LoopBlockStatement>()); in TEST_F()
112 EXPECT_EQ(s->Parent()->Parent(), s->FindFirstParent<sem::LoopStatement>()); in TEST_F()
[all …]
/third_party/typescript/tests/baselines/reference/
DprivateNamesConstructorChain-2.symbols2 class Parent<T> {
3 >Parent : Symbol(Parent, Decl(privateNamesConstructorChain-2.ts, 0, 0))
7 >#foo : Symbol(Parent.#foo, Decl(privateNamesConstructorChain-2.ts, 0, 17))
10 >#bar : Symbol(Parent.#bar, Decl(privateNamesConstructorChain-2.ts, 1, 13))
13 >accessChildProps : Symbol(Parent.accessChildProps, Decl(privateNamesConstructorChain-2.ts, 2, 20))
15 …new Child<string>().#foo; // OK (`#foo` was added when `Parent`'s constructor was called on `child…
16 >new Child<string>().#foo : Symbol(Parent.#foo, Decl(privateNamesConstructorChain-2.ts, 0, 17))
24 class Child<T> extends Parent<T> {
27 >Parent : Symbol(Parent, Decl(privateNamesConstructorChain-2.ts, 0, 0))
30 … #foo = "foo"; // OK (Child's #foo does not conflict, as `Parent`'s `#foo` is not accessible)
[all …]
DprivateNamesConstructorChain-2.types2 class Parent<T> {
3 >Parent : Parent<T>
16 …new Child<string>().#foo; // OK (`#foo` was added when `Parent`'s constructor was called on `child…
27 class Child<T> extends Parent<T> {
29 >Parent : Parent<T>
31 … #foo = "foo"; // OK (Child's #foo does not conflict, as `Parent`'s `#foo` is not accessible)
40 new Parent<number>().accessChildProps();
41 >new Parent<number>().accessChildProps() : void
42 >new Parent<number>().accessChildProps : () => void
43 >new Parent<number>() : Parent<number>
[all …]
DprivateNamesConstructorChain-1.symbols2 class Parent {
3 >Parent : Symbol(Parent, Decl(privateNamesConstructorChain-1.ts, 0, 0))
6 >#foo : Symbol(Parent.#foo, Decl(privateNamesConstructorChain-1.ts, 0, 14))
9 >#bar : Symbol(Parent.#bar, Decl(privateNamesConstructorChain-1.ts, 1, 13))
12 >accessChildProps : Symbol(Parent.accessChildProps, Decl(privateNamesConstructorChain-1.ts, 2, 20))
14 new Child().#foo; // OK (`#foo` was added when `Parent`'s constructor was called on `child`)
15 >new Child().#foo : Symbol(Parent.#foo, Decl(privateNamesConstructorChain-1.ts, 0, 14))
23 class Child extends Parent {
25 >Parent : Symbol(Parent, Decl(privateNamesConstructorChain-1.ts, 0, 0))
27 … #foo = "foo"; // OK (Child's #foo does not conflict, as `Parent`'s `#foo` is not accessible)
DsuperNoModifiersCrash.symbols2 class Parent {
3 >Parent : Symbol(Parent, Decl(File.js, 0, 0))
6 >initialize : Symbol(Parent.initialize, Decl(File.js, 0, 14))
12 >this.asdf : Symbol(Parent.asdf, Decl(File.js, 3, 14))
13 >this : Symbol(Parent, Decl(File.js, 0, 0))
14 >asdf : Symbol(Parent.asdf, Decl(File.js, 3, 14))
18 class Child extends Parent {
20 >Parent : Symbol(Parent, Decl(File.js, 0, 0))
DemitClassDeclarationWithSuperMethodCall01.symbols2 class Parent {
3 >Parent : Symbol(Parent, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 0))
6 >foo : Symbol(Parent.foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 14))
10 class Foo extends Parent {
12 >Parent : Symbol(Parent, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 0))
19 >super.foo : Symbol(Parent.foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 14))
20 >super : Symbol(Parent, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 0))
21 >foo : Symbol(Parent.foo, Decl(emitClassDeclarationWithSuperMethodCall01.ts, 0, 14))
DindexedAccessTypeConstraints.symbols28 class Parent<M> {
29 >Parent : Symbol(Parent, Decl(indexedAccessTypeConstraints.ts, 8, 2))
33 >data : Symbol(Parent.data, Decl(indexedAccessTypeConstraints.ts, 11, 16))
38 >getData : Symbol(Parent.getData, Decl(indexedAccessTypeConstraints.ts, 11, 41))
43 >this.data : Symbol(Parent.data, Decl(indexedAccessTypeConstraints.ts, 11, 16))
44 >this : Symbol(Parent, Decl(indexedAccessTypeConstraints.ts, 8, 2))
45 >data : Symbol(Parent.data, Decl(indexedAccessTypeConstraints.ts, 11, 16))
49 export class Foo<C> extends Parent<IData<C>> {
52 >Parent : Symbol(Parent, Decl(indexedAccessTypeConstraints.ts, 8, 2))
62 >this.getData : Symbol(Parent.getData, Decl(indexedAccessTypeConstraints.ts, 11, 41))
[all …]
DprivateNamesConstructorChain-1.types2 class Parent {
3 >Parent : Parent
16 new Child().#foo; // OK (`#foo` was added when `Parent`'s constructor was called on `child`)
27 class Child extends Parent {
29 >Parent : Parent
31 … #foo = "foo"; // OK (Child's #foo does not conflict, as `Parent`'s `#foo` is not accessible)
DemitClassDeclarationWithSuperMethodCall01.types2 class Parent {
3 >Parent : Parent
10 class Foo extends Parent {
12 >Parent : Parent
22 >super : Parent
DnoImplicitAnyMissingSetAccessor.symbols2 abstract class Parent
3 >Parent : Symbol(Parent, Decl(noImplicitAnyMissingSetAccessor.ts, 0, 0))
6 >message : Symbol(Parent.message, Decl(noImplicitAnyMissingSetAccessor.ts, 1, 1))
9 class Child extends Parent {
11 >Parent : Symbol(Parent, Decl(noImplicitAnyMissingSetAccessor.ts, 0, 0))
DindexedAccessTypeConstraints.js12 class Parent<M> { class
19 export class Foo<C> extends Parent<IData<C>> {
25 export class Bar<C, T extends IData<C>> extends Parent<T> {
58 var Parent = /** @class */ (function () {
59 function Parent(data) { class in Parent
62 Parent.prototype.getData = function () {
65 return Parent;
76 }(Parent));
87 }(Parent));
DnoImplicitAnyMissingSetAccessor.types2 abstract class Parent
3 >Parent : Parent
9 class Child extends Parent {
11 >Parent : Parent
DsuperNoModifiersCrash.js2 class Parent { class
9 class Child extends Parent {
30 var Parent = /** @class */ (function () {
31 function Parent() { class in Parent
33 Parent.prototype.initialize = function () {
37 return Parent;
47 }(Parent));
DprivateNamesConstructorChain-2.js2 class Parent<T> { class
11 class Child<T> extends Parent<T> {
16 new Parent<number>().accessChildProps();
26 class Parent {
35 _a = Parent, _Parent_foo = new WeakMap();
37 class Child extends Parent {
45 new Parent().accessChildProps();
DnoImplicitAnyMissingGetAccessor.symbols2 abstract class Parent
3 >Parent : Symbol(Parent, Decl(noImplicitAnyMissingGetAccessor.ts, 0, 0))
6 >message : Symbol(Parent.message, Decl(noImplicitAnyMissingGetAccessor.ts, 1, 1))
10 class Child extends Parent {
12 >Parent : Symbol(Parent, Decl(noImplicitAnyMissingGetAccessor.ts, 0, 0))
DsuperNoModifiersCrash.types2 class Parent {
3 >Parent : Parent
25 class Child extends Parent {
27 >Parent : Parent
DnoImplicitAnyMissingGetAccessor.types2 abstract class Parent
3 >Parent : Parent
10 class Child extends Parent {
12 >Parent : Parent
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DArchive.cpp53 ArchiveMemberHeader::ArchiveMemberHeader(const Archive *Parent, in ArchiveMemberHeader() argument
56 : Parent(Parent), in ArchiveMemberHeader()
69 uint64_t Offset = RawHeaderPtr - Parent->getData().data(); in ArchiveMemberHeader()
89 uint64_t Offset = RawHeaderPtr - Parent->getData().data(); in ArchiveMemberHeader()
102 auto Kind = Parent->kind(); in getRawName()
106 Parent->getData().data(); in getRawName()
135 Parent->getData().data(); in getName()
162 Parent->getData().data(); in getName()
170 if (StringOffset >= Parent->getStringTable().size()) { in getName()
172 Parent->getData().data(); in getName()
[all …]
DMachOUniversal.cpp42 const MachOUniversalBinary *Parent, uint32_t Index) in ObjectForArch() argument
43 : Parent(Parent), Index(Index) { in ObjectForArch()
45 if (!Parent || Index >= Parent->getNumberOfObjects()) { in ObjectForArch()
49 StringRef ParentData = Parent->getData(); in ObjectForArch()
50 if (Parent->getMagic() == MachO::FAT_MAGIC) { in ObjectForArch()
64 if (!Parent) in getAsObjectFile()
68 StringRef ParentData = Parent->getData(); in getAsObjectFile()
71 if (Parent->getMagic() == MachO::FAT_MAGIC) { in getAsObjectFile()
78 StringRef ObjectName = Parent->getFileName(); in getAsObjectFile()
85 if (!Parent) in getAsArchive()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DMachOUniversal.h37 const MachOUniversalBinary *Parent; variable
45 ObjectForArch(const MachOUniversalBinary *Parent, uint32_t Index);
48 Parent = nullptr; in clear()
53 return (Parent == Other.Parent) && (Index == Other.Index);
56 ObjectForArch getNext() const { return ObjectForArch(Parent, Index + 1); } in getNext()
58 if (Parent->getMagic() == MachO::FAT_MAGIC) in getCPUType()
64 if (Parent->getMagic() == MachO::FAT_MAGIC) in getCPUSubType()
70 if (Parent->getMagic() == MachO::FAT_MAGIC) in getOffset()
76 if (Parent->getMagic() == MachO::FAT_MAGIC) in getSize()
82 if (Parent->getMagic() == MachO::FAT_MAGIC) in getAlign()
[all …]
DTapiUniversal.h29 const TapiUniversal *Parent; variable
33 ObjectForArch(const TapiUniversal *Parent, int Index) in ObjectForArch() argument
34 : Parent(Parent), Index(Index) {} in ObjectForArch()
36 ObjectForArch getNext() const { return ObjectForArch(Parent, Index + 1); } in getNext()
39 return (Parent == Other.Parent) && (Index == Other.Index);
44 MachO::getCPUTypeFromArchitecture(Parent->Architectures[Index]); in getCPUType()
50 MachO::getCPUTypeFromArchitecture(Parent->Architectures[Index]); in getCPUSubType()
55 return MachO::getArchitectureName(Parent->Architectures[Index]); in getArchFlagName()
DArchive.h41 ArchiveMemberHeader(Archive const *Parent, const char *RawHeaderPtr,
79 Archive const *Parent; variable
91 const Archive *Parent; variable
101 Child(const Archive *Parent, const char *Start, Error *Err);
102 Child(const Archive *Parent, StringRef Data, uint16_t StartOfFile);
105 assert(!Parent || !other.Parent || Parent == other.Parent);
109 const Archive *getParent() const { return Parent; } in getParent()
179 const Archive *Parent; variable
185 : Parent(p) in Symbol()
190 return (Parent == other.Parent) && (SymbolIndex == other.SymbolIndex);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLexicalScopes.h48 : Parent(P), Desc(D), InlinedAtLocation(I), AbstractScope(A) { in LexicalScope()
55 if (Parent) in LexicalScope()
56 Parent->addChild(this); in LexicalScope()
60 LexicalScope *getParent() const { return Parent; } in getParent()
76 if (Parent) in openInsnRange()
77 Parent->openInsnRange(MI); in openInsnRange()
85 if (Parent) in extendInsnRange()
86 Parent->extendInsnRange(MI); in extendInsnRange()
99 if (Parent && (!NewScope || !Parent->dominates(NewScope)))
100 Parent->closeInsnRange(NewScope);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTimerTree.cpp113 assert(Nodes[Index].Parent < Index); in getPath()
114 Index = Nodes[Index].Parent; in getPath()
121 TimerStack::TTindex TimerStack::getChildIndex(TimerStack::TTindex Parent, in getChildIndex() argument
123 if (Nodes[Parent].Children.size() <= ID) in getChildIndex()
124 Nodes[Parent].Children.resize(ID + 1); in getChildIndex()
125 if (Nodes[Parent].Children[ID] == 0) { in getChildIndex()
127 Nodes[Parent].Children[ID] = Size; in getChildIndex()
129 Nodes[Size].Parent = Parent; in getChildIndex()
132 return Nodes[Parent].Children[ID]; in getChildIndex()
166 assert(Nodes[StackTop].Parent < StackTop); in pop()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DUDTLayout.cpp47 LayoutItemBase::LayoutItemBase(const UDTLayoutBase *Parent, in LayoutItemBase() argument
51 : Symbol(Symbol), Parent(Parent), Name(Name), in LayoutItemBase()
68 const UDTLayoutBase &Parent, std::unique_ptr<PDBSymbolData> Member) in DataMemberLayoutItem() argument
69 : LayoutItemBase(&Parent, Member.get(), Member->getName(), in DataMemberLayoutItem()
79 VBPtrLayoutItem::VBPtrLayoutItem(const UDTLayoutBase &Parent, in VBPtrLayoutItem() argument
82 : LayoutItemBase(&Parent, Sym.get(), "<vbptr>", Offset, Size, false), in VBPtrLayoutItem()
96 VTableLayoutItem::VTableLayoutItem(const UDTLayoutBase &Parent, in VTableLayoutItem() argument
98 : LayoutItemBase(&Parent, VT.get(), "<vtbl>", 0, getTypeLength(*VT), false), in VTableLayoutItem()
104 UDTLayoutBase::UDTLayoutBase(const UDTLayoutBase *Parent, const PDBSymbol &Sym, in UDTLayoutBase() argument
107 : LayoutItemBase(Parent, &Sym, Name, OffsetInParent, Size, IsElided) { in UDTLayoutBase()
[all …]

12345678910>>...82