Home
last modified time | relevance | path

Searched refs:dataLen (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/
Dstring_helper.h82 static inline std::u16string Utf16ToU16String(const uint16_t *utf16Data, uint32_t dataLen) in Utf16ToU16String() argument
85 std::u16string u16str(char16tData, dataLen); in Utf16ToU16String()
89 static inline std::string Utf8ToString(const uint8_t *utf8Data, uint32_t dataLen) in Utf8ToString() argument
92 std::string str(charData, dataLen); in Utf8ToString()
96 static inline std::u16string Utf8ToU16String(const uint8_t *utf8Data, uint32_t dataLen) in Utf8ToU16String() argument
99 std::string str(charData, dataLen); in Utf8ToU16String()
/arkcompiler/ets_runtime/ecmascript/
Decma_string.cpp626 …maString::StringIsEqualUint8Data(const EcmaString *str1, const uint8_t *dataAddr, uint32_t dataLen, in StringIsEqualUint8Data() argument
632 if (canBeCompressToUtf8 && str1->GetLength() != dataLen) { in StringIsEqualUint8Data()
637 Span<const uint8_t> data1(EcmaString::GetUtf8DataFlat(str1, buf), dataLen); in StringIsEqualUint8Data()
638 Span<const uint8_t> data2(dataAddr, dataLen); in StringIsEqualUint8Data()
644 return IsUtf8EqualsUtf16(dataAddr, dataLen, data, length); in StringIsEqualUint8Data()
Decma_string.h366 …atic bool StringIsEqualUint8Data(const EcmaString *str1, const uint8_t *dataAddr, uint32_t dataLen,
1348 …atic bool StringIsEqualUint8Data(const EcmaString *str1, const uint8_t *dataAddr, uint32_t dataLen, in StringIsEqualUint8Data() argument
1351 return EcmaString::StringIsEqualUint8Data(str1, dataAddr, dataLen, canBeCompress); in StringIsEqualUint8Data()