Home
last modified time | relevance | path

Searched refs:BuiltinsBase (Results 1 – 25 of 150) sorted by relevance

123456

/arkcompiler/ets_runtime/ecmascript/base/tests/
Dbuiltins_base_test.cpp25 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/
Dbuiltins_errors.h23 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 {
Dbuiltins_atomics.cpp117 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 …]
Dbuiltins_cjs_exports.h24 class BuiltinsCjsExports : public base::BuiltinsBase {
Dbuiltins_string_iterator.h22 class BuiltinsStringIterator : public base::BuiltinsBase {
Dbuiltins_async_function.h23 class BuiltinsAsyncFunction : public base::BuiltinsBase {
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_math_test.cpp64 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 …]
Dbuiltins_boolean_test.cpp30 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/
Djs_api_vector_iterator.cpp25 using BuiltinsBase = base::BuiltinsBase; typedef
32 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_api_arraylist_iterator.cpp27 using BuiltinsBase = base::BuiltinsBase; typedef
37 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_api_queue_iterator.cpp25 using BuiltinsBase = base::BuiltinsBase; typedef
34 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_api_stack_iterator.cpp28 using BuiltinsBase = base::BuiltinsBase; typedef
37 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_api_deque_iterator.cpp30 using BuiltinsBase = base::BuiltinsBase; typedef
39 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_api_plain_array_iterator.cpp28 using BuiltinsBase = base::BuiltinsBase; typedef
36 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_api_list_iterator.cpp28 using BuiltinsBase = base::BuiltinsBase; typedef
36 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_api_linked_list_iterator.cpp29 using BuiltinsBase = base::BuiltinsBase; typedef
37 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_api_lightweightset_iterator.cpp28 using BuiltinsBase = base::BuiltinsBase; typedef
36 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_api_lightweightmap_iterator.cpp28 using BuiltinsBase = base::BuiltinsBase; typedef
36 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_api_tree_set_iterator.cpp26 using BuiltinsBase = base::BuiltinsBase; typedef
35 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_api_tree_map_iterator.cpp26 using BuiltinsBase = base::BuiltinsBase; typedef
35 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
/arkcompiler/ets_runtime/ecmascript/
Djs_array_iterator.cpp25 using BuiltinsBase = base::BuiltinsBase; typedef
33 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_set_iterator.cpp26 using BuiltinsBase = base::BuiltinsBase; typedef
33 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_regexp_iterator.cpp26 using BuiltinsBase = base::BuiltinsBase; typedef
35 JSHandle<JSTaggedValue> input(BuiltinsBase::GetThis(argv)); in Next()
Djs_stable_array.cpp218 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/
Derror_helper.cpp40 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()

123456