/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_string_table.cpp | 47 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()
|
D | ecma_string-inl.h | 37 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()
|
D | object_factory.cpp | 2981 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()
|
D | ecma_string.cpp | 457 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()
|
D | ecma_string.h | 1296 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/ |
D | ecma_string_table_test.cpp | 78 uint8_t utf8Data[] = {0x68, 0x65, 0x6c, 0x6c, 0x6f}; // " hello " in HWTEST_F_L0() local
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | string_helper.h | 89 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/ |
D | string.cpp | 115 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/ |
D | string_table.cpp | 92 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/ |
D | ets_string_test.cpp | 134 auto *utf8Data = reinterpret_cast<const char *>(data.data()); in TEST_F() local
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
D | string_test.cpp | 350 std::vector<uint8_t> utf8Data {0xf0, 0x90, 0x90, 0xb7, 0x20, 0x00}; in TEST_F() local
|