HomeSort by relevance Sort by last modified time
    Searched refs:file_contents (Results 1 - 25 of 43) sorted by null

1 2

  /external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
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/
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/
signatures.py 36 file_contents = base64.b64encode(f.read())
47 return [file_contents, signature]
50 def VerifySignature(filename, file_contents, signature, pubkeyfile):
52 f.write(base64.b64decode(file_contents))
  /external/autotest/tko/
jsonp_fetcher.cgi 26 file_contents = urllib2.urlopen('http://localhost' + path).read() variable in class:LogFileNotFound
27 result_dict['result'] = file_contents
  /external/skia/tools/copyright/
fileparser.py 76 def FindAllCommentBlocks(self, file_contents):
79 return self._comment_pattern.findall(file_contents)
  /external/v8/build/
gyp_environment.py 25 file_contents = open(file_path).read()
27 file_data = eval(file_contents, {'__builtins__': None}, None)
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-x86-64/
dwarfreloc.exp 70 set comp_output [prune_warnings [file_contents "ld.stderr"]]
80 verbose "output is [file_contents "dump.out"]" 2
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-ifunc/
ifunc.exp 72 [file_contents readelf.out] nil osabi] } {
103 if { ![regexp ".*\[ \]*IFUNC\[ \]+GLOBAL\[ \]+DEFAULT .* \[UND0-9\]+\[ \]+library_func2\n" [file_contents readelf.out]] } {
130 if { ![regexp "\[0-9a-f\]+\[ \]+\[0-9a-f\]+\[ \]+R_\[_0-9A-Z\]+_IREL(|ATIVE)\[ \]*\[0-9a-f\]*\n" [file_contents readelf.out]] } {
150 if [string match "" [file_contents readelf.out]] then {
155 if { ![regexp "\\(\\)" [file_contents readelf.out]] } {
  /build/tools/releasetools/
test_common.py 192 file_contents = os.urandom(1024)
193 self._test_ZipWrite(file_contents)
196 file_contents = os.urandom(1024)
197 self._test_ZipWrite(file_contents, {
202 self._test_ZipWrite(file_contents, {
209 file_contents = get_2gb_string()
210 self._test_ZipWrite(file_contents, {
  /external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
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),
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_suppressions.cc 65 char *file_contents; local
68 if (!ReadFileToBuffer(filename, &file_contents, &buffer_size,
75 Parse(file_contents);
  /toolchain/binutils/binutils-2.25/binutils/testsuite/binutils-all/
readelf.exp 33 proc file_contents { filename } {
62 [file_contents readelf.out] nil readelf_size] } {
64 verbose -log "output is \n[file_contents readelf.out]"
124 verbose "output is \n[file_contents readelf.out]" 2
250 if { [string compare [file_contents readelf.out] [file_contents $srcdir/$subdir/readelf.wa]] != 0 } then {
252 verbose "output is \n[file_contents readelf.out]" 2
253 verbose "expected is \n[file_contents $srcdir/$subdir/readelf.wa]" 2
  /external/autotest/client/site_tests/network_ShillInitScripts/
network_ShillInitScripts.py 323 def file_contents(self, filename): member in class: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/chromium-trace/catapult/devil/devil/android/
flag_changer.py 125 file_contents = self._device.ReadFile(
127 assert file_contents == cmd_line, (
  /external/google-breakpad/src/tools/mac/dump_syms/
macho_dump.cc 161 ByteBuffer file_contents(reinterpret_cast<uint8_t *>(mapping)
165 if (!reader.Read(file_contents, file.cputype, file.cpusubtype)) {
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-unique/
unique.exp 73 [file_contents readelf.out] nil osabi] } {
103 if { ![regexp ".*\[ \]*OBJECT\[ \]+UNIQUE\[ \]+DEFAULT\[ \]+\[UND0-9\]+\[ \]+\[ab\]\n" [file_contents readelf.out]] } {
  /external/google-breakpad/src/processor/
microdump_processor_unittest.cc 62 void ReadFile(const string& file_name, string* file_contents) {
63 assert(file_contents);
74 *file_contents = string(&bytes[0], bytes.size());
  /toolchain/binutils/binutils-2.25/gas/testsuite/lib/
gas-defs.exp 39 set which_as [file_contents "gas.which"]
40 set tmp [file_contents "gas.version"]
95 set to_return [file_contents "$return_contents_of"]
700 verbose "pruned stderr is [file_contents "dump.stderr"]" 2
766 verbose_eval {[file_contents "dump.out"]} 3
769 verbose "output is [file_contents "dump.out"]" 2
841 proc file_contents { filename } {
898 verbose "output is [file_contents "dump.out"]" 2
917 verbose "output is [file_contents "dump.out"]" 2
  /external/libbrillo/brillo/message_loops/
base_message_loop.h 61 // Parses the contents of the file /proc/misc passed in |file_contents| and
64 static int ParseBinderMinor(const std::string& file_contents);
  /toolchain/binutils/binutils-2.25/ld/testsuite/lib/
ld-lib.exp 70 set tmp [prune_warnings [file_contents "ld.version"]]
110 set link_output [file_contents "ld.tmp"]
305 set exec_output [file_contents "ld.tmp"]
380 set exec_output [prune_warnings [file_contents "ld.stderr"]]
803 set comp_output [prune_warnings [file_contents "ld.tmp"]]
825 set comp_output [prune_warnings [file_contents "objcopy.tmp"]]
865 set comp_output [file_contents "ld.tmp"]
882 append comp_output [file_contents "ld.tmp"]
948 set comp_output [prune_warnings [file_contents "ld.tmp"]]
962 if { $verbose > 2 } then { verbose "output is [file_contents $dumpfile]" 3
    [all...]
  /system/tools/aidl/
generate_cpp_unittest.cpp 656 ASTTest(string file_path, string file_contents)
658 file_contents_(file_contents) {
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/elf/
elf.exp 30 verbose "output is [file_contents "dump.out"]" 2
46 verbose_eval {[file_contents "dump.out"]} 3
49 verbose "output is [file_contents "dump.out"]" 2
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-bootstrap/
bootstrap.exp 34 set tmp [file_contents "plugin-support"]
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-plugin/
plugin.exp 40 set plugin_name [file_contents "$base_dir/libldtestplug.la"]
  /external/protobuf/src/google/protobuf/compiler/
importer_unittest.cc 370 string file_contents; local
374 file_contents.append(reinterpret_cast<const char*>(data), size);
377 EXPECT_EQ(expected_contents, file_contents);

Completed in 1067 milliseconds

1 2