Lines Matching refs:result
29 int result = *(ptr++); in DecodeUnsignedLeb128() local
30 if (result > 0x7f) { in DecodeUnsignedLeb128()
32 result = (result & 0x7f) | ((cur & 0x7f) << 7); in DecodeUnsignedLeb128()
35 result |= (cur & 0x7f) << 14; in DecodeUnsignedLeb128()
38 result |= (cur & 0x7f) << 21; in DecodeUnsignedLeb128()
43 result |= cur << 28; in DecodeUnsignedLeb128()
49 return static_cast<uint32_t>(result); in DecodeUnsignedLeb128()
65 int32_t result = *(ptr++); in DecodeSignedLeb128() local
66 if (result <= 0x7f) { in DecodeSignedLeb128()
67 result = (result << 25) >> 25; in DecodeSignedLeb128()
70 result = (result & 0x7f) | ((cur & 0x7f) << 7); in DecodeSignedLeb128()
72 result = (result << 18) >> 18; in DecodeSignedLeb128()
75 result |= (cur & 0x7f) << 14; in DecodeSignedLeb128()
77 result = (result << 11) >> 11; in DecodeSignedLeb128()
80 result |= (cur & 0x7f) << 21; in DecodeSignedLeb128()
82 result = (result << 4) >> 4; in DecodeSignedLeb128()
87 result |= cur << 28; in DecodeSignedLeb128()
93 return result; in DecodeSignedLeb128()