/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_intl_test.cpp | 72 JSHandle<JSArray> resultHandle(thread, resultObj); in HWTEST_F_L0() local 73 EXPECT_EQ(resultHandle->GetArrayLength(), 0U); in HWTEST_F_L0() 88 JSHandle<JSArray> resultHandle(thread, resultObj); in HWTEST_F_L0() local 90 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0() 115 JSHandle<JSArray> resultHandle(thread, resultObj); in HWTEST_F_L0() local 117 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0()
|
D | builtins_proxy_test.cpp | 86 JSHandle<JSTaggedValue> resultHandle(thread, result); in HWTEST_F_L0() local 87 EXPECT_TRUE(resultHandle->IsJSProxy()); in HWTEST_F_L0() 114 JSHandle<JSObject> resultHandle(thread, result); in HWTEST_F_L0() local 120 JSHandle<TaggedArray> keys = JSObject::GetOwnPropertyKeys(thread, resultHandle); in HWTEST_F_L0() 135 JSObject::GetOwnProperty(thread, resultHandle, revokeKey, descRes); in HWTEST_F_L0()
|
D | builtins_errors_test.cpp | 214 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 216 … EXPECT_EQ(EcmaStringAccessor::Compare(instance, factory->NewFromASCII("Error"), resultHandle), 0); in HWTEST_F_L0() 244 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 246 …tringAccessor::Compare(instance, factory->NewFromASCII("Error: This is Error!"), resultHandle), 0); in HWTEST_F_L0() 337 JSHandle<JSTaggedValue> resultHandle(thread, result); in HWTEST_F_L0() local 342 factory->NewFromASCII("RangeError"), JSHandle<EcmaString>(resultHandle)), 0); in HWTEST_F_L0() 369 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 372 factory->NewFromASCII("RangeError: This is RangeError!"), resultHandle), 0); in HWTEST_F_L0() 462 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 464 …Q(EcmaStringAccessor::Compare(instance, factory->NewFromASCII("ReferenceError"), resultHandle), 0); in HWTEST_F_L0() [all …]
|
D | builtins_string_test.cpp | 158 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 160 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, test), 0); in HWTEST_F_L0() 177 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 179 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, test), 0); in HWTEST_F_L0() 196 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 198 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, test), 0); in HWTEST_F_L0() 215 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 217 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, test), 0); in HWTEST_F_L0() 291 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 293 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, test), 0); in HWTEST_F_L0() [all …]
|
D | builtins_list_format_second_test.cpp | 106 JSHandle<JSArray> resultHandle(thread, result); in HWTEST_F_L0() local 107 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0() 145 JSHandle<JSArray> resultHandle(thread, result); in HWTEST_F_L0() local 146 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0() 220 JSHandle<JSArray> resultHandle(thread, result); in HWTEST_F_L0() local 221 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0() 287 JSHandle<JSArray> resultHandle(thread, resultArr); in HWTEST_F_L0() local 288 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0() 318 JSHandle<JSArray> resultHandle(thread, resultArr); in HWTEST_F_L0() local 319 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0()
|
D | builtins_collator_test.cpp | 258 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 259 EXPECT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, str), 0); in HWTEST_F_L0() 298 JSHandle<JSTaggedValue> resultHandle(thread, result2); in HWTEST_F_L0() local 299 EXPECT_EQ(resultHandle->GetInt(), 0); // Congrès and congres is matching in HWTEST_F_L0() 354 JSHandle<JSArray> resultHandle(thread, resultArr); in HWTEST_F_L0() local 355 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0()
|
D | builtins_displaynames_test.cpp | 229 JSHandle<JSArray> resultHandle(thread, resultArr); in HWTEST_F_L0() local 230 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0() 259 JSHandle<JSArray> resultHandle(thread, resultArr); in HWTEST_F_L0() local 260 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0()
|
D | builtins_date_time_format_second_test.cpp | 174 JSHandle<JSArray> resultHandle(thread, resultArr); in HWTEST_F_L0() local 175 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0() 206 JSHandle<JSArray> resultHandle(thread, resultArr); in HWTEST_F_L0() local 207 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0() 438 JSHandle<JSArray> resultHandle(thread, result); in HWTEST_F_L0() local 439 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0()
|
D | builtins_date_time_format_first_test.cpp | 257 JSHandle<JSArray> resultHandle(thread, result); in HWTEST_F_L0() local 258 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0() 331 JSHandle<JSArray> resultHandle(thread, result); in HWTEST_F_L0() local 332 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0()
|
D | builtins_symbol_test.cpp | 81 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 85 ASSERT_EQ(EcmaStringAccessor::Compare(ecmaVM, symbolValue, resultHandle), 0); in HWTEST_F_L0() 127 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 131 ASSERT_EQ(EcmaStringAccessor::Compare(ecmaVM, symbolValue, resultHandle), 0); in HWTEST_F_L0()
|
D | builtins_plural_rules_test.cpp | 296 JSHandle<JSArray> resultHandle(thread, resultArr); in HWTEST_F_L0() local 297 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0()
|
D | builtins_number_format_test.cpp | 305 JSHandle<JSArray> resultHandle(thread, result); in HWTEST_F_L0() local 306 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0()
|
D | builtins_function_test.cpp | 449 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 451 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, test), 0); in HWTEST_F_L0()
|
D | builtins_array_test.cpp | 1487 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 1489 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, str), 0); in HWTEST_F_L0() 1518 JSHandle<EcmaString> resultHandle(thread, reinterpret_cast<EcmaString *>(result.GetRawData())); in HWTEST_F_L0() local 1520 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, str), 0); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_string_table.cpp | 186 JSHandle<EcmaString> resultHandle(vm_->GetJSThread(), strFlat); in GetOrInternString() local 188 … resultHandle, EcmaStringAccessor(strFlat).GetLength(), EcmaStringAccessor(strFlat).IsUtf8()); in GetOrInternString() 201 JSHandle<EcmaString> resultHandle(vm_->GetJSThread(), strFlat); in InsertStringToTable() local 203 … resultHandle, EcmaStringAccessor(strFlat).GetLength(), EcmaStringAccessor(strFlat).IsUtf8()); in InsertStringToTable()
|
D | js_proxy.cpp | 313 JSHandle<JSTaggedValue> resultHandle(thread, trapResultObj); in GetOwnProperty() local 326 if (resultHandle->IsUndefined()) { in GetOwnProperty() 349 JSObject::ToPropertyDescriptor(thread, resultHandle, resultDesc); in GetOwnProperty() 552 JSHandle<JSTaggedValue> resultHandle(thread, trapResult); in GetProperty() local 571 …if (!JSTaggedValue::SameValue(resultHandle.GetTaggedValue(), targetDesc.GetValue().GetTaggedValue(… in GetProperty() 582 if (!resultHandle.GetTaggedValue().IsUndefined()) { in GetProperty() 590 return OperationResult(thread, resultHandle.GetTaggedValue(), PropertyMetaData(true)); in GetProperty()
|
D | tagged_tree.h | 166 JSHandle<JSTaggedValue> resultHandle(thread, callResult); in EntryCompare() 167 JSTaggedNumber v = JSTaggedValue::ToNumber(thread, resultHandle); in EntryCompare()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_promise_handler.cpp | 278 JSHandle<JSTaggedValue> resultHandle(thread, result); in ThenFinally() local 285 BuiltinsPromiseHandler::PromiseResolve(thread, thenFinallyConstructor, resultHandle); in ThenFinally() 319 JSHandle<JSTaggedValue> resultHandle(thread, result); in CatchFinally() local 326 BuiltinsPromiseHandler::PromiseResolve(thread, catchFinallyConstructor, resultHandle); in CatchFinally()
|
D | builtins_promise.cpp | 697 JSHandle<JSTaggedValue> resultHandle = JSHandle<JSTaggedValue>::Cast(result); in Any() local 698 … JSHandle<JSTaggedValue> closeVal = JSIterator::IteratorClose(thread, iterator, resultHandle); in Any() 881 JSHandle<JSTaggedValue> resultHandle = JSHandle<JSTaggedValue>::Cast(result); in AllSettled() local 882 … JSHandle<JSTaggedValue> closeVal = JSIterator::IteratorClose(thread, iterator, resultHandle); in AllSettled()
|
D | builtins_regexp.cpp | 2495 JSHandle<JSArray> resultHandle(thread, JSArray::Cast(result)); in FindCachedResult() local 2496 … JSHandle<JSArray> copyArray = thread->GetEcmaVM()->GetFactory()->CloneArrayLiteral(resultHandle); in FindCachedResult()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 216 …JSHandle<JSTaggedValue> resultHandle(thread, result); \ 217 …return JSNApiHelper::ToLocal<Type##Ref>(resultHandle); \
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_api_plain_array_test.cpp | 322 JSHandle<EcmaString> resultHandle(thread, result); in HWTEST_F_L0() local 324 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, str), 0); in HWTEST_F_L0()
|
D | js_api_lightweightset_test.cpp | 410 JSHandle<EcmaString> resultHandle(thread, result); in HWTEST_F_L0() local 411 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, str), 0); in HWTEST_F_L0()
|