Home
last modified time | relevance | path

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

12345678910>>...13

/external/chromium_org/third_party/angle/util/
Dshader_utils.cpp13 static std::string ReadFileToString(const std::string &source) in ReadFileToString() function
63 std::string source = ReadFileToString(sourcePath); in CompileShaderFromFile()
117 std::string vsSource = ReadFileToString(vsPath); in CompileProgramFromFiles()
118 std::string fsSource = ReadFileToString(fsPath); in CompileProgramFromFiles()
/external/chromium_org/base/json/
Djson_file_value_serializer.cc46 int JSONFileValueSerializer::ReadFileToString(std::string* json_string) { in ReadFileToString() function in JSONFileValueSerializer
48 if (!base::ReadFileToString(json_file_path_, json_string)) { in ReadFileToString()
86 int error = ReadFileToString(&json_string); in Deserialize()
/external/chromium_org/base/process/
Dprocess_metrics_linux.cc41 if (!ReadFileToString(file, &file_as_string)) in ReadFileToUint64()
59 if (!ReadFileToString(stat_file, &status)) in ReadProcStatusAndGetFieldAsSizeT()
100 if (!ReadFileToString(sched_file, &sched_data)) in ReadProcSchedAndGetFieldAsUint64()
146 if (ReadFileToString(stat_path, &stat)) { in GetProcessCPU()
248 if (!ReadFileToString(io_file, &proc_io_contents)) in GetIOCounters()
314 bool ret = ReadFileToString(totmaps_file, &totmaps_data); in GetWorkingSetKBytesTotmaps()
366 bool ret = ReadFileToString(statm_file, &statm); in GetWorkingSetKBytesStatm()
642 if (!ReadFileToString(meminfo_file, &meminfo_data)) { in GetSystemMemoryInfo()
664 if (ReadFileToString(geminfo_file, &geminfo_data)) { in GetSystemMemoryInfo()
680 if (ReadFileToString(mali_memory_file, &mali_memory_data)) { in GetSystemMemoryInfo()
[all …]
/external/chromium_org/gin/test/
Dfile.cc26 v8::Handle<v8::Value> ReadFileToString(gin::Arguments* args) { in ReadFileToString() function
33 if (!ReadFileToString(path, &contents)) in ReadFileToString()
77 .SetMethod("readFileToString", ReadFileToString) in GetModule()
/external/chromium_org/chrome/test/chromedriver/
Dutil_unittest.cc29 ASSERT_TRUE(base::ReadFileToString(file, &contents)); in TEST()
48 ASSERT_TRUE(base::ReadFileToString(file, &contents)); in TEST()
Dchrome_launcher_unittest.cc40 if (!base::ReadFileToString(crx_file_path, &crx_contents)) in AddExtensionForInstall()
90 ASSERT_TRUE(base::ReadFileToString( in TEST()
182 ASSERT_TRUE(base::ReadFileToString(prefs_file, &prefs_str)); in TEST()
192 ASSERT_TRUE(base::ReadFileToString(local_state_file, &local_state_str)); in TEST()
/external/chromium_org/net/base/
Dnet_log_logger_unittest.cc38 ASSERT_TRUE(base::ReadFileToString(log_path_, &input)); in TEST_F()
70 ASSERT_TRUE(base::ReadFileToString(log_path_, &input)); in TEST_F()
105 ASSERT_TRUE(base::ReadFileToString(log_path_, &input)); in TEST_F()
/external/chromium_org/net/url_request/
Durl_fetcher_response_writer_unittest.cc85 EXPECT_TRUE(base::ReadFileToString(writer_->file_path(), &file_contents)); in TEST_F()
107 EXPECT_TRUE(base::ReadFileToString(writer_->file_path(), &file_contents)); in TEST_F()
123 EXPECT_TRUE(base::ReadFileToString(writer_->file_path(), &file_contents)); in TEST_F()
170 EXPECT_TRUE(base::ReadFileToString(writer_->file_path(), &file_contents)); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/extensions/
Dextension_error_ui_util.cc40 std::string ReadFileToString(const base::FilePath& path) { in ReadFileToString() function
42 base::ReadFileToString(path, &data); in ReadFileToString()
136 base::Bind(&ReadFileToString, path), in HandleRequestFileSource()
Dextension_loader_handler.cc40 std::string ReadFileToString(const base::FilePath& path) { in ReadFileToString() function
44 base::ReadFileToString(path, &data); in ReadFileToString()
258 base::Bind(&ReadFileToString, file_path.Append(kManifestFilename)), in OnLoadFailure()
/external/chromium_org/chrome/browser/nacl_host/test/
Dnacl_gdb_browsertest.cc58 EXPECT_TRUE(base::ReadFileToString(mock_nacl_gdb_file, &content)); in RunWithNaClGdb()
63 EXPECT_TRUE(base::ReadFileToString(script_, &content)); in RunWithNaClGdb()
/external/chromium_org/net/test/
Dcert_test_util.cc22 if (!base::ReadFileToString(cert_path, &cert_data)) in CreateCertificateListFromFile()
52 if (!base::ReadFileToString(cert_path, &cert_data)) in ImportCertFromFile()
/external/chromium_org/base/
Dsys_info_linux.cc33 base::ReadFileToString(base::FilePath("/proc/sys/kernel/shmmax"), &contents); in MaxSharedMemorySize()
84 ReadFileToString(FilePath("/proc/cpuinfo"), &contents); in CPUModelName()
/external/chromium_org/jingle/glue/
Dlogging_unittest.cc87 base::ReadFileToString(file_path, &contents_of_file); in TEST()
114 base::ReadFileToString(file_path, &contents_of_file); in TEST()
148 base::ReadFileToString(file_path, &contents_of_file); in TEST()
/external/chromium_org/net/tools/crl_set_dump/
Dcrl_set_dump.cc42 if (!base::ReadFileToString(crl_set_filename, &crl_set_bytes)) in main()
45 !base::ReadFileToString(delta_filename, &delta_bytes)) { in main()
/external/chromium_org/third_party/zlib/google/
Dzip_reader_unittest.cc152 if (!base::ReadFileToString(path, &output)) in CompareFileAndMD5()
262 ASSERT_TRUE(base::ReadFileToString(test_dir_.AppendASCII("quux.txt"), in TEST_F()
281 ASSERT_TRUE(base::ReadFileToString(test_dir_.AppendASCII("quux.txt"), in TEST_F()
302 ASSERT_TRUE(base::ReadFileToString(test_dir_.AppendASCII("quux.txt"), in TEST_F()
333 ASSERT_TRUE(base::ReadFileToString( in TEST_F()
462 ASSERT_TRUE(base::ReadFileToString( in TEST_F()
496 ASSERT_TRUE(base::ReadFileToString(test_dir_.AppendASCII("quux.txt"), in TEST_F()
/external/chromium_org/chrome/browser/chromeos/power/
Dcpu_data_collector.cc89 if (base::ReadFileToString(base::FilePath(cpu_online_file), in CpuIsOnline()
143 if (!base::ReadFileToString(base::FilePath(name_file_path), in SampleCpuIdleData()
145 !base::ReadFileToString(base::FilePath(time_file_path), in SampleCpuIdleData()
225 if (!base::ReadFileToString(base::FilePath(time_in_state_path), in SampleCpuFreqData()
308 if (base::ReadFileToString(base::FilePath(possible_cpu_path), in SampleCpuStateOnBlockingPool()
/external/chromium_org/net/tools/flip_server/
Dloadtime_measurement.h32 base::ReadFileToString(urls_file, &urls_string); in LoadtimeMeasurement()
45 base::ReadFileToString(pageload_html_file_, &output); in ProcessRequest()
/external/chromium_org/tools/gn/
Dfunction_write_file_unittest.cc54 EXPECT_TRUE(base::ReadFileToString(foo_name, &result_contents)); in TEST()
62 EXPECT_TRUE(base::ReadFileToString(foo_name, &result_contents)); in TEST()
/external/chromium_org/chrome/browser/profiles/
Dprofile_shortcut_manager_unittest_win.cc809 EXPECT_TRUE(base::ReadFileToString(icon_path_1, &unbadged_icon_1)); in TEST_F()
817 EXPECT_TRUE(base::ReadFileToString(icon_path_1, &badged_icon_1)); in TEST_F()
819 EXPECT_TRUE(base::ReadFileToString(icon_path_2, &badged_icon_2)); in TEST_F()
830 EXPECT_TRUE(base::ReadFileToString(icon_path_2, &unbadged_icon_2)); in TEST_F()
844 EXPECT_TRUE(base::ReadFileToString(icon_path_1, &badged_icon_1)); in TEST_F()
846 EXPECT_TRUE(base::ReadFileToString(icon_path_2, &badged_icon_2)); in TEST_F()
856 EXPECT_TRUE(base::ReadFileToString(icon_path_1, &new_badged_icon_1)); in TEST_F()
864 EXPECT_TRUE(base::ReadFileToString(icon_path_1, &unbadged_icon_1)); in TEST_F()
872 EXPECT_TRUE(base::ReadFileToString(icon_path_1, &unbadged_icon_1_a)); in TEST_F()
/external/chromium_org/chrome/browser/
Dsxs_linux.cc71 if (base::ReadFileToString(channels_path, &channels_contents)) in DoAddChannelMarkToUserDataDir()
124 if (!base::ReadFileToString(channels_path, &channels_contents)) { in MigrateUserDataDir()
/external/chromium_org/google_apis/drive/
Dbase_requests_server_unittest.cc92 base::ReadFileToString(temp_file, &contents); in TEST_F()
102 base::ReadFileToString(expected_path, &expected_contents); in TEST_F()
/external/chromium_org/chrome/common/importer/
Dfirefox_importer_utils.cc63 base::ReadFileToString(ini_file, &content); in GetFirefoxProfilePath()
138 base::ReadFileToString(compatibility_file, &content); in GetFirefoxVersionAndPathFromProfile()
177 base::ReadFileToString(path, content); in ReadPrefFile()
304 base::ReadFileToString(app_ini_file, &content); in GetFirefoxImporterName()
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Dsafe_picasa_albums_indexer.cc66 base::ReadFileToString( in ProcessFoldersBatch()
69 base::ReadFileToString( in ProcessFoldersBatch()
/external/chromium_org/base/files/
Dfile_util.cc130 bool ReadFileToString(const FilePath& path, in ReadFileToString() function
166 bool ReadFileToString(const FilePath& path, std::string* contents) { in ReadFileToString() function
167 return ReadFileToString(path, contents, std::numeric_limits<size_t>::max()); in ReadFileToString()

12345678910>>...13