Lines Matching refs:uval

298             uval = packet.get_hex_uint(g_byte_order)
300 return '0x%2.2x' % (uval)
302 return '0x%4.4x' % (uval)
304 return '0x%8.8x' % (uval)
306 return '0x%16.16x' % (uval)
308 uval = packet.get_hex_uint8()
309 while uval != None:
310 bytes.append(uval)
311 uval = packet.get_hex_uint8()
348 uval = int(self.str[0:2], 16)
350 return uval
354 uval = 0
356 uval |= self.get_hex_uint8() << 8
357 uval |= self.get_hex_uint8()
359 uval |= self.get_hex_uint8()
360 uval |= self.get_hex_uint8() << 8
361 return uval
364 uval = 0
366 uval |= self.get_hex_uint8() << 24
367 uval |= self.get_hex_uint8() << 16
368 uval |= self.get_hex_uint8() << 8
369 uval |= self.get_hex_uint8()
371 uval |= self.get_hex_uint8()
372 uval |= self.get_hex_uint8() << 8
373 uval |= self.get_hex_uint8() << 16
374 uval |= self.get_hex_uint8() << 24
375 return uval
378 uval = 0
380 uval |= self.get_hex_uint8() << 56
381 uval |= self.get_hex_uint8() << 48
382 uval |= self.get_hex_uint8() << 40
383 uval |= self.get_hex_uint8() << 32
384 uval |= self.get_hex_uint8() << 24
385 uval |= self.get_hex_uint8() << 16
386 uval |= self.get_hex_uint8() << 8
387 uval |= self.get_hex_uint8()
389 uval |= self.get_hex_uint8()
390 uval |= self.get_hex_uint8() << 8
391 uval |= self.get_hex_uint8() << 16
392 uval |= self.get_hex_uint8() << 24
393 uval |= self.get_hex_uint8() << 32
394 uval |= self.get_hex_uint8() << 40
395 uval |= self.get_hex_uint8() << 48
396 uval |= self.get_hex_uint8() << 56
397 return uval
426 uval = self.get_hex_uint8()
427 if uval == None:
431 while uval != None:
432 uval_result |= (uval << shift)
434 uval = self.get_hex_uint8()
648 uval = packet.get_hex_uint('big')
649 print '%s: 0x%x' % (cmd, uval)
662 uval = packet.get_hex_uint8()
663 while uval != None:
669 print '%2.2x' % (uval),
670 if 0x20 <= uval and uval < 0x7f:
671 ascii += '%c' % uval
674 uval = packet.get_hex_uint8()