| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | runtime_stubs.cpp | 85 …FunctionKind kind = static_cast<FunctionKind>(GetTArg(argv, argc, 0)); // 1: means the first param… in DEF_RUNTIME_STUBS() 102 …JSHandle<JSTaggedValue> accessor = GetHArg<JSTaggedValue>(argv, argc, 1); // 1: means the first pa… in DEF_RUNTIME_STUBS() 103 …FunctionKind kind = static_cast<FunctionKind>(GetTArg(argv, argc, 2)); // 2: means the second para… in DEF_RUNTIME_STUBS() 113 JSTaggedValue allocateSize = GetArg(argv, argc, 0); // 0: means the zeroth parameter in DEF_RUNTIME_STUBS() 115 …JSHandle<JSHClass> hclassHandle = GetHArg<JSHClass>(argv, argc, 1); // 1: means the first paramet… in DEF_RUNTIME_STUBS() 147 JSTaggedValue allocateSize = GetArg(argv, argc, 0); // 0: means the zeroth parameter in DEF_RUNTIME_STUBS() 152 if (argc > 1) { // 1: means the first parameter in DEF_RUNTIME_STUBS() 153 …JSHandle<JSHClass> hclassHandle = GetHArg<JSHClass>(argv, argc, 1); // 1: means the first paramet… in DEF_RUNTIME_STUBS() 163 JSTaggedValue allocateSize = GetArg(argv, argc, 0); // 0: means the zeroth parameter in DEF_RUNTIME_STUBS() 168 if (argc > 1) { // 1: means the first parameter in DEF_RUNTIME_STUBS() [all …]
|
| D | runtime_optimized_stubs-inl.h | 51 uint16_t behindChart = GetCodeUnit<T>(sp, k + 2, strLen); // 2: means plus 2 in DecodePercentEncoding() 66 k += 2; // 2: means plus 2 in DecodePercentEncoding() 89 common::utf_helper::DECODE_LEAD_LOW); // 10: means shift left by 10 digits in UTF16EncodeCodePoint() 99 common::utf_helper::DECODE_LEAD_LOW); // 10: means shift left by 10 digits in UTF16EncodeCodePoint() 116 if ((k + 2) >= strLen) { // 2: means plus 2 in DecodePercentEncoding() 121 uint16_t behindChar = GetCodeUnit<T>(sp, k + 2, strLen); // 2: means plus 2 in DecodePercentEncoding() 128 k += 2; // 2: means plus 2 in DecodePercentEncoding() 133 k += 2; // 2: means plus 2 in DecodePercentEncoding() 163 if (n > 4) { // 4 : 4 means less than 4 in DecodePercentEncoding() 176 if (k + (3 * (n - 1)) >= strLen) { // 3: means multiply by 3 in DecodePercentEncoding() [all …]
|
| /arkcompiler/ets_runtime/test/fuzztest/containersvectorcommon_fuzzer/ |
| D | containersvectorcommon_fuzzer.h | 66 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in CreateJSAPIVector() 69 // 0 means the argument in CreateJSAPIVector() 74 auto objCallInfo2 = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in CreateJSAPIVector() 101 auto callInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in GetVectorWithData() 122 auto callInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainersVectorAddFuzzTest() 145 auto callInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainersVectorGetIndexOfFuzzTest() 155 auto callInfo1 = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainersVectorGetIndexOfFuzzTest() 175 auto callInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainersVectorHasFuzzTest() 185 auto callInfo1 = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainersVectorHasFuzzTest() 205 auto callInfo = CreateEcmaRuntimeCallInfo(thread, 8); // 8 : means the argv length in ContainersVectorInsertFuzzTest() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_buffer.cpp | 117 JSHandle<JSTaggedValue> value = GetCallArg(argv, 0); // 0 means the first arg in BufferConstructor() 118 JSHandle<JSTaggedValue> byteOffsetOrEncoding = GetCallArg(argv, 1); // 1 means the second arg in BufferConstructor() 119 JSHandle<JSTaggedValue> length = GetCallArg(argv, 2); // 2 means the third arg in BufferConstructor() 206 auto value = GetCallArg(argv, 0); // 0 means the first arg in Compare() 214 auto targetStart = GetCallArg(argv, 1); // 1 means the second arg in Compare() 215 auto targetEnd = GetCallArg(argv, 2); // 2 means the third arg in Compare() 216 auto sourceStart = GetCallArg(argv, 3); // 3 means the fourth arg in Compare() 217 auto sourceEnd = GetCallArg(argv, 4); // 4 means the fifth arg in Compare() 254 auto value = GetCallArg(argv, 0); // 0 means the first arg in Equals() 279 JSHandle<JSTaggedValue> value = GetCallArg(argv, 0); // 0 means the first arg in IndexOf() [all …]
|
| /arkcompiler/ets_frontend/arkguard/ |
| D | OAT.xml | 32 …check whether the specified file exists in the specified path(projectroot means the root dir of th… 33 …ne the license, copyright, "*" means match all, the "!" prefix means could not match this value. F… 34 … scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*"… 35 …sed together to merge policy results. "may" policyitems in the same group means any one in this gr…
|
| /arkcompiler/runtime_core/static_core/ |
| D | OAT.xml | 32 …check whether the specified file exists in the specified path(projectroot means the root dir of th… 33 …ne the license, copyright, "*" means match all, the "!" prefix means could not match this value. F… 34 … scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*"… 35 …sed together to merge policy results. "may" policyitems in the same group means any one in this gr…
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_api_plain_array_test.cpp | 82 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() 124 EXPECT_EQ(array->GetSize(), 0); // 0 means the value in HWTEST_F_L0() 129 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() 148 EXPECT_EQ(newArray->GetSize(), 0); // 0 means the value in HWTEST_F_L0() 153 key.Update(JSTaggedValue(103)); // 103 means the value in HWTEST_F_L0() 168 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() 171 value.Update(JSTaggedValue(103)); // 103 means the value in HWTEST_F_L0() 174 EXPECT_EQ(value2.GetNumber(), 3); // 3 means the value in HWTEST_F_L0() 181 EXPECT_EQ(value3.GetNumber(), 2); // 2 means the value in HWTEST_F_L0() 185 int32_t batchSize = 3; // 3 means the value in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/containers/tests/ |
| D | containers_lightweightset_test.cpp | 66 … JSHandle<JSTaggedValue> value = GetCallArg(argv, 0); // 0 means the first argument vector in TestForEachFunc() 82 … TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); // 6 means the value in InitializeLightWeightSetConstructor() 86 … 0, JSTaggedValue(static_cast<int>(ContainerTag::LightWeightSet))); // 0 means the argument in InitializeLightWeightSetConstructor() 98 … TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); // 4 means the value in CreateJSAPILightWeightSet() 116 …TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); // 4 means the val… in HWTEST_F_L0() 131 ASSERT_EQ(length, 0); // 0 means the value in HWTEST_F_L0() 140 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() 144 …estHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); // 6 means the value in HWTEST_F_L0() 165 … TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); // 6 means the value in HWTEST_F_L0() 181 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() [all …]
|
| D | containers_plainarray_test.cpp | 64 JSHandle<JSTaggedValue> key = GetCallArg(argv, 0); // 0 means the value in TestForEachFunc() 65 JSHandle<JSTaggedValue> value = GetCallArg(argv, 1); // 1 means the value in TestForEachFunc() 66 JSHandle<JSAPIPlainArray> plainArray(GetCallArg(argv, 2)); // 2 means the value in TestForEachFunc() 68 … JSHandle<JSTaggedValue> newValue(thread, JSTaggedValue(value->GetInt() * 2)); // 2 means the value in TestForEachFunc() 87 …estHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 6); // 6 means the value in InitializePlainArrayConstructor() 102 …estHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); // 4 means the value in CreateJSAPIPlainArray() 117 … TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 8); // 4 means the value in PlainArrayAdd() 133 … TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 8); // 8 means the value in PlainArrayRemoveRangeFrom() 151 …TestHelper::CreateEcmaRuntimeCallInfo(thread, JSTaggedValue::Undefined(), 4); // 4 means the va… in HWTEST_F_L0() 175 constexpr uint32_t NODE_NUMBERS = 8; // 8 means the value in HWTEST_F_L0() [all …]
|
| /arkcompiler/toolchain/ |
| D | OAT.xml | 41 …ne the license, copyright, "*" means match all, the "!" prefix means could not match this value. F… 42 … scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*"… 43 …sed together to merge policy results. "may" policyitems in the same group means any one in this gr…
|
| /arkcompiler/runtime_core/ |
| D | OAT.xml | 32 …check whether the specified file exists in the specified path(projectroot means the root dir of th… 33 …ne the license, copyright, "*" means match all, the "!" prefix means could not match this value. F… 34 … scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*"… 35 …sed together to merge policy results. "may" policyitems in the same group means any one in this gr…
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | dtoa_helper.cpp | 80 return 1; // 1: means the decimal digit in CountDecimalDigit32() 82 return 2; // 2: means the decimal digit in CountDecimalDigit32() 84 return 3; // 3: means the decimal digit in CountDecimalDigit32() 86 return 4; // 4: means the decimal digit in CountDecimalDigit32() 88 return 5; // 5: means the decimal digit in CountDecimalDigit32() 90 return 6; // 6: means the decimal digit in CountDecimalDigit32() 92 return 7; // 7: means the decimal digit in CountDecimalDigit32() 94 return 8; // 8: means the decimal digit in CountDecimalDigit32() 96 return 9; // 9: means the decimal digit in CountDecimalDigit32() 112 case 9: // 9: means the decimal digit in DigitGen() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_dataview.cpp | 30 size = 2; // 2 means the length in GetElementSize() 35 size = 4; // 4 means the length in GetElementSize() 40 size = 8; // 8 means the length in GetElementSize()
|
| /arkcompiler/ets_runtime/test/fuzztest/containersplainarraycommon_fuzzer/ |
| D | containersplainarraycommon_fuzzer.h | 62 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in InitializePlainArrayConstructor() 110 … EcmaRuntimeCallInfo *callInfo = CreateEcmaRuntimeCallInfo(thread, 8); // 8 : means the argv length in ContainersPlainArray_Add_Has_FuzzTest() 119 … EcmaRuntimeCallInfo *callInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainersPlainArray_Add_Has_FuzzTest() 155 … EcmaRuntimeCallInfo *callInfo = CreateEcmaRuntimeCallInfo(thread, 8); // 8 : means the argv length in ContainersPlainArray_Get_FuzzTest() 162 … EcmaRuntimeCallInfo *cfForGet = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainersPlainArray_Get_FuzzTest() 197 … EcmaRuntimeCallInfo *callInfo = CreateEcmaRuntimeCallInfo(thread, 8); // 8 : means the argv length in ContainersPlainArray_GetIndexOfKey_FuzzTest() 205 CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainersPlainArray_GetIndexOfKey_FuzzTest() 240 … EcmaRuntimeCallInfo *callInfo = CreateEcmaRuntimeCallInfo(thread, 8); // 8 : means the argv length in ContainersPlainArray_GetIndexOfValue_FuzzTest() 248 CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainersPlainArray_GetIndexOfValue_FuzzTest() 283 … EcmaRuntimeCallInfo *callInfo = CreateEcmaRuntimeCallInfo(thread, 8); // 8 : means the argv length in ContainersPlainArray_GetKeyAt_FuzzTest() [all …]
|
| /arkcompiler/ets_runtime/test/fuzztest/containersfastbuffercompare_fuzzer/ |
| D | containersfastbuffercompare_fuzzer.cpp | 113 // 0 : means the first parameter in ContainersFastBufferCompareFuzzTest() 119 // 0 : means the first parameter in ContainersFastBufferCompareFuzzTest() 125 // 0 : means the first parameter in ContainersFastBufferCompareFuzzTest() 127 // 1 : means the second parameter in ContainersFastBufferCompareFuzzTest() 129 // 2 : means the third parameter in ContainersFastBufferCompareFuzzTest() 131 // 3 : means the fourth parameter in ContainersFastBufferCompareFuzzTest() 133 // 4 : means the fifth parameter in ContainersFastBufferCompareFuzzTest()
|
| /arkcompiler/ets_runtime/ |
| D | OAT.xml | 41 …ne the license, copyright, "*" means match all, the "!" prefix means could not match this value. F… 42 … scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*"… 43 …sed together to merge policy results. "may" policyitems in the same group means any one in this gr…
|
| /arkcompiler/ets_frontend/ |
| D | OAT.xml | 40 …ne the license, copyright, "*" means match all, the "!" prefix means could not match this value. F… 41 … scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*"… 42 …sed together to merge policy results. "may" policyitems in the same group means any one in this gr…
|
| /arkcompiler/ets_runtime/test/fuzztest/containerslistremovebyindex_fuzzer/ |
| D | containerslistremovebyindex_fuzzer.cpp | 60 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in InitializeContainersList() 63 …objCallInfo->SetCallArg(0, JSTaggedValue(static_cast<int>(ContainerTag::List))); // 0 means the ar… in InitializeContainersList() 72 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 4); // 4 : means the argv length in CreateJSAPIList() 106 auto *callInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainerslistRemoveByIndexFuzzTest() 112 auto *callInfo1 = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainerslistRemoveByIndexFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containerslistremove_fuzzer/ |
| D | containerslistremove_fuzzer.cpp | 60 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in InitializeContainersList() 63 …objCallInfo->SetCallArg(0, JSTaggedValue(static_cast<int>(ContainerTag::List))); // 0 means the ar… in InitializeContainersList() 72 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 4); // 4 : means the argv length in CreateJSAPIList() 106 auto *callInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainerslistRemoveFuzzTest() 111 auto *callInfo1 = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainerslistRemoveFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containerslistforeach_fuzzer/ |
| D | containerslistforeach_fuzzer.cpp | 60 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in InitializeContainersList() 63 …objCallInfo->SetCallArg(0, JSTaggedValue(static_cast<int>(ContainerTag::List))); // 0 means the ar… in InitializeContainersList() 72 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 4); // 4 : means the argv length in CreateJSAPIList() 106 auto *callInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainerslistForEachFuzzTest() 111 auto callInfo1 = CreateEcmaRuntimeCallInfo(thread, 8); // 8 : means the argv length in ContainerslistForEachFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containerslistgetindexof_fuzzer/ |
| D | containerslistgetindexof_fuzzer.cpp | 60 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in InitializeContainersList() 63 …objCallInfo->SetCallArg(0, JSTaggedValue(static_cast<int>(ContainerTag::List))); // 0 means the ar… in InitializeContainersList() 72 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 4); // 4 : means the argv length in CreateJSAPIList() 107 auto callInfo = CreateEcmaRuntimeCallInfo(thread, 8); // 8 : means the argv length in ContainerslistGetIndexOfFuzzTest() 112 auto callInfo1 = CreateEcmaRuntimeCallInfo(thread, 4); // 4 : means the argv length in ContainerslistGetIndexOfFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containerslistsort_fuzzer/ |
| D | containerslistsort_fuzzer.cpp | 60 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in InitializeContainersList() 63 …objCallInfo->SetCallArg(0, JSTaggedValue(static_cast<int>(ContainerTag::List))); // 0 means the ar… in InitializeContainersList() 72 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 4); // 4 : means the argv length in CreateJSAPIList() 106 auto *callInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainerslistSortFuzzTest() 111 auto *callInfo1 = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainerslistSortFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containerslistclear_fuzzer/ |
| D | containerslistclear_fuzzer.cpp | 60 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in InitializeContainersList() 63 …objCallInfo->SetCallArg(0, JSTaggedValue(static_cast<int>(ContainerTag::List))); // 0 means the ar… in InitializeContainersList() 72 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 4); // 4 : means the argv length in CreateJSAPIList() 106 auto *callInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 8 : means the argv length in ContainerslistClearFuzzTest() 111 auto callInfo1 = CreateEcmaRuntimeCallInfo(thread, 6); // 8 : means the argv length in ContainerslistClearFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containersfastbuffercopy_fuzzer/ |
| D | containersfastbuffercopy_fuzzer.cpp | 112 // 0 : means the first parameter in ContainersFastBufferIndexOfFuzzTest() 118 // 0 : means the first parameter in ContainersFastBufferIndexOfFuzzTest() 120 // 1 : means the second parameter in ContainersFastBufferIndexOfFuzzTest() 122 // 2 : means the third parameter in ContainersFastBufferIndexOfFuzzTest() 124 // 3 : means the fourth parameter in ContainersFastBufferIndexOfFuzzTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/containerslistconverttoarray_fuzzer/ |
| D | containerslistconverttoarray_fuzzer.cpp | 85 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in InitializeContainersList() 88 …objCallInfo->SetCallArg(0, JSTaggedValue(static_cast<int>(ContainerTag::List))); // 0 means the ar… in InitializeContainersList() 97 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 4); // 4 : means the argv length in CreateJSAPIList() 127 auto callInfo = CreateEcmaRuntimeCallInfo(thread, 8); // 8 : means the argv length in ContainerslistConvertToArrayFuzzTest() 133 auto callInfo1 = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length in ContainerslistConvertToArrayFuzzTest()
|