Home
last modified time | relevance | path

Searched refs:file_content (Results 1 – 8 of 8) sorted by relevance

/external/skia/tools/
Dsanitize_source_files.py110 def CopywriteChecker(file_content, unused_file_path): argument
114 return file_content
117 def EOFOneAndOnlyOneNewlineAdder(file_content, file_path): argument
119 if file_content and (file_content[-1] != '\n' or file_content[-2:-1] == '\n'):
120 file_content = file_content.rstrip()
121 file_content += '\n'
123 return file_content
126 def SvnEOLChecker(file_content, file_path): argument
133 return file_content
/external/libbrillo/brillo/http/
Dhttp_form_data_unittest.cc44 std::string file_content{"text line1\ntext line2\n"}; in TEST() local
46 ASSERT_EQ(file_content.size(), in TEST()
48 file_name, file_content.data(), file_content.size()))); in TEST()
66 EXPECT_EQ(file_content, GetFormFieldData(&form_field)); in TEST()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dmetadata_test.cc181 bool AnnotationMatchesSubstring(const string& file_content, in AnnotationMatchesSubstring() argument
186 if (end < begin || end > file_content.size()) { in AnnotationMatchesSubstring()
189 return file_content.substr(begin, end - begin) == expected_text; in AnnotationMatchesSubstring()
/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap05.c70 char file_content; in main() local
106 file_content = addr[0]; in main()
/external/owasp/sanitizer/tools/
Dgooglecode_upload.py136 file_content = f.read()
146 file_content,
Dcut_release.py123 file_content = in_file.read()
126 for line in file_content.split("\n"):
/external/autotest/cli/
Dtopic_common.py236 file_content = []
238 file_content += __get_items(line)
239 if len(file_content) == 0:
241 result.update(file_content)
/external/python/cpython2/Doc/library/
Dgzip.rst100 file_content = f.read()