/external/libchrome/base/process/ |
D | process_metrics_linux.cc | 46 if (!ReadFileToString(file, &file_as_string)) in ReadFileToUint64() 64 if (!ReadFileToString(stat_file, &status)) in ReadProcStatusAndGetFieldAsSizeT() 106 if (!ReadFileToString(sched_file, &sched_data)) in ReadProcSchedAndGetFieldAsUint64() 152 if (ReadFileToString(stat_path, &stat)) { in GetProcessCPU() 265 if (!ReadFileToString(io_file, &proc_io_contents)) in GetIOCounters() 351 bool ret = ReadFileToString(totmaps_file, &totmaps_data); in GetWorkingSetKBytesTotmaps() 404 bool ret = ReadFileToString(statm_file, &statm); in GetWorkingSetKBytesStatm() 708 if (!ReadFileToString(meminfo_file, &meminfo_data)) { in GetSystemMemoryInfo() 730 if (ReadFileToString(geminfo_file, &geminfo_data)) { in GetSystemMemoryInfo() 746 if (ReadFileToString(mali_memory_file, &mali_memory_data)) { in GetSystemMemoryInfo() [all …]
|
D | process_iterator_linux.cc | 50 if (!ReadFileToString(cmd_line_file, &cmd_line)) in GetProcCmdline()
|
D | internal_linux.cc | 58 if (!ReadFileToString(file, buffer)) { in ReadProcFile()
|
/external/libchrome/base/json/ |
D | json_file_value_serializer.cc | 65 int JSONFileValueDeserializer::ReadFileToString(std::string* json_string) { in ReadFileToString() function in JSONFileValueDeserializer 67 if (!base::ReadFileToString(json_file_path_, json_string)) { in ReadFileToString() 108 int error = ReadFileToString(&json_string); in Deserialize()
|
D | json_file_value_serializer.h | 96 int ReadFileToString(std::string* json_string);
|
/external/protobuf/src/google/protobuf/testing/ |
D | file.h | 53 static bool ReadFileToString(const string& name, string* output); 85 return ReadFileToString(name, output); in GetContents()
|
D | file.cc | 65 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()
|
/external/libbrillo/brillo/ |
D | process_unittest.cc | 177 EXPECT_TRUE(base::ReadFileToString(FilePath(output_file_), &contents)); in CheckStderrCaptured() 210 EXPECT_TRUE(base::ReadFileToString(GetFdPath(pipe_fd), &contents)); in TEST_F() 238 EXPECT_TRUE(base::ReadFileToString(GetFdPath(pipe_fd), &contents)); in TEST_F() 278 EXPECT_TRUE(base::ReadFileToString(FilePath(output_file_), &contents)); in TEST_F() 288 EXPECT_TRUE(base::ReadFileToString(FilePath(output_file_), &contents)); in TEST_F()
|
D | key_value_store_unittest.cc | 19 using base::ReadFileToString; 56 ASSERT_TRUE(ReadFileToString(FilePath(saved_temp_file_), &read_blob)); in TEST_F()
|
D | test_helpers.h | 21 EXPECT_TRUE(base::ReadFileToString(base::FilePath(file_path), &contents)); in ExpectFileEquals()
|
D | osrelease_reader.cc | 43 if (!base::ReadFileToString(path, &content)) { in Load()
|
D | key_value_store.cc | 42 if (!base::ReadFileToString(path, &file_data)) in Load()
|
D | file_utils_unittest.cc | 40 EXPECT_TRUE(base::ReadFileToString(file_path_, &new_contents)); in ExpectFileContains()
|
/external/avb/test/ |
D | avbtool_unittest.cc | 70 ASSERT_TRUE(base::ReadFileToString(path, &printed_version)); in TEST_F() 536 ASSERT_TRUE(base::ReadFileToString(rootfs_path, &part_data)); in AddHashFooterTest() 718 EXPECT_TRUE(base::ReadFileToString(output_path, &max_image_size_data)); in TEST_F() 878 ASSERT_TRUE(base::ReadFileToString(rootfs_path, &part_data)); in AddHashtreeFooterTest() 1104 ASSERT_TRUE(base::ReadFileToString(rootfs_path, &part_data)); in AddHashtreeFooterFECTest() 1233 EXPECT_TRUE(base::ReadFileToString(output_path, &max_image_size_data)); in TEST_F() 1268 EXPECT_TRUE(base::ReadFileToString(output_path, &max_image_size_data)); in TEST_F() 1326 ASSERT_TRUE(base::ReadFileToString(vbmeta_path, &image_data)); in TEST_F() 1458 ASSERT_TRUE(base::ReadFileToString(vbmeta_path, &image_data)); in TEST_F() 1475 ASSERT_TRUE(base::ReadFileToString(pk_path, &pk_data)); in TEST_F() [all …]
|
D | avb_unittest_util.h | 129 EXPECT_TRUE(base::ReadFileToString(tmp_path, &info_data)); in InfoImage() 142 EXPECT_TRUE(base::ReadFileToString(tmp_path, &key_data)); in PublicKeyAVB()
|
D | avb_atx_validate_unittest.cc | 225 ASSERT_TRUE(base::ReadFileToString(base::FilePath(kMetadataPath), &tmp)); in ReadDefaultData() 229 base::ReadFileToString(base::FilePath(kPermanentAttributesPath), &tmp)); in ReadDefaultData() 639 base::ReadFileToString(base::FilePath(kPermanentAttributesPath), &tmp)); in ReadAtxDefaultData()
|
/external/libchrome/base/ |
D | sys_info_linux.cc | 62 ReadFileToString(FilePath("/proc/cpuinfo"), &contents); in CPUModelName()
|
D | cpu.cc | 109 ReadFileToString(FilePath("/proc/cpuinfo"), &contents); in LazyCpuInfoValue()
|
D | sys_info_chromeos.cc | 77 ReadFileToString(path, &lsb_release); in Parse()
|
/external/libbrillo/policy/ |
D | device_policy_impl.cc | 32 if (!base::ReadFileToString(key_file, public_key) || public_key->empty()) { in ReadPublicKeyFromFile() 112 if (!base::ReadFileToString(policy_path_, &polstr) || polstr.empty()) { in LoadPolicy()
|
/external/libese/tools/ese_ls_provision/ |
D | ese_ls_provision.cpp | 92 if (!android::base::ReadFileToString(filename, result)) { in readFileToString()
|
/external/libchrome/base/files/ |
D | important_file_writer_unittest.cc | 29 if (!ReadFileToString(path, &content)) { in GetFileContent()
|
D | file_util.h | 146 BASE_EXPORT bool ReadFileToString(const FilePath& path, std::string* contents);
|
D | file_util.cc | 164 bool ReadFileToString(const FilePath& path, std::string* contents) { in ReadFileToString() function
|
/external/libbrillo/brillo/message_loops/ |
D | base_message_loop.cc | 304 if (!base::ReadFileToString(base::FilePath(kMiscMinorPath), &proc_misc)) in GetBinderMinor()
|