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

1 2 3 4

  /external/skia/gm/
gm_json.py 109 def LoadFromString(file_contents):
116 json_dict = json.loads(file_contents)
123 file_contents = open(file_path, 'r').read()
124 return LoadFromString(file_contents)
  /external/chromium/googleurl/
PRESUBMIT_unittest.py 46 self.file_contents = ''
49 return self.file_contents
65 self.file_contents = 'file with \n\terror\nhere\r\nyes there'
69 self.file_contents = 'file\twith\ttabs'
73 self.file_contents = 'file\rusing\rCRs'
79 self.file_contents = 'both\ttabs and\r\nCRLF'
83 self.file_contents = 'file with\nzero \\t errors \\r\\n'
  /external/chromium_org/chrome/common/extensions/docs/server2/
directory_zipper.py 35 file_contents = future.Get()
36 if isinstance(file_contents, unicode):
38 file_contents = file_contents.encode('utf8')
43 zip_file.writestr(posixpath.join(dir_name, file_name), file_contents)
test_file_system.py 91 file_contents = Resolve(parts)
92 if not isinstance(file_contents, basestring):
95 (path, parts, file_contents))
96 return file_contents
  /external/chromium_org/tools/gn/
function_read_file.cc 62 std::string file_contents; local
63 if (!base::ReadFileToString(file_path, &file_contents)) {
69 return ConvertInputToValue(file_contents, function, args[1], err);
  /external/chromium_org/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/chromium_org/net/disk_cache/simple/
simple_version_upgrade_unittest.cc 69 const std::string file_contents("incorrectly serialized data");
71 ASSERT_EQ(implicit_cast<int>(file_contents.size()),
73 index_file, file_contents.data(), file_contents.size()));
96 const std::string file_contents("incorrectly serialized data");
98 ASSERT_EQ(implicit_cast<int>(file_contents.size()),
100 index_file, file_contents.data(), file_contents.size()));
109 file_contents +
128 file_contents
    [all...]
simple_version_upgrade.cc 38 disk_cache::FakeIndexData file_contents; local
39 file_contents.initial_magic_number =
41 file_contents.version = disk_cache::kSimpleVersion;
43 file, 0, reinterpret_cast<char*>(&file_contents), sizeof(file_contents));
45 bytes_written != sizeof(file_contents)) {
  /external/chromium/webkit/glue/
webdropdata.cc 35 file_contents.assign(contents.data(), contents.size());
55 result.setFileContent(WebData(file_contents.data(), file_contents.size()));
webdropdata.h 56 std::string file_contents; member in struct:WebDropData
webdropdata_win.cc 32 &drop_data->file_description_filename, &drop_data->file_contents);
  /external/chromium_org/chrome/browser/extensions/api/push_messaging/
sync_setup_helper.cc 52 std::string file_contents; local
53 bool success = base::ReadFileToString(password_file, &file_contents);
62 Tokenize(file_contents, delimiters, &tokens);
  /external/chromium_org/net/tools/quic/
quic_in_memory_cache.cc 146 string file_contents; local
147 base::ReadFileToString(file, &file_contents);
155 while (processed < file_contents.length() &&
157 processed += framer.ProcessInput(file_contents.c_str() + processed,
158 file_contents.length() - processed);
165 << " (" << processed << " of " << file_contents.length()
168 if (processed < file_contents.length()) {
172 caching_visitor.AppendToBody(file_contents.c_str() + processed,
173 file_contents.length() - processed);
174 processed += file_contents.length()
    [all...]
  /external/chromium_org/tools/grit/grit/format/
rc_unittest.py 215 file_contents = util.ReadFile(output_file, util.RAW_TEXT)
218 self.failUnless(file_contents.find('Hello Include!') != -1)
220 self.failUnless(file_contents.find('should be removed') == -1)
222 self.failUnless(file_contents.find('should be kept') != -1)
223 self.failUnless(file_contents.find('in the middle...') != -1)
224 self.failUnless(file_contents.find('at the end...') != -1)
226 self.failUnless(file_contents.find('nested true should be kept') != -1)
227 self.failUnless(file_contents.find('silbing true should be kept') != -1)
229 self.failUnless(file_contents.find('<if expr=') == -1)
230 self.failUnless(file_contents.find('</if>') == -1
    [all...]
  /external/chromium/chrome/browser/extensions/
file_reader_unittest.cc 61 std::string file_contents; local
62 bool file_exists = file_util::ReadFileToString(path, &file_contents);
73 EXPECT_EQ(file_contents, receiver.data());
  /external/chromium_org/chrome/browser/extensions/api/image_writer_private/
removable_storage_provider_linux.cc 33 std::string file_contents; local
36 if (!base::ReadFileToString(info_file_path, &file_contents)) {
40 base::StringToInt(file_contents, &blk_size);
  /external/chromium_org/extensions/browser/
file_reader_unittest.cc 63 std::string file_contents; local
64 ASSERT_TRUE(base::ReadFileToString(path, &file_contents));
75 EXPECT_EQ(file_contents, receiver.data());
  /external/chromium_org/content/common/
drag_traits.h 32 IPC_STRUCT_TRAITS_MEMBER(file_contents)
  /external/chromium_org/net/ocsp/
nss_ocsp_unittest.cc 80 std::string file_contents; local
83 &file_contents));
84 ASSERT_FALSE(file_contents.empty());
89 new AiaResponseHandler(kAiaHeaders, file_contents));
  /external/chromium_org/build/
gyp_helper.py 19 file_contents = f.read()
21 file_data = eval(file_contents, {'__builtins__': None}, None)
  /external/skia/tools/copyright/
fileparser.py 76 def FindAllCommentBlocks(self, file_contents):
79 return self._comment_pattern.findall(file_contents)
  /external/chromium_org/build/android/pylib/
flag_changer.py 103 file_contents = self._adb.GetProtectedFileContents(self._cmdline_file)
106 file_contents = self._adb.GetFileContents(self._cmdline_file)
107 assert len(file_contents) == 1 and file_contents[0] == cmd_line, (
  /external/chromium_org/content/public/common/
drop_data.h 66 std::string file_contents; member in struct:content::DropData
  /external/chromium_org/ui/base/dragdrop/
os_exchange_data.cc 109 if ((formats & FILE_CONTENTS) != 0 && !provider_->HasFileContents())
134 if ((formats & FILE_CONTENTS) != 0 && provider_->HasFileContents())
153 const std::string& file_contents) {
154 provider_->SetFileContents(filename, file_contents);
158 std::string* file_contents) const {
159 return provider_->GetFileContents(filename, file_contents);
os_exchange_data.h 64 FILE_CONTENTS = 1 << 4,
130 const std::string& file_contents) = 0;
132 std::string* file_contents) const = 0;
221 const std::string& file_contents);
223 std::string* file_contents) const;

Completed in 501 milliseconds

1 2 3 4