Home
last modified time | relevance | path

Searched refs:DECODE_SECOND_FACTOR (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_optimized_stubs-inl.h77 if (vv < base::utf_helper::DECODE_SECOND_FACTOR) { in UTF16EncodeCodePoint()
80 uint16_t lv = (((vv - base::utf_helper::DECODE_SECOND_FACTOR) & base::utf_helper::BIT16_MASK) + in UTF16EncodeCodePoint()
83 uint16_t hv = ((((vv - base::utf_helper::DECODE_SECOND_FACTOR) >> 10U) & base::utf_helper::BIT16_MASK) + in UTF16EncodeCodePoint()
/arkcompiler/ets_runtime/ecmascript/base/
H A Dutf_helper.cpp32 uint32_t cp = (lead - DECODE_LEAD_LOW) * DECODE_FIRST_FACTOR + (trail - DECODE_TRAIL_LOW) + DECODE_SECOND_FACTOR; in UTF16Decode()
58 return ((high - DECODE_LEAD_LOW) << UTF16_OFFSET) + (low - DECODE_TRAIL_LOW) + DECODE_SECOND_FACTOR; in DecodeUTF16()
80 return ((first - DECODE_LEAD_LOW) << UTF16_OFFSET) + (second - DECODE_TRAIL_LOW) + DECODE_SECOND_FACTOR; in HandleAndDecodeInvalidUTF16()
H A Dutf_helper.h49 static constexpr uint32_t DECODE_SECOND_FACTOR = 0x10000; member
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dutf.h58 constexpr uint32_t DECODE_SECOND_FACTOR = 0x10000; member
H A Dutf.cpp97 codePoint += DECODE_SECOND_FACTOR; in CombineTwoU16()
374 uint32_t cp = (lead - DECODE_LEAD_LOW) * DECODE_FIRST_FACTOR + (trail - DECODE_TRAIL_LOW) + DECODE_SECOND_FACTOR; in UTF16Decode()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_global.cpp640 if (vv < base::utf_helper::DECODE_SECOND_FACTOR) { in UTF16EncodeCodePoint()
650 uint16_t lv = (((vv - base::utf_helper::DECODE_SECOND_FACTOR) & BIT16_MASK) + in UTF16EncodeCodePoint()
652 uint16_t hv = ((((vv - base::utf_helper::DECODE_SECOND_FACTOR) >> 10U) & BIT16_MASK) + // NOLINT in UTF16EncodeCodePoint()

Completed in 7 milliseconds