Home
last modified time | relevance | path

Searched refs:PAYLOAD_MASK (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
Dleb128.h28 constexpr size_t PAYLOAD_MASK = 0x7f; variable
44 uint8_t byte = data[i] & PAYLOAD_MASK; in DecodeUnsigned()
70 if (UNLIKELY(result > PAYLOAD_MASK)) {
73 result = (result & PAYLOAD_MASK) | ((byte & PAYLOAD_MASK) << LEB128_BYTE2_SHIFT);
74 if (byte > PAYLOAD_MASK) {
77 result |= (byte & PAYLOAD_MASK) << LEB128_BYTE3_SHIFT;
78 if (byte > PAYLOAD_MASK) {
81 result |= (byte & PAYLOAD_MASK) << LEB128_BYTE4_SHIFT;
82 if (byte > PAYLOAD_MASK) {
111 result |= static_cast<unsigned_type>(byte & PAYLOAD_MASK) << shift; in DecodeSigned()
[all …]
/arkcompiler/runtime_core/libpandafile/
Dhelpers.h135 if (sp->Size() > 0U && (*sp)[0U] <= leb128::PAYLOAD_MASK) { in SkipULeb128()
140 if (sp->Size() > 1U && (*sp)[1U] <= leb128::PAYLOAD_MASK) { in SkipULeb128()
145 if (sp->Size() > 2U && (*sp)[2U] <= leb128::PAYLOAD_MASK) { in SkipULeb128()
150 if (sp->Size() > 3U && (*sp)[3U] <= leb128::PAYLOAD_MASK) { in SkipULeb128()