/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_math.cpp | 387 uint32_t argLen = argv->GetArgsNumber(); in Hypot() local 389 for (uint32_t i = 0; i < argLen; i++) { in Hypot() 513 uint32_t argLen = argv->GetArgsNumber(); in Max() local 521 for (; i < argLen; i++) { in Max() 543 for (; i < argLen; i++) { in Max() 559 uint32_t argLen = argv->GetArgsNumber(); in Min() local 567 for (; i < argLen; i++) { in Min() 589 for (; i < argLen; i++) { in Min()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_date_time_format_first_test.cpp | 72 std::vector<JSTaggedValue> vals, uint32_t argLen, AlgorithmType type = AlgorithmType::ALGORITHM_FORMAT) in AtomicsAlgorithm() 74 auto ecmaRuntimeCallInfos = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen); in AtomicsAlgorithm() 71 AtomicsAlgorithm(JSThread *thread, JSHandle<JSDateTimeFormat>& jsDateTimeFormat, std::vector<JSTaggedValue> vals, uint32_t argLen, AlgorithmType type = AlgorithmType::ALGORITHM_FORMAT) AtomicsAlgorithm() argument
|
H A D | builtins_set_test.cpp | 81 uint32_t argLen = 8, AlgorithmType type = AlgorithmType::ADD) in SetAlgorithm() 83 auto ecmaRuntimeCallInfos = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen); in SetAlgorithm()
|
H A D | builtins_symbol_test.cpp | 54 uint32_t argLen = 8, AlgorithmType type = AlgorithmType::TO_STRING) in SymbolAlgorithm() 56 auto ecmaRuntimeCallInfos = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen); in SymbolAlgorithm()
|
H A D | builtins_function_test.cpp | 68 std::vector<JSTaggedValue> &args, uint32_t argLen, in FunctionAlgorithm() 71 auto ecmaRuntimeCallInfos = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen); in FunctionAlgorithm() 67 FunctionAlgorithm(JSThread *thread, JSHandle<JSFunction> &thisArg, std::vector<JSTaggedValue> &args, uint32_t argLen, AlgorithmType type = AlgorithmType::PROTOTYPE_APPLY) FunctionAlgorithm() argument
|
H A D | builtins_map_test.cpp | 83 int32_t argLen, AlgorithmType type) in MapAlgorithm() 85 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen); in MapAlgorithm() 82 MapAlgorithm(JSThread *thread, JSTaggedValue thisArg, std::vector<JSTaggedValue>& args, int32_t argLen, AlgorithmType type) MapAlgorithm() argument
|
H A D | builtins_shared_function_test.cpp | 70 std::vector<JSTaggedValue> &args, uint32_t argLen, in FunctionAlgorithm() 73 auto ecmaRuntimeCallInfos = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen); in FunctionAlgorithm() 69 FunctionAlgorithm(JSThread *thread, JSHandle<JSFunction> &thisArg, std::vector<JSTaggedValue> &args, uint32_t argLen, AlgorithmType type = AlgorithmType::PROTOTYPE_APPLY) FunctionAlgorithm() argument
|
H A D | builtins_shared_set_test.cpp | 93 uint32_t argLen = 8, AlgorithmType type = AlgorithmType::ADD)
in SharedSetAlgorithm() 95 auto ecmaRuntimeCallInfos = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen);
in SharedSetAlgorithm()
|
H A D | builtins_shared_map_test.cpp | 171 int32_t argLen, AlgorithmType type) in MapAlgorithm() 173 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen); in MapAlgorithm() 170 MapAlgorithm(JSThread *thread, JSTaggedValue thisArg, std::vector<JSTaggedValue>& args, int32_t argLen, AlgorithmType type) MapAlgorithm() argument
|
H A D | builtins_bigint_test.cpp | 40 static JSTaggedValue BigIntAlgorithm(JSThread *thread, std::vector<JSTaggedValue>& args, int32_t argLen,
in BigIntAlgorithm() argument 43 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen);
in BigIntAlgorithm()
|
H A D | builtins_locale_test.cpp | 149 int32_t argLen, AlgorithmType type) in LocaleAlgorithm() 151 auto ecmaRuntimeCallInfo = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen); in LocaleAlgorithm() 148 LocaleAlgorithm(JSThread *thread, JSTaggedValue thisArg, std::vector<JSTaggedValue>& args, int32_t argLen, AlgorithmType type) LocaleAlgorithm() argument
|
H A D | builtins_atomics_test.cpp | 194 uint32_t argLen = 8, AlgorithmType type = AlgorithmType::ALGORITHM_LOAD) in AtomicsAlgorithm() 196 auto ecmaRuntimeCallInfos = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen); in AtomicsAlgorithm()
|
H A D | builtins_date_test.cpp | 54 uint32_t argLen = 8, AlgorithmType type = AlgorithmType::ALGORITHM_TO_STRING) in DateAlgorithm() 56 auto ecmaRuntimeCallInfos = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen); in DateAlgorithm()
|
H A D | builtins_string_test.cpp | 98 uint32_t argLen = 8, AlgorithmType type = AlgorithmType::FROM_CHAR_CODE) in StringAlgorithm() 100 auto ecmaRuntimeCallInfos = TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), argLen); in StringAlgorithm()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_array_stub_builder.cpp | 199 GateRef argLen = ZExtInt32ToInt64(ChangeIntPtrToInt32(numArgs)); in Unshift() local 200 GateRef newLen = Int64Add(thisLen, argLen); in Unshift() 428 GateRef argLen = ZExtInt32ToInt64(GetArrayLength(arg0)); in Concat() local 429 GateRef sumArrayLen = Int64Add(argLen, thisLen); in Concat() 506 BRANCH(Int64LessThan(*k, argLen), &next1, &loopExit1); in Concat()
|