Home
last modified time | relevance | path

Searched refs:obj2 (Results 1 – 25 of 219) sorted by relevance

123456789

/third_party/typescript/tests/baselines/reference/
DoctalIntegerLiteralES6.js15 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 …]
DbinaryIntegerLiteralES6.js15 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 …]
DoctalIntegerLiteral.js15 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 …]
DbinaryIntegerLiteral.js15 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 …]
DbinaryIntegerLiteralES6.symbols34 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 …]
DoctalIntegerLiteral.symbols34 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 …]
DbinaryIntegerLiteral.symbols34 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 …]
DoctalIntegerLiteralES6.symbols34 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 …]
DoctalIntegerLiteralES6.types42 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 …]
DbinaryIntegerLiteralES6.types42 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 …]
DoctalIntegerLiteral.types42 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 …]
DbinaryIntegerLiteral.types42 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 …]
DtsxStatelessFunctionComponentOverload3.js8 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
DcontextualTypingOfObjectLiterals.symbols6 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))
DcontextualTypingOfObjectLiterals.types6 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; }
DcontextualTypingOfObjectLiterals.js3 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
DintersectionTypeInference.types2 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/
DoctalIntegerLiteralES6.ts15 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 …]
DbinaryIntegerLiteral.ts15 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 …]
DbinaryIntegerLiteralES6.ts15 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 …]
DoctalIntegerLiteral.ts15 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/
Doptional_test_swap.cpp275 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/
Dunit-udt_macro.cpp269 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/
Dbrowser_info_map_unittest.cc101 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/
Dmerge_plist.py41 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

123456789