Home
last modified time | relevance | path

Searched refs:LOW_6BITS (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/
H A Dutf_helper.cpp384 uint32_t codePoint = ((src & LOW_3BITS) << OFFSET_18POS) | ((c2 & LOW_6BITS) << OFFSET_12POS) | in Utf8ToUtf16Size()
385 ((c3 & LOW_6BITS) << OFFSET_6POS) | (c4 & LOW_6BITS); in Utf8ToUtf16Size()
430 uint32_t codePoint = ((src & LOW_3BITS) << OFFSET_18POS) | ((c2 & LOW_6BITS) << OFFSET_12POS) | in ConvertRegionUtf8ToUtf16()
431 ((c3 & LOW_6BITS) << OFFSET_6POS) | (c4 & LOW_6BITS); in ConvertRegionUtf8ToUtf16()
450 ((c2 & LOW_6BITS) << OFFSET_6POS) | (c3 & LOW_6BITS)); in ConvertRegionUtf8ToUtf16()
457 utf16Out[out_pos++] = static_cast<uint16_t>(((src & LOW_5BITS) << OFFSET_6POS) | (c2 & LOW_6BITS)); in ConvertRegionUtf8ToUtf16()
H A Dutf_helper.h36 static constexpr size_t LOW_6BITS = 0x3F; member
/arkcompiler/ets_runtime/ecmascript/
H A Decma_string.cpp26 constexpr size_t LOW_6BITS = 0x3F; member
1017 uint32_t codePoint = ((src & LOW_3BITS) << OFFSET_18POS) | ((c2 & LOW_6BITS) << OFFSET_12POS) | in IsUtf8EqualsUtf16()
1018 ((c3 & LOW_6BITS) << OFFSET_6POS) | (c4 & LOW_6BITS); in IsUtf8EqualsUtf16()
1041 ((c2 & LOW_6BITS) << OFFSET_6POS) | (c3 & LOW_6BITS))) { in IsUtf8EqualsUtf16()
1050 if (*utf16Data++ != static_cast<uint16_t>(((src & LOW_5BITS) << OFFSET_6POS) | (c2 & LOW_6BITS))) { in IsUtf8EqualsUtf16()

Completed in 9 milliseconds