Home
last modified time | relevance | path

Searched refs:headerFile (Results 1 – 13 of 13) sorted by relevance

/external/deqp/scripts/src_util/
Dcheck_include_guards.py32 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)
[all …]
/external/catch2/scripts/
DgenerateSingleHeader.py83 headerPath, sep, headerFile = header.rpartition( "/" )
84 if headerFile not in seenHeaders:
85 if headerFile != "tbc_text_format.h" and headerFile != "clara.h":
86 seenHeaders.add( headerFile )
90 if os.path.exists( path + headerPath + sep + headerFile ):
91 parseFile( path + headerPath + sep, headerFile )
93 parseFile( rootPath + headerPath + sep, headerFile )
/external/boringssl/src/util/
Dmake_errors.go53 headerFile, err := os.Open(headerPath)
63 reasons, err := parseHeader(prefix, headerFile)
64 headerFile.Close()
124 headerFile, err = os.Open(headerPath)
128 defer headerFile.Close()
136 if err := writeHeaderFile(newHeaderFile, headerFile, prefix, reasons); err != nil {
140 headerFile.Close()
230 func writeHeaderFile(w io.Writer, headerFile io.Reader, lib string, reasons map[string]int) error {
235 scanner := bufio.NewScanner(headerFile)
Ddoc.go297 headerFile, err := os.Open(headerPath)
301 defer headerFile.Close()
303 scanner := bufio.NewScanner(headerFile)
/external/clang/unittests/Basic/
DSourceManagerTest.cpp196 const FileEntry *headerFile = FileMgr.getVirtualFile("/test-header.h", in TEST_F() local
198 SourceMgr.overrideFileContents(headerFile, std::move(HeaderBuf)); in TEST_F()
296 const FileEntry *headerFile = FileMgr.getVirtualFile("/test-header.h", in TEST_F() local
298 SourceMgr.overrideFileContents(headerFile, std::move(HeaderBuf)); in TEST_F()
/external/deqp/external/openglcts/scripts/
Dmustpass.py253 def getIncludeGuardName (headerFile): argument
254 return '_' + os.path.basename(headerFile).upper().replace('.', '_')
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DAST.stg32 @headerFile.members() ::= <<
33 /* @headerFile.members() */
36 /* End @headerFile.members() */
DC.stg530 headerFile( LEXER,
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DDbg.stg31 @headerFile.imports() ::= <<
DObjC.stg163 headerFile( LEXER,
855 * The return type aggregates are declared in the header file (headerFile template)
1500 /** Used in headerFile */
/external/antlr/runtime/C/
DREADME917 * made headerFile template have same arg list as outputFile for consistency
922 argument to outputFile and headerFile (only). I think this is
1681 file templates (currently headerFile and outputFile) as attribute actions.
/external/antlr/tool/
DCHANGES.txt2558 * made headerFile template have same arg list as outputFile for consistency
2563 argument to outputFile and headerFile (only). I think this is
3322 file templates (currently headerFile and outputFile) as attribute actions.
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/
DCpp.stg204 headerFile( LEXER,