| /arkcompiler/ets_runtime/ecmascript/base/tests/ |
| D | utf_helper_test.cpp | 670 std::string utf8 = "Hello"; in HWTEST_F_L0() local 684 std::string utf8 = "你好,世界!"; in HWTEST_F_L0() local 698 std::string utf8 = ""; in HWTEST_F_L0() local 712 std::string utf8 = "Hello, 你好"; in HWTEST_F_L0() local 726 std::string utf8 = "你好,世界!"; in HWTEST_F_L0() local 740 std::string utf8 = "\xF0\x28\x8C\x28"; in HWTEST_F_L0() local 754 std::string utf8 = "ABC"; // All are single byte characters in HWTEST_F_L0() local 768 std::string utf8 = "\xC2\xA2\xC3\xBC"; // They are ¢ and ü, respectively in HWTEST_F_L0() local 782 std::string utf8 = "\xE2\x82\xAC"; // euro: € in HWTEST_F_L0() local 796 std::string utf8 = "\xF0\x9F\x98\x8E"; // Emoji in HWTEST_F_L0() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | concurrent_sweep_test.cpp | 30 const uint8_t *utf8 = reinterpret_cast<const uint8_t *>("test"); in TEST_F() local
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/ |
| D | ets_mangle.cpp | 28 const uint8_t *utf8 = ark::utf::CStringAsMutf8(name.c_str()); in MangleString() local
|
| /arkcompiler/ets_runtime/common_components/base/ |
| D | utf_helper.cpp | 93 size_t EncodeUTF8(uint32_t codepoint, uint8_t* utf8, size_t index, size_t size) in EncodeUTF8() 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() 554 std::pair<int32_t, size_t> ConvertUtf8ToUnicodeChar(const uint8_t *utf8, size_t maxLen) in ConvertUtf8ToUnicodeChar()
|
| /arkcompiler/ets_runtime/common_components/base/tests/ |
| D | utf_helper_test.cpp | 277 const uint8_t utf8[] = {0xC0}; in HWTEST_F_L0() local 286 const uint8_t utf8[] = {0xE2, 0x82}; in HWTEST_F_L0() local 295 const uint8_t utf8[] = {0xF0, 0x90, 0x8D}; in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/common_components/objects/ |
| D | base_string.cpp | 45 size_t UtfUtils::Utf8ToUtf16Size(const uint8_t* utf8, size_t utf8Len) in Utf8ToUtf16Size() 141 static size_t FixUtf8Len(const uint8_t* utf8, size_t utf8Len) in FixUtf8Len()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
| D | ets_string.h | 63 static EtsString *CreateFromUtf8(const char *utf8, uint32_t length) in CreateFromUtf8()
|
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| D | utf.cpp | 570 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len) in Utf8ToUtf16Size()
|
| /arkcompiler/ets_runtime/ecmascript/napi/ |
| D | jsnapi_expo.cpp | 1401 Local<JSValueRef> MapRef::Get(const EcmaVM *vm, const char *utf8) in Get() 1420 void MapRef::Set(const EcmaVM *vm, const char *utf8, Local<JSValueRef> value) in Set() 1439 bool MapRef::Has(const EcmaVM *vm, const char *utf8) in Has() 1577 Local<JSValueRef> SendableMapRef::Get(const EcmaVM *vm, const char *utf8) in Get() 1596 void SendableMapRef::Set(const EcmaVM *vm, const char *utf8, Local<JSValueRef> value) in Set() 1615 bool SendableMapRef::Has(const EcmaVM *vm, const char *utf8) in Has() 2225 Local<StringRef> StringRef::NewFromUtf8(const EcmaVM *vm, const char *utf8, int length) in NewFromUtf8() 2240 Local<StringRef> StringRef::NewFromUtf8WithoutStringTable(const EcmaVM *vm, const char *utf8, int l… in NewFromUtf8WithoutStringTable() 2777 bool ObjectRef::Set(const EcmaVM *vm, const char *utf8, Local<JSValueRef> value) in Set() 2809 bool ObjectRef::SetWithoutSwitchState(const EcmaVM *vm, const char *utf8, Local<JSValueRef> value) in SetWithoutSwitchState() [all …]
|
| /arkcompiler/ets_frontend/es2panda/util/ |
| D | helpers.cpp | 881 std::wstring Helpers::Utf8ToUtf16(const std::string &utf8) in Utf8ToUtf16()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/ |
| D | ets_string_test.cpp | 660 PandaString utf8 = str->GetUtf8(); in CheckConvertString() local
|
| /arkcompiler/ets_frontend/ets2panda/public/ |
| D | es2panda_lib.cpp | 90 char *StringViewToCString(ArenaAllocator *allocator, std::string_view const utf8) in StringViewToCString()
|
| /arkcompiler/toolchain/tooling/dynamic/test/ |
| D | pt_types_test.cpp | 1055 auto utf8 = reinterpret_cast<const uint8_t*>(invalidStrInDebugger.c_str()); in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | jsnapi_third_tests.cpp | 773 char utf8[] = "hello world!"; in HWTEST_F_L0() local
|
| D | jsnapi_sample.cpp | 211 char utf8[12] = "Hello world"; in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | builtins_string_stub_builder.cpp | 1194 Label utf8(env); in CreateStringBySingleCharCode() local
|