Lines Matching refs:cast
60 str = self.val['val'].cast(ptr_type).dereference().cast(ary_type)
103 list = t['ptr'].cast(gdb.lookup_type('zend_type_list').pointer())
105 … types = list['types'].dereference().cast(gdb.lookup_type('zend_type').array(num_types))
117 str = t['ptr'].cast(gdb.lookup_type('zend_string').pointer())
139 return self.val.cast(gdb.lookup_type('enum _zend_ast_kind'))
151 return '((%s*)0x%x)' % (str(self.cast().type), self.val.address)
154 val = self.cast()
161 children = children.cast(ptr_type)
188 def cast(self): member in ZendAstPrettyPrinter
192 return self.val.cast(gdb.lookup_type('zend_ast_zval'))
194 return self.val.cast(gdb.lookup_type('zend_ast_znode'))
196 return self.val.cast(gdb.lookup_type('zend_ast_decl'))
198 return self.val.cast(gdb.lookup_type('zend_ast_list'))
210 return int(self.cast()['children'])