HomeSort by relevance Sort by last modified time
    Searched refs:file_contents (Results 51 - 75 of 78) sorted by null

1 23 4

  /external/chromium_org/content/browser/tracing/
tracing_ui.cc 309 std::string file_contents; local
310 if (!args || args->empty() || !args->GetString(0, &file_contents)) {
358 file_contents,
  /external/chromium_org/content/common/
page_state_serialization_unittest.cc 206 std::string file_contents; local
207 if (!base::ReadFileToString(path, &file_contents)) {
213 EXPECT_TRUE(base::RemoveChars(file_contents, "\r\n", &trimmed_contents));
  /external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
importer_unittest.cc 364 string file_contents; local
368 file_contents.append(reinterpret_cast<const char*>(data), size);
371 EXPECT_EQ(expected_contents, file_contents);
command_line_interface_unittest.cc 416 string file_contents; local
417 if (!File::ReadFileToString(path, &file_contents)) {
420 if (!descriptor_set->ParseFromString(file_contents)) {
    [all...]
  /external/protobuf/src/google/protobuf/compiler/
importer_unittest.cc 364 string file_contents; local
368 file_contents.append(reinterpret_cast<const char*>(data), size);
371 EXPECT_EQ(expected_contents, file_contents);
command_line_interface_unittest.cc 390 string file_contents; local
391 if (!File::ReadFileToString(path, &file_contents)) {
394 if (!descriptor_set->ParseFromString(file_contents)) {
    [all...]
  /external/chromium_org/content/child/webcrypto/test/
test_helpers.cc 168 std::string file_contents; local
169 if (!base::ReadFileToString(file_path, &file_contents)) {
176 re2::RE2::GlobalReplace(&file_contents, re2::RE2("\\s*//.*"), "");
179 value->reset(base::JSONReader::Read(file_contents));
  /external/chromium_org/content/browser/download/
download_browsertest.cc 660 std::string file_contents; local
662 bool read = base::ReadFileToString(path, &file_contents);
672 EXPECT_EQ(expected_size, file_contents.size());
673 if (expected_size != file_contents.size())
677 EXPECT_EQ(value, file_contents);
678 if (memcmp(file_contents.c_str(), value.c_str(), expected_size) != 0)
735 std::string file_contents; local
737 download->GetFullPath(), &file_contents));
739 ASSERT_EQ(static_cast<size_t>(received_bytes), file_contents.size());
741 EXPECT_EQ(static_cast<char>((i * 2 + 15) % 256), file_contents[i]
    [all...]
base_file_unittest.cc 525 std::string file_contents; local
529 ASSERT_TRUE(base::ReadFileToString(new_path, &file_contents));
530 EXPECT_EQ(expected_contents, file_contents);
download_file_unittest.cc 501 std::string file_contents; local
502 ASSERT_TRUE(base::ReadFileToString(new_path, &file_contents));
503 EXPECT_NE(std::string(file_data), file_contents); local
  /external/chromium_org/ui/base/dragdrop/
os_exchange_data_provider_win.cc 374 const std::string& file_contents) {
381 storage = GetStorageForBytes(file_contents.data(), file_contents.length());
471 std::string* file_contents) const {
474 file_contents)) {
    [all...]
os_exchange_data_provider_aurax11.cc 421 const std::string& file_contents) {
448 std::string file_contents_copy = file_contents;
  /external/chromium_org/content/browser/indexed_db/
indexed_db_browsertest.cc 580 std::string file_contents; local
581 if (!base::ReadFileToString(resourcePath, &file_contents))
583 http_response->set_content(file_contents);
  /external/chromium_org/net/proxy/
proxy_resolver_v8_unittest.cc 122 std::string file_contents; local
123 bool ok = base::ReadFileToString(path, &file_contents);
132 return SetPacScript(ProxyResolverScriptData::FromUTF8(file_contents),
proxy_resolver_v8_tracing_unittest.cc 51 std::string file_contents; local
52 bool ok = base::ReadFileToString(path, &file_contents);
58 return ProxyResolverScriptData::FromUTF8(file_contents);
    [all...]
  /external/chromium_org/ui/base/clipboard/
clipboard_util_win.cc 295 base::string16* filename, std::string* file_contents) {
296 DCHECK(data_object && filename && file_contents);
308 file_contents->assign(data.get(), data.Size());
  /external/chromium_org/chrome/browser/web_dev_style/
css_checker.py 333 file_contents = _remove_all('\n'.join(f.NewContents()))
334 files.append((f.LocalPath(), file_contents))
  /external/chromium_org/chrome/browser/safe_browsing/
download_protection_service_unittest.cc 817 std::string file_contents = "dummy file"; local
818 ASSERT_EQ(static_cast<int>(file_contents.size()), base::WriteFile(
820 file_contents.data(), file_contents.size()));
901 std::string file_contents = "corrupt zip file"; local
    [all...]
  /external/chromium_org/chrome/browser/sync/test/integration/
sync_test.cc 540 std::string file_contents; local
541 base::ReadFileToString(password_file_, &file_contents);
542 ASSERT_NE(file_contents, "") << "Password file \""
546 Tokenize(file_contents, delimiters, &tokens);
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/
scm_unittest.py 573 file_contents = ''.join(map(chr, range(256)))
574 self._write_binary_file(test_file_path, file_contents)
581 self._write_binary_file(test_file_path, file_contents)
  /external/chromium_org/base/files/
file_util_unittest.cc     [all...]
  /external/chromium_org/chrome/browser/policy/test/
policy_testserver.py     [all...]
  /external/chromium_org/chrome/browser/download/
download_browsertest.cc 820 std::string file_contents; local
822 bool read = base::ReadFileToString(path, &file_contents);
832 EXPECT_EQ(expected_size, file_contents.size());
833 if (expected_size != file_contents.size())
837 EXPECT_EQ(value, file_contents);
838 if (memcmp(file_contents.c_str(), value.c_str(), expected_size) != 0)
    [all...]
  /external/chromium_org/content/browser/web_contents/
web_contents_view_aura.cc 234 provider->SetFileContents(file_name, drop_data.file_contents);
362 if (!drop_data.file_contents.empty())
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
doctest.py 215 file_contents = package.__loader__.get_data(filename)
218 return file_contents.replace(os.linesep, '\n'), filename
    [all...]

Completed in 1024 milliseconds

1 23 4