| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | utf_helper.cpp | 259 …onvertRegionUtf16ToUtf8(const uint16_t *utf16In, uint8_t *utf8Out, size_t utf16Len, size_t utf8Len, in ConvertRegionUtf16ToUtf8() 290 …onvertRegionUtf16ToUtf8(const uint16_t *utf16In, uint8_t *utf8Out, size_t utf16Len, size_t utf8Len, in DebuggerConvertRegionUtf16ToUtf8() 358 static inline size_t FixUtf8Len(const uint8_t* utf8, size_t utf8Len) in FixUtf8Len() 376 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len) in Utf8ToUtf16Size() 422 size_t ConvertRegionUtf8ToUtf16(const uint8_t *utf8In, uint16_t *utf16Out, size_t utf8Len, size_t u… in ConvertRegionUtf8ToUtf16()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_string_table.cpp | 94 …ring *, uint32_t> EcmaStringTable::GetStringThreadUnsafe(const uint8_t *utf8Data, uint32_t utf8Len, in GetStringThreadUnsafe() 218 …maString *EcmaStringTable::GetOrInternString(EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len, in GetOrInternString() 231 … uint32_t utf8Len, bool canBeCompress, uint32_t hashcode) in GetOrInternStringWithoutLock() 251 uint32_t offset, uint32_t utf8Len) in GetOrInternCompressedSubString() 279 …StringTable::CreateAndInternStringNonMovable(EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len) in CreateAndInternStringNonMovable() 302 …maStringTable::CreateAndInternStringReadOnly(EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len, in CreateAndInternStringReadOnly() 435 …aStringTable::GetOrInternStringWithSpaceType(EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len, in GetOrInternStringWithSpaceType()
|
| D | ecma_string-inl.h | 39 …EcmaString *EcmaString::CreateFromUtf8(const EcmaVM *vm, const uint8_t *utf8Data, uint32_t utf8Len, in CreateFromUtf8() 71 … uint32_t offset, uint32_t utf8Len, MemSpaceType type) in CreateFromUtf8CompressedSubString()
|
| D | ecma_string.h | 766 static size_t ComputeSizeUtf8(uint32_t utf8Len) in ComputeSizeUtf8() 1323 static uint32_t ComputeHashcodeUtf8(const uint8_t *utf8Data, size_t utf8Len, bool canBeCompress) in ComputeHashcodeUtf8() 1404 static bool CanBeCompressed(const uint8_t *utf8Data, uint32_t utf8Len) in CanBeCompressed()
|
| D | ecma_string.cpp | 516 bool EcmaString::CanBeCompressed(const uint8_t *utf8Data, uint32_t utf8Len) in CanBeCompressed() 810 uint32_t EcmaString::ComputeHashcodeUtf8(const uint8_t *utf8Data, size_t utf8Len, bool canBeCompres… in ComputeHashcodeUtf8() 846 static size_t FixUtf8Len(const uint8_t* utf8, size_t utf8Len) in FixUtf8Len() 868 bool EcmaString::IsUtf8EqualsUtf16(const uint8_t *utf8Data, size_t utf8Len, in IsUtf8EqualsUtf16()
|
| D | object_factory.cpp | 3205 …ndle<EcmaString> ObjectFactory::GetStringFromStringTable(const uint8_t *utf8Data, uint32_t utf8Len, in GetStringFromStringTable() 3237 …aString> ObjectFactory::GetStringFromStringTableReadOnly(const uint8_t *utf8Data, uint32_t utf8Len, in GetStringFromStringTableReadOnly() 4118 uint32_t utf8Len = data.length(); in NewFromUtf8WithoutStringTable() local 4182 …EcmaString> ObjectFactory::NewFromUtf8WithoutStringTable(const uint8_t *utf8Data, uint32_t utf8Len) in NewFromUtf8WithoutStringTable() 4196 JSHandle<EcmaString> ObjectFactory::NewFromUtf8(const uint8_t *utf8Data, uint32_t utf8Len) in NewFromUtf8() 4234 JSHandle<EcmaString> ObjectFactory::NewFromUtf8Literal(const uint8_t *utf8Data, uint32_t utf8Len) in NewFromUtf8Literal() 4241 …le<EcmaString> ObjectFactory::NewFromUtf8LiteralCompress(const uint8_t *utf8Data, uint32_t utf8Len) in NewFromUtf8LiteralCompress() 4249 … uint32_t offset, uint32_t utf8Len) in NewFromUtf8LiteralCompressSubString() 4257 JSHandle<EcmaString> ObjectFactory::NewCompressedUtf8(const uint8_t *utf8Data, uint32_t utf8Len) in NewCompressedUtf8() 4265 uint32_t offset, uint32_t utf8Len) in NewCompressedUtf8SubString()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | ecma_string_equals_test.cpp | 25 static bool IsUtf8EqualsUtf16UT(const uint8_t *utf8Data, size_t utf8Len, in IsUtf8EqualsUtf16UT()
|
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| D | utf.cpp | 505 …onvertRegionUtf16ToUtf8(const uint16_t *utf16In, uint8_t *utf8Out, size_t utf16Len, size_t utf8Len, in ConvertRegionUtf16ToUtf8() 569 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len) in Utf8ToUtf16Size() 574 size_t ConvertRegionUtf8ToUtf16(const uint8_t *utf8In, uint16_t *utf16Out, size_t utf8Len, size_t u… in ConvertRegionUtf8ToUtf16()
|
| /arkcompiler/ets_runtime/ecmascript/base/tests/ |
| D | utf_helper_test.cpp | 501 size_t utf8Len = 100; in ConvertRegionUtf16ToUtf8Test() local
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_regexp.cpp | 1814 size_t utf8Len = LineEcmaString::DataSize(flatStrInfo.GetString()); in RegExpExecInternal() local
|