Home
last modified time | relevance | path

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

12

/third_party/protobuf/src/google/protobuf/testing/
Dfile.h53 static bool ReadFileToString(const string& name, string* output, bool text_mode = false);
85 return ReadFileToString(name, output); in GetContents()
90 return ReadFileToString(name, output, true); in GetContentsAsText()
Dfile.cc73 bool File::ReadFileToString(const string& name, string* output, bool text_mode) { in ReadFileToString() function in google::protobuf::File
90 GOOGLE_CHECK(ReadFileToString(name, output)) << "Could not read: " << name; in ReadFileToStringOrDie()
/third_party/cef/tests/shared/browser/
Dresource_util_posix.cc22 bool ReadFileToString(const char* path, std::string& data) { in ReadFileToString() function
47 return ReadFileToString(path.c_str(), resource_data); in LoadBinaryResource()
Dfile_util.h26 bool ReadFileToString(const std::string& path,
Dfile_util.cc35 bool ReadFileToString(const std::string& path, in ReadFileToString() function
/third_party/flutter/skia/third_party/externals/angle2/util/
Dshader_utils.cpp16 std::string ReadFileToString(const std::string &source) in ReadFileToString() function
127 std::string source = ReadFileToString(sourcePath); in CompileShaderFromFile()
217 std::string vsSource = ReadFileToString(vsPath); in CompileProgramFromFiles()
218 std::string fsSource = ReadFileToString(fsPath); in CompileProgramFromFiles()
/third_party/gn/src/gn/
Dcommand_format_unittest.cc26 ASSERT_TRUE(base::ReadFileToString( \
30 ASSERT_TRUE(base::ReadFileToString( \
Dfunction_write_file_unittest.cc71 EXPECT_TRUE(base::ReadFileToString(foo_name, &result_contents)); in TEST_F()
79 EXPECT_TRUE(base::ReadFileToString(foo_name, &result_contents)); in TEST_F()
Dinput_file.cc20 if (base::ReadFileToString(system_path, &contents_)) { in Load()
Dfunction_read_file.cc68 if (!base::ReadFileToString(file_path, &file_contents)) { in RunReadFile()
Dcommand_analyze.cc114 bool ret = base::ReadFileToString(UTF8ToFilePath(args[1]), &input); in RunAnalyze()
Dcommand_clean.cc27 if (!base::ReadFileToString(build_ninja_file, &file_contents)) in ExtractGNBuildCommands()
/third_party/skia/third_party/externals/libjpeg-turbo/gtest/
Dtjbench-gtest-wrapper.cpp101 ASSERT_TRUE(base::ReadFileToString(test_image_path, &test_image_data)); in TEST_P()
172 ASSERT_TRUE(base::ReadFileToString(test_image_path, &test_image_data)); in TEST_P()
Dgtest-utils.cpp55 if (!base::ReadFileToString(path, &output)) { in CompareFileAndMD5()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/runtime/dart/utils/
Dfiles.h16 bool ReadFileToString(const std::string& path, std::string* result);
Dfiles.cc55 bool ReadFileToString(const std::string& path, std::string* result) { in ReadFileToString() function
/third_party/cef/libcef/browser/net/
Dcrlset_file_util_impl.cc27 if (!base::ReadFileToString(path, &crl_set_bytes)) { in LoadFromDisk()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart_runner/
Dmain.cc26 if (dart_utils::ReadFileToString(symbols_path, symbols)) { in RegisterProfilerSymbols()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dstring_utils.h50 bool ReadFileToString(const std::string &path, std::string *stringOut);
/third_party/cef/tests/ceftests/
Dfile_util_unittest.cc51 EXPECT_TRUE(client::file_util::ReadFileToString(path.c_str(), &read)); in TEST()
/third_party/skia/third_party/externals/angle2/src/common/
Dstring_utils.h50 bool ReadFileToString(const std::string &path, std::string *stringOut);
/third_party/skia/third_party/externals/zlib/google/
Dzip_unittest.cc549 EXPECT_TRUE(base::ReadFileToString( in TEST_F()
552 EXPECT_TRUE(base::ReadFileToString( in TEST_F()
555 EXPECT_TRUE(base::ReadFileToString( in TEST_F()
/third_party/flutter/skia/third_party/externals/zlib/google/
Dzip_reader_unittest.cc193 if (!base::ReadFileToString(path, &output)) in CompareFileAndMD5()
415 ASSERT_TRUE(base::ReadFileToString( in TEST_F()
449 ASSERT_TRUE(base::ReadFileToString(test_dir_.AppendASCII("quux.txt"), in TEST_F()
/third_party/node/deps/zlib/google/
Dzip_reader_unittest.cc193 if (!base::ReadFileToString(path, &output)) in CompareFileAndMD5()
415 ASSERT_TRUE(base::ReadFileToString( in TEST_F()
447 ASSERT_TRUE(base::ReadFileToString(test_dir_.AppendASCII("quux.txt"), in TEST_F()
Dzip_unittest.cc548 EXPECT_TRUE(base::ReadFileToString( in TEST_F()
551 EXPECT_TRUE(base::ReadFileToString( in TEST_F()
554 EXPECT_TRUE(base::ReadFileToString( in TEST_F()

12