Home
last modified time | relevance | path

Searched refs:OpenForRead (Results 1 – 22 of 22) sorted by relevance

/external/gptfdisk/
Ddiskio-unix.cc51 int DiskIO::OpenForRead(void) { in OpenForRead() function in DiskIO
159 OpenForRead(); in GetBlockSize()
203 OpenForRead(); in GetPhysBlockSize()
226 OpenForRead(); in GetNumHeads()
244 OpenForRead(); in GetNumSecsPerTrack()
262 OpenForRead(); in DiskSync()
316 retval = OpenForRead(); in Seek()
339 OpenForRead(); in Read()
438 OpenForRead(); in DiskSize()
Ddiskio.h71 int OpenForRead(const unsigned char* data, size_t size);
73 int OpenForRead(const string & filename);
74 int OpenForRead(void);
Ddiskio-windows.cc51 int DiskIO::OpenForRead(void) { in OpenForRead() function in DiskIO
132 OpenForRead(); in GetBlockSize()
203 retval = OpenForRead(); in Seek()
229 OpenForRead(); in Read()
320 OpenForRead(); in DiskSize()
Ddiskio.cc56 int DiskIO::OpenForRead(const string & filename) { in OpenForRead() function in DiskIO
70 OpenForRead(); in OpenForRead()
Ddiskio-heap.cc20 int DiskIO::OpenForRead(const unsigned char* data, size_t size) { in OpenForRead() function in DiskIO
33 int DiskIO::OpenForRead(void) { in OpenForRead() function in DiskIO
Dgpt.cc115 myDisk.OpenForRead(orig.myDisk.GetName()); in GPTData()
185 myDisk.OpenForRead(orig.myDisk.GetName()); in operator =()
771 if (allOK && myDisk.OpenForRead(deviceFilename)) { in SetDisk()
836 if (myDisk.OpenForRead(deviceFilename)) { in LoadPartitions()
856 if (allOK && myDisk.OpenForRead(deviceFilename)) { in LoadPartitions()
1071 } else if (disk.OpenForRead()) { in LoadPartitionTable()
1384 if (backupFile.OpenForRead(filename)) { in LoadGPTBackup()
Dbsd.cc53 if (myDisk.OpenForRead(device)) { in ReadBSDData()
Dbasicmbr.cc70 myDisk->OpenForRead(orig.myDisk->GetName()); in BasicMBRData()
127 myDisk->OpenForRead(orig.myDisk->GetName()); in operator =()
155 if (myDisk->OpenForRead(deviceFilename)) { in ReadMBRData()
575 if (myDisk->OpenForRead() != 0) { in CheckForGPT()
/external/icing/icing/legacy/index/
Dicing-mock-filesystem.h91 ON_CALL(*this, OpenForRead).WillByDefault([this](const char *file_name) { in IcingMockFilesystem()
92 return real_icing_filesystem_.OpenForRead(file_name); in IcingMockFilesystem()
200 MOCK_METHOD(int, OpenForRead, (const char *file_name), (const, override));
Dicing-filesystem.h148 virtual int OpenForRead(const char *file_name) const;
Dicing-filesystem.cc365 int IcingFilesystem::OpenForRead(const char *file_name) const { in OpenForRead() function in icing::lib::IcingFilesystem
547 if ((src_fd = OpenForRead(src)) < 0) { in CopyFile()
Dicing-flash-bitmap.cc182 IcingScopedFd fd(filesystem_->OpenForRead(filename_.c_str())); in InitForRead()
/external/gptfdisk/fuzzer/
Dlibgptf_fuzzer.cc33 disk.OpenForRead(static_cast<const unsigned char*>(data), size); in LLVMFuzzerTestOneInput()
/external/icing/icing/helpers/icu/
Dicu-data-file-helper.cc47 ScopedFd fd(filesystem.OpenForRead(icu_data_file_absolute_path.c_str())); in SetUpICUDataFile()
/external/icing/icing/file/
Dmock-filesystem.h108 ON_CALL(*this, OpenForRead).WillByDefault([this](const char* file_name) { in MockFilesystem()
109 return real_filesystem_.OpenForRead(file_name); in MockFilesystem()
271 MOCK_METHOD(int, OpenForRead, (const char* file_name), (const));
Dfilesystem.cc364 int Filesystem::OpenForRead(const char* file_name) const { in OpenForRead() function in icing::lib::Filesystem
468 ScopedFd src_fd(OpenForRead(src)); in CopyFile()
572 int fd = OpenForRead(filename); in Read()
594 int fd = OpenForRead(filename); in PRead()
Dfilesystem.h151 virtual int OpenForRead(const char* file_name) const;
Dmemory-mapped-file.cc94 fd.reset(filesystem_->OpenForRead(file_path_.c_str())); in Remap()
Dfile-backed-proto.h139 ScopedFd fd(filesystem_->OpenForRead(file_path_.c_str())); in Read()
/external/icing/icing/testing/
Drecorder-test-utils.cc37 ScopedFd sfd(filesystem.OpenForRead(filename.c_str())); in ReadProfileFromFile()
/external/icing/icing/result/
Dresult-retriever_test.cc365 ON_CALL(mock_filesystem, OpenForRead(_)).WillByDefault(Return(false)); in TEST_F()
/external/icing/icing/
Dicing-search-engine_test.cc563 OpenForRead(Eq(icing_options.base_dir() + "/schema_dir/schema.pb"))) in TEST_F()