• Home
  • Raw
  • Download

Lines Matching refs:result

35   int result = *(ptr++);  in DecodeUnsignedLeb128()  local
36 if (UNLIKELY(result > 0x7f)) { in DecodeUnsignedLeb128()
38 result = (result & 0x7f) | ((cur & 0x7f) << 7); in DecodeUnsignedLeb128()
41 result |= (cur & 0x7f) << 14; in DecodeUnsignedLeb128()
44 result |= (cur & 0x7f) << 21; in DecodeUnsignedLeb128()
49 result |= cur << 28; in DecodeUnsignedLeb128()
55 return static_cast<uint32_t>(result); in DecodeUnsignedLeb128()
69 int result = *(ptr++); in DecodeUnsignedLeb128Checked() local
70 if (UNLIKELY(result > 0x7f)) { in DecodeUnsignedLeb128Checked()
75 result = (result & 0x7f) | ((cur & 0x7f) << 7); in DecodeUnsignedLeb128Checked()
81 result |= (cur & 0x7f) << 14; in DecodeUnsignedLeb128Checked()
87 result |= (cur & 0x7f) << 21; in DecodeUnsignedLeb128Checked()
95 result |= cur << 28; in DecodeUnsignedLeb128Checked()
101 *out = static_cast<uint32_t>(result); in DecodeUnsignedLeb128Checked()
118 int32_t result = *(ptr++); in DecodeSignedLeb128() local
119 if (result <= 0x7f) { in DecodeSignedLeb128()
120 result = (result << 25) >> 25; in DecodeSignedLeb128()
123 result = (result & 0x7f) | ((cur & 0x7f) << 7); in DecodeSignedLeb128()
125 result = (result << 18) >> 18; in DecodeSignedLeb128()
128 result |= (cur & 0x7f) << 14; in DecodeSignedLeb128()
130 result = (result << 11) >> 11; in DecodeSignedLeb128()
133 result |= (cur & 0x7f) << 21; in DecodeSignedLeb128()
135 result = (result << 4) >> 4; in DecodeSignedLeb128()
140 result |= cur << 28; in DecodeSignedLeb128()
146 return result; in DecodeSignedLeb128()
156 int32_t result = *(ptr++); in DecodeSignedLeb128Checked() local
157 if (result <= 0x7f) { in DecodeSignedLeb128Checked()
158 result = (result << 25) >> 25; in DecodeSignedLeb128Checked()
164 result = (result & 0x7f) | ((cur & 0x7f) << 7); in DecodeSignedLeb128Checked()
166 result = (result << 18) >> 18; in DecodeSignedLeb128Checked()
172 result |= (cur & 0x7f) << 14; in DecodeSignedLeb128Checked()
174 result = (result << 11) >> 11; in DecodeSignedLeb128Checked()
180 result |= (cur & 0x7f) << 21; in DecodeSignedLeb128Checked()
182 result = (result << 4) >> 4; in DecodeSignedLeb128Checked()
190 result |= cur << 28; in DecodeSignedLeb128Checked()
196 *out = static_cast<uint32_t>(result); in DecodeSignedLeb128Checked()