/third_party/protobuf/objectivec/Tests/ |
D | GPBUnknownFieldSetTest.m | 81 GPBUnknownField* field1 = [[[GPBUnknownField alloc] initWithNumber:1] autorelease]; 82 [field1 addVarint:1]; 83 [set1 addField:field1]; 93 field1 = [[[GPBUnknownField alloc] initWithNumber:2] autorelease]; 94 [field1 addFixed32:2]; 95 [set1 addField:field1]; 105 field1 = [[[GPBUnknownField alloc] initWithNumber:3] autorelease]; 106 [field1 addFixed64:3]; 107 [set1 addField:field1]; 117 field1 = [[[GPBUnknownField alloc] initWithNumber:4] autorelease]; [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | classMemberInitializerWithLamdaScoping2.types | 2 var field1: string; 3 >field1 : string 17 constructor(private field1: string) { 18 >field1 : string 22 …field1); // But this should be error as the field1 will resolve to var field1 … 24 console.log(field1); // But this should be error as the field1 will resolve to var field1 25 >console.log(field1) : void 29 >field1 : any 32 … // it would resolve to private field1 and thats not what user intended here.
|
D | classMemberInitializerWithLamdaScoping3.types | 2 var field1: string; 3 >field1 : string 17 constructor(private field1: string) { 18 >field1 : string 22 …field1); // But this should be error as the field1 will resolve to var field1 … 24 console.log(field1); // But this should be error as the field1 will resolve to var field1 25 >console.log(field1) : void 29 >field1 : any 32 … // it would resolve to private field1 and thats not what user intended here.
|
D | classMemberInitializerWithLamdaScoping.types | 57 var field1: string; 58 >field1 : string 63 constructor(private field1: string) { 64 >field1 : string 68 …field1); // But this should be error as the field1 will resolve to var field1 … 70 console.log(field1); // But this should be error as the field1 will resolve to var field1 71 >console.log(field1) : void 75 >field1 : any 78 … // it would resolve to private field1 and thats not what user intended here. 82 >() => { console.log(field1); // This shouldnt be error as its a static property } : () =… [all …]
|
D | classMemberInitializerWithLamdaScoping.js | 19 var field1: string; variable 21 constructor(private field1: string) { 24 console.log(field1); // But this should be error as the field1 will resolve to var field1 29 console.log(field1); // This shouldnt be error as its a static property 49 var field1; variable 51 function Test1(field1) { argument 52 this.field1 = field1; 54 … console.log(field1); // But this should be error as the field1 will resolve to var field1 60 console.log(field1); // This shouldnt be error as its a static property
|
D | classMemberInitializerWithLamdaScoping4.types | 2 export var field1: string; 3 >field1 : string 17 constructor(private field1: string) { 18 >field1 : string 22 >() => { console.log(field1); // Should be error that couldnt find symbol field1 } : () =… 24 console.log(field1); // Should be error that couldnt find symbol field1 25 >console.log(field1) : void 29 >field1 : any
|
D | classMemberInitializerWithLamdaScoping2.js | 4 var field1: string; variable 11 constructor(private field1: string) { 14 console.log(field1); // But this should be error as the field1 will resolve to var field1 21 var field1; variable 24 function Test1(field1) { argument 25 this.field1 = field1; 27 … console.log(field1); // But this should be error as the field1 will resolve to var field1
|
D | classMemberInitializerWithLamdaScoping3.js | 4 var field1: string; variable 11 constructor(private field1: string) { 14 console.log(field1); // But this should be error as the field1 will resolve to var field1 21 var field1; variable 27 function Test1(field1) { argument 28 this.field1 = field1; 30 … console.log(field1); // But this should be error as the field1 will resolve to var field1
|
D | classMemberInitializerWithLamdaScoping4.js | 4 export var field1: string; variable 11 constructor(private field1: string) { 14 console.log(field1); // Should be error that couldnt find symbol field1 21 exports.field1 = void 0; 27 function Test1(field1) { argument 28 this.field1 = field1; 30 console.log(field1); // Should be error that couldnt find symbol field1
|
D | classMemberInitializerWithLamdaScoping2.symbols | 2 var field1: string; 3 >field1 : Symbol(field1, Decl(classMemberInitializerWithLamdaScoping2_0.ts, 0, 3)) 17 constructor(private field1: string) { 18 >field1 : Symbol(Test1.field1, Decl(classMemberInitializerWithLamdaScoping2_1.ts, 4, 16)) 23 console.log(field1); // But this should be error as the field1 will resolve to var field1 29 … // it would resolve to private field1 and thats not what user intended here.
|
D | classMemberInitializerWithLamdaScoping3.symbols | 2 var field1: string; 3 >field1 : Symbol(field1, Decl(classMemberInitializerWithLamdaScoping3_0.ts, 0, 3)) 17 constructor(private field1: string) { 18 >field1 : Symbol(Test1.field1, Decl(classMemberInitializerWithLamdaScoping3_1.ts, 4, 16)) 23 console.log(field1); // But this should be error as the field1 will resolve to var field1 29 … // it would resolve to private field1 and thats not what user intended here.
|
D | classMemberInitializerWithLamdaScoping4.errors.txt | 1 …ing3_1.ts(8,21): error TS2663: Cannot find name 'field1'. Did you mean the instance member 'this.f… 5 export var field1: string; 12 constructor(private field1: string) { 15 console.log(field1); // Should be error that couldnt find symbol field1 17 !!! error TS2663: Cannot find name 'field1'. Did you mean the instance member 'this.field1'?
|
D | classMemberInitializerWithLamdaScoping4.symbols | 2 export var field1: string; 3 >field1 : Symbol(field1, Decl(classMemberInitializerWithLamdaScoping3_0.ts, 0, 10)) 17 constructor(private field1: string) { 18 >field1 : Symbol(Test1.field1, Decl(classMemberInitializerWithLamdaScoping3_1.ts, 4, 16)) 23 console.log(field1); // Should be error that couldnt find symbol field1
|
D | classMemberInitializerWithLamdaScoping2.errors.txt | 1 …f instance member variable 'messageHandler' cannot reference identifier 'field1' declared in the c… 5 var field1: string; 12 constructor(private field1: string) { 15 … console.log(field1); // But this should be error as the field1 will resolve to var field1 17 …f instance member variable 'messageHandler' cannot reference identifier 'field1' declared in the c… 19 … // it would resolve to private field1 and thats not what user intended here.
|
D | classMemberInitializerWithLamdaScoping3.errors.txt | 1 …f instance member variable 'messageHandler' cannot reference identifier 'field1' declared in the c… 5 var field1: string; 12 constructor(private field1: string) { 15 … console.log(field1); // But this should be error as the field1 will resolve to var field1 17 …f instance member variable 'messageHandler' cannot reference identifier 'field1' declared in the c… 19 … // it would resolve to private field1 and thats not what user intended here.
|
D | classMemberInitializerWithLamdaScoping.errors.txt | 1 …f instance member variable 'messageHandler' cannot reference identifier 'field1' declared in the c… 22 var field1: string; 24 constructor(private field1: string) { 27 … console.log(field1); // But this should be error as the field1 will resolve to var field1 29 …f instance member variable 'messageHandler' cannot reference identifier 'field1' declared in the c… 31 … // it would resolve to private field1 and thats not what user intended here. 34 console.log(field1); // This shouldnt be error as its a static property
|
D | classMemberInitializerWithLamdaScoping.symbols | 53 var field1: string; 54 >field1 : Symbol(field1, Decl(classMemberInitializerWithLamdaScoping.ts, 17, 3)) 59 constructor(private field1: string) { 60 >field1 : Symbol(Test1.field1, Decl(classMemberInitializerWithLamdaScoping.ts, 19, 16)) 65 console.log(field1); // But this should be error as the field1 will resolve to var field1 71 … // it would resolve to private field1 and thats not what user intended here. 76 console.log(field1); // This shouldnt be error as its a static property 80 >field1 : Symbol(field1, Decl(classMemberInitializerWithLamdaScoping.ts, 17, 3))
|
/third_party/protobuf/js/experimental/runtime/kernel/ |
D | binary_storage_test.js | 16 const /** !Field */ field1 = constant 41 storage.set(1, field1); 45 expect(storage.get(1)).toBe(field1); 52 storage.set(DEFAULT_PIVOT + 1, field1); 55 expect(storage.get(DEFAULT_PIVOT + 1)).toBe(field1); 62 storage.set(0, field1); 66 expect(storage.get(0)).toBe(field1); 73 storage.set(0, field1); 78 expect(storage.get(0)).toBe(field1); 95 storage.set(100001, field1); [all …]
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
D | initializer-entry-defined-twice.c | 5 int field1; member 10 .field1 = 0, 11 .field1 = 0 36 struct empty field1; member 41 .field1 = { },
|
/third_party/typescript/tests/cases/compiler/ |
D | classMemberInitializerWithLamdaScoping.ts | 19 var field1: string; variable 21 constructor(private field1: string) { property in Test1 24 console.log(field1); // But this should be error as the field1 will resolve to var field1 29 console.log(field1); // This shouldnt be error as its a static property
|
D | classMemberInitializerWithLamdaScoping2.ts | 3 var field1: string; variable 10 constructor(private field1: string) { property in Test1 13 console.log(field1); // But this should be error as the field1 will resolve to var field1
|
D | classMemberInitializerWithLamdaScoping3.ts | 2 var field1: string; variable 9 constructor(private field1: string) { property in Test1 12 console.log(field1); // But this should be error as the field1 will resolve to var field1
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | LazyFieldLiteTest.java | 143 LazyFieldLite field1 = createLazyFieldLiteFromMessage(message1); in testMergeBeforeParsing() local 147 field1.merge(field2); in testMergeBeforeParsing() 150 assertEquals(expected, field1.getValue(TestAllTypes.getDefaultInstance())); in testMergeBeforeParsing() 160 LazyFieldLite field1 = LazyFieldLite.fromValue(message1); in testMergeOneNotParsed() local 161 field1.getValue(TestAllTypes.getDefaultInstance()); // Force parsing. in testMergeOneNotParsed() 163 field1.merge(field2); in testMergeOneNotParsed() 164 assertEquals(expected, field1.getValue(TestAllTypes.getDefaultInstance())); in testMergeOneNotParsed() 167 field1 = LazyFieldLite.fromValue(message1); in testMergeOneNotParsed() 170 field1.merge(field2); in testMergeOneNotParsed() 171 assertEquals(expected, field1.getValue(TestAllTypes.getDefaultInstance())); in testMergeOneNotParsed()
|
/third_party/rust/crates/pin-utils/tests/ |
D | projection.rs | 6 field1: T1, field 11 unsafe_pinned!(field1: T1); 19 let foo = Foo { field1: 1, field2: 2 }; in projection() 22 let x1: Pin<&mut i32> = foo.as_mut().field1(); in projection()
|
/third_party/protobuf/src/google/protobuf/ |
D | repeated_field_unittest.cc | 148 RepeatedField<int> field1; in TEST() local 151 field1.Add(5); in TEST() 152 field1.Add(42); in TEST() 154 EXPECT_FALSE(field1.empty()); in TEST() 155 EXPECT_EQ(field1.size(), 2); in TEST() 156 EXPECT_EQ(field1.Get(0), 5); in TEST() 157 EXPECT_EQ(field1.Get(1), 42); in TEST() 162 field1.Swap(&field2); in TEST() 164 EXPECT_TRUE(field1.empty()); in TEST() 165 EXPECT_EQ(field1.size(), 0); in TEST() [all …]
|