Home
last modified time | relevance | path

Searched refs:PAYLOAD_MASK (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
H A Dleb128.h28 constexpr size_t PAYLOAD_MASK = 0x7f; member
44 uint8_t byte = data[i] & PAYLOAD_MASK; in DecodeUnsigned()
70 if (UNLIKELY(result > PAYLOAD_MASK)) { in DecodeUnsigned()
73 result = (result & PAYLOAD_MASK) | ((byte & PAYLOAD_MASK) << LEB128_BYTE2_SHIFT); in DecodeUnsigned()
74 if (byte > PAYLOAD_MASK) { in DecodeUnsigned()
77 result |= (byte & PAYLOAD_MASK) << LEB128_BYTE3_SHIFT; in DecodeUnsigned()
78 if (byte > PAYLOAD_MASK) { in DecodeUnsigned()
81 result |= (byte & PAYLOAD_MASK) << LEB128_BYTE4_SHIFT; in DecodeUnsigned()
82 if (byte > PAYLOAD_MASK) { in DecodeUnsigned()
[all...]
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dleb128.h28 constexpr size_t PAYLOAD_MASK = 0x7f; member
44 uint8_t byte = data[i] & PAYLOAD_MASK; in DecodeUnsigned()
71 if (UNLIKELY(result > PAYLOAD_MASK)) { in DecodeUnsigned()
74 result = (result & PAYLOAD_MASK) | ((byte & PAYLOAD_MASK) << LEB128_BYTE2_SHIFT); in DecodeUnsigned()
76 if (byte <= PAYLOAD_MASK) { in DecodeUnsigned()
81 result |= (byte & PAYLOAD_MASK) << LEB128_BYTE3_SHIFT; in DecodeUnsigned()
82 if (byte <= PAYLOAD_MASK) { in DecodeUnsigned()
87 result |= (byte & PAYLOAD_MASK) << LEB128_BYTE4_SHIFT; in DecodeUnsigned()
88 if (byte <= PAYLOAD_MASK) { in DecodeUnsigned()
[all...]
/arkcompiler/runtime_core/static_core/verification/util/
H A Dmem.h55 uintptr_t constexpr PAYLOAD_MASK = ~(POINTER_CHECK_MASK | TAG_MASK); member
76 return x & PAYLOAD_MASK; in GetPayload()
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dhelpers.h99 if ((*sp)[0U] <= leb128::PAYLOAD_MASK) { in SkipULeb128()
104 if ((*sp)[1U] <= leb128::PAYLOAD_MASK) { in SkipULeb128()
109 if ((*sp)[2U] <= leb128::PAYLOAD_MASK) { in SkipULeb128()
114 ASSERT((*sp)[3U] <= leb128::PAYLOAD_MASK); in SkipULeb128()
/arkcompiler/runtime_core/libpandafile/
H A 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()

Completed in 2 milliseconds