Lines Matching refs:sbvalue
70 def match(cls, sbvalue): argument
72 matching = filter(bool, map(methodcaller('match', sbvalue), MetaPointerPolicy.classes))
76 def GetPointerSBValue(self, sbvalue): argument
115 def match(cls, sbvalue): argument
116 return cls() if sbvalue.GetType().IsPointerType() else None
119 def stripPtr(sbvalue): argument
124 if sbvalue.GetValueAsAddress() != sbvalue.GetValueAsUnsigned():
125 addr = sbvalue.GetValueAsAddress()
126 sbv_new = sbvalue.CreateValueFromExpression(None, '(void *)' + str(addr))
127 return sbv_new.Cast(sbvalue.GetType())
130 return sbvalue
132 def GetPointerSBValue(self, sbvalue): argument
133 return self._stripPtr(sbvalue)