Home
last modified time | relevance | path

Searched refs:ReadFileToString (Results 1 – 25 of 96) sorted by relevance

1234

/external/chromium/base/
Dprocess_util_linux.cc44 if (!file_util::ReadFileToString(stat_file, &mem_stats)) in GetProcStats()
63 if (!file_util::ReadFileToString(cmd_line_file, &cmd_line)) in GetProcCmdline()
93 if (file_util::ReadFileToString(stat_path, &stat)) { in GetProcessCPU()
116 if (!file_util::ReadFileToString(stat_file, &status)) in GetParentProcessId()
357 ret = file_util::ReadFileToString(smaps_file, &smaps); in GetWorkingSetKBytes()
402 ret = file_util::ReadFileToString(statm_file, &statm); in GetWorkingSetKBytes()
480 if (!file_util::ReadFileToString(io_file, &proc_io_contents)) in GetIOCounters()
571 if (!file_util::ReadFileToString(meminfo_file, &meminfo_data)) { in GetSystemCommitCharge()
Dsys_info_linux.cc29 file_util::ReadFileToString(FilePath("/proc/sys/kernel/shmmax"), &contents); in MaxSharedMemorySize()
Dsys_info_chromeos.cc58 if (file_util::ReadFileToString(path, &contents)) { in OperatingSystemVersionNumbers()
/external/chromium/chrome/browser/importer/
Dfirefox_importer_utils.cc100 file_util::ReadFileToString(compatibility_file, &content); in GetFirefoxVersionAndPathFromProfile()
131 file_util::ReadFileToString(file, &content); in ParseProfileINI()
199 file_util::ReadFileToString(*file_iter, &content); in ParseSearchEnginesFromXMLFiles()
248 file_util::ReadFileToString(path, content); in ReadPrefFile()
366 if (!file_util::ReadFileToString(pref_file, &contents)) in ParsePrefFile()
/external/chromium/net/ftp/
Dftp_directory_listing_parser_unittest.cc86 EXPECT_TRUE(file_util::ReadFileToString(test_dir.AppendASCII(test_files[i]), in TEST()
95 ASSERT_TRUE(file_util::ReadFileToString( in TEST()
/external/protobuf/src/google/protobuf/testing/
Dfile.cc65 bool File::ReadFileToString(const string& name, string* output) { in ReadFileToString() function in google::protobuf::File
82 GOOGLE_CHECK(ReadFileToString(name, output)) << "Could not read: " << name; in ReadFileToStringOrDie()
Dfile.h53 static bool ReadFileToString(const string& name, string* output);
/external/chromium/chrome/common/extensions/
Dextension_unpacker.cc50 !file_util::ReadFileToString(path, &file_contents)) { in DecodeImage()
248 if (!file_util::ReadFileToString(path, &file_str)) in ReadImagesFromFile()
262 if (!file_util::ReadFileToString(path, &file_str)) in ReadMessageCatalogsFromFile()
/external/chromium/chrome/browser/chromeos/
Dversion_loader.cc145 if (file_util::ReadFileToString(file_path, &contents)) { in GetVersion()
190 if (file_util::ReadFileToString(file_path, &contents)) { in GetFirmware()
Dboot_times_loader.cc114 if (file_util::ReadFileToString(log_file, &contents)) { in GetTime()
321 file_util::ReadFileToString(kProcUptime, &stats.uptime); in GetCurrentStats()
322 file_util::ReadFileToString(kDiskStat, &stats.disk); in GetCurrentStats()
/external/valgrind/tsan/
Dcommon_util.h48 string ReadFileToString(const string &file_name, bool die_if_failed);
Dcommon_util.cc115 string ReadFileToString(const string &file_name, bool die_if_failed) { in ReadFileToString() function
/external/chromium/net/base/
Dcert_test_util.cc29 if (!file_util::ReadFileToString(cert_path, &cert_data)) in ImportCertFromFile()
Dtest_root_certs.cc26 if (!file_util::ReadFileToString(filename, &raw_cert)) { in LoadCertificates()
/external/chromium/chrome/browser/extensions/
Dfile_reader.cc29 bool success = file_util::ReadFileToString(resource_.GetFilePath(), &data); in ReadFileOnBackgroundThread()
Dautoupdate_interceptor.cc65 EXPECT_TRUE(file_util::ReadFileToString(i->second, &contents)); in MaybeIntercept()
Dfile_reader_unittest.cc62 bool file_exists = file_util::ReadFileToString(path, &file_contents); in RunBasicTest()
Dextension_resource_request_policy_apitest.cc64 ASSERT_TRUE(file_util::ReadFileToString( in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/history/
Dhistory_unittest_base.cc20 ASSERT_TRUE(file_util::ReadFileToString(sql_path, &sql)); in ExecuteSQLScript()
/external/chromium/chrome/browser/
Dicon_loader_linux.cc30 file_util::ReadFileToString(filename_, &icon_data_); in ReadIcon()
Dtransport_security_persister.cc41 if (!file_util::ReadFileToString(state_file_, &state)) in Load()
/external/chromium/chrome/browser/google/
Dgoogle_update_settings_posix.cc25 bool consented = file_util::ReadFileToString(consent_file, &tmp_guid); in GetCollectStatsConsent()
/external/chromium/chrome/common/
Djson_value_serializer_perftest.cc34 EXPECT_TRUE(file_util::ReadFileToString(filename, &test_case)); in SetUp()
/external/chromium/chrome/browser/autofill/
Ddata_driven_test.cc18 if (!file_util::ReadFileToString(file, content)) in ReadFile()
/external/chromium/chrome/browser/chromeos/cros/
Dsyslogs_library.cc129 if (!file_util::ReadFileToString(zip_file, zip_content)) { in LoadCompressedLogs()

1234