/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_array_test.cpp | 64 EXPECT_EQ(JSArray::GetProperty(thread, obj, lengthKeyHandle).GetValue()->GetInt(), 0); in HWTEST_F_L0() 69 EXPECT_EQ(JSArray::GetProperty(thread, obj2, lengthKeyHandle).GetValue()->GetInt(), 10); in HWTEST_F_L0() 78 …EXPECT_EQ(JSArray::GetProperty(thread, JSHandle<JSTaggedValue>(obj), lengthKeyHandle).GetValue()->… in HWTEST_F_L0() 83 EXPECT_EQ(JSArray::GetProperty(thread, obj2, lengthKeyHandle).GetValue()->GetInt(), 10); in HWTEST_F_L0() 94 EXPECT_EQ(JSArray::GetProperty(thread, obj, lengthKeyHandle).GetValue()->GetInt(), 0); in HWTEST_F_L0() 102 EXPECT_EQ(JSArray::GetProperty(thread, obj, lengthKeyHandle).GetValue()->GetInt(), 2); in HWTEST_F_L0() 103 JSTaggedValue v = JSArray::GetProperty(thread, obj, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 105 v = JSArray::GetProperty(thread, obj, index1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 107 EXPECT_EQ(JSArray::GetProperty(thread, obj, lengthKeyHandle).GetValue()->GetInt(), 2); in HWTEST_F_L0() 114 EXPECT_EQ(JSArray::GetProperty(thread, obj, key100).GetValue()->GetInt(), 100); in HWTEST_F_L0() [all …]
|
D | js_arguments_test.cpp | 73 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(jsarg), key).GetValue()->GetInt(),… in HWTEST_F_L0() 74 EXPECT_EQ(JSArguments::GetProperty(thread, jsarg, key).GetValue()->GetInt(), 1); in HWTEST_F_L0() 78 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(jsarg), key).GetValue()->GetInt(),… in HWTEST_F_L0() 79 EXPECT_EQ(JSArguments::GetProperty(thread, jsarg, key).GetValue()->GetInt(), 2); in HWTEST_F_L0() 82 HWTEST_F_L0(JsArgumentsTest, GetProperty) in HWTEST_F_L0() argument 95 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(jsarg), key).GetValue()->GetInt(),… in HWTEST_F_L0() 96 …EXPECT_EQ(JSArguments::GetProperty(thread, JSHandle<JSArguments>(jsarg), key, receiver).GetValue()… in HWTEST_F_L0() 100 EXPECT_EQ(JSArguments::GetProperty(thread, jsarg, key).GetValue()->GetInt(), 2); in HWTEST_F_L0() 101 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(jsarg), key).GetValue()->GetInt(),… in HWTEST_F_L0() 116 EXPECT_EQ(JSArguments::GetProperty(thread, jsarg, key).GetValue()->GetInt(), 1); in HWTEST_F_L0() [all …]
|
D | js_date_time_format_test.cpp | 254 …auto yearEcmaStr = JSHandle<EcmaString>::Cast(JSObject::GetProperty(thread, options, yearKey).GetV… in HWTEST_F_L0() 256 …auto monthEcmaStr = JSHandle<EcmaString>::Cast(JSObject::GetProperty(thread, options, monthKey).Ge… in HWTEST_F_L0() 258 …auto dayEcmaStr = JSHandle<EcmaString>::Cast(JSObject::GetProperty(thread, options, dayKey).GetVal… in HWTEST_F_L0() 260 …auto hourEcmaStr = JSHandle<EcmaString>::Cast(JSObject::GetProperty(thread, options, hourKey).GetV… in HWTEST_F_L0() 262 …auto minuteEcmaStr = JSHandle<EcmaString>::Cast(JSObject::GetProperty(thread, options, minuteKey).… in HWTEST_F_L0() 264 …auto secondEcmaStr = JSHandle<EcmaString>::Cast(JSObject::GetProperty(thread, options, secondKey).… in HWTEST_F_L0() 305 …auto weekdayStr = JSHandle<EcmaString>::Cast(JSObject::GetProperty(thread, options, weekdayKey).Ge… in HWTEST_F_L0() 307 …auto yearStr = JSHandle<EcmaString>::Cast(JSObject::GetProperty(thread, options, yearKey).GetValue… in HWTEST_F_L0() 309 …auto monthStr = JSHandle<EcmaString>::Cast(JSObject::GetProperty(thread, options, monthKey).GetVal… in HWTEST_F_L0() 311 …auto dayStr = JSHandle<EcmaString>::Cast(JSObject::GetProperty(thread, options, dayKey).GetValue()… in HWTEST_F_L0() [all …]
|
D | js_generator_object_test.cpp | 117 EXPECT_EQ((JSObject::GetProperty(thread, result, valueKey).GetValue()).GetTaggedValue(), in HWTEST_F_L0() 119 …EXPECT_EQ((JSObject::GetProperty(thread, result, doneKey).GetValue()).GetTaggedValue(), JSTaggedVa… in HWTEST_F_L0() 144 …EXPECT_EQ((JSObject::GetProperty(thread, result, valueKey).GetValue()).GetTaggedValue(), JSTaggedV… in HWTEST_F_L0() 145 …EXPECT_EQ((JSObject::GetProperty(thread, result, doneKey).GetValue()).GetTaggedValue(), JSTaggedVa… in HWTEST_F_L0()
|
D | js_proxy_test.cpp | 77 EXPECT_EQ(JSObject::GetProperty(thread, targetHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0() 86 EXPECT_EQ(JSProxy::GetProperty(thread, proxyHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0() 99 HWTEST_F_L0(JSProxyTest, GetProperty) in HWTEST_F_L0() argument 110 EXPECT_EQ(JSObject::GetProperty(thread, targetHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0() 118 EXPECT_EQ(JSProxy::GetProperty(thread, proxyHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0() 130 EXPECT_EQ(JSProxy::GetProperty(thread, proxyHandle2, key2).GetValue()->GetInt(), 10); in HWTEST_F_L0() 151 EXPECT_EQ(JSObject::GetProperty(thread, targetHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0() 202 EXPECT_EQ(JSProxy::GetProperty(thread, proxyHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0() 203 EXPECT_EQ(JSObject::GetProperty(thread, targetHandle, key).GetValue()->GetInt(), 1); in HWTEST_F_L0() 216 EXPECT_EQ(JSProxy::GetProperty(thread, proxyHandle2, key).GetValue()->GetInt(), 1); in HWTEST_F_L0() [all …]
|
D | js_api_list_iterator_test.cpp | 73 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(globalObject), key).GetValue(); in CreateList() 124 … EXPECT_EQ((JSObject::GetProperty(thread, resultObj, valueStr).GetValue()).GetTaggedValue(), in HWTEST_F_L0() 128 … EXPECT_EQ((JSObject::GetProperty(thread, resultObj, valueStr).GetValue()).GetTaggedValue(), in HWTEST_F_L0()
|
D | js_api_linked_list_iterator_test.cpp | 73 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(globalObject), key).GetValue(); in CreateLinkedList() 124 … EXPECT_EQ((JSObject::GetProperty(thread, resultObj, valueStr).GetValue()).GetTaggedValue(), in HWTEST_F_L0() 128 … EXPECT_EQ((JSObject::GetProperty(thread, resultObj, valueStr).GetValue()).GetTaggedValue(), in HWTEST_F_L0()
|
D | js_api_arraylist_iterator_test.cpp | 64 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(globalObject), key).GetValue(); in CreateArrayList() 114 … EXPECT_EQ((JSObject::GetProperty(thread, resultObj, valueStr).GetValue()).GetTaggedValue(), in HWTEST_F_L0() 118 … EXPECT_EQ((JSObject::GetProperty(thread, resultObj, valueStr).GetValue()).GetTaggedValue(), in HWTEST_F_L0()
|
D | js_object_test.cpp | 92 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(jsobject), key).GetValue()->GetInt… in HWTEST_F_L0() 96 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(jsobject), key).GetValue()->GetInt… in HWTEST_F_L0() 99 HWTEST_F_L0(JSObjectTest, GetProperty) in HWTEST_F_L0() argument 110 …EXPECT_TRUE(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(obj), key).GetValue()->IsUndefin… in HWTEST_F_L0() 113 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(obj), key).GetValue()->GetInt(), 1… in HWTEST_F_L0() 128 …EXPECT_TRUE(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(obj), key).GetValue()->IsUndefin… in HWTEST_F_L0() 131 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(obj), key).GetValue()->GetInt(), 1… in HWTEST_F_L0() 136 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(obj), key2).GetValue()->GetInt(), … in HWTEST_F_L0() 139 …EXPECT_TRUE(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(obj), key).GetValue()->IsUndefin… in HWTEST_F_L0() 140 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(obj), key2).GetValue()->GetInt(), … in HWTEST_F_L0() [all …]
|
D | js_list_format_test.cpp | 277 JSHandle<JSTaggedValue> partValue = JSObject::GetProperty(thread, partObj, key).GetValue(); in GetListPartStringTest() 316 …auto element1 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(parts), 0).GetVal… in HWTEST_F_L0() 317 …auto literal1 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(parts), 1).GetVal… in HWTEST_F_L0() 318 …auto element2 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(parts), 2).GetVal… in HWTEST_F_L0() 319 …auto literal2 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(parts), 3).GetVal… in HWTEST_F_L0() 320 …auto element3 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(parts), 4).GetVal… in HWTEST_F_L0() 351 …auto resValue0 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(strValue), 0).Ge… in HWTEST_F_L0() 352 …auto resValue1 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(strValue), 1).Ge… in HWTEST_F_L0() 353 …auto resValue2 = JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(strValue), 2).Ge… in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | error_helper_test.cpp | 177 …JSHandle<JSTaggedValue> errorMsgValue(JSObject::GetProperty(thread, errorResult, msgKey).GetValue(… in HWTEST_F_L0() 178 …JSHandle<JSTaggedValue> errorNameValue(JSObject::GetProperty(thread, errorResult, nameKey).GetValu… in HWTEST_F_L0() 191 …JSHandle<JSTaggedValue> evalMsgValue(JSObject::GetProperty(thread, evalErrorResult, msgKey).GetVal… in HWTEST_F_L0() 192 …JSHandle<JSTaggedValue> evalNameValue(JSObject::GetProperty(thread, evalErrorResult, nameKey).GetV… in HWTEST_F_L0() 205 …JSHandle<JSTaggedValue> typeMsgValue(JSObject::GetProperty(thread, typeErrorResult, msgKey).GetVal… in HWTEST_F_L0() 206 …JSHandle<JSTaggedValue> typeNameValue(JSObject::GetProperty(thread, typeErrorResult, nameKey).GetV… in HWTEST_F_L0() 232 …JSHandle<JSTaggedValue> rangeMsgValue(JSObject::GetProperty(thread, rangeErrorResult, msgKey).GetV… in HWTEST_F_L0() 233 …JSHandle<JSTaggedValue> rangeNameValue(JSObject::GetProperty(thread, rangeErrorResult, nameKey).Ge… in HWTEST_F_L0() 246 …JSHandle<JSTaggedValue> uriMsgValue(JSObject::GetProperty(thread, uriErrorResult, msgKey).GetValue… in HWTEST_F_L0() 247 …JSHandle<JSTaggedValue> uriNameValue(JSObject::GetProperty(thread, uriErrorResult, nameKey).GetVal… in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | template_string.cpp | 30 …JSHandle<JSTaggedValue> rawStringsTag = JSObject::GetProperty(thread, templateLiteral, 0).GetValue… in GetTemplateObject() 37 …JSHandle<JSTaggedValue> cookedStringsTag = JSObject::GetProperty(thread, templateLiteral, 1).GetVa… in GetTemplateObject() 48 …JSHandle<JSTaggedValue> cookedValue = JSObject::GetProperty(thread, cookedStringsTag, i).GetValue(… in GetTemplateObject() 51 … JSHandle<JSTaggedValue> rawValue = JSObject::GetProperty(thread, rawStringsTag, i).GetValue(); in GetTemplateObject()
|
D | global_env.cpp | 48 return JSObject::GetProperty(thread, symbolFunction, string).GetValue(); in GetSymbol() 57 return JSObject::GetProperty(thread, stringFuncPrototype, nameKey).GetValue(); in GetStringPrototypeFunctionByName() 65 return JSObject::GetProperty(thread, stringFuncObj, nameKey).GetValue(); in GetStringFunctionByName()
|
D | js_arguments.h | 42 static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSObject> &obj, in GetProperty() function 45 …return GetProperty(thread, JSHandle<JSArguments>::Cast(obj), key, JSHandle<JSTaggedValue>::Cast(ob… in GetProperty() 47 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSArguments> &args,
|
D | js_typed_array.h | 54 …static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedar… in GetProperty() function 57 return GetProperty(thread, typedarray, key, typedarray); in GetProperty() 59 …static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedar… in GetProperty() function 64 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &typedarray,
|
D | js_proxy.h | 48 static inline OperationResult GetProperty(JSThread *thread, const JSHandle<JSProxy> &proxy, in GetProperty() function 51 return GetProperty(thread, proxy, key, JSHandle<JSTaggedValue>::Cast(proxy)); in GetProperty() 53 static OperationResult GetProperty(JSThread *thread, const JSHandle<JSProxy> &proxy,
|
D | js_tagged_value.cpp | 390 JSHandle<JSTaggedValue> entryfunc = GetProperty(thread, tagged, keyString).GetValue(); in OrdinaryToPrimitive() 524 OperationResult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, in GetProperty() function in panda::ecmascript::JSTaggedValue 538 return JSProxy::GetProperty(thread, JSHandle<JSProxy>(obj), key); in GetProperty() 541 return JSTypedArray::GetProperty(thread, obj, key); in GetProperty() 544 return ModuleNamespace::GetProperty(thread, obj, key); in GetProperty() 551 return JSObject::GetProperty(thread, obj, key); in GetProperty() 554 OperationResult JSTaggedValue::GetProperty(JSThread *thread, const JSHandle<JSTaggedValue> &obj, ui… in GetProperty() function in panda::ecmascript::JSTaggedValue 566 return JSProxy::GetProperty(thread, JSHandle<JSProxy>(obj), keyHandle); in GetProperty() 570 return JSTypedArray::GetProperty(thread, obj, key); in GetProperty() 578 return JSObject::GetProperty(thread, obj, key); in GetProperty() [all …]
|
D | js_arguments.cpp | 57 OperationResult JSArguments::GetProperty(JSThread *thread, const JSHandle<JSArguments> &args, in GetProperty() function in panda::ecmascript::JSArguments 63 return JSTaggedValue::GetProperty(thread, JSHandle<JSTaggedValue>::Cast(args), key, receiver); in GetProperty()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_regexp_test.cpp | 184 …JSHandle<JSTaggedValue> sourceResult(JSObject::GetProperty(thread, result1Handle, source).GetValue… in HWTEST_F_L0() 200 …JSHandle<JSTaggedValue> sourceResult(JSObject::GetProperty(thread, result1Handle, source).GetValue… in HWTEST_F_L0() 216 … JSTaggedValue(JSObject::GetProperty(thread, result1Handle, global).GetValue().GetTaggedValue()); in HWTEST_F_L0() 221 …JSTaggedValue(JSObject::GetProperty(thread, result1Handle, ignoreCase).GetValue().GetTaggedValue()… in HWTEST_F_L0() 226 …JSTaggedValue(JSObject::GetProperty(thread, result1Handle, multiline).GetValue().GetTaggedValue()); in HWTEST_F_L0() 231 … JSTaggedValue(JSObject::GetProperty(thread, result1Handle, sticky).GetValue().GetTaggedValue()); in HWTEST_F_L0() 236 … JSTaggedValue(JSObject::GetProperty(thread, result1Handle, unicode).GetValue().GetTaggedValue()); in HWTEST_F_L0() 250 …JSHandle<JSTaggedValue> flagsResult(JSObject::GetProperty(thread, result1Handle, flags).GetValue()… in HWTEST_F_L0() 305 … JSHandle<JSTaggedValue> indexHandle(JSObject::GetProperty(thread, execResult, index).GetValue()); in HWTEST_F_L0() 311 … JSHandle<JSTaggedValue> inputHandle(JSObject::GetProperty(thread, execResult, input).GetValue()); in HWTEST_F_L0() [all …]
|
D | builtins_errors_test.cpp | 93 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(handleObj), msgKey).GetValue()); in HWTEST_F_L0() 97 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(handleObj), nameKey).GetValue()); in HWTEST_F_L0() 115 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(handleObj), msgKey).GetValue()); in HWTEST_F_L0() 119 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(handleObj), nameKey).GetValue()); in HWTEST_F_L0() 149 JSHandle<JSTaggedValue> msgValue(JSObject::GetProperty(thread, errorObject, msgKey).GetValue()); in HWTEST_F_L0() 153 … JSHandle<JSTaggedValue> nameValue(JSObject::GetProperty(thread, errorObject, nameKey).GetValue()); in HWTEST_F_L0() 184 JSHandle<JSTaggedValue> msgValue(JSObject::GetProperty(thread, errorObject, msgKey).GetValue()); in HWTEST_F_L0() 189 … JSHandle<JSTaggedValue> nameValue(JSObject::GetProperty(thread, errorObject, nameKey).GetValue()); in HWTEST_F_L0() 274 JSHandle<JSTaggedValue> msgValue(JSObject::GetProperty(thread, errorObject, msgKey).GetValue()); in HWTEST_F_L0() 277 … JSHandle<JSTaggedValue> nameValue(JSObject::GetProperty(thread, errorObject, nameKey).GetValue()); in HWTEST_F_L0() [all …]
|
D | builtins_array_test.cpp | 130 … auto property = JSArray::GetProperty(thread, JSHandle<JSTaggedValue>(obj), lengthKeyHandle); in TestFlatMapFunc() 269 …EXPECT_EQ(JSArray::GetProperty(thread, JSHandle<JSTaggedValue>(obj), lengthKeyHandle).GetValue()->… in HWTEST_F_L0() 318 …EXPECT_EQ(JSArray::GetProperty(thread, JSHandle<JSTaggedValue>(obj), lengthKeyHandle).GetValue()->… in HWTEST_F_L0() 435 …JSArray::GetProperty(thread, JSHandle<JSTaggedValue>(valueHandle), lengthKeyHandle).GetValue()->Ge… in HWTEST_F_L0() 447 …EXPECT_EQ(JSArray::GetProperty(thread, JSHandle<JSTaggedValue>(obj), lengthKeyHandle).GetValue()->… in HWTEST_F_L0() 501 …EXPECT_EQ(JSArray::GetProperty(thread, JSHandle<JSTaggedValue>(obj), lengthKeyHandle).GetValue()->… in HWTEST_F_L0() 540 …EXPECT_EQ(JSArray::GetProperty(thread, JSHandle<JSTaggedValue>(obj), lengthKeyHandle).GetValue()->… in HWTEST_F_L0() 568 …JSArray::GetProperty(thread, JSHandle<JSTaggedValue>(valueHandle), lengthKeyHandle).GetValue()->Ge… in HWTEST_F_L0() 584 …EXPECT_EQ(JSArray::GetProperty(thread, JSHandle<JSTaggedValue>(obj), lengthKeyHandle).GetValue()->… in HWTEST_F_L0() 608 …JSArray::GetProperty(thread, JSHandle<JSTaggedValue>(valueHandle), lengthKeyHandle).GetValue()->Ge… in HWTEST_F_L0() [all …]
|
D | builtins_map_test.cpp | 300 …JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(newTarget), speciesSymbol).GetValue().GetTag… in HWTEST_F_L0() 306 … JSHandle<EcmaString> stringTag(JSObject::GetProperty(thread, map, toStringTagSymbol).GetValue()); in HWTEST_F_L0() 315 JSTaggedValue value1 = JSObject::GetProperty(thread, map, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 319 JSTaggedValue value2 = JSObject::GetProperty(thread, map, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 323 JSTaggedValue value3 = JSObject::GetProperty(thread, map, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 327 JSTaggedValue value4 = JSObject::GetProperty(thread, map, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 331 JSTaggedValue value5 = JSObject::GetProperty(thread, map, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 335 JSTaggedValue value6 = JSObject::GetProperty(thread, map, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 339 JSTaggedValue value7 = JSObject::GetProperty(thread, map, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0()
|
D | builtins_set_test.cpp | 311 …JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(newTarget), speciesSymbol).GetValue().GetTag… in HWTEST_F_L0() 317 … JSHandle<EcmaString> stringTag(JSObject::GetProperty(thread, set, toStringTagSymbol).GetValue()); in HWTEST_F_L0() 326 JSTaggedValue value1 = JSObject::GetProperty(thread, set, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 330 JSTaggedValue value2 = JSObject::GetProperty(thread, set, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 334 JSTaggedValue value3 = JSObject::GetProperty(thread, set, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 338 JSTaggedValue value4 = JSObject::GetProperty(thread, set, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 342 JSTaggedValue value5 = JSObject::GetProperty(thread, set, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0() 346 JSTaggedValue value6 = JSObject::GetProperty(thread, set, key1).GetValue().GetTaggedValue(); in HWTEST_F_L0()
|
D | builtins_typedarray_test.cpp | 498 EXPECT_EQ(JSTypedArray::GetProperty(thread, resultArr1, 0).GetValue()->GetInt(), 30); in HWTEST_F_L0() 499 EXPECT_EQ(JSTypedArray::GetProperty(thread, resultArr1, 1).GetValue()->GetInt(), 10); in HWTEST_F_L0() 500 EXPECT_EQ(JSTypedArray::GetProperty(thread, resultArr1, 2).GetValue()->GetInt(), 8); in HWTEST_F_L0() 514 EXPECT_EQ(JSTypedArray::GetProperty(thread, resultArr2, 0).GetValue()->GetInt(), 8); in HWTEST_F_L0() 515 EXPECT_EQ(JSTypedArray::GetProperty(thread, resultArr2, 1).GetValue()->GetInt(), 10); in HWTEST_F_L0() 516 EXPECT_EQ(JSTypedArray::GetProperty(thread, resultArr2, 2).GetValue()->GetInt(), 30); in HWTEST_F_L0() 544 EXPECT_EQ(JSTypedArray::GetProperty(thread, resultArr1, 0).GetValue()->GetInt(), 1); in HWTEST_F_L0() 545 EXPECT_EQ(JSTypedArray::GetProperty(thread, resultArr1, 1).GetValue()->GetInt(), 2); in HWTEST_F_L0() 546 EXPECT_EQ(JSTypedArray::GetProperty(thread, resultArr1, 2).GetValue()->GetInt(), 30); in HWTEST_F_L0() 562 EXPECT_EQ(JSTypedArray::GetProperty(thread, resultArr2, 0).GetValue()->GetInt(), 1); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | interfaceType.h | 68 …binder::LocalVariable *GetProperty(const util::StringView &name, [[maybe_unused]] bool searchInBas… in GetProperty() function 70 binder::LocalVariable *resultProp = ObjectType::GetProperty(name, false); in GetProperty() 81 resultProp = base->GetProperty(name, true); in GetProperty()
|