Lines Matching refs:cast
60 str = self.val['val'].cast(ptr_type).dereference().cast(ary_type)
97 list = t['ptr'].cast(gdb.lookup_type('zend_type_list').pointer())
99 … types = list['types'].dereference().cast(gdb.lookup_type('zend_type').array(num_types))
111 str = t['ptr'].cast(gdb.lookup_type('zend_string').pointer())
133 return self.val.cast(gdb.lookup_type('enum _zend_ast_kind'))
145 return '((%s*)0x%x)' % (str(self.cast().type), self.val.address)
148 val = self.cast()
155 children = children.cast(ptr_type)
182 def cast(self): member in ZendAstPrettyPrinter
186 return self.val.cast(gdb.lookup_type('zend_ast_zval'))
188 return self.val.cast(gdb.lookup_type('zend_ast_znode'))
190 return self.val.cast(gdb.lookup_type('zend_ast_decl'))
192 return self.val.cast(gdb.lookup_type('zend_ast_list'))
204 return int(self.cast()['children'])