Lines Matching refs:self
18 def __init__(self, name): argument
19 self._type = None
20 self._name = name
22 def _new_objfile_handler(self, event): argument
23 self._type = None
24 gdb.events.new_objfile.disconnect(self._new_objfile_handler)
26 def get_type(self): argument
27 if self._type is None:
28 self._type = gdb.lookup_type(self._name)
29 if self._type is None:
31 "cannot resolve type '{0}'".format(self._name))
33 gdb.events.new_objfile.connect(self._new_objfile_handler)
34 return self._type
61 def __init__(self): argument
62 super(ContainerOf, self).__init__("container_of")
64 def invoke(self, ptr, typename, elementname): argument