Lines Matching refs:val
145 uint8_t pull_val(const uint8_t* val) const { in pull_val() argument
146 return *val; in pull_val()
148 uint8_t pull_val(const uint8_t& val) const { in pull_val() argument
149 return val; in pull_val()
151 int8_t pull_val(const int8_t* val) const { in pull_val() argument
152 return *val; in pull_val()
154 int8_t pull_val(const int8_t& val) const { in pull_val() argument
155 return val; in pull_val()
165 uint16_t pull_val(const uint16_t* val) const { in pull_val() argument
167 return *val; in pull_val()
170 return (uint16_t)get_byte(val, 0) << 8 | get_byte(val, 1); in pull_val()
172 return (uint16_t)get_byte(val, 1) << 8 | get_byte(val, 0); in pull_val()
175 uint16_t pull_val(const uint16_t& val) const { in pull_val() argument
176 return same_endianness() ? val : pull_val(&val); in pull_val()
178 int16_t pull_val(const int16_t* val) const { in pull_val() argument
180 (pull_val(reinterpret_cast<const uint16_t*>(val))); in pull_val()
182 int16_t pull_val(const int16_t& val) const { in pull_val() argument
184 (pull_val(reinterpret_cast<const uint16_t&>(val))); in pull_val()
194 uint32_t pull_val(const uint32_t* val) const { in pull_val() argument
196 return *val; in pull_val()
199 return (uint32_t)get_byte(val, 0) << 24 | in pull_val()
200 (uint32_t)get_byte(val, 1) << 16 | in pull_val()
201 (uint32_t)get_byte(val, 2) << 8 | in pull_val()
202 (uint32_t)get_byte(val, 3); in pull_val()
204 return (uint32_t)get_byte(val, 3) << 24 | in pull_val()
205 (uint32_t)get_byte(val, 2) << 16 | in pull_val()
206 (uint32_t)get_byte(val, 1) << 8 | in pull_val()
207 (uint32_t)get_byte(val, 0); in pull_val()
210 uint32_t pull_val(const uint32_t& val) const { in pull_val() argument
211 return same_endianness() ? val : pull_val(&val); in pull_val()
213 int32_t pull_val(const int32_t* val) const { in pull_val() argument
215 (pull_val(reinterpret_cast<const uint32_t*>(val))); in pull_val()
217 int32_t pull_val(const int32_t& val) const { in pull_val() argument
219 (pull_val(reinterpret_cast<const uint32_t&>(val))); in pull_val()
229 uint64_t pull_val(const uint64_t* val) const { in pull_val() argument
231 return *val; in pull_val()
234 return (uint64_t)get_byte(val, 0) << 56 | in pull_val()
235 (uint64_t)get_byte(val, 1) << 48 | in pull_val()
236 (uint64_t)get_byte(val, 2) << 40 | in pull_val()
237 (uint64_t)get_byte(val, 3) << 32 | in pull_val()
238 (uint64_t)get_byte(val, 4) << 24 | in pull_val()
239 (uint64_t)get_byte(val, 5) << 16 | in pull_val()
240 (uint64_t)get_byte(val, 6) << 8 | in pull_val()
241 (uint64_t)get_byte(val, 7); in pull_val()
243 return (uint64_t)get_byte(val, 7) << 56 | in pull_val()
244 (uint64_t)get_byte(val, 6) << 48 | in pull_val()
245 (uint64_t)get_byte(val, 5) << 40 | in pull_val()
246 (uint64_t)get_byte(val, 4) << 32 | in pull_val()
247 (uint64_t)get_byte(val, 3) << 24 | in pull_val()
248 (uint64_t)get_byte(val, 2) << 16 | in pull_val()
249 (uint64_t)get_byte(val, 1) << 8 | in pull_val()
250 (uint64_t)get_byte(val, 0); in pull_val()
253 uint64_t pull_val(const uint64_t& val) const { in pull_val() argument
254 return same_endianness() ? val : pull_val(&val); in pull_val()
256 int64_t pull_val(const int64_t* val) const { in pull_val() argument
258 (pull_val(reinterpret_cast<const uint64_t*>(val))); in pull_val()
260 int64_t pull_val(const int64_t& val) const { in pull_val() argument
262 (pull_val(reinterpret_cast<const uint64_t&>(val))); in pull_val()