Searched refs:utf82 (Results 1 - 3 of 3) sorted by relevance
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | utf.cpp | 209 int CompareUtf8ToUtf8(const uint8_t *utf81, size_t utf81Length, const uint8_t *utf82, size_t utf82Length) in CompareUtf8ToUtf8() argument 233 c2 = *utf82; in CompareUtf8ToUtf8() 236 std::tie(c2, n2) = ConvertMUtf8ToUtf16Pair(utf82); in CompareUtf8ToUtf8() 239 utf82 += n2; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in CompareUtf8ToUtf8() 288 bool IsEqual(Span<const uint8_t> utf81, Span<const uint8_t> utf82) in IsEqual() argument 290 if (utf81.size() != utf82.size()) { in IsEqual() 294 return memcmp(utf81.data(), utf82.data(), utf81.size()) == 0; in IsEqual()
|
H A D | utf.h | 111 PANDA_PUBLIC_API int CompareUtf8ToUtf8(const uint8_t *utf81, size_t utf81Length, const uint8_t *utf82, 114 PANDA_PUBLIC_API bool IsEqual(Span<const uint8_t> utf81, Span<const uint8_t> utf82);
|
/arkcompiler/ets_runtime/test/moduletest/string/ |
H A D | string.js | 38 let utf82 = utf81.substring(0, 169) + '8'; 40 print((utf81 === utf82).toString());
|
Completed in 3 milliseconds