Home
last modified time | relevance | path

Searched refs:Wrapper (Results 1 – 25 of 180) sorted by relevance

12345678

/third_party/typescript/tests/baselines/reference/
DintraExpressionInferences.errors.txt1Wrapper<number>; str: Wrapper<string>; }>) => { bool: any; str: number; }' is not assignable to ty…
2 …turn types '{ bool: any; str: number; }' and 'Unwrap<{ bool: Wrapper<boolean>; str: Wrapper<string…
5 … Property 'nonexistent' does not exist on type 'Unwrap<{ num: Wrapper<number>; str: Wrapper<string…
110 class Wrapper<T = any> {
114 type WrappedMap = Record<string, Wrapper>;
116 [K in keyof D]: D[K] extends Wrapper<infer T> ? T : never;
130 num: new Wrapper<number>(),
131 str: new Wrapper<string>()
134 bool: new Wrapper<boolean>(),
135 str: new Wrapper<string>()
[all …]
DbaseTypeWrappingInstantiationChain.types9 class CBase<T2> extends CBaseBase<Wrapper<T2>> {
11 >CBaseBase : CBaseBase<Wrapper<T2>>
23 class Wrapper<T5> {
24 >Wrapper : Wrapper<T5>
37 new CBaseBase<Wrapper<T1>>(this);
38 >new CBaseBase<Wrapper<T1>>(this) : CBaseBase<Wrapper<T1>>
45 new CBase<T1>(this); // Should not error, parameter is of type Parameter<Wrapper<T1>>
51 public method(t: Wrapper<T1>) { }
52 >method : (t: Wrapper<T1>) => void
53 >t : Wrapper<T1>
DintraExpressionInferences.types325 class Wrapper<T = any> {
326 >Wrapper : Wrapper<T>
332 type WrappedMap = Record<string, Wrapper>;
333 >WrappedMap : { [x: string]: Wrapper<any>; }
338 [K in keyof D]: D[K] extends Wrapper<infer T> ? T : never;
360Wrapper<number>(), str: new Wrapper<string>() }, outputs: { …
362Wrapper<number>(), str: new Wrapper<string>() }, outputs: { …
365 >setup : () => { inputs: { num: Wrapper<number>; str: Wrapper<string>; }; outputs: { bool: Wrapper<…
368Wrapper<number>(), str: new Wrapper<string>() }, outputs: { …
371 >inputs : { num: Wrapper<number>; str: Wrapper<string>; }
[all …]
DreturnTypeInferenceNotTooBroad.types18 interface Wrapper<T> {
20 declare function sepsis<T extends Signs>(opts: Opts<T>): Wrapper<T>;
21 >sepsis : <T extends Signs>(opts: Opts<T>) => Wrapper<T>
24 declare function unwrap<T>(w: Wrapper<T>): T;
25 >unwrap : <T>(w: Wrapper<T>) => T
26 >w : Wrapper<T>
29 >y : Wrapper<{ kind: "a"; a: 3; }>
30 >sepsis({ low: 1, sign: { kind: 'a', a: 3 }}) : Wrapper<{ kind: "a"; a: 3; }>
31 >sepsis : <T extends Signs>(opts: Opts<T>) => Wrapper<T>
46 >unwrap : <T>(w: Wrapper<T>) => T
[all …]
DjsxEmptyExpressionNotCountedAsChild(jsx=react-jsxdev).types12 function Wrapper(props: Props) {
13 >Wrapper : (props: Props) => JSX.Element
27 >( <Wrapper> {/* comment */} <div>Hello</div> </Wrapper>) : JSX.Element
29 <Wrapper>
30 ><Wrapper> {/* comment */} <div>Hello</div> </Wrapper> : JSX.Element
31 >Wrapper : (props: Props) => JSX.Element
39 </Wrapper>
40 >Wrapper : (props: Props) => JSX.Element
DjsxEmptyExpressionNotCountedAsChild(jsx=react).types12 function Wrapper(props: Props) {
13 >Wrapper : (props: Props) => JSX.Element
27 >( <Wrapper> {/* comment */} <div>Hello</div> </Wrapper>) : JSX.Element
29 <Wrapper>
30 ><Wrapper> {/* comment */} <div>Hello</div> </Wrapper> : JSX.Element
31 >Wrapper : (props: Props) => JSX.Element
39 </Wrapper>
40 >Wrapper : (props: Props) => JSX.Element
DjsxEmptyExpressionNotCountedAsChild(jsx=react-jsx).types12 function Wrapper(props: Props) {
13 >Wrapper : (props: Props) => JSX.Element
27 >( <Wrapper> {/* comment */} <div>Hello</div> </Wrapper>) : JSX.Element
29 <Wrapper>
30 ><Wrapper> {/* comment */} <div>Hello</div> </Wrapper> : JSX.Element
31 >Wrapper : (props: Props) => JSX.Element
39 </Wrapper>
40 >Wrapper : (props: Props) => JSX.Element
DbaseTypeWrappingInstantiationChain.symbols12 class CBase<T2> extends CBaseBase<Wrapper<T2>> {
16 >Wrapper : Symbol(Wrapper, Decl(baseTypeWrappingInstantiationChain.ts, 10, 1))
31 class Wrapper<T5> {
32 >Wrapper : Symbol(Wrapper, Decl(baseTypeWrappingInstantiationChain.ts, 10, 1))
36 >property : Symbol(Wrapper.property, Decl(baseTypeWrappingInstantiationChain.ts, 12, 19))
49 new CBaseBase<Wrapper<T1>>(this);
51 >Wrapper : Symbol(Wrapper, Decl(baseTypeWrappingInstantiationChain.ts, 10, 1))
58 new CBase<T1>(this); // Should not error, parameter is of type Parameter<Wrapper<T1>>
64 public method(t: Wrapper<T1>) { }
67 >Wrapper : Symbol(Wrapper, Decl(baseTypeWrappingInstantiationChain.ts, 10, 1))
DdeclarationEmitOverloadedPrivateInference.js10 export class Wrapper {
27 exports.Wrapper = void 0;
34 var Wrapper = /** @class */ (function () { class
35 function Wrapper() { class in Wrapper
41 Wrapper.prototype.proxy = function (fn) {
44 return Wrapper;
46 exports.Wrapper = Wrapper;
50 export declare class Wrapper {
DjsxEmptyExpressionNotCountedAsChild(jsx=react-jsxdev).symbols15 function Wrapper(props: Props) {
16 >Wrapper : Symbol(Wrapper, Decl(jsxEmptyExpressionNotCountedAsChild.tsx, 5, 1))
31 <Wrapper>
32 >Wrapper : Symbol(Wrapper, Decl(jsxEmptyExpressionNotCountedAsChild.tsx, 5, 1))
39 </Wrapper>
40 >Wrapper : Symbol(Wrapper, Decl(jsxEmptyExpressionNotCountedAsChild.tsx, 5, 1))
DjsxEmptyExpressionNotCountedAsChild(jsx=react-jsx).symbols15 function Wrapper(props: Props) {
16 >Wrapper : Symbol(Wrapper, Decl(jsxEmptyExpressionNotCountedAsChild.tsx, 5, 1))
31 <Wrapper>
32 >Wrapper : Symbol(Wrapper, Decl(jsxEmptyExpressionNotCountedAsChild.tsx, 5, 1))
39 </Wrapper>
40 >Wrapper : Symbol(Wrapper, Decl(jsxEmptyExpressionNotCountedAsChild.tsx, 5, 1))
DjsxEmptyExpressionNotCountedAsChild(jsx=react).symbols15 function Wrapper(props: Props) {
16 >Wrapper : Symbol(Wrapper, Decl(jsxEmptyExpressionNotCountedAsChild.tsx, 5, 1))
31 <Wrapper>
32 >Wrapper : Symbol(Wrapper, Decl(jsxEmptyExpressionNotCountedAsChild.tsx, 5, 1))
39 </Wrapper>
40 >Wrapper : Symbol(Wrapper, Decl(jsxEmptyExpressionNotCountedAsChild.tsx, 5, 1))
DdeclarationEmitOverloadedPrivateInference.symbols15 export class Wrapper {
16 >Wrapper : Symbol(Wrapper, Decl(declarationEmitOverloadedPrivateInference.ts, 6, 1))
19 >proxy : Symbol(Wrapper.proxy, Decl(declarationEmitOverloadedPrivateInference.ts, 8, 22), Decl(decl…
31 >proxy : Symbol(Wrapper.proxy, Decl(declarationEmitOverloadedPrivateInference.ts, 8, 22), Decl(decl…
44 >proxy : Symbol(Wrapper.proxy, Decl(declarationEmitOverloadedPrivateInference.ts, 8, 22), Decl(decl…
56 >Proxies : Symbol(Wrapper.Proxies, Decl(declarationEmitOverloadedPrivateInference.ts, 14, 5))
60 >this.proxy : Symbol(Wrapper.proxy, Decl(declarationEmitOverloadedPrivateInference.ts, 8, 22), Decl…
61 >this : Symbol(Wrapper, Decl(declarationEmitOverloadedPrivateInference.ts, 6, 1))
62 >proxy : Symbol(Wrapper.proxy, Decl(declarationEmitOverloadedPrivateInference.ts, 8, 22), Decl(decl…
67 >this.proxy : Symbol(Wrapper.proxy, Decl(declarationEmitOverloadedPrivateInference.ts, 8, 22), Decl…
[all …]
DindexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.symbols14 interface Wrapper<T> {
15 >Wrapper : Symbol(Wrapper, Decl(indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.ts, 1, 53))
19 >call : Symbol(Wrapper.call, Decl(indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.ts, 3, 22))
40 foo: Wrapper<AWrapped>;
42 >Wrapper : Symbol(Wrapper, Decl(indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.ts, 1, 53))
58 foo: Wrapper<BWrapped>;
60 >Wrapper : Symbol(Wrapper, Decl(indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.ts, 1, 53))
DbaseTypeWrappingInstantiationChain.js6 class CBase<T2> extends CBaseBase<Wrapper<T2>> {
14 class Wrapper<T5> { class
20 new CBaseBase<Wrapper<T1>>(this);
26 public method(t: Wrapper<T1>) { }
64 var Wrapper = /** @class */ (function () {
65 function Wrapper() { class in Wrapper
67 return Wrapper;
DintraExpressionInferences.js103 class Wrapper<T = any> { class
107 type WrappedMap = Record<string, Wrapper>;
109 [K in keyof D]: D[K] extends Wrapper<infer T> ? T : never;
123 num: new Wrapper<number>(),
124 str: new Wrapper<string>()
127 bool: new Wrapper<boolean>(),
128 str: new Wrapper<string>()
262 var Wrapper = /** @class */ (function () {
263 function Wrapper() { class in Wrapper
265 return Wrapper;
[all …]
DpartialDiscriminatedUnionMemberHasGoodError.types21 interface Wrapper {
26 const foo: Wrapper[] = [];
27 >foo : Wrapper[]
32 >foo.push : (...items: Wrapper[]) => number
33 >foo : Wrapper[]
34 >push : (...items: Wrapper[]) => number
DpartialDiscriminatedUnionMemberHasGoodError.symbols27 interface Wrapper {
28 >Wrapper : Symbol(Wrapper, Decl(partialDiscriminatedUnionMemberHasGoodError.ts, 10, 31))
31 >types : Symbol(Wrapper.types, Decl(partialDiscriminatedUnionMemberHasGoodError.ts, 12, 19))
35 const foo: Wrapper[] = [];
37 >Wrapper : Symbol(Wrapper, Decl(partialDiscriminatedUnionMemberHasGoodError.ts, 10, 31))
DimplementsIncorrectlyNoAssertion.symbols14 type Wrapper = Foo & Bar;
15 >Wrapper : Symbol(Wrapper, Decl(implementsIncorrectlyNoAssertion.ts, 5, 1))
19 class Baz implements Wrapper {
21 >Wrapper : Symbol(Wrapper, Decl(implementsIncorrectlyNoAssertion.ts, 5, 1))
DjsxEmptyExpressionNotCountedAsChild(jsx=react).js9 function Wrapper(props: Props) { class
14 <Wrapper>
17 </Wrapper>
25 function Wrapper(props) {
28 var element = (React.createElement(Wrapper, null,
DjsxEmptyExpressionNotCountedAsChild(jsx=react-jsx).js9 function Wrapper(props: Props) { class
14 <Wrapper>
17 </Wrapper>
24 function Wrapper(props) {
27 var element = ((0, jsx_runtime_1.jsx)(Wrapper, { children: (0, jsx_runtime_1.jsx)("div", { children…
DreturnTypeInferenceNotTooBroad.symbols22 interface Wrapper<T> {
23 >Wrapper : Symbol(Wrapper, Decl(returnTypeInferenceNotTooBroad.ts, 4, 1))
26 declare function sepsis<T extends Signs>(opts: Opts<T>): Wrapper<T>;
33 >Wrapper : Symbol(Wrapper, Decl(returnTypeInferenceNotTooBroad.ts, 4, 1))
36 declare function unwrap<T>(w: Wrapper<T>): T;
40 >Wrapper : Symbol(Wrapper, Decl(returnTypeInferenceNotTooBroad.ts, 4, 1))
DjsxEmptyExpressionNotCountedAsChild(jsx=react-jsxdev).js9 function Wrapper(props: Props) { class
14 <Wrapper>
17 </Wrapper>
25 function Wrapper(props) {
28 var element = ((0, jsx_dev_runtime_1.jsxDEV)(Wrapper, { children: (0, jsx_dev_runtime_1.jsxDEV)("di…
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp39 std::unique_ptr<OProfileWrapper> Wrapper; member in __anon694a8a990111::OProfileJITEventListener
46 : Wrapper(std::move(LibraryWrapper)) { in OProfileJITEventListener()
59 if (!Wrapper->op_open_agent()) { in initialize()
69 if (Wrapper->isAgentAvailable()) { in ~OProfileJITEventListener()
70 if (Wrapper->op_close_agent() == -1) { in ~OProfileJITEventListener()
83 if (!Wrapper->isAgentAvailable()) { in notifyObjectLoaded()
107 if (Wrapper->op_write_native_code(Name.data(), Addr, (void *)Addr, Size) == in notifyObjectLoaded()
130 if (Wrapper->op_write_debug_line_info((void *)Addr, num_entries, in notifyObjectLoaded()
143 if (Wrapper->isAgentAvailable()) { in notifyFreeingObject()
162 if (Wrapper->op_unload_native_code(Addr) == -1) { in notifyFreeingObject()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFixFunctionBitcasts.cpp121 Function *Wrapper = Function::Create(Ty, Function::PrivateLinkage, in createWrapper() local
123 BasicBlock *BB = BasicBlock::Create(M->getContext(), "body", Wrapper); in createWrapper()
128 Function::arg_iterator AI = Wrapper->arg_begin(); in createWrapper()
129 Function::arg_iterator AE = Wrapper->arg_end(); in createWrapper()
210 Wrapper->eraseFromParent(); in createWrapper()
211 Wrapper = Function::Create(Ty, Function::PrivateLinkage, in createWrapper()
213 BasicBlock *BB = BasicBlock::Create(M->getContext(), "body", Wrapper); in createWrapper()
215 Wrapper->setName(F->getName() + "_bitcast_invalid"); in createWrapper()
219 Wrapper->eraseFromParent(); in createWrapper()
223 return Wrapper; in createWrapper()
[all …]

12345678