Lines Matching refs:file
8 # not use this file except in compliance with the License.
35 """Context manager to read a text file line by line.
49 snippet annotates the exception with the file name and line number.
53 self.file = None #type: Optional[IO[str]]
58 self.file = open(self.filename, 'rb' if self.binary else 'r')
59 self.generator = enumerate(self.file)
68 if self.file is not None:
69 self.file.close()
228 Call the read_file method of the constructed object on each header file.
496 """Parse a C header file, looking for "#define PSA_xxx"."""
545 """Parse a test case file (*.data), looking for algorithm metadata tests."""