/third_party/typescript/tests/baselines/reference/ |
D | classWithConstructors.types | 23 class C2 { 24 >C2 : C2 36 var c3 = new C2(); // error 37 >c3 : C2 38 >new C2() : C2 39 >C2 : typeof C2 41 var c4 = new C2(''); // ok 42 >c4 : C2 43 >new C2('') : C2 44 >C2 : typeof C2 [all …]
|
D | typeGuardOfFormInstanceOf.types | 14 class C2 { 15 >C2 : C2 42 var ctor1: C1 | C2; 43 >ctor1 : C1 | C2 50 >ctor1 : C1 | C2 56 num = ctor1 instanceof C2 && ctor1.p2; // C2 57 >num = ctor1 instanceof C2 && ctor1.p2 : number 59 >ctor1 instanceof C2 && ctor1.p2 : number 60 >ctor1 instanceof C2 : boolean 61 >ctor1 : C1 | C2 [all …]
|
D | mergedClassNamespaceRecordCast.types | 12 class C2 { foo() {} } 13 >C2 : C2 16 namespace C2 { export const unrelated = 3; } 17 >C2 : typeof C2 21 new C2() as Record<string, unknown>; 22 >new C2() as Record<string, unknown> : Record<string, unknown> 23 >new C2() : C2 24 >C2 : typeof C2 26 C2.unrelated 27 >C2.unrelated : 3 [all …]
|
D | instanceofWithStructurallyIdenticalTypes.types | 8 class C2 { item: string[] } 9 >C2 : C2 16 function foo1(x: C1 | C2 | C3): string { 17 >foo1 : (x: C1 | C2 | C3) => string 18 >x : C1 | C2 | C3 22 >x : C1 | C2 | C3 30 else if (x instanceof C2) { 31 >x instanceof C2 : boolean 32 >x : C2 | C3 33 >C2 : typeof C2 [all …]
|
D | classWithConstructors.js | 10 class C2 { class 16 var c3 = new C2(); // error 17 var c4 = new C2(''); // ok 18 var c5 = new C2(1); // ok 20 class D extends C2 { } 35 class C2<T,U> { 41 var c3 = new C2(); // error 42 var c4 = new C2(''); // ok 43 var c5 = new C2(1, 2); // ok 45 class D<T, U> extends C2<T, U> { } [all …]
|
D | typeOfThisInStaticMembers.types | 53 class C2<T> { 54 >C2 : C2<T> 66 >bar : () => typeof C2 70 >t : typeof C2 71 >this : typeof C2 74 >this : typeof C2 78 var t2 = C2.bar(); 79 >t2 : typeof C2 80 >C2.bar() : typeof C2 81 >C2.bar : () => typeof C2 [all …]
|
D | mergedClassNamespaceRecordCast.js | 7 class C2 { foo() {} } class 8 namespace C2 { export const unrelated = 3; } 10 new C2() as Record<string, unknown>; 12 C2.unrelated 13 new C2().unrelated 29 var C2 = /** @class */ (function () { 30 function C2() { class in C2 32 C2.prototype.foo = function () { }; 33 return C2; 35 (function (C2) { argument [all …]
|
D | mergedClassNamespaceRecordCast.symbols | 11 class C2 { foo() {} } 12 >C2 : Symbol(C2, Decl(mergedClassNamespaceRecordCast.ts, 2, 36), Decl(mergedClassNamespaceRecordCas… 13 >foo : Symbol(C2.foo, Decl(mergedClassNamespaceRecordCast.ts, 5, 10)) 15 namespace C2 { export const unrelated = 3; } 16 >C2 : Symbol(C2, Decl(mergedClassNamespaceRecordCast.ts, 2, 36), Decl(mergedClassNamespaceRecordCas… 19 new C2() as Record<string, unknown>; 20 >C2 : Symbol(C2, Decl(mergedClassNamespaceRecordCast.ts, 2, 36), Decl(mergedClassNamespaceRecordCas… 23 C2.unrelated 24 >C2.unrelated : Symbol(C2.unrelated, Decl(mergedClassNamespaceRecordCast.ts, 6, 27)) 25 >C2 : Symbol(C2, Decl(mergedClassNamespaceRecordCast.ts, 2, 36), Decl(mergedClassNamespaceRecordCas… [all …]
|
D | typeGuardOfFormInstanceOf.symbols | 14 class C2 { 15 >C2 : Symbol(C2, Decl(typeGuardOfFormInstanceOf.ts, 8, 1)) 18 >p2 : Symbol(C2.p2, Decl(typeGuardOfFormInstanceOf.ts, 9, 10)) 42 var ctor1: C1 | C2; 45 >C2 : Symbol(C2, Decl(typeGuardOfFormInstanceOf.ts, 8, 1)) 55 num = ctor1 instanceof C2 && ctor1.p2; // C2 58 >C2 : Symbol(C2, Decl(typeGuardOfFormInstanceOf.ts, 8, 1)) 59 >ctor1.p2 : Symbol(C2.p2, Decl(typeGuardOfFormInstanceOf.ts, 9, 10)) 61 >p2 : Symbol(C2.p2, Decl(typeGuardOfFormInstanceOf.ts, 9, 10)) 79 var ctor2: C2 | D1; [all …]
|
D | privateClassPropertyAccessibleWithinClass.symbols | 65 class C2 { 66 >C2 : Symbol(C2, Decl(privateClassPropertyAccessibleWithinClass.ts, 13, 1)) 69 >x : Symbol(C2.x, Decl(privateClassPropertyAccessibleWithinClass.ts, 16, 10)) 72 >y : Symbol(C2.y, Decl(privateClassPropertyAccessibleWithinClass.ts, 17, 22), Decl(privateClassProp… 73 >this.x : Symbol(C2.x, Decl(privateClassPropertyAccessibleWithinClass.ts, 16, 10)) 74 >this : Symbol(C2, Decl(privateClassPropertyAccessibleWithinClass.ts, 13, 1)) 75 >x : Symbol(C2.x, Decl(privateClassPropertyAccessibleWithinClass.ts, 16, 10)) 78 >y : Symbol(C2.y, Decl(privateClassPropertyAccessibleWithinClass.ts, 17, 22), Decl(privateClassProp… 80 >this.y : Symbol(C2.y, Decl(privateClassPropertyAccessibleWithinClass.ts, 17, 22), Decl(privateClas… 81 >this : Symbol(C2, Decl(privateClassPropertyAccessibleWithinClass.ts, 13, 1)) [all …]
|
D | protectedClassPropertyAccessibleWithinClass.symbols | 65 class C2 { 66 >C2 : Symbol(C2, Decl(protectedClassPropertyAccessibleWithinClass.ts, 13, 1)) 69 >x : Symbol(C2.x, Decl(protectedClassPropertyAccessibleWithinClass.ts, 16, 10)) 72 >y : Symbol(C2.y, Decl(protectedClassPropertyAccessibleWithinClass.ts, 17, 24), Decl(protectedClass… 73 >this.x : Symbol(C2.x, Decl(protectedClassPropertyAccessibleWithinClass.ts, 16, 10)) 74 >this : Symbol(C2, Decl(protectedClassPropertyAccessibleWithinClass.ts, 13, 1)) 75 >x : Symbol(C2.x, Decl(protectedClassPropertyAccessibleWithinClass.ts, 16, 10)) 78 >y : Symbol(C2.y, Decl(protectedClassPropertyAccessibleWithinClass.ts, 17, 24), Decl(protectedClass… 80 >this.y : Symbol(C2.y, Decl(protectedClassPropertyAccessibleWithinClass.ts, 17, 24), Decl(protected… 81 >this : Symbol(C2, Decl(protectedClassPropertyAccessibleWithinClass.ts, 13, 1)) [all …]
|
D | typeGuardOfFormIsTypeOnInterfaces.types | 10 interface C2 { 11 (): C2; 12 prototype: C2; 13 >prototype : C2 43 function isC2(x: any): x is C2 { 44 >isC2 : (x: any) => x is C2 62 var c2: C2; 63 >c2 : C2 68 var c1Orc2: C1 | C2; 69 >c1Orc2 : C1 | C2 [all …]
|
D | constructorFunctions.types | 32 var C2 = function () { 33 >C2 : typeof C2 34 >function () { if (!(this instanceof C2)) return new C2(); this.x = 1;} : typeof C2 36 if (!(this instanceof C2)) return new C2(); 37 >!(this instanceof C2) : boolean 38 >(this instanceof C2) : boolean 39 >this instanceof C2 : boolean 41 >C2 : typeof C2 42 >new C2() : C2 43 >C2 : typeof C2 [all …]
|
D | constructSignaturesWithOverloads.types | 26 class C2<T> { 27 >C2 : C2<T> 41 var r2 = new C2(1, ''); 42 >r2 : C2<number> 43 >new C2(1, '') : C2<number> 44 >C2 : typeof C2 69 new (x: T, y?: string): C2<T>; 73 new (x: T, y: string): C2<T>; 77 new <T>(x: T, y?: string): C2<T>; 81 new <T>(x: T, y: string): C2<T>; [all …]
|
D | constructSignaturesWithIdenticalOverloads.types | 26 class C2<T> { 27 >C2 : C2<T> 41 var r2 = new C2(1, ''); 42 >r2 : C2<number> 43 >new C2(1, '') : C2<number> 44 >C2 : typeof C2 69 new (x: T, y: string): C2<T>; 73 new (x: T, y: string): C2<T>; // error 77 new <T>(x: T, y: string): C2<T>; 81 new <T>(x: T, y: string): C2<T>; // error [all …]
|
D | classWithConstructors.symbols | 20 class C2 { 21 >C2 : Symbol(C2, Decl(classWithConstructors.ts, 6, 23)) 33 var c3 = new C2(); // error 35 >C2 : Symbol(C2, Decl(classWithConstructors.ts, 6, 23)) 37 var c4 = new C2(''); // ok 39 >C2 : Symbol(C2, Decl(classWithConstructors.ts, 6, 23)) 41 var c5 = new C2(1); // ok 43 >C2 : Symbol(C2, Decl(classWithConstructors.ts, 6, 23)) 45 class D extends C2 { } 47 >C2 : Symbol(C2, Decl(classWithConstructors.ts, 6, 23)) [all …]
|
D | m7Bugs.types | 33 class C2 extends C1 {} 34 >C2 : C2 37 var y1: C1 = new C2(); 39 >new C2() : C2 40 >C2 : typeof C2 42 var y2: C1 = <C1> new C2(); 44 ><C1> new C2() : C1 45 >new C2() : C2 46 >C2 : typeof C2
|
D | typeGuardOfFormIsType.types | 8 class C2 { 9 >C2 : C2 38 function isC2(x: any): x is C2 { 39 >isC2 : (x: any) => x is C2 54 var c1Orc2: C1 | C2; 55 >c1Orc2 : C1 | C2 63 >c1Orc2 : C1 | C2 68 num = isC2(c1Orc2) && c1Orc2.p2; // C2 73 >isC2 : (x: any) => x is C2 74 >c1Orc2 : C1 | C2 [all …]
|
D | recursiveBaseConstructorCreation1.types | 5 public func(param: C2): any { } 6 >func : (param: C2) => any 7 >param : C2 9 class C2 extends C1 { } 10 >C2 : C2 13 var x = new C2(); // Valid 14 >x : C2 15 >new C2() : C2 16 >C2 : typeof C2
|
D | typeGuardOfFormInstanceOfOnInterface.types | 16 interface C2 { 17 (): C2; 18 prototype: C2; 19 >prototype : C2 43 var c2: C2; 44 >c2 : C2 49 var c1Orc2: C1 | C2; 50 >c1Orc2 : C1 | C2 57 >c1Orc2 : C1 | C2 63 num = c1Orc2 instanceof c2 && c1Orc2.p2; // C2 [all …]
|
D | typeGuardOfFormInstanceOf.js | 11 class C2 { class 24 var ctor1: C1 | C2; 26 num = ctor1 instanceof C2 && ctor1.p2; // C2 30 var ctor2: C2 | D1; 31 num = ctor2 instanceof C2 && ctor2.p2; // C2 34 var r2: D1 | C2 = ctor2 instanceof C1 && ctor2; // C2 | D1 36 var ctor3: C1 | C2; 44 var ctor4: C1 | C2 | C3; 48 else if (ctor4 instanceof C2) { 55 var ctor5: C1 | D1 | C2; [all …]
|
D | arrayAssignmentTest1.types | 18 class C2 extends C1 { 19 >C2 : C2 22 C2M1():C2[] { return null;} 23 >C2M1 : () => C2[] 60 var c2 : C2 = new C2(); 61 >c2 : C2 62 >new C2() : C2 63 >C2 : typeof C2 94 var arr_c2: C2[] = []; 95 >arr_c2 : C2[] [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | sbcdsp_data.c | 52 #define C2 1.3056875580 macro 58 F(3.06012286E-03 * C2), F(3.89205149E-03 * C2), 62 F(7.76463494E-02 * C2), F(6.13245186E-03 * C2), 66 -F(1.94987841E-01 * C2), F(2.81828203E-01 * C2), 70 -F(2.04385087E-02 * C2), F(3.21939290E-02 * C2), 74 -F(5.36548976E-04 * C2), F(2.73370904E-03 * C2), 82 F(0.3826834324 / C2), -F(1.0000000000 / C3), 83 -F(0.9238795325 / C2), -F(1.0000000000 / C3), 84 F(0.9238795325 / C2), -F(1.0000000000 / C3), 85 -F(0.3826834324 / C2), -F(1.0000000000 / C3), [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | Row.java | 23 public class Row<C0, C1, C2, C3, C4> implements java.lang.Comparable, Cloneable, 24 Freezable<Row<C0, C1, C2, C3, C4>>{ 34 public static <C0, C1, C2> R3<C0,C1,C2> of(C0 p0, C1 p1, C2 p2) { in of() 37 public static <C0, C1, C2, C3> R4<C0,C1,C2,C3> of(C0 p0, C1 p1, C2 p2, C3 p3) { in of() 40 public static <C0, C1, C2, C3, C4> R5<C0,C1,C2,C3,C4> of(C0 p0, C1 p1, C2 p2, C3 p3, C4 p4) { in of() 55 public static class R3<C0, C1, C2> extends Row<C0, C1, C2, C2, C2> { 56 public R3(C0 a, C1 b, C2 c) { in R3() 63 public static class R4<C0, C1, C2, C3> extends Row<C0, C1, C2, C3, C3> { 64 public R4(C0 a, C1 b, C2 c, C3 d) { in R4() 71 public static class R5<C0, C1, C2, C3, C4> extends Row<C0, C1, C2, C3, C4> { [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Row.java | 19 public class Row<C0, C1, C2, C3, C4> implements java.lang.Comparable, Cloneable, 20 Freezable<Row<C0, C1, C2, C3, C4>>{ 30 public static <C0, C1, C2> R3<C0,C1,C2> of(C0 p0, C1 p1, C2 p2) { in of() 33 public static <C0, C1, C2, C3> R4<C0,C1,C2,C3> of(C0 p0, C1 p1, C2 p2, C3 p3) { in of() 36 public static <C0, C1, C2, C3, C4> R5<C0,C1,C2,C3,C4> of(C0 p0, C1 p1, C2 p2, C3 p3, C4 p4) { in of() 45 public static class R3<C0, C1, C2> extends Row<C0, C1, C2, C2, C2> { 46 public R3(C0 a, C1 b, C2 c) { in R3() 50 public static class R4<C0, C1, C2, C3> extends Row<C0, C1, C2, C3, C3> { 51 public R4(C0 a, C1 b, C2 c, C3 d) { in R4() 55 public static class R5<C0, C1, C2, C3, C4> extends Row<C0, C1, C2, C3, C4> { [all …]
|