/art/libartbase/base/ |
D | scoped_flock.cc | 59 int flock_result = TEMP_FAILURE_RETRY(flock(file->Fd(), operation)); in Open() 69 int fstat_result = TEMP_FAILURE_RETRY(fstat(file->Fd(), &fstat_stat)); in Open() 120 if (locked_file->Fd() == -1) { in DupOf() 125 if (0 != TEMP_FAILURE_RETRY(flock(locked_file->Fd(), LOCK_EX))) { in DupOf() 137 if (this->Fd() != -1) { in ReleaseLock() 138 int flock_result = TEMP_FAILURE_RETRY(flock(this->Fd(), LOCK_UN)); in ReleaseLock()
|
D | file_magic.cc | 35 if (fd.Fd() == -1) { in OpenAndReadMagic() 39 if (!ReadMagicAndReset(fd.Fd(), magic, error_msg)) { in OpenAndReadMagic()
|
D | logging.cc | 156 int64_t n = TEMP_FAILURE_RETRY(read(file.Fd(), &buf[filled_to], kBufSize - filled_to)); in PrintFileToLog()
|
D | zip_archive.cc | 62 const int32_t error = ExtractEntryToFile(handle_, zip_entry_, file.Fd()); in ExtractToFile()
|
D | file_utils.cc | 86 int64_t n = TEMP_FAILURE_RETRY(read(file.Fd(), &buf[0], buf.size())); in ReadFileToString()
|
D | common_art_test.cc | 93 return file_->Fd(); in GetFd()
|
/art/libartbase/base/unix_file/ |
D | fd_file_test.cc | 49 EXPECT_EQ(-1, file.Fd()); in TEST_F() 58 EXPECT_GE(file.Fd(), 0); in TEST_F() 63 EXPECT_EQ(-1, file.Fd()); in TEST_F() 68 EXPECT_GE(file2.Fd(), 0); in TEST_F() 80 EXPECT_GE(file.Fd(), 0); in TEST_F() 95 EXPECT_GE(file.Fd(), 0); in TEST_F() 123 ASSERT_GE(file.Fd(), 0); in TEST_F() 150 ASSERT_GE(src.Fd(), 0); in TEST_F() 160 ASSERT_GE(dest.Fd(), 0); in TEST_F() 180 EXPECT_GE(file.Fd(), 0); in TEST_F() [all …]
|
D | fd_file.cc | 399 int FdFile::Fd() const { in Fd() function in unix_file::FdFile 491 sendfile(Fd(), input_file->Fd(), &off, end - off)); in Copy() 498 if (lseek(input_file->Fd(), off, SEEK_SET) != off) { in Copy()
|
D | fd_file.h | 93 int Fd() const;
|
/art/profman/ |
D | profile_assistant.cc | 41 if (!info.Load(reference_profile_file->Fd(), /*merge_classes=*/ true, filter_fn)) { in ProcessProfilesInternal() 59 if (!cur_info.Load(profile_files[i]->Fd(), /*merge_classes=*/ true, filter_fn)) { in ProcessProfilesInternal() 87 if (!info.Save(reference_profile_file->Fd())) { in ProcessProfilesInternal()
|
/art/libelffile/stream/ |
D | file_output_stream.cc | 33 return lseek(file_->Fd(), offset, static_cast<int>(whence)); in Seek()
|
/art/runtime/gc/space/ |
D | image_space_fs.h | 155 if (lseek(file->Fd(), 0, SEEK_SET) == -1) { in MarkZygoteStart()
|
/art/runtime/ |
D | elf_file.cc | 106 file->GetPath().c_str(), file->Fd(), strerror(errno)); in Setup() 124 file->Fd(), in Setup() 144 file->Fd(), in Setup() 159 file->Fd(), in Setup() 1148 file->GetPath().c_str(), file->Fd(), strerror(errno)); in Load() 1238 file->Fd(), in Load() 1522 int result = ftruncate(file->Fd(), offset); in Strip() 1716 file->Fd(), in Open() 1765 file->Fd(), in Open()
|
D | native_stack_dump.cc | 161 int in = pipe->get()->in.Fd(); in Drain()
|
D | vdex_file.cc | 131 vdex_file->Fd(), in OpenAtAddress()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 87 args.push_back("--oat-fd=" + std::to_string(oat_file->Fd())); 679 copy.push_back("--app-image-fd=" + std::to_string(app_image_file->Fd())); 756 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file1->Fd()); in RunTestVDex() 767 std::string input_vdex = StringPrintf("--input-vdex-fd=%d", vdex_file1->Fd()); in RunTestVDex() 879 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file1->Fd()); in RunUnquickenMultiDex() 890 std::string input_vdex = StringPrintf("--input-vdex-fd=%d", vdex_file1->Fd()); in RunUnquickenMultiDex() 891 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file1->Fd()); in RunUnquickenMultiDex() 920 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file1->Fd()); in RunUnquickenMultiDexCDex() 932 std::string input_vdex = StringPrintf("--input-vdex-fd=%d", vdex_file1->Fd()); in RunUnquickenMultiDexCDex() 933 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file2->Fd()); in RunUnquickenMultiDexCDex() [all …]
|
D | dex2oat_image_test.cc | 269 profile.Save(profile_file.GetFile()->Fd()); in TEST_F()
|
D | dex2oat.cc | 1266 if (fchmod(oat_file->Fd(), 0644) != 0) { in OpenFile() 1296 if (fchmod(vdex_file->Fd(), 0644) != 0) { in OpenFile() 2295 if (!profile_compilation_info_->Load(profile_file->Fd())) { in LoadProfile()
|
/art/compiler/jit/ |
D | jit_logger.cc | 211 int fd = jit_dump_file_->Fd(); in OpenMarkerFile()
|
/art/libdexfile/dex/ |
D | art_dex_file_loader.cc | 103 if (fd.Fd() == -1) { in GetMultiDexChecksums() 231 if (fd.Fd() == -1) { in Open()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 278 off_t offset = lseek(zip_file_->Fd(), 0, SEEK_CUR); in AddFile() 306 off_t offset = lseek(zip_file_->Fd(), 0, SEEK_CUR); in Finish() 770 ASSERT_NE(-1, zip_fd.Fd()); in TestZipFileInput()
|
D | oat_writer.cc | 508 if (fd.Fd() == -1) { in AddDexFileSource() 3388 actual_offset = lseek(file->Fd(), 0, SEEK_CUR); in SeekToDexFile() 3427 int dup_fd = DupCloexec(raw_file->Fd()); in LayoutAndWriteDexFile() 3429 PLOG(ERROR) << "Failed to dup dex file descriptor (" << raw_file->Fd() << ") at " << location; in LayoutAndWriteDexFile() 3520 off_t extracted_end = lseek(file->Fd(), 0, SEEK_CUR); in WriteDexFile() 3540 off_t actual_offset = lseek(file->Fd(), start_offset, SEEK_SET); in WriteDexFile() 3556 actual_offset = lseek(file->Fd(), end_offset, SEEK_SET); in WriteDexFile() 3595 off_t input_offset = lseek(dex_file->Fd(), 0, SEEK_SET); in WriteDexFile() 3617 off_t actual_offset = lseek(file->Fd(), 0, SEEK_CUR); in WriteDexFile() 3724 file->Fd(), in OpenDexFiles()
|
/art/dexlayout/ |
D | dexlayout_test.cc | 382 pfi.Save(file->Fd()); in CreateProfile()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 223 int fd = profile_file->Fd(); in MergeWith() 258 int fd = profile_file->Fd(); in Load() 299 int fd = profile_file->Fd(); in Save()
|
/art/tools/hiddenapi/ |
D | hiddenapi_test.cc | 114 if (fd.Fd() == -1) { in OpenDex()
|