Home
last modified time | relevance | path

Searched refs:MAX_STRING_LENGTH (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/ets_runtime/test/fuzztest/readenablelist_fuzzer/
H A Dreadenablelist_fuzzer.cpp23 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 Dbuiltins_string.h340 static constexpr int MAX_STRING_LENGTH = 20; member in panda::ecmascript::CompareStringsOption::StringToListResultCache
H A Dbuiltins_string.cpp999 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 Dbuiltins_ark_tools.cpp956 return JSTaggedValue(static_cast<uint32_t>(EcmaString::MAX_STRING_LENGTH) - 1);
H A Dbuiltins_array.cpp1335 if (allocateLength > EcmaString::MAX_STRING_LENGTH) { in Join()
1374 if (concatStr.size() > EcmaString::MAX_STRING_LENGTH) { in Join()
H A Dbuiltins_shared_typedarray.cpp817 if (allocateLength > EcmaString::MAX_STRING_LENGTH) { in Join()
H A Dbuiltins_typedarray.cpp906 if (allocateLength > EcmaString::MAX_STRING_LENGTH) { in Join()
/arkcompiler/ets_runtime/ecmascript/
H A Decma_string.h54 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 Djs_stable_array.cpp547 if (allocateLength > EcmaString::MAX_STRING_LENGTH) { in Join()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_string_stub_builder.cpp2285 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 Dbuiltins_array_stub_builder.cpp2693 BRANCH(Int32LessThan(strLen, Int32(builtins::StringToListResultCache::MAX_STRING_LENGTH)), &lessStrLen, slowPath); in From()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Decma_string_accessor_test.cpp35 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