Home
last modified time | relevance | path

Searched refs:OpenFile (Results 1 – 25 of 38) sorted by relevance

12

/third_party/flutter/engine/flutter/fml/
Dfile_unittest.cc64 fml::OpenFile(dir.fd(), "some.txt", true, fml::FilePermission::kWrite); in TEST()
77 auto fd = fml::OpenFile(dir.fd(), "some.txt", true, in TEST()
92 fml::OpenFile(dir.fd(), "some.txt", false, fml::FilePermission::kRead); in TEST()
113 auto file = fml::OpenFile(sub, "my_contents", true, in TEST()
123 fml::OpenFile(dir.fd(), file_path, false, fml::FilePermission::kRead); in TEST()
152 ReadStringFromFile(fml::OpenFile(dir.fd(), "precious_data", false, in TEST()
162 auto file = fml::OpenFile(dir.fd(), "my_contents", true, in TEST()
Dmapping.cc19 return CreateReadOnly(OpenFile(path.c_str(), false, FilePermission::kRead), in CreateReadOnly()
28 OpenFile(base_fd, sub_path.c_str(), false, FilePermission::kRead), ""); in CreateReadOnly()
44 OpenFile(path.c_str(), false, FilePermission::kRead)); in CreateReadExecute()
52 OpenFile(base_fd, sub_path.c_str(), false, FilePermission::kRead), ""); in CreateReadExecute()
Dfile.h31 fml::UniqueFD OpenFile(const char* path,
35 fml::UniqueFD OpenFile(const fml::UniqueFD& base_directory,
Dicu_util.cc35 fml::OpenFile(icu_data_path.c_str(), false, fml::FilePermission::kRead); in SetupMapping()
48 fd = fml::OpenFile(path_relative_to_executable.c_str(), false, in SetupMapping()
/third_party/cef/tests/ceftests/
Dzip_reader_unittest.cc147 ASSERT_TRUE(reader->OpenFile("")); in TEST()
158 ASSERT_TRUE(reader->OpenFile("")); in TEST()
166 ASSERT_TRUE(reader->OpenFile("")); in TEST()
179 ASSERT_TRUE(reader->OpenFile("")); in TEST()
191 ASSERT_TRUE(reader->OpenFile("")); in TEST()
202 ASSERT_TRUE(reader->OpenFile("")); in TEST()
/third_party/flutter/engine/flutter/fml/platform/posix/
Dfile_posix.cc62 fml::UniqueFD OpenFile(const char* path, in OpenFile() function
65 return OpenFile(fml::UniqueFD{AT_FDCWD}, path, create_if_necessary, in OpenFile()
69 fml::UniqueFD OpenFile(const fml::UniqueFD& base_directory, in OpenFile() function
188 auto temp_file = OpenFile(base_directory, temp_file_name.c_str(), true, in WriteAtomically()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
DDataStream.cpp65 std::error_code OpenFile(const std::string &Filename) { in OpenFile() function in __anon33c5af170111::DataFileStreamer
81 if (std::error_code e = s->OpenFile(Filename)) { in getDataFileStreamer()
/third_party/flutter/engine/flutter/fml/platform/win/
Dfile_win.cc133 fml::UniqueFD OpenFile(const fml::UniqueFD& base_directory, in OpenFile() function
137 return OpenFile(GetAbsolutePath(base_directory, path).c_str(), in OpenFile()
141 fml::UniqueFD OpenFile(const char* path, in OpenFile() function
343 OpenFile(temp_file_path.c_str(), true, FilePermission::kReadWrite); in WriteAtomically()
/third_party/openh264/test/api/
DBaseDecoderTest.cpp50 : decoder_ (NULL), decodeStatus_ (OpenFile) {} in BaseDecoderTest()
187 if (decodeStatus_ == OpenFile) { in Open()
221 case OpenFile: in DecodeNextFrame()
DBaseThreadDecoderTest.cpp142 …r_ (NULL), uiTimeStamp (0), pYuvFile (NULL), bEnableYuvDumpTest (false), decodeStatus_ (OpenFile) { in BaseThreadDecoderTest()
311 if (decodeStatus_ == OpenFile) { in Open()
/third_party/flutter/engine/flutter/assets/
Ddirectory_asset_bundle.cc38 auto mapping = std::make_unique<fml::FileMapping>(fml::OpenFile( in GetAsMapping()
/third_party/cef/include/
Dcef_zip_reader.h112 virtual bool OpenFile(const CefString& password) = 0;
/third_party/flutter/engine/flutter/testing/
Dtesting.cc38 auto fixture_fd = fml::OpenFile(fixtures_directory, // base directory in OpenFixture()
/third_party/openh264/test/
DBaseDecoderTest.h46 OpenFile, enumerator
DBaseThreadDecoderTest.h27 OpenFile, enumerator
/third_party/cef/libcef_dll/ctocpp/
Dzip_reader_ctocpp.h44 bool OpenFile(const CefString& password) override;
Dzip_reader_ctocpp.cc166 bool CefZipReaderCToCpp::OpenFile(const CefString& password) { in OpenFile() function in CefZipReaderCToCpp
/third_party/cef/libcef/browser/
Dzip_reader_impl.h31 bool OpenFile(const CefString& password) override;
Dstream_impl.cc21 FILE* file = base::OpenFile(base::FilePath(fileName), "rb"); in CreateForFile()
54 FILE* file = base::OpenFile(base::FilePath(fileName), "wb"); in CreateForFile()
/third_party/json/test/thirdparty/Fuzzer/
DFuzzerIO.h54 FILE* OpenFile(int Fd, const char *Mode);
DFuzzerIOPosix.cpp62 FILE* OpenFile(int Fd, const char* Mode) { in OpenFile() function
DFuzzerIO.cpp95 FILE *NewOutputFile = OpenFile(OutputFd, "w"); in DupAndCloseStderr()
/third_party/cef/libcef_dll/wrapper/
Dcef_zip_archive.cc96 if (!reader->OpenFile(password)) in Load()
/third_party/cef/libcef_dll/cpptoc/
Dzip_reader_cpptoc.cc177 bool _retval = CefZipReaderCppToC::Get(self)->OpenFile(CefString(password)); in zip_reader_open_file()
/third_party/gn/src/base/files/
Dfile_util.h235 FILE* OpenFile(const FilePath& filename, const char* mode);

12