Lines Matching refs:val
384 val = value(sbval.Cast(dest_type))
385 return val
446 def unsigned(val): argument
452 if type(val) is value:
453 return int(val._GetValueAsUnsigned())
454 return int(val)
457 def signed(val): argument
463 if type(val) is value:
464 return val.GetSBValue().GetValueAsSigned()
465 return int(val)
481 def dereference(val): argument
490 if type(val) is value:
491 sbv = val.GetSBValue()
496 def wrapped(val): argument
501 if isinstance(val, value):
502 policy = val.ptrpolicy
503 val.ptrpolicy = None
504 newval = value(val.GetSBValue(), False)
505 val.ptrpolicy = policy
510 def addressof(val): argument
518 if type(val) is value:
519 return value(val.GetSBValue().AddressOf())
662 def readmemory(val): argument
668 if not type(val) is value:
669 raise TypeError('%s is not of type value' % str(type(val)))
670 return val.__getstate__()