Home
last modified time | relevance | path

Searched refs:obj3 (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/ets_runtime/test/typeinfer/es2abc_feature/indexsignature_object/
Dindexsignature_object.ts20 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/
DfreshLiteralInference.ts55 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");
DassignmentCompatability6.ts26 …export interface interfaceWithOptional<T> { one?: T; }; let obj3: interface… variable
27 export let __val__obj3 = obj3;
/arkcompiler/ets_runtime/test/moduletest/objectcloneproperties/
Dobjectcloneproperties.js31 var obj3 = { variable
35 var arr = [obj1, obj2, obj3];
41 2: obj3,
Dexpect_output.txt14 obj1,0,0,obj3,obj4
/arkcompiler/ets_runtime/test/moduletest/compareobjecthclass/
Dcompareobjecthclass.js26 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/
Dtest-constructor-type-as-type-annotation.ts46 let obj3 = typeOfClassTest(myctor); variable
50 AssertType(obj3, "any");
/arkcompiler/ets_runtime/test/moduletest/multiprotoic/
Dmultiprotoic.js36 let obj3 = {"d": "4d"}; variable
44 Object.setPrototypeOf(obj3, proto);
87 Object.setPrototypeOf(obj3, proxyOfProto);
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
DobjectLiteralAssignability.ts21 var obj3: {} = {}; variable
22 var obj4: { a: typeof obj3, b?: { a: number, b?: string } } = { a: {}, b: { a: 5 } };
DobjectLiteralAssignability-expected.txt739 "name": "obj3",
837 "name": "obj3",
/arkcompiler/ets_runtime/ecmascript/tests/
Dgc_test.cpp204 [[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
Djs_object_test.cpp956 …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 …]
Djs_serializer_test.cpp1101 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/
Dsatepoint_GC_0.ll68 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/
Dstubbuilder.js585 var obj3={"xx":1,"yy":5}; variable
587 obj1.field2 = obj3;
/arkcompiler/toolchain/tooling/test/testcases/js/
Dmodule_variable.js208 export {obj2 as obj3};
/arkcompiler/ets_frontend/testTs/
Dtest-case.patch11021 +const obj3: { [key: number]: string } = { [sym]: 'hello '}; // Error