Lines Matching refs:guard
133 def __init__(self, regdb, guard=None):
134 self.guard = guard
299 if self.guard:
300 print('#ifndef {self.guard}'.format(**locals()), file=filp)
301 print('#define {self.guard}\n'.format(**locals()), file=filp)
356 if self.guard:
357 print('\n#endif // {self.guard}'.format(**locals()), file=filp)
366 parser.add_argument('--guard', type=str, help='Name of the #include guard')
383 w = HeaderWriter(regdb, guard=args.guard)