Searched refs:MAX_STRING_LENGTH (Results 1 - 12 of 12) sorted by relevance
/arkcompiler/ets_runtime/test/fuzztest/readenablelist_fuzzer/ |
H A D | readenablelist_fuzzer.cpp | 23 constexpr size_t MAX_STRING_LENGTH = 100; member 30 std::string aotJitListName = dataProvider.ConsumeRandomLengthString(MAX_STRING_LENGTH); in ReadEnableListFuzzTest() 33 std::string candidate = dataProvider.ConsumeRandomLengthString(MAX_STRING_LENGTH); in ReadEnableListFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_string.h | 340 static constexpr int MAX_STRING_LENGTH = 20; member in panda::ecmascript::CompareStringsOption::StringToListResultCache
|
H A D | builtins_string.cpp | 999 if (static_cast<uint32_t>(count) >= static_cast<uint32_t>(EcmaString::MAX_STRING_LENGTH) / thisLen) { in Repeat() 2290 if (static_cast<size_t>(intMaxLength) >= EcmaString::MAX_STRING_LENGTH) { in Pad() 2464 if (EcmaStringAccessor(thisString).GetLength() > MAX_STRING_LENGTH) { in FindCachedResult() 2484 if (EcmaStringAccessor(thisString).GetLength() > MAX_STRING_LENGTH || in SetCachedResult()
|
H A D | builtins_ark_tools.cpp | 956 return JSTaggedValue(static_cast<uint32_t>(EcmaString::MAX_STRING_LENGTH) - 1);
|
H A D | builtins_array.cpp | 1335 if (allocateLength > EcmaString::MAX_STRING_LENGTH) { in Join() 1374 if (concatStr.size() > EcmaString::MAX_STRING_LENGTH) { in Join()
|
H A D | builtins_shared_typedarray.cpp | 817 if (allocateLength > EcmaString::MAX_STRING_LENGTH) { in Join()
|
H A D | builtins_typedarray.cpp | 906 if (allocateLength > EcmaString::MAX_STRING_LENGTH) { in Join()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | ecma_string.h | 54 if ((length) >= MAX_STRING_LENGTH) { \ 68 static constexpr size_t MAX_STRING_LENGTH = 0x40000000U; // 30 bits for string length, 2 bits for special meaning member in panda::ecmascript::EcmaString 190 ASSERT(length < MAX_STRING_LENGTH); in SetLength()
|
H A D | js_stable_array.cpp | 547 if (allocateLength > EcmaString::MAX_STRING_LENGTH) { in Join()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_string_stub_builder.cpp | 2285 BRANCH(Int32GreaterThanOrEqual(newLength, Int32(EcmaString::MAX_STRING_LENGTH)), &throwError, &lessThanMax);
in StringConcat() 3115 BRANCH(Int32GreaterThanOrEqual(*newStringLength, Int32(EcmaString::MAX_STRING_LENGTH)),
in PadStart() 3126 BRANCH(DoubleGreaterThanOrEqual(GetDoubleOfTDouble(newLength), Double(EcmaString::MAX_STRING_LENGTH)),
in PadStart() 3240 BRANCH(Int32GreaterThanOrEqual(*newStringLength, Int32(EcmaString::MAX_STRING_LENGTH)),
in PadEnd() 3251 BRANCH(DoubleGreaterThanOrEqual(GetDoubleOfTDouble(newLength), Double(EcmaString::MAX_STRING_LENGTH)),
in PadEnd()
|
H A D | builtins_array_stub_builder.cpp | 2693 BRANCH(Int32LessThan(strLen, Int32(builtins::StringToListResultCache::MAX_STRING_LENGTH)), &lessStrLen, slowPath); in From()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | ecma_string_accessor_test.cpp | 35 for (uint32_t i = EcmaString::MAX_STRING_LENGTH - 1; i > scale; i = i - scale) { in HWTEST_F_L0() 50 for (uint32_t i = EcmaString::MAX_STRING_LENGTH - 1; i > scale; i = i - scale) { in HWTEST_F_L0()
|
Completed in 42 milliseconds