Home
last modified time | relevance | path

Searched refs:Obj (Results 1 – 25 of 228) sorted by relevance

12345678910

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMsgPackReader.cpp28 Expected<bool> Reader::read(Object &Obj) { in read() argument
36 Obj.Kind = Type::Nil; in read()
39 Obj.Kind = Type::Boolean; in read()
40 Obj.Bool = true; in read()
43 Obj.Kind = Type::Boolean; in read()
44 Obj.Bool = false; in read()
47 Obj.Kind = Type::Int; in read()
48 return readInt<int8_t>(Obj); in read()
50 Obj.Kind = Type::Int; in read()
51 return readInt<int16_t>(Obj); in read()
[all …]
/third_party/typescript/tests/baselines/reference/
DnormalizedIntersectionTooComplex.types4 interface Obj<T> {
22 "0": { common?: string; "0"?: number, ref?: Obj<Big["0"]> | Func<Big["0"]>; }
23 >"0" : { common?: string | undefined; "0"?: number | undefined; ref?: Obj<any> | Func<any> | undefi…
26Obj<{ common?: string | undefined; "0"?: number | undefined; ref?: Obj<any> | Func<any> | undefine…
28 "1": { common?: string; "1"?: number, ref?: Obj<Big["1"]> | Func<Big["1"]>; }
29 >"1" : { common?: string | undefined; "1"?: number | undefined; ref?: Obj<any> | Func<any> | undefi…
32Obj<{ common?: string | undefined; "1"?: number | undefined; ref?: Obj<any> | Func<any> | undefine…
34 "2": { common?: string; "2"?: number, ref?: Obj<Big["2"]> | Func<Big["2"]>; }
35 >"2" : { common?: string | undefined; "2"?: number | undefined; ref?: Obj<any> | Func<any> | undefi…
38Obj<{ common?: string | undefined; "2"?: number | undefined; ref?: Obj<any> | Func<any> | undefine…
[all …]
DcontextuallyTypeAsyncFunctionReturnType.types2 interface Obj { key: "value"; }
5 async function fn1(): Promise<Obj> {
6 >fn1 : () => Promise<Obj>
14 async function fn2(): Promise<Obj> {
15 >fn2 : () => Promise<Obj>
18 >new Promise(resolve => { resolve({ key: "value" }); }) : Promise<Obj>
20 >resolve => { resolve({ key: "value" }); } : (resolve: (value: Obj | PromiseLike<Obj>) =>…
21 >resolve : (value: Obj | PromiseLike<Obj>) => void
25 >resolve : (value: Obj | PromiseLike<Obj>) => void
33 async function fn3(): Promise<Obj> {
[all …]
DasyncFunctionReturnType.types23 interface Obj {
31 async function fIndexedTypeForStringProp(obj: Obj): Promise<Obj["stringProp"]> {
32 >fIndexedTypeForStringProp : (obj: Obj) => Promise<Obj["stringProp"]>
33 >obj : Obj
37 >obj : Obj
41 async function fIndexedTypeForPromiseOfStringProp(obj: Obj): Promise<Obj["stringProp"]> {
42 >fIndexedTypeForPromiseOfStringProp : (obj: Obj) => Promise<Obj["stringProp"]>
43 >obj : Obj
51 >obj : Obj
55 async function fIndexedTypeForExplicitPromiseOfStringProp(obj: Obj): Promise<Obj["stringProp"]> {
[all …]
DasyncFunctionReturnType.symbols18 interface Obj {
19 >Obj : Symbol(Obj, Decl(asyncFunctionReturnType.ts, 8, 1))
22 >stringProp : Symbol(Obj.stringProp, Decl(asyncFunctionReturnType.ts, 11, 15))
25 >anyProp : Symbol(Obj.anyProp, Decl(asyncFunctionReturnType.ts, 12, 23))
28 async function fIndexedTypeForStringProp(obj: Obj): Promise<Obj["stringProp"]> {
31 >Obj : Symbol(Obj, Decl(asyncFunctionReturnType.ts, 8, 1))
33 >Obj : Symbol(Obj, Decl(asyncFunctionReturnType.ts, 8, 1))
36 >obj.stringProp : Symbol(Obj.stringProp, Decl(asyncFunctionReturnType.ts, 11, 15))
38 >stringProp : Symbol(Obj.stringProp, Decl(asyncFunctionReturnType.ts, 11, 15))
41 async function fIndexedTypeForPromiseOfStringProp(obj: Obj): Promise<Obj["stringProp"]> {
[all …]
DnormalizedIntersectionTooComplex.js4 interface Obj<T> {
14 "0": { common?: string; "0"?: number, ref?: Obj<Big["0"]> | Func<Big["0"]>; }
15 "1": { common?: string; "1"?: number, ref?: Obj<Big["1"]> | Func<Big["1"]>; }
16 "2": { common?: string; "2"?: number, ref?: Obj<Big["2"]> | Func<Big["2"]>; }
17 "3": { common?: string; "3"?: number, ref?: Obj<Big["3"]> | Func<Big["3"]>; }
18 "4": { common?: string; "4"?: number, ref?: Obj<Big["4"]> | Func<Big["4"]>; }
19 "5": { common?: string; "5"?: number, ref?: Obj<Big["5"]> | Func<Big["5"]>; }
20 "6": { common?: string; "6"?: number, ref?: Obj<Big["6"]> | Func<Big["6"]>; }
21 "7": { common?: string; "7"?: number, ref?: Obj<Big["7"]> | Func<Big["7"]>; }
22 "8": { common?: string; "8"?: number, ref?: Obj<Big["8"]> | Func<Big["8"]>; }
[all …]
DasyncFunctionReturnType.js13 interface Obj {
18 async function fIndexedTypeForStringProp(obj: Obj): Promise<Obj["stringProp"]> {
22 async function fIndexedTypeForPromiseOfStringProp(obj: Obj): Promise<Obj["stringProp"]> {
26 async function fIndexedTypeForExplicitPromiseOfStringProp(obj: Obj): Promise<Obj["stringProp"]> {
27 return Promise.resolve<Obj["stringProp"]>(obj.stringProp);
30 async function fIndexedTypeForAnyProp(obj: Obj): Promise<Obj["anyProp"]> {
34 async function fIndexedTypeForPromiseOfAnyProp(obj: Obj): Promise<Obj["anyProp"]> {
38 async function fIndexedTypeForExplicitPromiseOfAnyProp(obj: Obj): Promise<Obj["anyProp"]> {
39 return Promise.resolve<Obj["anyProp"]>(obj.anyProp);
42 async function fGenericIndexedTypeForStringProp<TObj extends Obj>(obj: TObj): Promise<TObj["stringP…
[all …]
DcontextuallyTypeAsyncFunctionAwaitOperand.types2 interface Obj { key: "value"; }
5 async function fn1(): Promise<Obj> {
6 >fn1 : () => Promise<Obj>
8 const obj1: Obj = await { key: "value" };
9 >obj1 : Obj
15 const obj2: Obj = await new Promise(resolve => resolve({ key: "value" }));
16 >obj2 : Obj
17 >await new Promise(resolve => resolve({ key: "value" })) : Obj
18 >new Promise(resolve => resolve({ key: "value" })) : Promise<Obj>
20 >resolve => resolve({ key: "value" }) : (resolve: (value: Obj | PromiseLike<Obj>) => void) => void
[all …]
DexportDefaultMarksIdentifierAsUsed.symbols2 const Obj = {};
3 >Obj : Symbol(Obj, Decl(a.js, 0, 5))
5 export default Obj;
6 >Obj : Symbol(Obj, Decl(a.js, 0, 5))
9 import Obj from './a';
10 >Obj : Symbol(Obj, Decl(b.js, 0, 6))
12 Obj.fn = function() {};
13 >Obj : Symbol(Obj, Decl(b.js, 0, 6))
DnormalizedIntersectionTooComplex.symbols4 interface Obj<T> {
5 >Obj : Symbol(Obj, Decl(normalizedIntersectionTooComplex.ts, 0, 0))
9 >ref : Symbol(Obj.ref, Decl(normalizedIntersectionTooComplex.ts, 2, 18))
41 "0": { common?: string; "0"?: number, ref?: Obj<Big["0"]> | Func<Big["0"]>; }
46 >Obj : Symbol(Obj, Decl(normalizedIntersectionTooComplex.ts, 0, 0))
51 "1": { common?: string; "1"?: number, ref?: Obj<Big["1"]> | Func<Big["1"]>; }
56 >Obj : Symbol(Obj, Decl(normalizedIntersectionTooComplex.ts, 0, 0))
61 "2": { common?: string; "2"?: number, ref?: Obj<Big["2"]> | Func<Big["2"]>; }
66 >Obj : Symbol(Obj, Decl(normalizedIntersectionTooComplex.ts, 0, 0))
71 "3": { common?: string; "3"?: number, ref?: Obj<Big["3"]> | Func<Big["3"]>; }
[all …]
DnormalizedIntersectionTooComplex.errors.txt8 interface Obj<T> {
18 "0": { common?: string; "0"?: number, ref?: Obj<Big["0"]> | Func<Big["0"]>; }
19 "1": { common?: string; "1"?: number, ref?: Obj<Big["1"]> | Func<Big["1"]>; }
20 "2": { common?: string; "2"?: number, ref?: Obj<Big["2"]> | Func<Big["2"]>; }
21 "3": { common?: string; "3"?: number, ref?: Obj<Big["3"]> | Func<Big["3"]>; }
22 "4": { common?: string; "4"?: number, ref?: Obj<Big["4"]> | Func<Big["4"]>; }
23 "5": { common?: string; "5"?: number, ref?: Obj<Big["5"]> | Func<Big["5"]>; }
24 "6": { common?: string; "6"?: number, ref?: Obj<Big["6"]> | Func<Big["6"]>; }
25 "7": { common?: string; "7"?: number, ref?: Obj<Big["7"]> | Func<Big["7"]>; }
26 "8": { common?: string; "8"?: number, ref?: Obj<Big["8"]> | Func<Big["8"]>; }
[all …]
DjsDeclarationsExportAssignedVisibility.types2 const Obj = require("./obj");
3 >Obj : typeof Obj
4 >require("./obj") : typeof Obj
12 this.usage = new Obj();
13 >this.usage = new Obj() : Obj
17 >new Obj() : Obj
18 >Obj : typeof Obj
30 module.exports = class Obj {
31 >module.exports = class Obj { constructor() { this.x = 12; }} : typeof import("tests/c…
35 >class Obj { constructor() { this.x = 12; }} : typeof import("tests/cases/conformance/…
[all …]
DjsDeclarationsExportAssignedVisibility.js4 module.exports = class Obj { class
10 const Obj = require("./obj");
14 this.usage = new Obj();
22 function Obj() { class
25 return Obj;
28 var Obj = require("./obj");
31 this.usage = new Obj();
39 export = Obj;
40 declare class Obj {
46 usage: Obj;
[all …]
DexportDefaultMarksIdentifierAsUsed.types2 const Obj = {};
3 >Obj : {}
6 export default Obj;
7 >Obj : {}
10 import Obj from './a';
11 >Obj : {}
13 Obj.fn = function() {};
14 >Obj.fn = function() {} : () => void
15 >Obj.fn : error
16 >Obj : {}
DpartialTypeNarrowedToByTypeGuard.types2 type Obj = {} | undefined;
3 >Obj : Obj
24 function isUser(obj: Obj): obj is PartialUser {
25 >isUser : (obj: Obj) => obj is Partial<User>
26 >obj : Obj
32 function getUserName(obj: Obj) {
33 >getUserName : (obj: Obj) => string | undefined
34 >obj : Obj
38 >isUser : (obj: Obj) => obj is Partial<User>
39 >obj : Obj
DcontextuallyTypeAsyncFunctionAwaitOperand.symbols2 interface Obj { key: "value"; }
3 >Obj : Symbol(Obj, Decl(contextuallyTypeAsyncFunctionAwaitOperand.ts, 0, 0))
4 >key : Symbol(Obj.key, Decl(contextuallyTypeAsyncFunctionAwaitOperand.ts, 0, 15))
6 async function fn1(): Promise<Obj> {
9 >Obj : Symbol(Obj, Decl(contextuallyTypeAsyncFunctionAwaitOperand.ts, 0, 0))
11 const obj1: Obj = await { key: "value" };
13 >Obj : Symbol(Obj, Decl(contextuallyTypeAsyncFunctionAwaitOperand.ts, 0, 0))
16 const obj2: Obj = await new Promise(resolve => resolve({ key: "value" }));
18 >Obj : Symbol(Obj, Decl(contextuallyTypeAsyncFunctionAwaitOperand.ts, 0, 0))
/third_party/typescript/tests/cases/compiler/
DasyncFunctionReturnType.ts13 interface Obj { interface
18 async function fIndexedTypeForStringProp(obj: Obj): Promise<Obj["stringProp"]> {
22 async function fIndexedTypeForPromiseOfStringProp(obj: Obj): Promise<Obj["stringProp"]> {
26 async function fIndexedTypeForExplicitPromiseOfStringProp(obj: Obj): Promise<Obj["stringProp"]> {
27 return Promise.resolve<Obj["stringProp"]>(obj.stringProp);
30 async function fIndexedTypeForAnyProp(obj: Obj): Promise<Obj["anyProp"]> {
34 async function fIndexedTypeForPromiseOfAnyProp(obj: Obj): Promise<Obj["anyProp"]> {
38 async function fIndexedTypeForExplicitPromiseOfAnyProp(obj: Obj): Promise<Obj["anyProp"]> {
39 return Promise.resolve<Obj["anyProp"]>(obj.anyProp);
42 async function fGenericIndexedTypeForStringProp<TObj extends Obj>(obj: TObj): Promise<TObj["stringP…
[all …]
DnormalizedIntersectionTooComplex.ts5 interface Obj<T> { interface
15 "0": { common?: string; "0"?: number, ref?: Obj<Big["0"]> | Func<Big["0"]>; }
16 "1": { common?: string; "1"?: number, ref?: Obj<Big["1"]> | Func<Big["1"]>; }
17 "2": { common?: string; "2"?: number, ref?: Obj<Big["2"]> | Func<Big["2"]>; }
18 "3": { common?: string; "3"?: number, ref?: Obj<Big["3"]> | Func<Big["3"]>; }
19 "4": { common?: string; "4"?: number, ref?: Obj<Big["4"]> | Func<Big["4"]>; }
20 "5": { common?: string; "5"?: number, ref?: Obj<Big["5"]> | Func<Big["5"]>; }
21 "6": { common?: string; "6"?: number, ref?: Obj<Big["6"]> | Func<Big["6"]>; }
22 "7": { common?: string; "7"?: number, ref?: Obj<Big["7"]> | Func<Big["7"]>; }
23 "8": { common?: string; "8"?: number, ref?: Obj<Big["8"]> | Func<Big["8"]>; }
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSafeStackLayout.cpp53 void StackLayout::layoutObject(StackObject &Obj) { in layoutObject() argument
58 unsigned Start = AdjustStackOffset(LastRegionEnd, Obj.Size, Obj.Alignment); in layoutObject()
59 unsigned End = Start + Obj.Size; in layoutObject()
60 Regions.emplace_back(Start, End, Obj.Range); in layoutObject()
61 ObjectOffsets[Obj.Handle] = End; in layoutObject()
65 LLVM_DEBUG(dbgs() << "Layout: size " << Obj.Size << ", align " in layoutObject()
66 << Obj.Alignment << ", range " << Obj.Range << "\n"); in layoutObject()
67 assert(Obj.Alignment <= MaxAlignment); in layoutObject()
68 unsigned Start = AdjustStackOffset(0, Obj.Size, Obj.Alignment); in layoutObject()
69 unsigned End = Start + Obj.Size; in layoutObject()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DIntrusiveRefCntPtr.h136 T *Obj = nullptr; variable
142 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr()
143 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr()
144 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr()
147 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr()
148 S.Obj = nullptr; in IntrusiveRefCntPtr()
152 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr()
163 T &operator*() const { return *Obj; }
164 T *operator->() const { return Obj; }
165 T *get() const { return Obj; } in get()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOI386.h38 const MachOObjectFile &Obj = in processRelocationRef() local
41 Obj.getRelocation(RelI->getRawDataRefImpl()); in processRelocationRef()
42 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); in processRelocationRef()
44 if (Obj.isRelocationScattered(RelInfo)) { in processRelocationRef()
47 return processSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef()
50 return processScatteredVANILLA(SectionID, RelI, Obj, ObjSectionToID); in processRelocationRef()
67 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
70 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
128 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
137 return populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID); in finalizeSection()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DIntrusiveRefCntPtr.h134 T* Obj = nullptr; variable
141 IntrusiveRefCntPtr(T* obj) : Obj(obj) { in IntrusiveRefCntPtr()
145 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj) { in IntrusiveRefCntPtr()
149 IntrusiveRefCntPtr(IntrusiveRefCntPtr&& S) : Obj(S.Obj) { in IntrusiveRefCntPtr()
150 S.Obj = nullptr; in IntrusiveRefCntPtr()
154 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X>&& S) : Obj(S.get()) { in IntrusiveRefCntPtr()
155 S.Obj = nullptr; in IntrusiveRefCntPtr()
160 : Obj(S.get()) { in IntrusiveRefCntPtr()
171 T& operator*() const { return *Obj; }
173 T* operator->() const { return Obj; }
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCOFFEmitter.cpp37 COFFParser(COFFYAML::Object &Obj, yaml::ErrorHandler EH) in COFFParser()
38 : Obj(Obj), SectionTableStart(0), SectionTableSize(0), ErrHandler(EH) { in COFFParser()
45 return static_cast<int32_t>(Obj.Sections.size()) > in useBigObj()
49 bool isPE() const { return Obj.OptionalHeader.hasValue(); } in isPE()
51 return Obj.Header.Machine == COFF::IMAGE_FILE_MACHINE_AMD64 || in is64Bit()
52 Obj.Header.Machine == COFF::IMAGE_FILE_MACHINE_ARM64; in is64Bit()
56 return Obj.OptionalHeader->Header.FileAlignment; in getFileAlignment()
68 for (std::vector<COFFYAML::Section>::iterator i = Obj.Sections.begin(), in parseSections()
69 e = Obj.Sections.end(); in parseSections()
107 for (std::vector<COFFYAML::Symbol>::iterator i = Obj.Symbols.begin(), in parseSymbols()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DUser.cpp127 User *Obj = reinterpret_cast<User*>(End); in allocateFixedOperandUser() local
128 Obj->NumUserOperands = Us; in allocateFixedOperandUser()
129 Obj->HasHungOffUses = false; in allocateFixedOperandUser()
130 Obj->HasDescriptor = DescBytes != 0; in allocateFixedOperandUser()
138 return Obj; in allocateFixedOperandUser()
153 User *Obj = reinterpret_cast<User *>(HungOffOperandList + 1); in operator new() local
154 Obj->NumUserOperands = 0; in operator new()
155 Obj->HasHungOffUses = true; in operator new()
156 Obj->HasDescriptor = false; in operator new()
158 return Obj; in operator new()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp37 getObjectForDebug(const ObjectFile &Obj) const override { in getObjectForDebug()
59 const MachOObjectFile &Obj = in processScatteredVANILLA() local
62 Obj.getRelocation(RelI->getRawDataRefImpl()); in processScatteredVANILLA()
65 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA()
66 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processScatteredVANILLA()
67 unsigned Size = Obj.getAnyRelocationLength(RE); in processScatteredVANILLA()
73 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE); in processScatteredVANILLA()
74 section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr); in processScatteredVANILLA()
75 assert(TargetSI != Obj.section_end() && "Can't find section for symbol"); in processScatteredVANILLA()
81 findOrEmitSection(Obj, TargetSection, IsCode, ObjSectionToID)) in processScatteredVANILLA()
[all …]

12345678910