Home
last modified time | relevance | path

Searched refs:MASK1 (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
H A Dutf.cpp62 if ((d0 & MASK1) == 0) { in ConvertMUtf8ToUtf16Pair()
139 auto ch1 = static_cast<uint8_t>(((codePoint >> (DATA_WIDTH * CONST_2)) & MASK_6BIT) | MASK1); in ConvertUtf16ToMUtf8()
140 auto ch2 = static_cast<uint8_t>(((codePoint >> DATA_WIDTH) & MASK_6BIT) | MASK1); in ConvertUtf16ToMUtf8()
141 auto ch3 = static_cast<uint8_t>((codePoint & MASK_6BIT) | MASK1); in ConvertUtf16ToMUtf8()
149 if (*mutf8_in >= MASK1) { // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in IsMUtf8OnlySingleBytes()
H A Dutf.h37 constexpr size_t MASK1 = 0x80; member
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dutf.cpp56 if ((d0 & MASK1) == 0) { in ConvertMUtf8ToUtf16Pair()
104 if (*mutf8In >= MASK1) { // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic) in IsMUtf8OnlySingleBytes()
456 auto ch1 = static_cast<uint8_t>(((codePoint >> UtfOffset::TWELVE) & MASK_6BIT) | MASK1); in ConvertUtf16ToUtf8()
457 auto ch2 = static_cast<uint8_t>(((codePoint >> UtfOffset::SIX) & MASK_6BIT) | MASK1); in ConvertUtf16ToUtf8()
458 auto ch3 = static_cast<uint8_t>((codePoint & MASK_6BIT) | MASK1); in ConvertUtf16ToUtf8()
537 if ((d0 & MASK1) == 0) { in ConvertUtf8ToUtf16Pair()
H A Dutf.h37 constexpr size_t MASK1 = 0x80; member
/arkcompiler/ets_runtime/ecmascript/base/
H A Dutf_helper.cpp218 auto ch1 = static_cast<uint8_t>(((codePoint >> UtfOffset::TWELVE) & utf::MASK_6BIT) | utf::MASK1); in ConvertUtf16ToUtf8()
219 auto ch2 = static_cast<uint8_t>(((codePoint >> UtfOffset::SIX) & utf::MASK_6BIT) | utf::MASK1); in ConvertUtf16ToUtf8()
220 auto ch3 = static_cast<uint8_t>((codePoint & utf::MASK_6BIT) | utf::MASK1); in ConvertUtf16ToUtf8()
320 if ((d0 & utf::MASK1) == 0) { in ConvertUtf8ToUtf16Pair()
H A Dutf_helper.h30 static constexpr size_t MASK1 = 0x80; member
/arkcompiler/ets_runtime/ecmascript/base/tests/
H A Dutf_helper_test.cpp259 static_cast<uint8_t>(((codePoint >> 12) & utf::MASK_6BIT) | utf::MASK1), in HWTEST_F_L0()
260 static_cast<uint8_t>(((codePoint >> 6) & utf::MASK_6BIT) | utf::MASK1), in HWTEST_F_L0()
261 static_cast<uint8_t>((codePoint & utf::MASK_6BIT) | utf::MASK1)}}; in HWTEST_F_L0()
273 static_cast<uint8_t>(((codePoint >> 12)& utf::MASK_6BIT)| utf::MASK1), in HWTEST_F_L0()
274 static_cast<uint8_t>(((codePoint >> 6)& utf::MASK_6BIT) | utf::MASK1), in HWTEST_F_L0()
275 static_cast<uint8_t>((codePoint & utf::MASK_6BIT) | utf::MASK1)}}; in HWTEST_F_L0()

Completed in 8 milliseconds