/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | builtins_base_test.cpp | 25 using ArgsPosition = BuiltinsBase::ArgsPosition; 69 JSHandle<TaggedArray> resultArray = BuiltinsBase::GetArgsArray(ecmaRuntimeCallInfo); in HWTEST_F_L0() 100 EXPECT_TRUE(BuiltinsBase::GetConstructor(ecmaRuntimeCallInfo1)->IsUndefined()); in HWTEST_F_L0() 101 EXPECT_TRUE(BuiltinsBase::GetNewTarget(ecmaRuntimeCallInfo1)->IsUndefined()); in HWTEST_F_L0() 102 EXPECT_EQ(BuiltinsBase::GetCallArg(ecmaRuntimeCallInfo1, 0)->GetInt(), 0); in HWTEST_F_L0() 103 EXPECT_EQ(BuiltinsBase::GetCallArg(ecmaRuntimeCallInfo1, 1)->GetInt(), 1); in HWTEST_F_L0() 104 EXPECT_EQ(BuiltinsBase::GetCallArg(ecmaRuntimeCallInfo1, 2)->GetInt(), 3); in HWTEST_F_L0() 113 EXPECT_TRUE(BuiltinsBase::GetConstructor(ecmaRuntimeCallInfo2)->IsJSFunction()); in HWTEST_F_L0() 114 EXPECT_TRUE(BuiltinsBase::GetNewTarget(ecmaRuntimeCallInfo2)->IsJSGlobalObject()); in HWTEST_F_L0() 115 EXPECT_TRUE(BuiltinsBase::GetCallArg(ecmaRuntimeCallInfo2, 0)->IsUndefined()); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_errors.h | 23 class BuiltinsError : public base::BuiltinsBase { 32 class BuiltinsRangeError : public base::BuiltinsBase { 40 class BuiltinsReferenceError : public base::BuiltinsBase { 48 class BuiltinsTypeError : public base::BuiltinsBase { 58 class BuiltinsURIError : public base::BuiltinsBase { 66 class BuiltinsSyntaxError : public base::BuiltinsBase { 74 class BuiltinsEvalError : public base::BuiltinsBase { 82 class BuiltinsAggregateError : public base::BuiltinsBase { 89 class BuiltinsOOMError : public base::BuiltinsBase {
|
D | builtins_atomics.cpp | 117 JSHandle<JSTaggedValue> value = GetCallArg(argv, BuiltinsBase::ArgsPosition::THIRD); in Store() 165 JSHandle<JSTaggedValue> value = GetCallArg(argv, BuiltinsBase::ArgsPosition::THIRD); in Wait() 166 JSHandle<JSTaggedValue> timeout = GetCallArg(argv, BuiltinsBase::ArgsPosition::FOURTH); in Wait() 244 JSHandle<JSTaggedValue> count = GetCallArg(argv, BuiltinsBase::ArgsPosition::THIRD); in Notify() 345 … JSHandle<JSTaggedValue> value = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::THIRD); in HandleWithUint8() 349 return BuiltinsBase::GetTaggedInt(result); in HandleWithUint8() 351 …JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOUR… in HandleWithUint8() 366 … JSHandle<JSTaggedValue> value = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::THIRD); in HandleWithInt8() 370 return BuiltinsBase::GetTaggedInt(result); in HandleWithInt8() 372 …JSHandle<JSTaggedValue> newValue = BuiltinsBase::GetCallArg(argv, BuiltinsBase::ArgsPosition::FOUR… in HandleWithInt8() [all …]
|
D | builtins_cjs_exports.h | 24 class BuiltinsCjsExports : public base::BuiltinsBase {
|
D | builtins_string_iterator.h | 22 class BuiltinsStringIterator : public base::BuiltinsBase {
|
D | builtins_async_function.h | 23 class BuiltinsAsyncFunction : public base::BuiltinsBase {
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_math_test.cpp | 64 JSTaggedValue expect = BuiltinsBase::GetTaggedInt(10); in HWTEST_F_L0() 79 JSTaggedValue expect = BuiltinsBase::GetTaggedInt(10); in HWTEST_F_L0() 94 JSTaggedValue expect = BuiltinsBase::GetTaggedInt(0); in HWTEST_F_L0() 109 JSTaggedValue expect = BuiltinsBase::GetTaggedInt(0); in HWTEST_F_L0() 126 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::NAN_VALUE); in HWTEST_F_L0() 142 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::MAX_VALUE); in HWTEST_F_L0() 158 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(1.0); in HWTEST_F_L0() 174 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::POSITIVE_INFINITY); in HWTEST_F_L0() 190 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::POSITIVE_INFINITY); in HWTEST_F_L0() 206 JSTaggedValue expect = BuiltinsBase::GetTaggedDouble(base::NAN_VALUE); in HWTEST_F_L0() [all …]
|
D | builtins_boolean_test.cpp | 30 using BuiltinsBase = panda::ecmascript::base::BuiltinsBase; typedef 117 JSTaggedValue ruler = BuiltinsBase::GetTaggedBoolean(true); in HWTEST_F_L0() 168 JSTaggedValue ruler = BuiltinsBase::GetTaggedBoolean(true); in HWTEST_F_L0() 189 JSTaggedValue ruler = BuiltinsBase::GetTaggedBoolean(false); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_vector_iterator.cpp | 25 using BuiltinsBase = base::BuiltinsBase; typedef 32 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_api_arraylist_iterator.cpp | 27 using BuiltinsBase = base::BuiltinsBase; typedef 37 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_api_queue_iterator.cpp | 25 using BuiltinsBase = base::BuiltinsBase; typedef 34 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_api_stack_iterator.cpp | 28 using BuiltinsBase = base::BuiltinsBase; typedef 37 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_api_deque_iterator.cpp | 30 using BuiltinsBase = base::BuiltinsBase; typedef 39 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_api_plain_array_iterator.cpp | 28 using BuiltinsBase = base::BuiltinsBase; typedef 36 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_api_list_iterator.cpp | 28 using BuiltinsBase = base::BuiltinsBase; typedef 36 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_api_linked_list_iterator.cpp | 29 using BuiltinsBase = base::BuiltinsBase; typedef 37 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_api_lightweightset_iterator.cpp | 28 using BuiltinsBase = base::BuiltinsBase; typedef 36 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_api_lightweightmap_iterator.cpp | 28 using BuiltinsBase = base::BuiltinsBase; typedef 36 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_api_tree_set_iterator.cpp | 26 using BuiltinsBase = base::BuiltinsBase; typedef 35 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_api_tree_map_iterator.cpp | 26 using BuiltinsBase = base::BuiltinsBase; typedef 35 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_array_iterator.cpp | 25 using BuiltinsBase = base::BuiltinsBase; typedef 33 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_set_iterator.cpp | 26 using BuiltinsBase = base::BuiltinsBase; typedef 33 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_regexp_iterator.cpp | 26 using BuiltinsBase = base::BuiltinsBase; typedef 35 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
|
D | js_stable_array.cpp | 218 JSHandle<JSTaggedValue> sepHandle = base::BuiltinsBase::GetCallArg(argv, 0); in Join() 319 JSTaggedValue callResult = base::BuiltinsBase::GetTaggedBoolean(false); in HandleFindIndexOfStable() 356 JSTaggedValue callResult = base::BuiltinsBase::GetTaggedBoolean(false); in HandleFindLastIndexOfStable() 393 JSTaggedValue callResult = base::BuiltinsBase::GetTaggedBoolean(true); in HandleEveryOfStable() 420 return base::BuiltinsBase::GetTaggedBoolean(false); in HandleEveryOfStable() 424 return base::BuiltinsBase::GetTaggedBoolean(true); in HandleEveryOfStable() 427 return base::BuiltinsBase::GetTaggedBoolean(true); in HandleEveryOfStable() 442 return base::BuiltinsBase::GetTaggedBoolean(false); in HandleforEachOfStable() 475 return base::BuiltinsBase::GetTaggedBoolean(true); in HandleforEachOfStable() 511 JSHandle<JSTaggedValue> callbackFnHandle = base::BuiltinsBase::GetCallArg(argv, 0); in Filter() [all …]
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | error_helper.cpp | 40 JSHandle<JSTaggedValue> thisValue = BuiltinsBase::GetThis(argv); in ErrorCommonToString() 139 JSHandle<JSTaggedValue> ctor = BuiltinsBase::GetConstructor(argv); in ErrorCommonConstructor() 140 JSHandle<JSTaggedValue> newTarget = BuiltinsBase::GetNewTarget(argv); in ErrorCommonConstructor() 144 JSHandle<JSTaggedValue> message = BuiltinsBase::GetCallArg(argv, 0); in ErrorCommonConstructor() 170 JSHandle<JSTaggedValue> options = BuiltinsBase::GetCallArg(argv, 1); in ErrorCommonConstructor()
|