Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/libpandabase/utils/
Dutf.h57 constexpr size_t U16_LEAD = 0xd7c0; variable
Dutf.cpp91 pair |= ((code_point >> (PAIR_ELEMENT_WIDTH - DATA_WIDTH)) + U16_LEAD) & MASK_16BIT; in ConvertMUtf8ToUtf16Pair()
/arkcompiler/ets_runtime/ecmascript/base/
Dutf_helper.cpp268 … uint32_t lead = ((codePoint >> (utf::PAIR_ELEMENT_WIDTH - utf::DATA_WIDTH)) + utf::U16_LEAD); in ConvertUtf8ToUtf16Pair()
272 …pair |= ((codePoint >> (utf::PAIR_ELEMENT_WIDTH - utf::DATA_WIDTH)) + utf::U16_LEAD) << utf::PAIR_… in ConvertUtf8ToUtf16Pair()