Home
last modified time | relevance | path

Searched refs:file_contents (Results 1 – 14 of 14) sorted by relevance

/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/
Dhtml_module_unittest.py74 file_contents = {}
77 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents),
89 file_contents = {}
90 file_contents[os.path.normpath('/tmp/a/foo.js')] = """
95 FakeLoader([os.path.normpath('/tmp')], file_contents),
109 file_contents = {}
110 file_contents[os.path.normpath('/foo.js')] = ''
113 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents),
125 file_contents = {}
128 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents),
[all …]
/external/v8/tools/testrunner/server/
Dsignatures.py36 file_contents = base64.b64encode(f.read())
47 return [file_contents, signature]
50 def VerifySignature(filename, file_contents, signature, pubkeyfile): argument
52 f.write(base64.b64decode(file_contents))
/external/v8/tools/
Dcheck-name-clashes.py160 file_contents = f.read()
161 file_contents = js2c.ExpandInlineMacros(file_contents)
162 lines = file_contents.split("\n")
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_suppressions.cc63 char *file_contents; in ParseFromFile() local
67 ReadFileToBuffer(filename, &file_contents, &buffer_size, max_len); in ParseFromFile()
77 Parse(file_contents); in ParseFromFile()
/external/skia/tools/copyright/
Dfileparser.py76 def FindAllCommentBlocks(self, file_contents): argument
79 return self._comment_pattern.findall(file_contents)
/external/lldb/source/Interpreter/
DPythonDataObjects.cpp57 std::vector<char> file_contents (length,'\0'); in Dump() local
58 … const size_t length_read = ::fread (file_contents.data(), 1, file_contents.size(), file); in Dump()
60 strm.Write (file_contents.data(), length_read); in Dump()
/external/google-breakpad/src/processor/
Dmicrodump_processor_unittest.cc62 void ReadFile(const string& file_name, string* file_contents) { in ReadFile() argument
63 assert(file_contents); in ReadFile()
74 *file_contents = string(&bytes[0], bytes.size()); in ReadFile()
/external/v8/build/
Dgyp_v857 file_contents = open(file_path).read()
59 file_data = eval(file_contents, {'__builtins__': None}, None)
/external/google-breakpad/src/tools/mac/dump_syms/
Dmacho_dump.cc161 ByteBuffer file_contents(reinterpret_cast<uint8_t *>(mapping) in DumpFile() local
165 if (!reader.Read(file_contents, file.cputype, file.cpusubtype)) { in DumpFile()
/external/protobuf/src/google/protobuf/compiler/
Dimporter_unittest.cc370 string file_contents; in ExpectFileContents() local
374 file_contents.append(reinterpret_cast<const char*>(data), size); in ExpectFileContents()
377 EXPECT_EQ(expected_contents, file_contents); in ExpectFileContents()
Dcommand_line_interface_unittest.cc435 string file_contents; in ReadDescriptorSet() local
436 GOOGLE_CHECK_OK(File::GetContents(path, &file_contents, true)); in ReadDescriptorSet()
438 if (!descriptor_set->ParseFromString(file_contents)) { in ReadDescriptorSet()
/external/pdfium/samples/
Dpdfium_test.cc615 char* file_contents = GetFileContents(filename.c_str(), &file_length); in main() local
616 if (!file_contents) in main()
618 RenderPdf(filename, file_contents, file_length, options); in main()
619 free(file_contents); in main()
/external/chromium-trace/trace-viewer/tracing/build/
Dcss_presubmit_checker.py209 file_contents = _remove_all('\n'.join(f.new_contents))
210 files.append((f.filename, file_contents))
/external/google-breakpad/src/common/mac/
Dmacho_reader_unittest.cc755 ASSERT_TRUE(file->GetContents(&file_contents)); in ReadFile()
756 file_bytes = reinterpret_cast<const uint8_t *>(file_contents.data()); in ReadFile()
759 file_contents.size(), in ReadFile()
764 file_contents.size(), in ReadFile()
770 string file_contents; member