/third_party/typescript/tests/baselines/reference/ |
H A D | binaryIntegerLiteral.js | 15 var obj2 = { 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.67140655691700 [all...] |
H A D | binaryIntegerLiteralES6.js | 15 var obj2 = { 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.67140655691700 [all...] |
H A D | octalIntegerLiteral.js | 15 var obj2 = { 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.46243742341517 [all...] |
H A D | octalIntegerLiteralES6.js | 15 var obj2 = { 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.46243742341517 [all...] |
H A 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 pass through 15 const two5 = <ZeroThingOrTwoThing {...obj2} yy={1000} />; // it is just any so we allow it to pass through 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 through
33 var two5 = <ZeroThingOrTwoThing {...obj2} yy={1000}/>; // it is just any so we allow it to pass through
37 var three3 = <ThreeThing {...obj2} y [all...] |
H A D | contextualTypingOfObjectLiterals.js | 3 var obj2 = {x: ""}; 5 obj1 = obj2; // Error - indexer doesn't match 11 f(obj2); // Error - indexer doesn't match
15 var obj2 = { x: "" };
17 obj1 = obj2; // Error - indexer doesn't match
21 f(obj2); // Error - indexer doesn't match
|
H A D | intersectionTypeInference.js | 2 function extend<T, U>(obj1: T, obj2: U): T & U { 5 obj2 = result; 7 result = obj2; // Error 32 function extend(obj1, obj2) {
35 obj2 = result;
37 result = obj2; // Error
|
H A D | assignmentCompatability43.js | 7 export interface interfaceTwo<T,U> { one: T; two: U; }; var obj2: interfaceTwo<number,string> = { one: 1, two: "a" };; 8 export var __val__obj2 = obj2; 23 var obj2 = { one: 1, two: "a" };
25 __test2__.__val__obj2 = obj2;
|
H A D | defaultBestCommonTypesHaveDecls.js | 5 var obj2: Object; variable 6 obj2.length; 21 var obj2;
variable 22 obj2.length;
|
H A D | freshLiteralInference.js | 9 const obj2 = f2({ value: "1" }); // { value: regular "1" } 10 let x2 = obj2.value; // regular "1" 21 var obj2 = f2({ value: "1" }); // { value: regular "1" }
variable 22 var x2 = obj2.value; // regular "1"
|
H A D | tsxStatelessFunctionComponentOverload4.js | 10 let obj2: any; 19 const c6 = <OneThing {...obj2} {...{extra: "extra attr"}} />; // Should error as there is extra attribute that doesn't match any. Current it is not 20 const c7 = <OneThing {...obj2} yy />; // Should error as there is extra attribute that doesn't match any. Current it is not 48 var obj2;
56 var c6 = <OneThing {...obj2} {...{ extra: "extra attr" }}/>; // Should error as there is extra attribute that doesn't match any. Current it is not
57 var c7 = <OneThing {...obj2} yy/>; // Should error as there is extra attribute that doesn't match any. Current it is not
|
H A D | typeGuardsWithInstanceOfByConstructorSignature.js | 16 var obj2: any; variable 17 if (obj2 instanceof A) { 18 obj2.foo; 19 obj2.bar; 211 var obj2;
variable 212 if (obj2 instanceof A) {
213 obj2.foo;
214 obj2.bar;
|
H A D | tsxAttributeResolution3.js | 19 var obj2 = { x: 32 }; 20 <test1 {...obj2} /> 48 var obj2 = { x: 32 };
49 <test1 {...obj2}/>;
|
H A D | tsxStatelessFunctionComponentOverload2.js | 15 let obj2 = { 32 const c10 = <OneThing {...obj2} yy1="boo" />; 46 var obj2 = {
61 var c10 = <OneThing {...obj2} yy1="boo"/>;
|
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | protocol_core_test.cc | 65 auto obj2 = Roundtrip(obj1); in TEST() local 66 ASSERT_THAT(obj2, Not(testing::IsNull())); in TEST() 67 EXPECT_THAT(obj2->GetValue(), Eq("foo")); in TEST() 176 auto obj2 = Roundtrip(obj1); in TEST() local 177 ASSERT_THAT(obj2, Not(testing::IsNull())); in TEST() 178 EXPECT_THAT(obj2->GetBoolField(), Eq(true)); in TEST() 179 EXPECT_THAT(obj2->GetIntField(), Eq(42)); in TEST() 180 EXPECT_THAT(obj2->GetDoubleField(), Eq(2.718281828)); in TEST() 181 EXPECT_THAT(obj2->GetStrField(), Eq("bar")); in TEST() 182 EXPECT_THAT(obj2 in TEST() 341 auto obj2 = Roundtrip(obj1); TEST_F() local 395 auto obj2 = Roundtrip(obj1); TEST() local 412 auto obj2 = Roundtrip(obj1); TEST() local 460 auto obj2 = RoundtripToType<TestTypeLazy>(obj1); TEST() local [all...] |
/third_party/gn/examples/ios/build/config/ios/scripts/ |
H A D | merge_plist.py | 45 def MergeObjects(obj1, obj2): 47 if type(obj1) != type(obj2): 48 return obj2 50 if isinstance(obj2, dict): 52 for key in obj2: 54 value2 = obj2.get(key, None) 58 if isinstance(obj2, list): 59 return obj1 + obj2 61 return obj2
|
/third_party/jerryscript/tests/jerry/ |
H A D | object-prototype-propertyisenumerable.js | 88 var obj2 = new construct2(); 89 obj2.prop3 = 'foo'; 91 assert (obj2.propertyIsEnumerable('prop3') === true); 92 assert (obj2.propertyIsEnumerable('prop2') === true); 93 assert (obj2.propertyIsEnumerable('prop1') === false); 95 obj2.prop1 = 'foo'; 97 assert (obj2.propertyIsEnumerable('prop1') === true);
|
H A D | object-create.js | 98 var obj2 = Object.create(obj); 100 assert (obj2.protoFunction() === 3); 101 assert (obj2.foo === 42); 102 assert (obj2.a === "b"); 103 assert (obj2.bar === 42); 104 assert (Object.getPrototypeOf (obj2) === obj);
|
H A D | object-define-properties.js | 81 var obj2 = { 85 Object.defineProperties(obj2, { 102 assert (obj2.foo === undefined); 103 assert (obj2.set === undefined); 104 assert (obj2.Hello === undefined); 105 assert (obj2.a === 5);
|
/third_party/json/tests/src/ |
H A D | unit-udt_macro.cpp | 353 T obj2; variable 354 j.get_to(obj2); 355 bool ok = (obj1 == obj2); 364 T obj2; variable 365 j2.get_to(obj2); 366 bool ok = (obj1 == obj2); 375 T obj2; variable 376 j2.get_to(obj2); 377 bool ok = (obj1 == obj2); 386 T obj2; variable 397 T obj2; global() variable 408 T obj2; global() variable [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | object-assign.js | 37 var obj2 = Object.assign ({}, obj1); 38 assert (JSON.stringify (obj2) === '{"a":0,"b":{"c":0}}'); 42 assert (JSON.stringify (obj2) === '{"a":0,"b":{"c":0}}'); 44 obj2.a = 2; 46 assert (JSON.stringify (obj2) === '{"a":2,"b":{"c":0}}'); 48 obj2.b.c = 3; 50 assert (JSON.stringify (obj2) === '{"a":2,"b":{"c":3}}');
|
H A D | symbol-unscopables.js | 22 var obj2 = { 30 prop4: obj2 61 var obj2 = {}; 62 Object.defineProperty(obj2, Symbol.unscopables, { get: function () { throw 42; } }); 64 with (obj2) {
|
H A D | symbol.js | 48 var obj2 = {}; 49 obj2[b] = 'foo'; 50 obj2[c] = 'bar'; 52 assert (obj2[b] == 'foo'); 53 assert (obj2[c] == 'bar');
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_pmaps.c | 69 ASN1_OBJECT *obj1 = NULL, *obj2 = NULL; 88 obj2 = OBJ_txt2obj(val->value, 0); 89 if (!obj1 || !obj2) { 100 pmap->subjectDomainPolicy = obj2; 101 obj1 = obj2 = NULL; 107 ASN1_OBJECT_free(obj2);
|
/third_party/openssl/crypto/x509/ |
H A D | v3_pmaps.c | 69 ASN1_OBJECT *obj1 = NULL, *obj2 = NULL; 88 obj2 = OBJ_txt2obj(val->value, 0); 89 if (!obj1 || !obj2) { 100 pmap->subjectDomainPolicy = obj2; 101 obj1 = obj2 = NULL; 107 ASN1_OBJECT_free(obj2);
|