Home
last modified time | relevance | path

Searched defs:utf8Len (Results 1 – 23 of 23) sorted by relevance

/arkcompiler/ets_runtime/common_components/objects/
Dbase_string.cpp39size_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()
69size_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()
Dbase_string_table.cpp73 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/
Dbase_string_table.h39 uint32_t offset, uint32_t utf8Len) in GetOrInternStringFromCompressedSubString()
46 uint32_t utf8Len, bool canBeCompress) in GetOrInternString()
/arkcompiler/ets_runtime/common_components/base/
Dutf_helper.cpp252 …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/
Dline_string-inl.h25 inline size_t LineString::ComputeSizeUtf8(uint32_t utf8Len) in ComputeSizeUtf8()
Dbase_string-inl2.h31 …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/
Decma_string_table_optimization.cpp155 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()
529uint32_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()
Decma_string_table.cpp82 … 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()
Decma_string-inl.h41 …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()
Decma_string.h466 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()
Dobject_factory.cpp3492 …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()
Decma_string.cpp478 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/
Decma_string_equals_test.cpp25 static bool IsUtf8EqualsUtf16UT(const uint8_t *utf8Data, size_t utf8Len, in IsUtf8EqualsUtf16UT()
Dbase_string_table_test.cpp125 uint32_t utf8Len = EcmaStringAccessor(*originalStr).GetLength() - offset; in HWTEST_F_L0() local
Decma_string_table_test.cpp448 uint32_t utf8Len = EcmaStringAccessor(*originalStr).GetLength() - offset; in HWTEST_F_L0() local
/arkcompiler/ets_runtime/common_components/base/tests/
Dutf_helper_test.cpp278 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/
Dutf.cpp506 …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/
Dcommoncompbaseutf_fuzzer.cpp65 size_t utf8Len = 100; // 100:buff len in UtfHelperDebuggerConvertRegionUtf16ToUtf8() local
/arkcompiler/ets_runtime/common_components/objects/tests/
Dbase_string_test.cpp52 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/
Dhashtriemap-inl.h513 … uint32_t offset, uint32_t utf8Len) in Load()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dutf_helper_test.cpp501 size_t utf8Len = 100; in ConvertRegionUtf16ToUtf8Test() local
/arkcompiler/toolchain/tooling/dynamic/test/
Dpt_types_test.cpp1056 size_t utf8Len = invalidStrInDebugger.size(); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_regexp.cpp1869 size_t utf8Len = LineEcmaString::DataSize(*inputString); in RegExpExecInternal() local