/external/chromium_org/third_party/angle/util/ |
D | shader_utils.cpp | 13 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/ |
D | json_file_value_serializer.cc | 46 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/ |
D | process_metrics_linux.cc | 41 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/ |
D | file.cc | 26 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/ |
D | util_unittest.cc | 29 ASSERT_TRUE(base::ReadFileToString(file, &contents)); in TEST() 48 ASSERT_TRUE(base::ReadFileToString(file, &contents)); in TEST()
|
D | chrome_launcher_unittest.cc | 40 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/ |
D | net_log_logger_unittest.cc | 38 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/ |
D | url_fetcher_response_writer_unittest.cc | 85 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/ |
D | extension_error_ui_util.cc | 40 std::string ReadFileToString(const base::FilePath& path) { in ReadFileToString() function 42 base::ReadFileToString(path, &data); in ReadFileToString() 136 base::Bind(&ReadFileToString, path), in HandleRequestFileSource()
|
D | extension_loader_handler.cc | 40 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/ |
D | nacl_gdb_browsertest.cc | 58 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/ |
D | cert_test_util.cc | 22 if (!base::ReadFileToString(cert_path, &cert_data)) in CreateCertificateListFromFile() 52 if (!base::ReadFileToString(cert_path, &cert_data)) in ImportCertFromFile()
|
/external/chromium_org/base/ |
D | sys_info_linux.cc | 33 base::ReadFileToString(base::FilePath("/proc/sys/kernel/shmmax"), &contents); in MaxSharedMemorySize() 84 ReadFileToString(FilePath("/proc/cpuinfo"), &contents); in CPUModelName()
|
/external/chromium_org/jingle/glue/ |
D | logging_unittest.cc | 87 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/ |
D | crl_set_dump.cc | 42 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/ |
D | zip_reader_unittest.cc | 152 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/ |
D | cpu_data_collector.cc | 89 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/ |
D | loadtime_measurement.h | 32 base::ReadFileToString(urls_file, &urls_string); in LoadtimeMeasurement() 45 base::ReadFileToString(pageload_html_file_, &output); in ProcessRequest()
|
/external/chromium_org/tools/gn/ |
D | function_write_file_unittest.cc | 54 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/ |
D | profile_shortcut_manager_unittest_win.cc | 809 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/ |
D | sxs_linux.cc | 71 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/ |
D | base_requests_server_unittest.cc | 92 base::ReadFileToString(temp_file, &contents); in TEST_F() 102 base::ReadFileToString(expected_path, &expected_contents); in TEST_F()
|
/external/chromium_org/chrome/common/importer/ |
D | firefox_importer_utils.cc | 63 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/ |
D | safe_picasa_albums_indexer.cc | 66 base::ReadFileToString( in ProcessFoldersBatch() 69 base::ReadFileToString( in ProcessFoldersBatch()
|
/external/chromium_org/base/files/ |
D | file_util.cc | 130 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()
|