| /arkcompiler/ets_runtime/ecmascript/tests/ |
| H A 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/ |
| H A D | ets_mangle.cpp | 28 const uint8_t *utf8 = ark::utf::CStringAsMutf8(name.c_str()); in MangleString() local
|
| /arkcompiler/ets_frontend/ets2panda/lexer/ |
| H A D | ETSLexer.cpp | 113 void ETSLexer::ConvertNumber(const std::string &utf8, NumberFlags flags) in ConvertNumber() argument
|
| H A D | lexer.cpp | 281 void Lexer::ConvertNumber(const std::string &utf8, [[maybe_unused]] NumberFlags flags) in ConvertNumber() argument 336 std::string utf8 = std::string {sv.Utf8()}; in ScanNumber() local [all...] |
| /arkcompiler/ets_frontend/ets2panda/public/ |
| H A D | es2panda_lib.cpp | 116 std::string_view utf8 = sv.Utf8(); in StringViewToCString() local 129 char *StringViewToCString(ArenaAllocator *allocator, std::string_view const utf8) in StringViewToCString() argument [all...] |
| /arkcompiler/ets_runtime/ecmascript/base/ |
| H A D | utf_helper.cpp | 101 size_t EncodeUTF8(uint32_t codepoint, uint8_t* utf8, size_t len, size_t index) in EncodeUTF8() argument 354 static inline size_t FixUtf8Len(const uint8_t* utf8, size_t utf8Len) in FixUtf8Len() argument 372 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len) in Utf8ToUtf16Size() argument 493 ConvertUtf8ToUnicodeChar(const uint8_t *utf8, size_t maxLen) ConvertUtf8ToUnicodeChar() argument [all...] |
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| H A D | jsnapi_third_tests.cpp | 779 char utf8[] = "hello world!"; in HWTEST_F_L0() local
|
| H A D | jsnapi_sample.cpp | 211 char utf8[12] = "Hello world"; in HWTEST_F_L0() local
|
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| H A D | utf.cpp | 569 size_t Utf8ToUtf16Size(const uint8_t *utf8, size_t utf8Len) in Utf8ToUtf16Size() argument
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
| H A D | ets_string.h | 61 static EtsString *CreateFromUtf8(const char *utf8, uint32_t length) in CreateFromUtf8() argument
|
| /arkcompiler/ets_frontend/es2panda/lexer/ |
| H A D | lexer.cpp | 345 std::string utf8 = std::string {sv.Utf8()}; in ConvertNumber() local
|
| /arkcompiler/ets_runtime/ecmascript/base/tests/ |
| H A 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 = ""; HWTEST_F_L0() local 712 std::string utf8 = "Hello, 你好"; HWTEST_F_L0() local 726 std::string utf8 = "你好,世界!"; HWTEST_F_L0() local 740 std::string utf8 = "\\xF0\\x28\\x8C\\x28"; HWTEST_F_L0() local 754 std::string utf8 = "ABC"; // All are single byte characters HWTEST_F_L0() local 768 std::string utf8 = "\\xC2\\xA2\\xC3\\xBC"; // They are ¢ and ü, respectively HWTEST_F_L0() local 782 std::string utf8 = "\\xE2\\x82\\xAC"; // euro: € HWTEST_F_L0() local 796 std::string utf8 = "\\xF0\\x9F\\x98\\x8E"; // Emoji 😎 HWTEST_F_L0() local 810 std::string utf8 = "Hello\\0World", utf8Nul = utf8 + '\\0' + "World"; // Clearly including zero bytes HWTEST_F_L0() local 824 std::string utf8 = "\\xC0\\x80\\xC0\\x80"; // Continuous illegal sequence HWTEST_F_L0() local 838 std::string utf8 = "Hello"; HWTEST_F_L0() local 853 std::string utf8 = "你好,世界!"; HWTEST_F_L0() local 868 std::string utf8 = ""; HWTEST_F_L0() local 883 std::string utf8 = "Hello, 你好"; HWTEST_F_L0() local 898 std::string utf8 = "你好,世界!"; HWTEST_F_L0() local 913 std::string utf8 = "\\xF0\\x28\\x8C\\x28"; HWTEST_F_L0() local 928 std::string utf8 = "ABC"; // All are single byte characters HWTEST_F_L0() local 943 std::string utf8 = "\\xC2\\xA2\\xC3\\xBC"; // They are ¢ and ü, respectively HWTEST_F_L0() local 958 std::string utf8 = "\\xE2\\x82\\xAC"; // euro € HWTEST_F_L0() local 973 std::string utf8 = "\\xF0\\x9F\\x98\\x8E"; // Emoji 😎 HWTEST_F_L0() local 988 std::string utf8 = "Hello\\0World", utf8Nul = utf8 + '\\0' + "World"; // Clearly including zero bytes HWTEST_F_L0() local 1004 std::string utf8 = "\\xC0\\x80\\xC0\\x80"; // Continuous illegal sequence HWTEST_F_L0() local 1019 std::string utf8 = "\\xF0\\x9F\\x98\\x8E"; // Emoji 😎 HWTEST_F_L0() local 1033 std::string utf8 = "\\xF0\\x9F\\x98\\x8E"; // Emoji 😎 HWTEST_F_L0() local [all...] |
| /arkcompiler/ets_frontend/es2panda/util/ |
| H A D | helpers.cpp | 890 std::wstring Helpers::Utf8ToUtf16(const std::string &utf8) in Utf8ToUtf16() argument
|
| /arkcompiler/ets_runtime/ecmascript/ |
| H A D | ecma_string.cpp | 981 static size_t FixUtf8Len(const uint8_t* utf8, size_t utf8Len) in FixUtf8Len() argument
|
| /arkcompiler/ets_runtime/ecmascript/napi/ |
| H A D | jsnapi_expo.cpp | 1278 Local<JSValueRef> MapRef::Get(const EcmaVM *vm, const char *utf8) in Get() argument 1297 void MapRef::Set(const EcmaVM *vm, const char *utf8, Local<JSValueRef> value) in Set() argument 1316 bool MapRef::Has(const EcmaVM *vm, const char *utf8) in Has() argument 1452 Local<JSValueRef> SendableMapRef::Get(const EcmaVM *vm, const char *utf8) in Get() argument 1471 void SendableMapRef::Set(const EcmaVM *vm, const char *utf8, Local<JSValueRef> value) in Set() argument 1490 Has(const EcmaVM *vm, const char *utf8) Has() argument 2083 NewFromUtf8(const EcmaVM *vm, const char *utf8, int length) NewFromUtf8() argument 2098 NewFromUtf8WithoutStringTable(const EcmaVM *vm, const char *utf8, int length) NewFromUtf8WithoutStringTable() argument 2604 Set(const EcmaVM *vm, const char *utf8, Local<JSValueRef> value) Set() argument 2696 Get(const EcmaVM *vm, const char *utf8) Get() argument 4986 KeyIsNumber(const char* utf8) KeyIsNumber() argument [all...] |