| /arkcompiler/ets_runtime/test/ut/ |
| D | ignore-ut-release-qemu-ets_runtime.txt | 4 obj/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Ceil/builtinMathCeilContext 7 obj/arkcompiler/ets_runtime/test/aottest/builtin_inlining/set/Delete/builtinSetDelete 10 obj/arkcompiler/ets_runtime/test/moduletest/hugearray/hugearryAsmAssertContext 13 obj/arkcompiler/ets_runtime/ecmascript/tests/GC_NewToOldPromotion_Test 16 obj/arkcompiler/ets_runtime/test/aottest/add/add/SlowPath/LiteCG 17 obj/arkcompiler/ets_runtime/test/aottest/analyze_property/dictionary_mode/dictionary_mode/LiteCG 18 obj/arkcompiler/ets_runtime/test/aottest/analyze_property/multi_storing/multi_storing/LiteCG 19 obj/arkcompiler/ets_runtime/test/aottest/analyze_property/base/base/LiteCG 20 obj/arkcompiler/ets_runtime/test/aottest/analyze_property/escape_this/escape_this/LiteCG 21 obj/arkcompiler/ets_runtime/test/aottest/analyze_property/not_meet_subtyping/not_meet_subtyping/Lit… [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | getter_setter.sts | 38 let obj: A = new A(); 40 let h = obj.field; 42 let z = obj.field + obj.field; 44 let u = obj.field + 10; 46 let i = 10 + obj.field; 49 obj.field = 10; 50 let k = obj.field; 53 obj.field = obj.field; 54 k = obj.field; 57 obj.field = obj.field + obj.field; [all …]
|
| D | MutatorAccessor.sts | 41 let obj: A = new A(); 43 let get_field = obj.field; 46 get_field = obj.field + obj.field; 49 get_field = obj.field + 10; 52 get_field = 10 + obj.field; 55 obj.field = 10; 56 get_field = obj.field; 59 obj.field = obj.field; 60 get_field = obj.field; 63 obj.field = obj.field + obj.field; [all …]
|
| /arkcompiler/runtime_core/static_core/pandastdlib/ |
| D | pandastdlib.pa | 155 lda.obj a1 156 stobj.obj a0, panda.StackOverflowException.message 157 lda.obj a2 158 stobj.obj a0, panda.StackOverflowException.cause 163 ldobj.obj a0, panda.StackOverflowException.message 164 return.obj 168 ldobj.obj a0, panda.StackOverflowException.cause 169 return.obj 173 lda.obj a1 174 stobj.obj a0, panda.NullPointerException.message [all …]
|
| /arkcompiler/runtime_core/pandastdlib/ |
| D | pandastdlib.pa | 149 lda.obj a1 150 stobj.obj a0, panda.StackOverflowException.message 151 lda.obj a2 152 stobj.obj a0, panda.StackOverflowException.cause 157 lda.obj a1 158 stobj.obj a0, panda.NullPointerException.message 159 lda.obj a2 160 stobj.obj a0, panda.NullPointerException.cause 165 ldobj.obj a0, panda.NullPointerException.message 166 return.obj [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/passing_optional_type/ |
| D | passing_optional_type.js | 18 function fnWithAnyParamsObject(obj) { argument 19 return obj.surname ? `${obj.name}; ${obj.surname}` : obj.name; 24 function fnWithLiteralObjectParam(obj) { argument 25 return obj.surname ? `${obj.name}; ${obj.surname}` : obj.name; 30 function fnWithExtraSetObjectParam(obj) { argument 31 return obj.surname ? `${obj.name}; ${obj.surname}` : obj.name; 33 function fnWithSubSetParam(obj) { argument 34 return obj.city ? `${obj.name}; ${obj.city}` : obj.name; 39 function fnWithUnionObjectParam(obj) { argument 40 return obj.id ? obj.id : 'id not found'; [all …]
|
| D | passing_optional_type.ts | 24 export function fnWithAnyParamsObject(obj:ObjectTypeWithAny):string { 25 return obj.surname ? `${obj.name}; ${obj.surname}` : obj.name; 38 export function fnWithLiteralObjectParam(obj:ObjectTypeWithLiteral):string { 39 return obj.surname ? `${obj.name}; ${obj.surname}` : obj.name; 51 export function fnWithExtraSetObjectParam(obj:ObjectTypeWithExtraSet):string { 52 return obj.surname ? `${obj.name}; ${obj.surname}` : obj.name; 63 export function fnWithSubSetParam(obj:BasicTestUser):string { 64 return obj.city ? `${obj.name}; ${obj.city}` : obj.name; 71 export function fnWithUnionObjectParam(obj:TestUserType):string | number { 72 return obj.id ? obj.id : 'id not found'; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | std_core_Value.cpp | 36 void ValueAPISetFieldObject(EtsObject *obj, EtsLong i, EtsObject *val) in ValueAPISetFieldObject() argument 40 VMHandle<EtsObject> objHandle(coroutine, obj->GetCoreType()); in ValueAPISetFieldObject() 49 void SetFieldValue(EtsObject *obj, EtsLong i, T val) in SetFieldValue() argument 53 VMHandle<EtsObject> objHandle(coroutine, obj->GetCoreType()); in SetFieldValue() 64 void ValueAPISetFieldBoolean(EtsObject *obj, EtsLong i, EtsBoolean val) in ValueAPISetFieldBoolean() argument 66 SetFieldValue(obj, i, val); in ValueAPISetFieldBoolean() 69 void ValueAPISetFieldByte(EtsObject *obj, EtsLong i, EtsByte val) in ValueAPISetFieldByte() argument 71 SetFieldValue(obj, i, val); in ValueAPISetFieldByte() 74 void ValueAPISetFieldShort(EtsObject *obj, EtsLong i, EtsShort val) in ValueAPISetFieldShort() argument 76 SetFieldValue(obj, i, val); in ValueAPISetFieldShort() [all …]
|
| /arkcompiler/runtime_core/tests/cts-assembly/ |
| D | obj-13.pa | 16 #struct Obj { 18 # Obj* next; 21 #void addNext(Obj* o, int data) { 22 # Obj* newObj = new Obj(); 30 # Obj* head = new Obj(); 33 # Obj* cur; 52 .record Obj { 54 Obj next 57 .function void addNext(Obj a0, i32 a1) { 58 newobj v0, Obj [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-assembly/ |
| D | obj-13.pa | 16 #struct Obj { 18 # Obj* next; 21 #void addNext(Obj* o, int data) { 22 # Obj* newObj = new Obj(); 30 # Obj* head = new Obj(); 33 # Obj* cur; 52 .record Obj { 54 Obj next 57 .function void addNext(Obj a0, i32 a1) { 58 newobj v0, Obj [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | mov.obj.yaml | 17 - file-name: "mov.obj" 27 - sig: mov.obj v1:out:ref, v2:in:ref 36 lda.obj v0 37 mov.obj v1, v0 38 jne.obj v1, return_ne_num 45 …description: Check mov.obj with different type of arguments (empty object, with fields, with stati… 106 # Check mov.obj for string 108 sta.obj v0 109 mov.obj v1, v0 110 jne.obj v1, return_ne_num [all …]
|
| D | ldobj.v.obj.yaml | 93 - file-name: "ldobj.v.obj" 99 - sig: ldobj.v.obj v1:out:ref, v2:in:ref, field_id 108 - sig: ldobj.v.obj v1:out:ref, v2:in:ref, field_id 123 - 'ldobj.v.obj v1, v0, R.fQ' 125 - 'ldobj.v.obj v1, v1, R.fR' 127 - 'ldobj.v.obj v1, v15, R.fQArray' 143 return.obj 148 sta.obj v0 150 ldobj.v.obj v1, v0, %s 181 return.obj [all …]
|
| D | lda.obj.yaml | 17 - file-name: lda.obj 27 - sig: lda.obj v:in:ref 35 # Check lda.obj for different type of arguments (empty object, with fields, statics, etc). 37 lda.obj v0 38 jne.obj v0, return_ne_num 45 …description: Check lda.obj moves register content into accumulator (references to various type of … 104 # Check lda.obj for string 106 sta.obj v0 107 lda.obj v0 108 jne.obj v0, return_ne_num [all …]
|
| D | newobj.yaml | 208 lda.obj v1 211 lda.obj v1 250 lda.obj v1 253 lda.obj v1 293 lda.obj v0 294 jne.obj v1, ok 355 lda.obj v0 356 jne.obj v1, ok 551 ldobj.obj v1, Z.fR 552 jeqz.obj label_Ra [all …]
|
| D | ldobj.obj.yaml | 93 - file-name: "ldobj.obj" 99 - sig: ldobj.obj v:in:ref, field_id 108 - sig: ldobj.obj v:in:ref, field_id 121 - 'ldobj.obj v0, R.fQ' 123 - 'ldobj.obj v1, R.fR' 125 - 'ldobj.obj v15, R.fQArray' 127 - 'ldobj.obj v240, R.fi32Array' 129 - 'ldobj.obj v255, R.fObj' 144 return.obj 149 sta.obj v0 [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | mov.obj.yaml | 16 - file-name: "mov.obj" 26 - sig: mov.obj v1:out:ref, v2:in:ref 35 lda.obj v0 36 mov.obj v1, v0 37 jne.obj v1, return_ne_num 44 …description: Check mov.obj with different type of arguments (empty object, with fields, with stati… 104 # Check mov.obj for string 106 sta.obj v0 107 mov.obj v1, v0 108 jne.obj v1, return_ne_num [all …]
|
| D | lda.obj.yaml | 16 - file-name: lda.obj 26 - sig: lda.obj v:in:ref 34 # Check lda.obj for different type of arguments (empty object, with fields, statics, etc). 36 lda.obj v0 37 jne.obj v0, return_ne_num 44 …description: Check lda.obj moves register content into accumulator (references to various type of … 103 # Check lda.obj for string 105 sta.obj v0 106 lda.obj v0 107 jne.obj v0, return_ne_num [all …]
|
| /arkcompiler/toolchain/test/resource/tooling/ |
| D | ohos_test.xml | 18 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/sample.abc -> /data/test" src="o… 19 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/exception.abc -> /data/test" src… 20 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/arrow_func.abc -> /data/test" sr… 21 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/async_func.abc -> /data/test" sr… 22 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/range_error.abc -> /data/test" s… 23 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/syntax_exception.abc -> /data/te… 24 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/throw_exception.abc -> /data/tes… 25 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/step.abc -> /data/test" src="out… 26 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/dropframe.abc -> /data/test" src… 27 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/variable_first.abc -> /data/test… [all …]
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_lazy_callback.h | 55 static JSTaggedValue Date(JSThread *thread, const JSHandle<JSObject> &obj); 56 static JSTaggedValue Set(JSThread *thread, const JSHandle<JSObject> &obj); 57 static JSTaggedValue Map(JSThread *thread, const JSHandle<JSObject> &obj); 58 static JSTaggedValue WeakMap(JSThread *thread, const JSHandle<JSObject> &obj); 59 static JSTaggedValue WeakSet(JSThread *thread, const JSHandle<JSObject> &obj); 60 static JSTaggedValue WeakRef(JSThread *thread, const JSHandle<JSObject> &obj); 61 static JSTaggedValue FinalizationRegistry(JSThread *thread, const JSHandle<JSObject> &obj); 62 static JSTaggedValue TypedArray(JSThread *thread, const JSHandle<JSObject> &obj); 63 static JSTaggedValue Int8Array(JSThread *thread, const JSHandle<JSObject> &obj); 64 static JSTaggedValue Uint8Array(JSThread *thread, const JSHandle<JSObject> &obj); [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/lookup_by_name/ |
| D | correct_case_ref_2.pa | 37 stobj.obj v0, std.core.NoSuchFieldError.message 38 lda.obj v0 39 return.obj 43 ldobj.v.obj v0, a0, C.foo 44 ldobj.obj a1, std.core.Exception.message 45 stobj.obj v0, std.core.NoSuchFieldError.message 53 ets.ldobj.name.obj a0, baz 54 sta.obj v0 55 ldobj.v.obj v1, v0, std.core.NoSuchFieldError.message 57 sta.obj v2 [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/optional_reference_type/ |
| D | optional_reference_type.ts | 46 export function fnWithSubsetPick(obj: UserPick): string { 47 return obj.address ? obj.address.city : 'Adress not found'; 50 export function fnWithSubsetOmit(obj: UserOmit): string { 51 return obj.address ? obj.address.city : 'Adress not found'; 54 export function fnWithSubsetPartial(obj: UserPartial): string { 55 return obj.address ? obj.address.city : 'Adress not found'; 60 export function fnWithUnionParam(obj?: UnionArrOrObj): string { 61 if (obj) { 62 if (Array.isArray(obj)) { 64 } else if (typeof obj === 'object') { [all …]
|
| D | index.js | 48 function fnWithSubsetPick(obj) { argument 49 return obj.address ? obj.address.city : 'Address not found'; 54 function fnWithSubsetOmit(obj) { argument 55 return obj.address ? obj.address.city : 'Address not found'; 60 function fnWithSubsetPartial(obj) { argument 61 return obj.address ? obj.address.city : 'Address not found'; 66 function fnWithUnionParam(obj) { argument 67 if (obj) { 68 if (Array.isArray(obj)) { 88 function fnWithUserClass(obj) { argument [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | json_parser_test.cpp | 31 JsonObject obj(str); local 32 ASSERT_TRUE(obj.IsValid()); 34 ASSERT_NE(obj.GetValue<JsonObject::StringT>("key_0"), nullptr); 35 ASSERT_EQ(*obj.GetValue<JsonObject::StringT>("key_0"), "key_0.value"); 37 ASSERT_NE(obj.GetValue<JsonObject::StringT>("key_1"), nullptr); 38 ASSERT_EQ(*obj.GetValue<JsonObject::StringT>("key_1"), "\"key_1\"\\. value\n"); 56 JsonObject obj(str); in TEST() local 57 ASSERT_TRUE(obj.IsValid()); in TEST() 59 ASSERT_NE(obj.GetValue<JsonObject::ArrayT>("key_0"), nullptr); in TEST() 60 auto &mainArray = *obj.GetValue<JsonObject::ArrayT>("key_0"); in TEST() [all …]
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | json_parser_test.cpp | 32 JsonObject obj(str); 33 ASSERT_TRUE(obj.IsValid()); 35 ASSERT_NE(obj.GetValue<JsonObject::StringT>("key_0"), nullptr); 36 ASSERT_EQ(*obj.GetValue<JsonObject::StringT>("key_0"), "key_0.value"); 38 ASSERT_NE(obj.GetValue<JsonObject::StringT>("key_1"), nullptr); 39 ASSERT_EQ(*obj.GetValue<JsonObject::StringT>("key_1"), "\"key_1\"\\. value\n"); 41 ASSERT_EQ(obj.GetValue<JsonObject::StringT>("key_2"), nullptr); 58 JsonObject obj(str); 59 ASSERT_TRUE(obj.IsValid()); 61 ASSERT_NE(obj.GetValue<JsonObject::ArrayT>("key_0"), nullptr); [all …]
|
| /arkcompiler/ets_runtime/test/aottest/object_literal/ |
| D | object_literal.ts | 18 let obj = {a: 1, b: 2}; 19 obj.c = 3; 20 print(obj.c); 47 let obj = {name: 1}; 48 function foo(obj) { 49 print(obj.name); 51 foo(obj); 57 obj.a = 1; 58 obj.b = 2; 59 obj.c = 3; [all …]
|