Home
last modified time | relevance | path

Searched refs:MASK1 (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
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()
Dutf.h37 constexpr size_t MASK1 = 0x80; variable
/arkcompiler/ets_runtime/ecmascript/base/
Dutf_helper.cpp173 … auto ch1 = static_cast<uint8_t>(((codePoint >> UtfOffset::TWELVE) & utf::MASK_6BIT) | utf::MASK1); in ConvertUtf16ToUtf8()
174 auto ch2 = static_cast<uint8_t>(((codePoint >> UtfOffset::SIX) & utf::MASK_6BIT) | utf::MASK1); in ConvertUtf16ToUtf8()
175 auto ch3 = static_cast<uint8_t>((codePoint & utf::MASK_6BIT) | utf::MASK1); in ConvertUtf16ToUtf8()
246 if ((d0 & utf::MASK1) == 0) { in ConvertUtf8ToUtf16Pair()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dutf_helper_test.cpp269 static_cast<uint8_t>(((codePoint >> 12) & utf::MASK_6BIT) | utf::MASK1), in HWTEST_F_L0()
270 static_cast<uint8_t>(((codePoint >> 6) & utf::MASK_6BIT) | utf::MASK1), in HWTEST_F_L0()
271 static_cast<uint8_t>((codePoint & utf::MASK_6BIT) | utf::MASK1)}}; in HWTEST_F_L0()
283 static_cast<uint8_t>(((codePoint >> 12)& utf::MASK_6BIT)| utf::MASK1), in HWTEST_F_L0()
284 static_cast<uint8_t>(((codePoint >> 6)& utf::MASK_6BIT) | utf::MASK1), in HWTEST_F_L0()
285 static_cast<uint8_t>((codePoint & utf::MASK_6BIT) | utf::MASK1)}}; in HWTEST_F_L0()