Home
last modified time | relevance | path

Searched refs:fcontents (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/tools/distrib/
Dcheck_include_guards.py51 def fail(self, fpath, regexp, fcontents, match_txt, correct, fix): argument
65 return fcontents
72 fixed_fcontents = re.sub(match_txt, correct, fcontents)
78 return fcontents
84 fcontents = load(fpath)
86 match = self.ifndef_re.search(fcontents)
98 fcontents = self.fail(fpath, match.re, match.string, match.group(1),
100 if fix: save(fpath, fcontents)
104 fcontents = self.fail(fpath, match.re, match.string, match.group(1),
106 if fix: save(fpath, fcontents)
[all …]
/external/python/cpython2/Lib/test/
Dtest_compile.py527 fcontents = f.read()
537 [fname, fcontents],
/external/python/cpython3/Lib/test/
Dtest_compile.py429 fcontents = f.read()
435 [fname, fcontents],