/external/icing/icing/file/ |
D | filesystem_test.cc | 55 int fd = filesystem.OpenForWrite(one_file_path.c_str()); in CreateTestFiles() 180 int fd = filesystem.OpenForWrite(foo_file.c_str()); in TEST_F() 190 int fd = filesystem.OpenForWrite(filename); in TEST_F() 223 ScopedFd file(filesystem.OpenForWrite((foo_dir + "/" + files[i]).c_str())); in TEST_F() 262 ScopedFd fd(filesystem.OpenForWrite(filename.c_str())); in TEST_F() 306 ScopedFd f1(filesystem.OpenForWrite(reg1.c_str())); in TEST_F() 307 ScopedFd f2(filesystem.OpenForWrite(reg2.c_str())); in TEST_F() 334 ScopedFd f1(filesystem.OpenForWrite(sparse1.c_str())); in TEST_F() 335 ScopedFd f2(filesystem.OpenForWrite(sparse2.c_str())); in TEST_F() 417 int fd = filesystem.OpenForWrite(foo_file.c_str()); in TEST_F()
|
D | memory-mapped-file.cc | 100 fd.reset(filesystem_->OpenForWrite(file_path_.c_str())); in Remap() 108 fd.reset(filesystem_->OpenForWrite(file_path_.c_str())); in Remap()
|
D | mock-filesystem.h | 100 ON_CALL(*this, OpenForWrite).WillByDefault([this](const char* file_name) { in MockFilesystem() 101 return real_filesystem_.OpenForWrite(file_name); in MockFilesystem() 267 MOCK_METHOD(int, OpenForWrite, (const char* file_name), (const));
|
D | destructible-file.h | 35 fd_ = filesystem_->OpenForWrite(filepath_.c_str()); in DestructibleFile()
|
D | filesystem.cc | 341 int Filesystem::OpenForWrite(const char* file_name) const { in OpenForWrite() function in icing::lib::Filesystem 457 int fd = OpenForWrite(filename); in Write() 474 ScopedFd dst_fd(OpenForWrite(dst)); in CopyFile() 551 int fd = OpenForWrite(filename); in PWrite()
|
D | destructible-file_test.cc | 33 ScopedFd sfd(filesystem.OpenForWrite(filepath1.c_str())); in TEST()
|
D | filesystem.h | 141 virtual int OpenForWrite(const char* file_name) const;
|
D | file-backed-proto.h | 209 ScopedFd fd(filesystem_->OpenForWrite(file_path_.c_str())); in Write()
|
D | file-backed-vector.h | 349 ScopedFd fd(filesystem.OpenForWrite(file_path.c_str())); in Create() 611 ScopedFd sfd(filesystem_->OpenForWrite(file_path_.c_str())); in GrowIfNecessary()
|
/external/gptfdisk/ |
D | diskio.cc | 78 int DiskIO::OpenForWrite(const string & filename) { in OpenForWrite() function in DiskIO 86 retval = OpenForWrite(); in OpenForWrite()
|
D | diskio.h | 75 int OpenForWrite(const string & filename); 76 int OpenForWrite(void);
|
D | diskio-windows.cc | 83 int DiskIO::OpenForWrite(void) { in OpenForWrite() function in DiskIO 176 OpenForWrite(); in DiskSync() 273 OpenForWrite(); in Write()
|
D | diskio-heap.cc | 37 int DiskIO::OpenForWrite(void) { in OpenForWrite() function in DiskIO
|
D | diskio-unix.cc | 112 int DiskIO::OpenForWrite(void) { in OpenForWrite() function in DiskIO 382 OpenForWrite(); in Write()
|
D | basicmbr.cc | 363 if (myDisk->OpenForWrite() != 0) { in WriteMBRData() 464 allOK = theDisk->OpenForWrite(); in WriteMBRData() 613 if ((myDisk != NULL) && (myDisk->OpenForWrite())) { in BlankGPTData() 620 if ((myDisk != NULL) && (myDisk->OpenForWrite())) { in BlankGPTData() 628 if ((myDisk != NULL) && (myDisk->OpenForWrite())) { in BlankGPTData()
|
D | gpt.cc | 837 err = myDisk.OpenForWrite(deviceFilename); in LoadPartitions() 1237 if (myDisk.OpenForWrite()) { in SaveGPTData() 1299 if (backupFile.OpenForWrite(filename)) { in SaveGPTBackup() 1311 backupFile.OpenForWrite(); in SaveGPTBackup() 1457 if (myDisk.OpenForWrite()) { in DestroyGPT() 1517 allOK = myDisk.OpenForWrite() && myDisk.Seek(0) && (myDisk.Write(blankSector, 512) == 512); in DestroyMBR()
|
/external/icing/icing/legacy/index/ |
D | icing-mock-filesystem.h | 83 ON_CALL(*this, OpenForWrite).WillByDefault([this](const char *file_name) { in IcingMockFilesystem() 84 return real_icing_filesystem_.OpenForWrite(file_name); in IcingMockFilesystem() 196 MOCK_METHOD(int, OpenForWrite, (const char *file_name), (const, override));
|
D | icing-flash-bitmap.cc | 120 IcingScopedFd fd(filesystem_->OpenForWrite(filename_.c_str())); in Init() 266 IcingScopedFd fd(filesystem_->OpenForWrite(filename_.c_str())); in Grow()
|
D | icing-filesystem.h | 138 virtual int OpenForWrite(const char *file_name) const;
|
D | icing-filesystem.cc | 342 int IcingFilesystem::OpenForWrite(const char *file_name) const { in OpenForWrite() function in icing::lib::IcingFilesystem 550 if ((dst_fd = OpenForWrite(dst)) < 0) { in CopyFile()
|
/external/icing/icing/index/main/ |
D | flash-index-storage_test.cc | 79 ScopedFd sfd(filesystem_.OpenForWrite(file_name_.c_str())); in TEST_F() 92 ScopedFd sfd(filesystem_.OpenForWrite(file_name_.c_str())); in TEST_F()
|
D | flash-index-storage.cc | 84 block_fd_ = ScopedFd(filesystem_->OpenForWrite(index_filename_.c_str())); in Init()
|
/external/icing/icing/index/lite/ |
D | lite-index.cc | 120 hit_buffer_fd_.reset(filesystem_->OpenForWrite( in Initialize()
|
/external/icing/icing/schema/ |
D | schema-store.cc | 257 filesystem_.OpenForWrite(MakeHeaderFilename(base_dir_).c_str())); in UpdateHeader()
|
/external/icing/icing/index/ |
D | index-processor_test.cc | 836 return this->filesystem_.OpenForWrite(filename); in TEST_F() 838 ON_CALL(*mock_icing_filesystem_, OpenForWrite) in TEST_F()
|