Searched refs:OpenMode (Results 1 – 3 of 3) sorted by relevance
/arkcompiler/runtime_core/libpandafile/ |
D | file.cpp | 53 os::file::Mode GetMode(panda_file::File::OpenMode open_mode) in GetMode() 77 static uint32_t GetProt(panda_file::File::OpenMode mode) in GetProt() 114 …ptr<const File> OpenPandaFileOrZip(std::string_view location, panda_file::File::OpenMode open_mode) in OpenPandaFileOrZip() 177 panda_file::File::OpenMode open_mode) in HandleArchive() 192 panda_file::File::OpenMode open_mode) in OpenPandaFile() 468 std::unique_ptr<const File> File::Open(std::string_view filename, OpenMode open_mode) in Open() 506 uint32_t offset, OpenMode open_mode) in OpenUncompressedArchive()
|
D | file.h | 141 enum OpenMode { READ_ONLY, READ_WRITE, WRITE_ONLY }; enum 411 …static std::unique_ptr<const File> Open(std::string_view filename, OpenMode open_mode = READ_ONLY); 418 … uint32_t offset, OpenMode open_mode = READ_ONLY); 475 … panda_file::File::OpenMode open_mode = panda_file::File::READ_ONLY); 491 … panda_file::File::OpenMode open_mode = panda_file::File::READ_ONLY);
|
/arkcompiler/runtime_core/libpandafile/tests/ |
D | file_test.cpp | 322 EXPECT_EQ(File::Open(ABC_FILE, File::OpenMode::WRITE_ONLY), nullptr); 337 EXPECT_EQ(File::Open(ABC_FILE, File::OpenMode::WRITE_ONLY), nullptr);
|