| /arkcompiler/ets_runtime/common_components/objects/ |
| D | base_string.cpp | 39 … size_t utf8Len, size_t start, bool modify, bool isWriteBuffer) in DebuggerConvertRegionUtf16ToUtf8() 45 size_t UtfUtils::Utf8ToUtf16Size(const uint8_t* utf8, size_t utf8Len) in Utf8ToUtf16Size() 56 …ize_t UtfUtils::ConvertRegionUtf8ToUtf16(const uint8_t* utf8In, uint16_t* utf16Out, size_t utf8Len, in ConvertRegionUtf8ToUtf16() 69 … size_t utf8Len, size_t start, bool modify, bool isWriteBuffer, bool cesu) in ConvertRegionUtf16ToUtf8() 101 …uint32_t BaseString::ComputeHashcodeUtf8(const uint8_t *utf8Data, size_t utf8Len, bool canBeCompre… in ComputeHashcodeUtf8() 141 static size_t FixUtf8Len(const uint8_t* utf8, size_t utf8Len) in FixUtf8Len() 163 bool BaseString::IsUtf8EqualsUtf16(const uint8_t* utf8Data, size_t utf8Len, in IsUtf8EqualsUtf16() 274 bool BaseString::CanBeCompressed(const uint8_t* utf8Data, uint32_t utf8Len) in CanBeCompressed()
|
| D | base_string_table.cpp | 73 uint32_t offset, uint32_t utf8Len) in GetOrInternStringFromCompressedSubString() 119 uint32_t utf8Len, in GetOrInternString() 245 const ReadOnlyHandle<BaseString>& string, uint32_t offset, uint32_t utf8Len) in GetOrInternStringFromCompressedSubString() 251 … const uint8_t* utf8Data, uint32_t utf8Len, bool canBeCompress) in GetOrInternString()
|
| /arkcompiler/runtime_core/common_interfaces/objects/ |
| D | base_string_table.h | 39 uint32_t offset, uint32_t utf8Len) in GetOrInternStringFromCompressedSubString() 46 uint32_t utf8Len, bool canBeCompress) in GetOrInternString()
|
| /arkcompiler/ets_runtime/common_components/base/ |
| D | utf_helper.cpp | 252 …onvertRegionUtf16ToUtf8(const uint16_t *utf16In, uint8_t *utf8Out, size_t utf16Len, size_t utf8Len, in ConvertRegionUtf16ToUtf8() 315 …onvertRegionUtf16ToUtf8(const uint16_t *utf16In, uint8_t *utf8Out, size_t utf16Len, size_t utf8Len, in ConvertRegionUtf16ToUtf8() 347 …onvertRegionUtf16ToUtf8(const uint16_t *utf16In, uint8_t *utf8Out, size_t utf16Len, size_t utf8Len, in DebuggerConvertRegionUtf16ToUtf8() 415 static inline size_t FixUtf8Len(const uint8_t* utf8, size_t utf8Len) in FixUtf8Len() 433 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len) in Utf8ToUtf16Size() 479 size_t ConvertRegionUtf8ToUtf16(const uint8_t *utf8In, uint16_t *utf16Out, size_t utf8Len, size_t u… in ConvertRegionUtf8ToUtf16()
|
| /arkcompiler/runtime_core/common_interfaces/objects/string/ |
| D | line_string-inl.h | 25 inline size_t LineString::ComputeSizeUtf8(uint32_t utf8Len) in ComputeSizeUtf8()
|
| D | base_string-inl2.h | 31 …tring *BaseString::CreateFromUtf8(Allocator &&allocator, const uint8_t *utf8Data, uint32_t utf8Len, in CreateFromUtf8() 61 uint32_t offset, uint32_t utf8Len) in CreateFromUtf8CompressedSubString()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_string_table_optimization.cpp | 155 EcmaVM* vm, const JSHandle<EcmaString>& string, uint32_t offset, uint32_t utf8Len) in GetOrInternStringFromCompressedSubString() 270 …maStringTableImpl<Traits>::GetOrInternString(EcmaVM* vm, const uint8_t* utf8Data, uint32_t utf8Len, in GetOrInternString() 379 uint32_t utf8Len, bool canBeCompress, MemSpaceType type) in GetOrInternStringWithoutJSHandleForJit() 529 … uint32_t utf8Len, bool canBeCompress) in GetOrInternStringThreadUnsafe() 564 … uint32_t offset, uint32_t utf8Len) in GetOrInternStringFromCompressedSubString() 584 …maString* EcmaStringTable::GetOrInternString(EcmaVM* vm, const uint8_t* utf8Data, uint32_t utf8Len, in GetOrInternString() 621 uint32_t utf8Len, in GetOrInternStringWithoutJSHandleForJit() 657 …maStringTable::GetOrInternStringThreadUnsafe(EcmaVM* vm, const uint8_t* utf8Data, uint32_t utf8Len, in GetOrInternStringThreadUnsafe()
|
| D | ecma_string_table.cpp | 82 … uint32_t offset, uint32_t utf8Len, uint32_t hashcode) in GetStringFromCompressedSubString() 146 EcmaString *EcmaStringTable::GetString(JSThread *thread, const uint8_t *utf8Data, uint32_t utf8Len,… in GetString() 277 uint32_t offset, uint32_t utf8Len) in GetOrInternStringFromCompressedSubString() 338 …maString *EcmaStringTable::GetOrInternString(EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len, in GetOrInternString() 420 uint32_t utf8Len, bool canBeCompress, MemSpaceType type) in GetOrInternStringWithoutJSHandleForJit() 582 …maStringTable::GetOrInternStringThreadUnsafe(EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len, in GetOrInternStringThreadUnsafe() 617 …EcmaStringTable::GetStringThreadUnsafe(JSThread *thread, const uint8_t *utf8Data, uint32_t utf8Len, in GetStringThreadUnsafe()
|
| D | ecma_string-inl.h | 41 …EcmaString *EcmaString::CreateFromUtf8(const EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len, in CreateFromUtf8() 55 …EcmaString *EcmaString::CreateFromUtf8(const EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len, in CreateFromUtf8() 83 … uint32_t offset, uint32_t utf8Len, MemSpaceType type) in CreateFromUtf8CompressedSubString()
|
| D | ecma_string.h | 466 static size_t ComputeSizeUtf8(uint32_t utf8Len) in ComputeSizeUtf8() 1010 static uint32_t ComputeHashcodeUtf8(const uint8_t *utf8Data, size_t utf8Len, bool canBeCompress) in ComputeHashcodeUtf8() 1094 static bool CanBeCompressed(const uint8_t *utf8Data, uint32_t utf8Len) in CanBeCompressed()
|
| D | object_factory.cpp | 3492 …ndle<EcmaString> ObjectFactory::GetStringFromStringTable(const uint8_t *utf8Data, uint32_t utf8Len, in GetStringFromStringTable() 3515 …aString> ObjectFactory::GetStringFromStringTableReadOnly(const uint8_t *utf8Data, uint32_t utf8Len, in GetStringFromStringTableReadOnly() 4424 uint32_t utf8Len = data.length(); in NewFromUtf8WithoutStringTable() local 4488 …EcmaString> ObjectFactory::NewFromUtf8WithoutStringTable(const uint8_t *utf8Data, uint32_t utf8Len) in NewFromUtf8WithoutStringTable() 4502 JSHandle<EcmaString> ObjectFactory::NewFromUtf8(const uint8_t *utf8Data, uint32_t utf8Len) in NewFromUtf8() 4540 JSHandle<EcmaString> ObjectFactory::NewFromUtf8Literal(const uint8_t *utf8Data, uint32_t utf8Len) in NewFromUtf8Literal() 4547 …le<EcmaString> ObjectFactory::NewFromUtf8LiteralCompress(const uint8_t *utf8Data, uint32_t utf8Len) in NewFromUtf8LiteralCompress() 4555 … uint32_t offset, uint32_t utf8Len) in NewFromUtf8LiteralCompressSubString() 4563 JSHandle<EcmaString> ObjectFactory::NewCompressedUtf8(const uint8_t *utf8Data, uint32_t utf8Len) in NewCompressedUtf8() 4571 uint32_t offset, uint32_t utf8Len) in NewCompressedUtf8SubString()
|
| D | ecma_string.cpp | 478 bool EcmaString::CanBeCompressed(const uint8_t *utf8Data, uint32_t utf8Len) in CanBeCompressed() 595 uint32_t EcmaString::ComputeHashcodeUtf8(const uint8_t *utf8Data, size_t utf8Len, bool canBeCompres… in ComputeHashcodeUtf8()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | ecma_string_equals_test.cpp | 25 static bool IsUtf8EqualsUtf16UT(const uint8_t *utf8Data, size_t utf8Len, in IsUtf8EqualsUtf16UT()
|
| D | base_string_table_test.cpp | 125 uint32_t utf8Len = EcmaStringAccessor(*originalStr).GetLength() - offset; in HWTEST_F_L0() local
|
| D | ecma_string_table_test.cpp | 448 uint32_t utf8Len = EcmaStringAccessor(*originalStr).GetLength() - offset; in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/common_components/base/tests/ |
| D | utf_helper_test.cpp | 278 size_t utf8Len = sizeof(utf8); in HWTEST_F_L0() local 287 size_t utf8Len = sizeof(utf8); in HWTEST_F_L0() local 305 size_t utf8Len = sizeof(utf8Out); in HWTEST_F_L0() local
|
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| D | utf.cpp | 506 …onvertRegionUtf16ToUtf8(const uint16_t *utf16In, uint8_t *utf8Out, size_t utf16Len, size_t utf8Len, in ConvertRegionUtf16ToUtf8() 570 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len) in Utf8ToUtf16Size() 575 size_t ConvertRegionUtf8ToUtf16(const uint8_t *utf8In, uint16_t *utf16Out, size_t utf8Len, size_t u… in ConvertRegionUtf8ToUtf16()
|
| /arkcompiler/ets_runtime/test/fuzztest/commoncompbaseutf_fuzzer/ |
| D | commoncompbaseutf_fuzzer.cpp | 65 size_t utf8Len = 100; // 100:buff len in UtfHelperDebuggerConvertRegionUtf16ToUtf8() local
|
| /arkcompiler/ets_runtime/common_components/objects/tests/ |
| D | base_string_test.cpp | 52 size_t utf8Len = sizeof(utf8Data) / sizeof(utf8Data[0]) - 1; in HWTEST_F_L0() local 65 size_t utf8Len = sizeof(utf8Data) / sizeof(utf8Data[0]) - 1; in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/common_components/objects/string_table/ |
| D | hashtriemap-inl.h | 513 … uint32_t offset, uint32_t utf8Len) in Load()
|
| /arkcompiler/ets_runtime/ecmascript/base/tests/ |
| D | utf_helper_test.cpp | 501 size_t utf8Len = 100; in ConvertRegionUtf16ToUtf8Test() local
|
| /arkcompiler/toolchain/tooling/dynamic/test/ |
| D | pt_types_test.cpp | 1056 size_t utf8Len = invalidStrInDebugger.size(); in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_regexp.cpp | 1869 size_t utf8Len = LineEcmaString::DataSize(*inputString); in RegExpExecInternal() local
|