Home
last modified time | relevance | path

Searched refs:resultHandle (Results 1 – 23 of 23) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_intl_test.cpp72 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()
Dbuiltins_proxy_test.cpp86 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()
Dbuiltins_errors_test.cpp214 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 …]
Dbuiltins_string_test.cpp158 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 …]
Dbuiltins_list_format_second_test.cpp106 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()
Dbuiltins_collator_test.cpp258 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()
Dbuiltins_displaynames_test.cpp229 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()
Dbuiltins_date_time_format_second_test.cpp174 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()
Dbuiltins_date_time_format_first_test.cpp257 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()
Dbuiltins_symbol_test.cpp81 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()
Dbuiltins_plural_rules_test.cpp296 JSHandle<JSArray> resultHandle(thread, resultArr); in HWTEST_F_L0() local
297 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0()
Dbuiltins_number_format_test.cpp305 JSHandle<JSArray> resultHandle(thread, result); in HWTEST_F_L0() local
306 JSHandle<TaggedArray> elements(thread, resultHandle->GetElements()); in HWTEST_F_L0()
Dbuiltins_function_test.cpp449 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()
Dbuiltins_array_test.cpp1487 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/
Decma_string_table.cpp186 JSHandle<EcmaString> resultHandle(vm_->GetJSThread(), strFlat); in GetOrInternString() local
188resultHandle, EcmaStringAccessor(strFlat).GetLength(), EcmaStringAccessor(strFlat).IsUtf8()); in GetOrInternString()
201 JSHandle<EcmaString> resultHandle(vm_->GetJSThread(), strFlat); in InsertStringToTable() local
203resultHandle, EcmaStringAccessor(strFlat).GetLength(), EcmaStringAccessor(strFlat).IsUtf8()); in InsertStringToTable()
Djs_proxy.cpp313 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()
Dtagged_tree.h166 JSHandle<JSTaggedValue> resultHandle(thread, callResult); in EntryCompare()
167 JSTaggedNumber v = JSTaggedValue::ToNumber(thread, resultHandle); in EntryCompare()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise_handler.cpp278 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()
Dbuiltins_promise.cpp697 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()
Dbuiltins_regexp.cpp2495 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/
Djsnapi.cpp216 …JSHandle<JSTaggedValue> resultHandle(thread, result); \
217 …return JSNApiHelper::ToLocal<Type##Ref>(resultHandle); \
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_plain_array_test.cpp322 JSHandle<EcmaString> resultHandle(thread, result); in HWTEST_F_L0() local
324 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, str), 0); in HWTEST_F_L0()
Djs_api_lightweightset_test.cpp410 JSHandle<EcmaString> resultHandle(thread, result); in HWTEST_F_L0() local
411 ASSERT_EQ(EcmaStringAccessor::Compare(instance, resultHandle, str), 0); in HWTEST_F_L0()