Searched refs:headerFile (Results 1 – 3 of 3) sorted by relevance
32 def getIncludeGuardName (headerFile): argument33 return '_' + os.path.basename(headerFile).upper().replace('.', '_')35 def hasValidIncludeGuard (headerFile): argument36 includeGuard = getIncludeGuardName(headerFile)37 f = open(headerFile, 'rt')38 isHpp = headerFile[-4:] == ".hpp"61 def fixIncludeGuard (headerFile): argument62 f = open(headerFile, 'rt')64 isHpp = headerFile[-4:] == ".hpp"65 includeGuard = getIncludeGuardName(headerFile)[all …]
176 Map<String, int> _readAndroidKeyCodes(String headerFile) {179 headerFile = headerFile.replaceAllMapped(enumBlock, (Match match) => match.group(1));182 for (Match match in enumEntry.allMatches(headerFile)) {193 Map<String, int> _readGlfwKeyCodes(String headerFile) {197 for (Match match in enumEntry.allMatches(headerFile)) {
255 def getIncludeGuardName (headerFile): argument256 return '_' + os.path.basename(headerFile).upper().replace('.', '_')