/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
D | html_module_unittest.py | 79 file_contents = {} 80 file_contents[os.path.normpath('/tmp/a/foo.js')] = """ 85 FakeLoader([os.path.normpath('/tmp')], file_contents), 99 file_contents = {} 100 file_contents[os.path.normpath('/foo.js')] = '' 103 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents), 115 file_contents = {} 118 html_module.Parse(FakeLoader([os.path.normpath('/tmp')], file_contents), 130 file_contents = {} 131 file_contents[os.path.normpath('/tmp/a/foo.html')] = """ [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/samples/storage_sample/ |
D | downloads_test.py | 42 file_contents = open(file_path).read() 44 file_contents, msg=('Could not read file %s' % filename)) 45 return file_contents 75 file_contents = self.__GetTestdataFileContents('fifteen_byte_file') 78 self.assertEqual(file_contents, self.__buffer.read()) 84 file_contents = self.__GetTestdataFileContents('filename_with_spaces') 87 self.assertEqual(file_contents, self.__buffer.read()) 91 file_contents = self.__GetTestdataFileContents('fifteen_byte_file') 96 self.assertEqual(file_contents[5:11], self.__buffer.read()) 99 file_contents = self.__GetTestdataFileContents('fifteen_byte_file') [all …]
|
/external/v8/tools/testrunner/server/ |
D | signatures.py | 36 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/autotest/tko/ |
D | jsonp_fetcher.cgi | 26 file_contents = urllib2.urlopen('http://localhost' + path).read() variable 27 result_dict['result'] = file_contents
|
/external/v8/build/ |
D | gyp_environment.py | 25 file_contents = open(file_path).read() 27 file_data = eval(file_contents, {'__builtins__': None}, None)
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
D | test_Doption.py | 37 for file_contents in ('a1b2c3d4', 'a1b2c3d4\n'): 38 fpath = self.CreateTempFile(contents=file_contents) 49 self.assertIn('total_bytes_transferred: %d' % len(file_contents),
|
D | test_ls.py | 374 file_contents = 'x' * file_size 375 fpath = self.CreateTempFile(contents=file_contents, file_name='foo.txt')
|
D | test_cp.py | 1588 file_contents = 'abcd' * self.halt_size 1590 contents=file_contents) 1609 identical_file = self.CreateTempFile(contents=file_contents) 1616 self.assertEqual(f.read(), file_contents, 'File contents differ')
|
/external/autotest/client/site_tests/network_ShillInitScripts/ |
D | network_ShillInitScripts.py | 323 def file_contents(self, filename): member in network_ShillInitScripts 455 self.assure(self.magic_header in self.file_contents(shill_profile), 475 self.assure(self.magic_header not in self.file_contents(shill_profile), 583 self.file_contents(self.new_shill_user_profile), 664 self.file_contents(self.new_shill_user_profile), 688 self.file_contents(self.new_shill_user_profile), 709 self.file_contents(self.new_shill_user_profile), 735 self.file_contents(self.new_shill_user_profile),
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_suppressions.cc | 65 char *file_contents; in ParseFromFile() local 68 if (!ReadFileToBuffer(filename, &file_contents, &buffer_size, in ParseFromFile() 75 Parse(file_contents); in ParseFromFile()
|
/external/skia/tools/copyright/ |
D | fileparser.py | 76 def FindAllCommentBlocks(self, file_contents): argument 79 return self._comment_pattern.findall(file_contents)
|
/external/google-breakpad/src/processor/ |
D | microdump_processor_unittest.cc | 62 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/chromium-trace/catapult/devil/devil/android/ |
D | flag_changer.py | 125 file_contents = self._device.ReadFile( 127 assert file_contents == cmd_line, (
|
/external/google-breakpad/src/tools/mac/dump_syms/ |
D | macho_dump.cc | 161 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/ |
D | importer_unittest.cc | 370 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()
|
D | command_line_interface_unittest.cc | 435 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/libbrillo/brillo/message_loops/ |
D | base_message_loop.cc | 267 const std::string& file_contents) { in ParseBinderMinor() argument 272 base::SplitString(file_contents, "\n", base::TRIM_WHITESPACE, in ParseBinderMinor()
|
D | base_message_loop.h | 64 static int ParseBinderMinor(const std::string& file_contents);
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem_test.py | 727 file_contents = 'frobozz' 729 self.assertNotEqual(len(base_name), len(file_contents)) 732 self.filesystem.CreateFile(file_path, contents=file_contents) 734 self.assertEqual(len(file_contents), self.os.lstat(file_path)[stat.ST_SIZE]) 967 file_contents = 'Spam eggs' 969 self.filesystem.CreateFile(file_path, contents=file_contents) 971 self.assertEqual(file_contents, 2086 file_contents = 'two\r\nlines' 2087 self.filesystem.CreateFile(file_path, contents=file_contents) 2540 self.file_contents = b'binary contents' [all …]
|
/external/pdfium/samples/ |
D | pdfium_test.cc | 614 std::unique_ptr<char, pdfium::FreeDeleter> file_contents = in main() local 616 if (file_contents) in main() 617 RenderPdf(filename, file_contents.get(), file_length, options); in main()
|
/external/autotest/scheduler/ |
D | drone_manager.py | 895 def attach_file_to_execution(self, results_dir, file_contents, argument 906 files_for_execution[file_path] = file_contents 917 file_contents = '\n'.join(lines) + '\n' 926 drone.queue_call('write_to_file', full_path, file_contents)
|
D | monitor_db_functional_test.py | 223 def attach_file_to_execution(self, result_dir, file_contents, argument 226 file_contents))
|
/external/google-breakpad/src/common/mac/ |
D | macho_reader_unittest.cc | 755 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
|
/external/autotest/frontend/afe/ |
D | site_rpc_interface_unittest.py | 427 file_contents = self.mox.CreateMockAnything() 428 mockFile.__enter__().AndReturn(file_contents)
|
/external/autotest/client/tools/ |
D | boottool | 1658 my $file_contents="default 1673 print FH $file_contents;
|