/external/libchrome/base/process/ |
D | process_metrics_linux.cc | 47 if (!ReadFileToString(file, &file_as_string)) in ReadFileToUint64() 65 if (!ReadFileToString(stat_file, &status)) in ReadProcStatusAndGetFieldAsSizeT() 107 if (!ReadFileToString(sched_file, &sched_data)) in ReadProcSchedAndGetFieldAsUint64() 153 if (ReadFileToString(stat_path, &stat)) { in GetProcessCPU() 267 if (!ReadFileToString(io_file, &proc_io_contents)) in GetIOCounters() 320 if (!ReadFileToString(fd_path, &limits_contents)) in GetOpenFdSoftLimit() 379 bool ret = ReadFileToString(totmaps_file, &totmaps_data); in GetWorkingSetKBytesTotmaps() 431 bool ret = ReadFileToString(statm_file, &statm); in GetWorkingSetKBytesStatm() 707 if (!ReadFileToString(meminfo_file, &meminfo_data)) { in GetSystemMemoryInfo() 729 if (ReadFileToString(geminfo_file, &geminfo_data)) { in GetSystemMemoryInfo() [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_show_test.cc | 90 TF_CHECK_OK(ReadFileToString(Env::Default(), in TestToFromProto() 110 TF_CHECK_OK(ReadFileToString(Env::Default(), dump_file, &dump_str)); in TEST_F() 137 TF_CHECK_OK(ReadFileToString(Env::Default(), dump_file, &dump_str)); in TEST_F() 185 TF_CHECK_OK(ReadFileToString(Env::Default(), dump_file, &dump_str)); in TEST_F()
|
D | tfprof_timeline_test.cc | 73 TF_CHECK_OK(ReadFileToString(Env::Default(), dump_file + "_0", &dump_str)); in TEST_F() 87 TF_CHECK_OK(ReadFileToString(Env::Default(), dump_file + "_0", &dump_str)); in TEST_F()
|
/external/libchrome/base/json/ |
D | json_file_value_serializer.cc | 63 int JSONFileValueDeserializer::ReadFileToString(std::string* json_string) { in ReadFileToString() function in JSONFileValueDeserializer 65 if (!base::ReadFileToString(json_file_path_, json_string)) { in ReadFileToString() 106 int error = ReadFileToString(&json_string); in Deserialize()
|
/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()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | spectrogram_test_utils.cc | 33 if (!ReadFileToString(Env::Default(), file_name, &wav_data).ok()) { in ReadWaveFileToVector() 60 if (!ReadFileToString(Env::Default(), file_name, &data_string).ok()) { in ReadRawFloatFileToComplexVector() 110 if (!ReadFileToString(Env::Default(), file_name, &data_string).ok()) { in ReadCSVFileToComplexVectorOrDie() 157 TF_CHECK_OK(ReadFileToString(Env::Default(), filename, &contents)); in ReadCSVFileToArrayOrDie()
|
/external/avb/test/ |
D | avbtool_unittest.cc | 70 ASSERT_TRUE(base::ReadFileToString(path, &printed_version)); in TEST_F() 538 ASSERT_TRUE(base::ReadFileToString(rootfs_path, &part_data)); in AddHashFooterTest() 721 EXPECT_TRUE(base::ReadFileToString(output_path, &max_image_size_data)); in TEST_F() 1011 ASSERT_TRUE(base::ReadFileToString(rootfs_path, &part_data)); in AddHashtreeFooterTest() 1238 ASSERT_TRUE(base::ReadFileToString(rootfs_path, &part_data)); in AddHashtreeFooterFECTest() 1367 EXPECT_TRUE(base::ReadFileToString(output_path, &max_image_size_data)); in TEST_F() 1402 EXPECT_TRUE(base::ReadFileToString(output_path, &max_image_size_data)); in TEST_F() 1612 ASSERT_TRUE(base::ReadFileToString(vbmeta_path, &image_data)); in TEST_F() 1780 ASSERT_TRUE(base::ReadFileToString(vbmeta_path, &image_data)); in TEST_F() 1797 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()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_op_gen_test.cc | 97 TF_ASSERT_OK(ReadFileToString(env, h_file_path, h_file_text)); in GenerateCcOpFiles() 99 ReadFileToString(env, internal_h_file_path, internal_h_file_text)); in GenerateCcOpFiles()
|
/external/tensorflow/tensorflow/python/lib/io/ |
D | file_io.i | 58 string ReadFileToString(const string& filename, TF_Status* out_status) { in ReadFileToString() function 60 tensorflow::Status status = ReadFileToString(tensorflow::Env::Default(), in ReadFileToString() 245 string ReadFileToString(const string& filename, TF_Status* out_status);
|
/external/perf_data_converter/src/ |
D | perf_to_profile_lib.h | 22 string ReadFileToString(const string& path);
|
D | perf_to_profile.cc | 22 const auto perf_data = ReadFileToString(input); in main()
|
D | perf_to_profile_lib.cc | 18 string ReadFileToString(const string& path) { in ReadFileToString() function
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | text_literal_writer_test.cc | 40 TF_CHECK_OK(tensorflow::ReadFileToString(tensorflow::Env::Default(), path, in TEST()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | file_utils.cc | 26 ReadFileToString(Env::Default(), file_name, &file_data); in LoadTextOrBinaryGraphFile()
|
/external/libbrillo/policy/ |
D | policy_util.cc | 22 if (!base::ReadFileToString(policy_path, policy_data_str_out)) { in LoadPolicyFromPath()
|
/external/tensorflow/tensorflow/contrib/ffmpeg/default/ |
D | ffmpeg_lib.cc | 138 TF_QCHECK_OK(ReadFileToString(Env::Default(), filename, &raw_data)) in ReadPcmFile() 226 TF_QCHECK_OK(ReadFileToString(Env::Default(), filename, &data)) in ReadInfoFile() 404 TF_QCHECK_OK(ReadFileToString(Env::Default(), output_filename, &raw_data)) in ReadVideoFile()
|
/external/tensorflow/tensorflow/core/platform/ |
D | env_test.cc | 86 TEST_F(DefaultEnvTest, ReadFileToString) { in TEST_F() argument 96 TF_EXPECT_OK(ReadFileToString(env_, filename, &output)); in TEST_F() 255 TF_EXPECT_OK(ReadFileToString(env_, filename, &output)); in TEST_F()
|
/external/tensorflow/tensorflow/tools/mlpbtxt/ |
D | frommlpbtxt.cc | 48 Status s = ReadFileToString(Env::Default(), FLAGS_in, &in_contents); in Run()
|
/external/tensorflow/tensorflow/tools/api/tests/ |
D | convert_from_multiline.cc | 40 TF_RETURN_IF_ERROR(tensorflow::ReadFileToString(env, path, &contents)); in ConvertFilesFromMultiline()
|