/arkcompiler/ets_runtime/test/typeinfer/es2abc_feature/indexsignature_object/ |
D | indexsignature_object.ts | 20 let obj3 : { [v:number]:number } = [1, 2, 3]; 28 AssertType(obj3[0], "number"); 29 AssertType(obj3[1], "number"); 30 AssertType(obj3[2], "number"); 31 AssertType(obj3[t], "number"); 32 AssertType(obj3[s], "number");
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | freshLiteralInference.ts | 55 const obj3 = f3({ value: "1" }); // before: { value: fresh "1" 56 AssertType(obj3, "{ value: "1"; }"); 69 let x3 = obj3.value; // before: string, after: "1" 71 AssertType(obj3.value, "string");
|
D | assignmentCompatability6.ts | 26 …export interface interfaceWithOptional<T> { one?: T; }; let obj3: interface… variable 27 export let __val__obj3 = obj3;
|
/arkcompiler/ets_runtime/test/moduletest/objectcloneproperties/ |
D | objectcloneproperties.js | 31 var obj3 = { variable 35 var arr = [obj1, obj2, obj3]; 41 2: obj3,
|
D | expect_output.txt | 14 obj1,0,0,obj3,obj4
|
/arkcompiler/ets_runtime/test/moduletest/compareobjecthclass/ |
D | compareobjecthclass.js | 26 let obj3 = {x : 11, y : 12, z :13}; variable 28 if(!ArkTools.compareHClass(obj1, obj2) && ArkTools.compareHClass(obj1, obj3)) {
|
/arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases_with_assert/ |
D | test-constructor-type-as-type-annotation.ts | 46 let obj3 = typeOfClassTest(myctor); variable 50 AssertType(obj3, "any");
|
/arkcompiler/ets_runtime/test/moduletest/multiprotoic/ |
D | multiprotoic.js | 36 let obj3 = {"d": "4d"}; variable 44 Object.setPrototypeOf(obj3, proto); 87 Object.setPrototypeOf(obj3, proxyOfProto);
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
D | objectLiteralAssignability.ts | 21 var obj3: {} = {}; variable 22 var obj4: { a: typeof obj3, b?: { a: number, b?: string } } = { a: {}, b: { a: 5 } };
|
D | objectLiteralAssignability-expected.txt | 739 "name": "obj3", 837 "name": "obj3",
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | gc_test.cpp | 204 [[maybe_unused]] JSHandle<JSNativePointer> obj3 = factory->NewJSNativePointer(newData2, in HWTEST_F_L0() local 240 [[maybe_unused]] JSHandle<JSNativePointer> obj3 = factory->NewJSNativePointer(newData2, in HWTEST_F_L0() local 278 [[maybe_unused]] JSHandle<JSNativePointer> obj3 = factory->NewJSNativePointer(newData2, in HWTEST_F_L0() local 314 [[maybe_unused]] JSHandle<JSNativePointer> obj3 = factory->NewJSNativePointer(newData2, in HWTEST_F_L0() local
|
D | js_object_test.cpp | 956 …JSHandle<JSObject> obj3 = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(objFunc), objFunc… in HWTEST_F_L0() local 957 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(obj3), key0, key0); in HWTEST_F_L0() 958 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(obj3), key1, key1); in HWTEST_F_L0() 959 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(obj3), key2, key2); in HWTEST_F_L0() 960 EXPECT_TRUE(!TaggedArray::Cast(obj3->GetElements().GetTaggedObject())->IsDictionaryMode()); in HWTEST_F_L0() 964 JSObject::DefineOwnProperty(thread, obj3, key1, desc); in HWTEST_F_L0() 965 EXPECT_TRUE(TaggedArray::Cast(obj3->GetElements().GetTaggedObject())->IsDictionaryMode()); in HWTEST_F_L0() 994 JSHandle<JSObject> obj3 = JSObject::ObjectCreate(thread, obj2); in HWTEST_F_L0() local 1005 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(obj3), obj3Key, obj3Value); in HWTEST_F_L0() 1006 JSHandle<JSHClass> obj3Class(thread, obj3->GetJSHClass()); in HWTEST_F_L0() [all …]
|
D | js_serializer_test.cpp | 1101 JSHandle<JSObject> obj3 = factory->NewEmptyJSObject(); in HWTEST_F_L0() local 1128 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(obj3), key1, value1); in HWTEST_F_L0() 1129 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(obj3), key2, value2); in HWTEST_F_L0() 1130 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(obj3), key3, value3); in HWTEST_F_L0() 1131 JSObject::SetProperty(thread, JSHandle<JSTaggedValue>(obj3), key4, value4); in HWTEST_F_L0() 1136 bool success3 = serializer->SerializeJSTaggedValue(JSHandle<JSTaggedValue>::Cast(obj3)); in HWTEST_F_L0() 1340 [[maybe_unused]] JSHandle<JSObject> obj3 = factory->NewEmptyJSObject(); in HWTEST_F_L0() local
|
/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
D | satepoint_GC_0.ll | 68 define i64 @test3(i64 addrspace(0)* %obj1, i64 addrspace(0)* %obj2, i64 addrspace(0)* %obj3, i64 a… 74 %obj_3 = load i64, i64 addrspace(0)* %obj3
|
/arkcompiler/ets_runtime/test/moduletest/stubbuilder/ |
D | stubbuilder.js | 585 var obj3={"xx":1,"yy":5}; variable 587 obj1.field2 = obj3;
|
/arkcompiler/toolchain/tooling/test/testcases/js/ |
D | module_variable.js | 208 export {obj2 as obj3};
|
/arkcompiler/ets_frontend/testTs/ |
D | test-case.patch | 11021 +const obj3: { [key: number]: string } = { [sym]: 'hello '}; // Error
|