Home
last modified time | relevance | path

Searched refs:private (Results 1 – 25 of 8309) sorted by relevance

12345678910>>...333

/third_party/typescript/tests/baselines/reference/
DmemberFunctionsWithPrivateOverloads.errors.txt1 …FunctionsWithPrivateOverloads.ts(43,11): error TS2341: Property 'foo' is private and only accessib…
2 …FunctionsWithPrivateOverloads.ts(46,12): error TS2341: Property 'foo' is private and only accessib…
3 …FunctionsWithPrivateOverloads.ts(48,12): error TS2341: Property 'foo' is private and only accessib…
4 …FunctionsWithPrivateOverloads.ts(49,12): error TS2341: Property 'bar' is private and only accessib…
9 private foo(x: number);
10 private foo(x: number, y: string);
11 private foo(x: any, y?: any) { }
13 private bar(x: 'hi');
14 private bar(x: string);
15 private bar(x: number, y: string);
[all …]
DmemberFunctionsWithPublicPrivateOverloads.errors.txt1 …vateOverloads.ts(3,12): error TS2385: Overload signatures must all be public, private or protected.
2 …vateOverloads.ts(7,12): error TS2385: Overload signatures must all be public, private or protected.
3 …ateOverloads.ts(12,19): error TS2385: Overload signatures must all be public, private or protected.
4 …ateOverloads.ts(15,15): error TS2385: Overload signatures must all be public, private or protected.
5 …ateOverloads.ts(16,15): error TS2385: Overload signatures must all be public, private or protected.
6 …ateOverloads.ts(20,19): error TS2385: Overload signatures must all be public, private or protected.
7 …ateOverloads.ts(25,19): error TS2385: Overload signatures must all be public, private or protected.
8 …ateOverloads.ts(32,12): error TS2385: Overload signatures must all be public, private or protected.
9 …ateOverloads.ts(36,12): error TS2385: Overload signatures must all be public, private or protected.
10 …ateOverloads.ts(41,15): error TS2385: Overload signatures must all be public, private or protected.
[all …]
DstrictModeReservedWord.types31 function bar(private, implements, let) { }
32 >bar : (private: any, implements: any, let: any) => void
33 >private : any
40 function barn(cb: (private, public, package) => void) { }
41 >barn : (cb: (private: any, public: any, package: any) => void) => void
42 >cb : (private: any, public: any, package: any) => void
43 >private : any
47 barn((private, public, package) => { });
48 >barn((private, public, package) => { }) : void
49 >barn : (cb: (private: any, public: any, package: any) => void) => void
[all …]
DprivacyGetter.types8 private f1() {
20 private get p1_private() {
28 private set p1_private(m1_c3_p1_arg: C1_public) {
33 private get p2_private() {
41 private set p2_private(m1_c3_p2_arg: C1_public) {
46 private get p3_private() {
54 private set p3_private(m1_c3_p3_arg: C2_private) {
76 private get p1_private() {
84 private set p1_private(m1_c3_p1_arg: C1_public) {
89 private get p2_private() {
[all …]
DclassWithPrivateProperty.errors.txt1 …embers/classWithPrivateProperty.ts(15,20): error TS2341: Property 'x' is private and only accessib…
2 …embers/classWithPrivateProperty.ts(16,20): error TS2341: Property 'a' is private and only accessib…
3 …embers/classWithPrivateProperty.ts(17,20): error TS2341: Property 'b' is private and only accessib…
4 …embers/classWithPrivateProperty.ts(18,20): error TS2341: Property 'c' is private and only accessib…
5 …embers/classWithPrivateProperty.ts(19,20): error TS2341: Property 'd' is private and only accessib…
6 …embers/classWithPrivateProperty.ts(20,20): error TS2341: Property 'e' is private and only accessib…
7 …embers/classWithPrivateProperty.ts(21,20): error TS2341: Property 'f' is private and only accessib…
8 …embers/classWithPrivateProperty.ts(22,20): error TS2341: Property 'g' is private and only accessib…
12 // accessing any private outside the class is an error
15 private x;
[all …]
DprivateNamesIncompatibleModifiersJs.errors.txt1 …fiersJs.js(3,8): error TS18010: An accessibility modifier cannot be used with a private identifier.
2 …fiersJs.js(8,8): error TS18010: An accessibility modifier cannot be used with a private identifier.
3 …iersJs.js(13,8): error TS18010: An accessibility modifier cannot be used with a private identifier.
4 …iersJs.js(18,8): error TS18010: An accessibility modifier cannot be used with a private identifier.
5 …iersJs.js(23,8): error TS18010: An accessibility modifier cannot be used with a private identifier.
6 …iersJs.js(28,8): error TS18010: An accessibility modifier cannot be used with a private identifier.
7 …iersJs.js(33,8): error TS18010: An accessibility modifier cannot be used with a private identifier.
8 …iersJs.js(37,8): error TS18010: An accessibility modifier cannot be used with a private identifier.
9 …iersJs.js(42,8): error TS18010: An accessibility modifier cannot be used with a private identifier.
10 …iersJs.js(46,8): error TS18010: An accessibility modifier cannot be used with a private identifier.
[all …]
DstrictModeReservedWord2.types21 private,
22 >private : foo.private
28 const enum private {
29 >private : private
32 >public : private.public
34 private,
35 >private : private.private
38 >pacakge : private.pacakge
47 private,
48 >private : bar.private
Des6ModuleClassDeclaration.types7 private x = 10;
19 private static l = 30;
23 private method1() {
32 private static method4() {
41 private x = 10;
53 private static l = 30;
57 private method1() {
66 private static method4() {
86 private x = 10;
98 private static l = 30;
[all …]
DstrictModeReservedWord.symbols24 function bar(private, implements, let) { }
26 >private : Symbol(private, Decl(strictModeReservedWord.ts, 9, 17))
35 function barn(cb: (private, public, package) => void) { }
38 >private : Symbol(private, Decl(strictModeReservedWord.ts, 11, 23))
42 barn((private, public, package) => { });
44 >private : Symbol(private, Decl(strictModeReservedWord.ts, 12, 10))
58 function foo(x: private.x) { }
61 >private : Symbol(private)
62 >x : Symbol(private.x)
64 function foo1(x: private.package.x) { }
[all …]
DstrictModeReservedWordInClassDeclaration.types7 constructor(private, public, static) {
8 >private : any
12 private = public = static;
13 >private = public = static : any
14 >private : any
31 foo1(private, static, public) {
32 >foo1 : (private: any, static: any, public: any) => void
33 >private : any
50 class D<public, private>{ }
51 >D : D<public, private>
[all …]
DcallSignaturesWithAccessibilityModifiersOnParameters.types4 function foo(public x, private y) { }
9 var f = function foo(public x, private y) { }
11 >function foo(public x, private y) { } : (x: any, y: any) => void
16 var f2 = function (public x, private y) { }
18 >function (public x, private y) { } : (x: any, y: any) => void
22 var f3 = (x, private y) => { }
24 >(x, private y) => { } : (x: any, y: any) => void
34 function foo2(private x: string, public y: number) { }
39 var f5 = function foo(private x: string, public y: number) { }
41 >function foo(private x: string, public y: number) { } : (x: string, y: number) => void
[all …]
DstrictModeReservedWord2.symbols23 private,
24 >private : Symbol(foo.private, Decl(strictModeReservedWord2.ts, 7, 11))
30 const enum private {
31 >private : Symbol(private, Decl(strictModeReservedWord2.ts, 10, 1))
34 >public : Symbol(private.public, Decl(strictModeReservedWord2.ts, 12, 20))
36 private,
37 >private : Symbol(private.private, Decl(strictModeReservedWord2.ts, 13, 11))
40 >pacakge : Symbol(private.pacakge, Decl(strictModeReservedWord2.ts, 14, 12))
49 private,
50 >private : Symbol(bar.private, Decl(strictModeReservedWord2.ts, 19, 11))
DclassPropertyAsPrivate.errors.txt5 …ssibility/classPropertyAsPrivate.ts(15,3): error TS2341: Property 'x' is private and only accessib…
6 …ssibility/classPropertyAsPrivate.ts(16,3): error TS2341: Property 'y' is private and only accessib…
7 …ssibility/classPropertyAsPrivate.ts(17,3): error TS2341: Property 'y' is private and only accessib…
8 …ibility/classPropertyAsPrivate.ts(18,3): error TS2341: Property 'foo' is private and only accessib…
9 …ssibility/classPropertyAsPrivate.ts(20,3): error TS2341: Property 'a' is private and only accessib…
10 …ssibility/classPropertyAsPrivate.ts(21,3): error TS2341: Property 'b' is private and only accessib…
11 …ssibility/classPropertyAsPrivate.ts(22,3): error TS2341: Property 'b' is private and only accessib…
12 …ibility/classPropertyAsPrivate.ts(23,3): error TS2341: Property 'foo' is private and only accessib…
17 private x: string;
18 private get y() { return null; }
[all …]
DprivacyGloGetter.types8 private f1() {
20 private get p1_private() {
28 private set p1_private(m1_c3_p1_arg: C1_public) {
33 private get p2_private() {
41 private set p2_private(m1_c3_p2_arg: C1_public) {
46 private get p3_private() {
54 private set p3_private(m1_c3_p3_arg: C2_private) {
76 private get p1_private() {
84 private set p1_private(m1_c3_p1_arg: C1_public) {
89 private get p2_private() {
[all …]
DmemberFunctionsWithPrivateOverloads.types5 private foo(x: number);
9 private foo(x: number, y: string);
14 private foo(x: any, y?: any) { }
19 private bar(x: 'hi');
23 private bar(x: string);
27 private bar(x: number, y: string);
32 private bar(x: any, y?: any) { }
37 private static foo(x: number);
41 private static foo(x: number, y: string);
46 private static foo(x: any, y?: any) { }
[all …]
DprivacyAccessorDeclFile.types19 private static get myPrivateStaticMethod(): privateClass {
31 private get myPrivateMethod(): privateClass {
44 private static get myPrivateStaticMethod1() {
58 private get myPrivateMethod1() {
76 private static get myPrivateStaticMethod(): publicClass {
88 private get myPrivateMethod(): publicClass {
101 private static get myPrivateStaticMethod1() {
115 private get myPrivateMethod1() {
133 private static get myPrivateStaticMethod(): privateClass {
145 private get myPrivateMethod(): privateClass {
[all …]
DsubtypingWithObjectMembersAccessibility2.errors.txt2 Property 'foo' is private in type 'A' but not in type 'B'.
4 Property '1' is private in type 'A2' but not in type 'B2'.
6 Property ''1'' is private in type 'A3' but not in type 'B3'.
8 Property 'foo' is private in type 'A' but not in type 'B'.
10 Property '1' is private in type 'A2' but not in type 'B2'.
12 Property ''1'' is private in type 'A3' but not in type 'B3'.
16 // Derived member is private, base member is not causes errors
28 private foo: Base;
34 !!! error TS2415: Property 'foo' is private in type 'A' but not in type 'B'.
39 private 1: Base;
[all …]
DprivateNamesIncompatibleModifiers.errors.txt2 …difiers.ts(2,5): error TS18010: An accessibility modifier cannot be used with a private identifier.
3 …difiers.ts(3,5): error TS18010: An accessibility modifier cannot be used with a private identifier.
4 …difiers.ts(4,5): error TS18010: An accessibility modifier cannot be used with a private identifier.
5 …tibleModifiers.ts(6,5): error TS18019: 'declare' modifier cannot be used with a private identifier.
6 …difiers.ts(8,5): error TS18010: An accessibility modifier cannot be used with a private identifier.
7 …difiers.ts(9,5): error TS18010: An accessibility modifier cannot be used with a private identifier.
8 …ifiers.ts(10,5): error TS18010: An accessibility modifier cannot be used with a private identifier.
11 …ifiers.ts(17,5): error TS18010: An accessibility modifier cannot be used with a private identifier.
12 …ifiers.ts(18,5): error TS18010: An accessibility modifier cannot be used with a private identifier.
13 …ifiers.ts(19,5): error TS18010: An accessibility modifier cannot be used with a private identifier.
[all …]
DprivateClassPropertyAccessibleWithinClass.errors.txt15 private x: string;
16 private get y() { return this.x; }
19 private set y(x) { this.y = this.x; }
22 private foo() { return this.foo; }
24 private static x: string;
25 private static get y() { return this.x; }
28 private static set y(x) { this.y = this.x; }
31 private static foo() { return this.foo; }
32 private static bar() { this.foo(); }
37 private x: string;
[all …]
DdivergentAccessorsVisibility1.errors.txt7 …ccessorsVisibility1.ts(66,14): error TS2341: Property 'PublicPrivate' is private and only accessib…
8 …ssorsVisibility1.ts(69,14): error TS2341: Property 'ProtectedPrivate' is private and only accessib…
9 …cessorsVisibility1.ts(72,14): error TS2341: Property 'PrivatePrivate' is private and only accessib…
10 …ccessorsVisibility1.ts(80,19): error TS2341: Property 'PrivatePublic' is private and only accessib…
11 …ssorsVisibility1.ts(81,19): error TS2341: Property 'PrivateProtected' is private and only accessib…
12 …cessorsVisibility1.ts(82,19): error TS2341: Property 'PrivatePrivate' is private and only accessib…
13 …ccessorsVisibility1.ts(86,14): error TS2341: Property 'PublicPrivate' is private and only accessib…
14 …ssorsVisibility1.ts(89,14): error TS2341: Property 'ProtectedPrivate' is private and only accessib…
15 …cessorsVisibility1.ts(92,14): error TS2341: Property 'PrivatePrivate' is private and only accessib…
17 …cessorsVisibility1.ts(100,10): error TS2341: Property 'PublicPrivate' is private and only accessib…
[all …]
Des6ModuleClassDeclaration.symbols7 private x = 10;
16 private static l = 30;
19 private method1() {
28 private static method4() {
37 private x = 10;
46 private static l = 30;
49 private method1() {
58 private static method4() {
76 private x = 10;
85 private static l = 30;
[all …]
DprivacyVar.types8 private f1() {
20 private C3_v1_private: C1_public;
26 private C3_v3_private: C2_private;
32 private C3_v11_private = new C1_public();
42 private C3_v13_private = new C2_private();
52 private C3_v21_private: C1_public = new C1_public();
62 private C3_v23_private: C2_private = new C2_private();
76 private C4_v1_private: C1_public;
82 private C4_v3_private: C2_private;
88 private C4_v11_private = new C1_public();
[all …]
/third_party/skia/third_party/externals/tint/test/types/
Dmodule_scope_var_conversions.wgsl.expected.wgsl1 var<private> bool_var1 : bool = bool(1u);
3 var<private> bool_var2 : bool = bool(1);
5 var<private> bool_var3 : bool = bool(1.0);
7 var<private> i32_var1 : i32 = i32(1u);
9 var<private> i32_var2 : i32 = i32(1.0);
11 var<private> i32_var3 : i32 = i32(true);
13 var<private> u32_var1 : u32 = u32(1);
15 var<private> u32_var2 : u32 = u32(1.0);
17 var<private> u32_var3 : u32 = u32(true);
19 var<private> v3bool_var1 : vec3<bool> = vec3<bool>(vec3<u32>(1u));
[all …]
Dmodule_scope_var_conversions.wgsl1 var<private> bool_var1 : bool = bool(1u);
2 var<private> bool_var2 : bool = bool(1);
3 var<private> bool_var3 : bool = bool(1.0);
5 var<private> i32_var1 : i32 = i32(1u);
6 var<private> i32_var2 : i32 = i32(1.0);
7 var<private> i32_var3 : i32 = i32(true);
9 var<private> u32_var1 : u32 = u32(1);
10 var<private> u32_var2 : u32 = u32(1.0);
11 var<private> u32_var3 : u32 = u32(true);
13 var<private> v3bool_var1 : vec3<bool> = vec3<bool>(vec3<u32>(1u));
[all …]
/third_party/openssl/test/
Ddrbgtest.c183 EVP_RAND_CTX *private, in test_drbg_reseed() argument
210 || !TEST_int_ne(private_reseed = reseed_counter(private), 0)) in test_drbg_reseed()
237 || !TEST_int_eq(state(private), expected_state)) in test_drbg_reseed()
256 if (!TEST_int_ge(reseed_counter(private), private_reseed) in test_drbg_reseed()
257 || !TEST_uint_ge(reseed_counter(private), in test_drbg_reseed()
270 || !TEST_time_t_ge(reseed_time(private), reseed_time(primary))) in test_drbg_reseed()
292 int private; /* true if the private drbg was used */ member
309 result = l->private - r->private; in compare_drbg_fork_result()
338 EVP_RAND_CTX *private, in test_drbg_reseed_in_child() argument
366 result[0].private = 0; in test_drbg_reseed_in_child()
[all …]

12345678910>>...333