Lines Matching refs:headerFile
32 def getIncludeGuardName (headerFile): argument
33 return '_' + os.path.basename(headerFile).upper().replace('.', '_')
35 def hasValidIncludeGuard (headerFile): argument
36 includeGuard = getIncludeGuardName(headerFile)
37 f = open(headerFile, 'rb')
38 isHpp = headerFile[-4:] == ".hpp"
61 def fixIncludeGuard (headerFile): argument
62 f = open(headerFile, 'rb')
64 isHpp = headerFile[-4:] == ".hpp"
65 includeGuard = getIncludeGuardName(headerFile)
78 f = open(headerFile, 'wb')