Lines Matching refs:name
11 # neither the name of the copyright holders nor the names of its
56 def get(name):
57 """Get a BP class from a user provided class name or alias."""
60 bp_class = _bp_classes[name]
63 print("%s is not a valid BP model." % (name,))
71 for name, cls in _bp_classes.items():
72 print("\t%s" % name)
86 for name, cls in inspect.getmembers(m5.objects, is_bp_class):
87 _bp_classes[name] = cls
107 def get_indirect(name):
108 """Get an Indirect BP class from a user provided class name or alias."""
111 indirect_bp_class = _indirect_bp_classes[name]
114 print("%s is not a valid indirect BP model." % (name,))
122 for name, cls in _indirect_bp_classes.items():
123 print("\t%s" % name)
137 for name, cls in inspect.getmembers(m5.objects, is_indirect_bp_class):
138 _indirect_bp_classes[name] = cls