Home
last modified time | relevance | path

Searched refs:cu1 (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/es2panda/util/
Dustring.cpp48 char32_t cu1 = ((cp - Constants::CELESTIAL_OFFSET) >> OFFSET) | Constants::SURROGATE_HIGH_MIN; in EncodeSurrogate() local
51 return {cu1, cu2}; in EncodeSurrogate()
Dustring.h345 char32_t cu1 = static_cast<uint8_t>(*iterNext++); in DecodeCP() local
346 …res = ((cu0 & Constants::UTF8_2BYTE_MASK) << Constants::UTF8_2BYTE_SHIFT) | (cu1 & Constants::UTF8… in DecodeCP()
352 char32_t cu1 = static_cast<uint8_t>(*iterNext++); in DecodeCP() local
355 …((cu1 & Constants::UTF8_CONT_MASK) << Constants::UTF8_2BYTE_SHIFT) | (cu2 & Constants::UTF8_CONT_M… in DecodeCP()
362 char32_t cu1 = static_cast<uint8_t>(*iterNext++); in DecodeCP() local
366 ((cu1 & Constants::UTF8_CONT_MASK) << Constants::UTF8_3BYTE_SHIFT) | in DecodeCP()
485 auto [cu1, cu2] = EncodeSurrogate(cu); in Mutf8Encode()
486 Mutf8Encode(str, cu1); in Mutf8Encode()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string.cpp157 uint16_t cu1 = in FromCodePoint() local
161 std::u16string nextU16str1 = base::StringHelper::Utf16ToU16String(&cu1, 1); in FromCodePoint()