Home
last modified time | relevance | path

Searched defs:utf8Data (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp47 std::pair<EcmaString *, uint32_t> EcmaStringTable::GetString(const uint8_t *utf8Data, in GetString()
122 EcmaString *EcmaStringTable::GetOrInternString(const uint8_t *utf8Data, uint32_t utf8Len, bool canB… in GetOrInternString()
140 EcmaString *EcmaStringTable::CreateAndInternStringNonMovable(const uint8_t *utf8Data, uint32_t utf8… in CreateAndInternStringNonMovable()
215 EcmaString *EcmaStringTable::GetOrInternStringWithSpaceType(const uint8_t *utf8Data, uint32_t utf8L… in GetOrInternStringWithSpaceType()
237 EcmaString *EcmaStringTable::GetOrInternStringWithSpaceType(const uint8_t *utf8Data, uint32_t utf16… in GetOrInternStringWithSpaceType()
Decma_string-inl.h37 inline EcmaString *EcmaString::CreateFromUtf8(const EcmaVM *vm, const uint8_t *utf8Data, uint32_t u… in CreateFromUtf8()
71 inline EcmaString *EcmaString::CreateUtf16StringFromUtf8(const EcmaVM *vm, const uint8_t *utf8Data,… in CreateUtf16StringFromUtf8()
179 inline EcmaString *EcmaString::CreateConstantString(const EcmaVM *vm, const uint8_t *utf8Data, in CreateConstantString()
Dobject_factory.cpp2981 JSHandle<EcmaString> ObjectFactory::GetStringFromStringTable(const uint8_t *utf8Data, uint32_t utf8… in GetStringFromStringTable()
2992 JSHandle<EcmaString> ObjectFactory::GetStringFromStringTableNonMovable(const uint8_t *utf8Data, uin… in GetStringFromStringTableNonMovable() argument
3919 auto utf8Data = reinterpret_cast<const uint8_t *>(data.data()); in NewFromASCII() local
3926 auto utf8Data = reinterpret_cast<const uint8_t *>(data.data()); in NewFromASCIINonMovable() local
3933 auto utf8Data = reinterpret_cast<const uint8_t *>(data.data()); in NewFromUtf8() local
3948 auto utf8Data = reinterpret_cast<const uint8_t *>(data.c_str()); in NewFromStdString() local
3953 JSHandle<EcmaString> ObjectFactory::NewFromUtf8(const uint8_t *utf8Data, uint32_t utf8Len) in NewFromUtf8()
3977 JSHandle<EcmaString> ObjectFactory::NewFromUtf8Literal(const uint8_t *utf8Data, uint32_t utf8Len) in NewFromUtf8Literal()
3984 JSHandle<EcmaString> ObjectFactory::NewFromUtf8LiteralCompress(const uint8_t *utf8Data, uint32_t ut… in NewFromUtf8LiteralCompress()
3991 JSHandle<EcmaString> ObjectFactory::NewCompressedUtf8(const uint8_t *utf8Data, uint32_t utf8Len) in NewCompressedUtf8()
Decma_string.cpp457 bool EcmaString::CanBeCompressed(const uint8_t *utf8Data, uint32_t utf8Len) in CanBeCompressed()
751 uint32_t EcmaString::ComputeHashcodeUtf8(const uint8_t *utf8Data, size_t utf8Len, bool canBeCompres… in ComputeHashcodeUtf8()
787 bool EcmaString::IsUtf8EqualsUtf16(const uint8_t *utf8Data, size_t utf8Len, const uint16_t *utf16Da… in IsUtf8EqualsUtf16()
Decma_string.h1296 static uint32_t ComputeHashcodeUtf8(const uint8_t *utf8Data, size_t utf8Len, bool canBeCompress) in ComputeHashcodeUtf8()
1369 static bool CanBeCompressed(const uint8_t *utf8Data, uint32_t utf8Len) in CanBeCompressed()
/arkcompiler/ets_runtime/ecmascript/tests/
Decma_string_table_test.cpp78 uint8_t utf8Data[] = {0x68, 0x65, 0x6c, 0x6c, 0x6f}; // " hello " in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/base/
Dstring_helper.h89 static inline std::string Utf8ToString(const uint8_t *utf8Data, uint32_t dataLen) in Utf8ToString()
96 static inline std::u16string Utf8ToU16String(const uint8_t *utf8Data, uint32_t dataLen) in Utf8ToU16String()
/arkcompiler/runtime_core/static_core/runtime/coretypes/
Dstring.cpp115 String *String::CreateFromUtf8(const uint8_t *utf8Data, uint32_t utf8Length, const LanguageContext … in CreateFromUtf8()
699 bool String::IsMutf8EqualsUtf16(const uint8_t *utf8Data, uint32_t utf8DataLength, const uint16_t *u… in IsMutf8EqualsUtf16()
716 bool String::IsMutf8EqualsUtf16(const uint8_t *utf8Data, const uint16_t *utf16Data, uint32_t utf16D… in IsMutf8EqualsUtf16()
/arkcompiler/runtime_core/static_core/runtime/
Dstring_table.cpp92 coretypes::String *StringTable::Table::GetString(const uint8_t *utf8Data, uint32_t utf16Length, boo… in GetString()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
Dets_string_test.cpp134 auto *utf8Data = reinterpret_cast<const char *>(data.data()); in TEST_F() local
/arkcompiler/runtime_core/static_core/runtime/tests/
Dstring_test.cpp350 std::vector<uint8_t> utf8Data {0xf0, 0x90, 0x90, 0xb7, 0x20, 0x00}; in TEST_F() local