/third_party/typescript/tests/baselines/reference/ |
D | octalIntegerLiteralES6.js | 15 var obj2 = { variable 32 obj2[0O45436]; // string 33 obj2["0O45436"]; // any 34 obj2["19230"]; // string 35 obj2[19230]; // string 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["oct2"]; // number 39 obj2[5.462437423415177e+244]; // boolean 40 obj2["5.462437423415177e+244"]; // boolean [all …]
|
D | binaryIntegerLiteralES6.js | 15 var obj2 = { variable 32 obj2[0B11010]; // string 33 obj2[26]; // string 34 obj2["26"]; // string 35 obj2["0B11010"]; // any 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["bin2"]; // number 39 obj2[9.671406556917009e+24]; // boolean 40 obj2["9.671406556917009e+24"]; // boolean [all …]
|
D | octalIntegerLiteral.js | 15 var obj2 = { variable 32 obj2[0O45436]; // string 33 obj2["0O45436"]; // any 34 obj2["19230"]; // string 35 obj2[19230]; // string 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["oct2"]; // number 39 obj2[5.462437423415177e+244]; // boolean 40 obj2["5.462437423415177e+244"]; // boolean [all …]
|
D | binaryIntegerLiteral.js | 15 var obj2 = { variable 32 obj2[0B11010]; // string 33 obj2[26]; // string 34 obj2["26"]; // string 35 obj2["0B11010"]; // any 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["bin2"]; // number 39 obj2[9.671406556917009e+24]; // boolean 40 obj2["9.671406556917009e+24"]; // boolean [all …]
|
D | binaryIntegerLiteralES6.symbols | 34 var obj2 = { 35 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteralES6.ts, 13, 3)) 85 obj2[0B11010]; // string 86 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteralES6.ts, 13, 3)) 89 obj2[26]; // string 90 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteralES6.ts, 13, 3)) 93 obj2["26"]; // string 94 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteralES6.ts, 13, 3)) 97 obj2["0B11010"]; // any 98 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteralES6.ts, 13, 3)) [all …]
|
D | octalIntegerLiteral.symbols | 34 var obj2 = { 35 >obj2 : Symbol(obj2, Decl(octalIntegerLiteral.ts, 13, 3)) 85 obj2[0O45436]; // string 86 >obj2 : Symbol(obj2, Decl(octalIntegerLiteral.ts, 13, 3)) 89 obj2["0O45436"]; // any 90 >obj2 : Symbol(obj2, Decl(octalIntegerLiteral.ts, 13, 3)) 92 obj2["19230"]; // string 93 >obj2 : Symbol(obj2, Decl(octalIntegerLiteral.ts, 13, 3)) 96 obj2[19230]; // string 97 >obj2 : Symbol(obj2, Decl(octalIntegerLiteral.ts, 13, 3)) [all …]
|
D | binaryIntegerLiteral.symbols | 34 var obj2 = { 35 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteral.ts, 13, 3)) 85 obj2[0B11010]; // string 86 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteral.ts, 13, 3)) 89 obj2[26]; // string 90 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteral.ts, 13, 3)) 93 obj2["26"]; // string 94 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteral.ts, 13, 3)) 97 obj2["0B11010"]; // any 98 >obj2 : Symbol(obj2, Decl(binaryIntegerLiteral.ts, 13, 3)) [all …]
|
D | octalIntegerLiteralES6.symbols | 34 var obj2 = { 35 >obj2 : Symbol(obj2, Decl(octalIntegerLiteralES6.ts, 13, 3)) 85 obj2[0O45436]; // string 86 >obj2 : Symbol(obj2, Decl(octalIntegerLiteralES6.ts, 13, 3)) 89 obj2["0O45436"]; // any 90 >obj2 : Symbol(obj2, Decl(octalIntegerLiteralES6.ts, 13, 3)) 92 obj2["19230"]; // string 93 >obj2 : Symbol(obj2, Decl(octalIntegerLiteralES6.ts, 13, 3)) 96 obj2[19230]; // string 97 >obj2 : Symbol(obj2, Decl(octalIntegerLiteralES6.ts, 13, 3)) [all …]
|
D | octalIntegerLiteralES6.types | 42 var obj2 = { 43 >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } 106 obj2[0O45436]; // string 107 >obj2[0O45436] : string 108 >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } 111 obj2["0O45436"]; // any 112 >obj2["0O45436"] : error 113 >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } 116 obj2["19230"]; // string 117 >obj2["19230"] : string [all …]
|
D | binaryIntegerLiteralES6.types | 42 var obj2 = { 43 >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } 106 obj2[0B11010]; // string 107 >obj2[0B11010] : string 108 >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } 111 obj2[26]; // string 112 >obj2[26] : string 113 >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } 116 obj2["26"]; // string 117 >obj2["26"] : string [all …]
|
D | octalIntegerLiteral.types | 42 var obj2 = { 43 >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } 106 obj2[0O45436]; // string 107 >obj2[0O45436] : string 108 >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } 111 obj2["0O45436"]; // any 112 >obj2["0O45436"] : error 113 >obj2 : { 19230: string; a: number; b: number; oct2: number; 5.462437423415177e+244: boolean; } 116 obj2["19230"]; // string 117 >obj2["19230"] : string [all …]
|
D | binaryIntegerLiteral.types | 42 var obj2 = { 43 >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } 106 obj2[0B11010]; // string 107 >obj2[0B11010] : string 108 >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } 111 obj2[26]; // string 112 >obj2[26] : string 113 >obj2 : { 26: string; a: number; bin2: number; b: number; 9.671406556917009e+24: boolean; } 116 obj2["26"]; // string 117 >obj2["26"] : string [all …]
|
D | tsxStatelessFunctionComponentOverload3.js | 8 let obj2: any; 13 const two3 = <ZeroThingOrTwoThing {...obj2} />; // it is just any so we allow it to pass through 14 const two4 = <ZeroThingOrTwoThing yy={1000} {...obj2} />; // it is just any so we allow it to pas… 15 const two5 = <ZeroThingOrTwoThing {...obj2} yy={1000} />; // it is just any so we allow it to pas… 24 const three3 = <ThreeThing {...obj2} y2={10} />; // it is just any so we allow it to pass through 27 var obj2; variable 31 var two3 = <ZeroThingOrTwoThing {...obj2}/>; // it is just any so we allow it to pass through 32 var two4 = <ZeroThingOrTwoThing yy={1000} {...obj2}/>; // it is just any so we allow it to pass thr… 33 var two5 = <ZeroThingOrTwoThing {...obj2} yy={1000}/>; // it is just any so we allow it to pass thr… 37 var three3 = <ThreeThing {...obj2} y2={10}/>; // it is just any so we allow it to pass through
|
D | contextualTypingOfObjectLiterals.symbols | 6 var obj2 = {x: ""}; 7 >obj2 : Symbol(obj2, Decl(contextualTypingOfObjectLiterals.ts, 1, 3)) 13 obj1 = obj2; // Error - indexer doesn't match 15 >obj2 : Symbol(obj2, Decl(contextualTypingOfObjectLiterals.ts, 1, 3)) 29 f(obj2); // Error - indexer doesn't match 31 >obj2 : Symbol(obj2, Decl(contextualTypingOfObjectLiterals.ts, 1, 3))
|
D | contextualTypingOfObjectLiterals.types | 6 var obj2 = {x: ""}; 7 >obj2 : { x: string; } 17 obj1 = obj2; // Error - indexer doesn't match 18 >obj1 = obj2 : { x: string; } 20 >obj2 : { x: string; } 37 f(obj2); // Error - indexer doesn't match 38 >f(obj2) : void 40 >obj2 : { x: string; }
|
D | contextualTypingOfObjectLiterals.js | 3 var obj2 = {x: ""}; variable 5 obj1 = obj2; // Error - indexer doesn't match 11 f(obj2); // Error - indexer doesn't match 15 var obj2 = { x: "" }; variable 17 obj1 = obj2; // Error - indexer doesn't match 21 f(obj2); // Error - indexer doesn't match
|
D | intersectionTypeInference.types | 2 function extend<T, U>(obj1: T, obj2: U): T & U { 3 >extend : <T, U>(obj1: T, obj2: U) => T & U 5 >obj2 : U 15 obj2 = result; 16 >obj2 = result : T & U 17 >obj2 : U 25 result = obj2; // Error 26 >result = obj2 : U 28 >obj2 : U 37 >extend : <T, U>(obj1: T, obj2: U) => T & U
|
/third_party/typescript/tests/cases/conformance/es6/binaryAndOctalIntegerLiteral/ |
D | octalIntegerLiteralES6.ts | 15 var obj2 = { variable 32 obj2[0O45436]; // string 33 obj2["0O45436"]; // any 34 obj2["19230"]; // string 35 obj2[19230]; // string 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["oct2"]; // number 39 obj2[5.462437423415177e+244]; // boolean 40 obj2["5.462437423415177e+244"]; // boolean [all …]
|
D | binaryIntegerLiteral.ts | 15 var obj2 = { variable 32 obj2[0B11010]; // string 33 obj2[26]; // string 34 obj2["26"]; // string 35 obj2["0B11010"]; // any 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["bin2"]; // number 39 obj2[9.671406556917009e+24]; // boolean 40 obj2["9.671406556917009e+24"]; // boolean [all …]
|
D | binaryIntegerLiteralES6.ts | 15 var obj2 = { variable 32 obj2[0B11010]; // string 33 obj2[26]; // string 34 obj2["26"]; // string 35 obj2["0B11010"]; // any 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["bin2"]; // number 39 obj2[9.671406556917009e+24]; // boolean 40 obj2["9.671406556917009e+24"]; // boolean [all …]
|
D | octalIntegerLiteral.ts | 15 var obj2 = { variable 32 obj2[0O45436]; // string 33 obj2["0O45436"]; // any 34 obj2["19230"]; // string 35 obj2[19230]; // string 36 obj2["a"]; // number 37 obj2["b"]; // number 38 obj2["oct2"]; // number 39 obj2[5.462437423415177e+244]; // boolean 40 obj2["5.462437423415177e+244"]; // boolean [all …]
|
/third_party/boost/libs/optional/test/ |
D | optional_test_swap.cpp | 275 optional<T> obj2('a'); in test_swap_function() local 279 swap(obj2, obj2); in test_swap_function() 281 BOOST_TEST(!!obj2 && obj2->data == 'a'); in test_swap_function() 284 swap(obj1, obj2); in test_swap_function() 288 BOOST_TEST(!obj2); in test_swap_function() 291 swap(obj1, obj2); in test_swap_function() 295 BOOST_TEST(!!obj2 && obj2->data == 'a'); in test_swap_function() 315 optional<T> obj2('a'); in test_swap_member_function() local 319 obj2.swap(obj2); in test_swap_member_function() 321 BOOST_TEST(!!obj2 && obj2->data == 'a'); in test_swap_member_function() [all …]
|
/third_party/json/test/src/ |
D | unit-udt_macro.cpp | 269 T obj2; variable 270 j.get_to(obj2); 271 bool ok = (obj1 == obj2); 280 T obj2; variable 281 j2.get_to(obj2); 282 bool ok = (obj1 == obj2); 291 T obj2; variable 292 j2.get_to(obj2); 293 bool ok = (obj1 == obj2); 302 T obj2; variable [all …]
|
/third_party/cef/tests/ceftests/ |
D | browser_info_map_unittest.cc | 101 MyObject obj2(2); in TEST() local 102 map.Add(kBrowserId, 2, obj2); in TEST() 137 MyObject obj2(2); in TEST() local 138 map.Add(kBrowserId1, 2, obj2); in TEST() 193 MyObject obj2(2); in TEST() local 194 map.Add(kBrowserId, 2, obj2); in TEST() 198 EXPECT_EQ(obj2.member, f2.member); in TEST() 206 EXPECT_EQ(obj2.member, f2b.member); in TEST() 243 MyObject obj2(2); in TEST() local 244 map.Add(kBrowserId1, 2, obj2); in TEST() [all …]
|
/third_party/gn/examples/ios/build/config/ios/scripts/ |
D | merge_plist.py | 41 def MergeObjects(obj1, obj2): argument 43 if type(obj1) != type(obj2): 44 return obj2 46 if isinstance(obj2, dict): 48 for key in obj2: 50 value2 = obj2.get(key, None) 54 if isinstance(obj2, list): 55 return obj1 + obj2 57 return obj2
|