Searched refs:utf81 (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 232 c1 = *utf81; in CompareUtf8ToUtf8() 235 std::tie(c1, n1) = ConvertMUtf8ToUtf16Pair(utf81); in CompareUtf8ToUtf8() 238 utf81 += n1; // 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 | 36 let utf81 = '12312463347659634287446568765344234356798653455678899865746435323456709876543679334675235523463756875153764736256\ 38 let utf82 = utf81.substring(0, 169) + '8'; 39 let utf83 = utf81.substring(0, 169) + '0'; 40 print((utf81 === utf82).toString()); 41 print((utf81 === utf83).toString());
|
Completed in 3 milliseconds