/external/chromium_org/tools/gn/ |
function_read_file.cc | 64 std::string file_contents; local 65 if (!base::ReadFileToString(file_path, &file_contents)) { 71 return ConvertInputToValue(scope->settings(), file_contents, function,
|
/external/chromium_org/chrome/browser/extensions/api/push_messaging/ |
sync_setup_helper.cc | 53 std::string file_contents; local 54 bool success = base::ReadFileToString(password_file, &file_contents); 63 Tokenize(file_contents, delimiters, &tokens);
|
/external/chromium_org/net/url_request/ |
url_fetcher_response_writer_unittest.cc | 84 std::string file_contents; local 85 EXPECT_TRUE(base::ReadFileToString(writer_->file_path(), &file_contents)); 86 EXPECT_EQ(kData, file_contents); 106 std::string file_contents; local 107 EXPECT_TRUE(base::ReadFileToString(writer_->file_path(), &file_contents)); 108 EXPECT_EQ(kData, file_contents); 122 file_contents.clear(); 123 EXPECT_TRUE(base::ReadFileToString(writer_->file_path(), &file_contents)); 124 EXPECT_EQ(data2, file_contents); 169 std::string file_contents; local [all...] |
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
removable_storage_provider_linux.cc | 32 std::string file_contents; local 35 if (!base::ReadFileToString(info_file_path, &file_contents)) { 39 base::StringToInt(file_contents, &blk_size);
|
/external/chromium_org/chrome/browser/ui/webui/ |
profiler_ui.cc | 85 std::string file_contents; variable 86 if (!base::ReadFileToString(file_path, &file_contents)) 90 response->data() = file_contents;
|
/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());
|
image_loader.cc | 80 std::string file_contents; local 82 if (path.empty() || !base::ReadFileToString(path, &file_contents)) { 87 reinterpret_cast<const unsigned char*>(file_contents.data()); 94 gfx::PNGCodec::Decode(data, file_contents.length(), bitmap);
|
/external/chromium_org/content/browser/devtools/ |
devtools_http_handler_unittest.cc | 162 std::string file_contents; local 163 EXPECT_TRUE(base::ReadFileToString(active_port_file, &file_contents)); 165 EXPECT_TRUE(base::StringToInt(file_contents, &port));
|
/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/content/public/common/ |
drop_data.h | 72 std::string file_contents; member in struct:content::DropData
|
/external/chromium_org/net/ocsp/ |
nss_ocsp_unittest.cc | 81 std::string file_contents; local 84 &file_contents)); 85 ASSERT_FALSE(file_contents.empty()); 90 new AiaResponseHandler(kAiaHeaders, file_contents));
|
/external/chromium_org/net/quic/ |
quic_in_memory_cache.cc | 120 string file_contents; local 121 base::ReadFileToString(file, &file_contents); 123 if (file_contents.length() > INT_MAX) { 125 << file_contents.length(); 128 int file_len = static_cast<int>(file_contents.length()); 130 int headers_end = HttpUtil::LocateEndOfHeaders(file_contents.data(), 138 HttpUtil::AssembleRawHeaders(file_contents.data(), headers_end); 167 StringPiece body(file_contents.data() + headers_end, 168 file_contents.size() - headers_end);
|
/external/chromium_org/chrome/browser/extensions/ |
extension_action_icon_factory_unittest.cc | 69 std::string file_contents; local 70 base::ReadFileToString(path, &file_contents); 72 reinterpret_cast<const unsigned char*>(file_contents.data()); 75 gfx::PNGCodec::Decode(data, file_contents.length(), &bitmap);
|
/external/chromium_org/chrome/utility/extensions/ |
unpacker.cc | 50 std::string file_contents; local 52 !base::ReadFileToString(path, &file_contents)) { 58 reinterpret_cast<const unsigned char*>(file_contents.data()); 61 file_contents.length());
|
/external/chromium_org/net/proxy/ |
proxy_resolver_perftest.cc | 165 std::string file_contents; local 166 bool ok = base::ReadFileToString(path, &file_contents); 174 net::ProxyResolverScriptData::FromUTF8(file_contents),
|
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/net/tools/quic/ |
quic_in_memory_cache.cc | 158 string file_contents; local 159 base::ReadFileToString(file, &file_contents); 167 while (processed < file_contents.length() && 169 processed += framer.ProcessInput(file_contents.c_str() + processed, 170 file_contents.length() - processed); 175 << " (" << processed << " of " << file_contents.length() 178 if (processed < file_contents.length()) { 182 caching_visitor.AppendToBody(file_contents.c_str() + processed, 183 file_contents.length() - processed); 184 processed += file_contents.length() [all...] |
/external/chromium_org/ui/base/dragdrop/ |
os_exchange_data_win_unittest.cc | 289 std::string file_contents = "[InternetShortcut]\r\nURL="; local 290 file_contents += url_spec; 291 file_contents += "\r\n"; 292 EXPECT_EQ(file_contents, output); 299 std::string file_contents("data\0with\0nulls", 15); 300 data.SetFileContents(base::FilePath(L"filename.txt"), file_contents); 307 EXPECT_EQ(file_contents, read_contents);
|
/external/chromium_org/content/browser/download/ |
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);
|
/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/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/net/disk_cache/simple/ |
simple_index_file_unittest.cc | 275 disk_cache::FakeIndexData file_contents; local 276 file_contents.initial_magic_number = disk_cache::kSimpleInitialMagicNumber; 277 file_contents.version = 5; 278 int bytes_written = file.Write(0, reinterpret_cast<char*>(&file_contents), 279 sizeof(file_contents)); 280 ASSERT_EQ((int)sizeof(file_contents), bytes_written);
|
/external/chromium_org/net/test/embedded_test_server/ |
embedded_test_server.cc | 62 std::string file_contents; local 63 if (!base::ReadFileToString(file_path, &file_contents)) 75 new CustomHttpResponse(headers_contents, file_contents)); 81 http_response->set_content(file_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);
|