/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 | 181 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 | common_art_test.cc | 124 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/libelffile/stream/ |
D | file_output_stream.cc | 33 return lseek(file_->Fd(), offset, static_cast<int>(whence)); in Seek()
|
/art/profman/ |
D | profile_assistant.cc | 42 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() 112 if (!info.Save(reference_profile_file->Fd())) { in ProcessProfilesInternal()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 88 args.push_back("--oat-fd=" + std::to_string(oat_file->Fd())); 691 copy.push_back("--app-image-fd=" + std::to_string(app_image_file->Fd())); 768 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file1->Fd()); in RunTestVDex() 779 std::string input_vdex = StringPrintf("--input-vdex-fd=%d", vdex_file1->Fd()); in RunTestVDex() 890 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file1->Fd()); in RunUnquickenMultiDex() 904 std::string input_vdex = StringPrintf("--input-vdex-fd=%d", vdex_file1->Fd()); in RunUnquickenMultiDex() 905 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file1->Fd()); in RunUnquickenMultiDex() 941 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file1->Fd()); in RunUnquickenMultiDexCDex() 952 std::string input_vdex = StringPrintf("--input-vdex-fd=%d", vdex_file1->Fd()); in RunUnquickenMultiDexCDex() 953 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file2->Fd()); in RunUnquickenMultiDexCDex() [all …]
|
D | dex2oat.cc | 1473 if (fchmod(oat_file->Fd(), 0644) != 0) { in OpenFile() 1503 if (fchmod(vdex_file->Fd(), 0644) != 0) { in OpenFile() 2590 if (!profile_compilation_info_->Load(profile_file->Fd())) { in LoadProfile()
|
/art/runtime/ |
D | common_runtime_test.cc | 464 argv.push_back("--image-fd=" + std::to_string(art_file->Fd())); in CompileBootImage() 465 argv.push_back("--output-vdex-fd=" + std::to_string(vdex_file->Fd())); in CompileBootImage() 466 argv.push_back("--oat-fd=" + std::to_string(oat_file->Fd())); in CompileBootImage() 600 profile.Save(out_file->Fd()); in GenerateProfile()
|
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() 1139 file->GetPath().c_str(), file->Fd(), strerror(errno)); in Load() 1229 file->Fd(), in Load() 1513 int result = ftruncate(file->Fd(), offset); in Strip() 1707 file->Fd(), in Open() 1756 file->Fd(), in Open()
|
D | native_stack_dump.cc | 160 int in = pipe->get()->in.Fd(); in Drain()
|
D | vdex_file.cc | 133 vdex_file->Fd(), in OpenAtAddress()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 323 off_t offset = lseek(zip_file_->Fd(), 0, SEEK_CUR); in AddFile() 351 off_t offset = lseek(zip_file_->Fd(), 0, SEEK_CUR); in Finish() 669 ASSERT_NE(-1, dex_file_fd.Fd()); in TestDexFileInput() 670 ASSERT_EQ(0, lseek(dex_file_fd.Fd(), 0, SEEK_SET)); in TestDexFileInput() 813 ASSERT_NE(-1, zip_fd.Fd()); in TestZipFileInput() 814 ASSERT_EQ(0, lseek(zip_fd.Fd(), 0, SEEK_SET)); in TestZipFileInput()
|
D | oat_writer.cc | 521 if (fd.Fd() == -1) { in AddDexFileSource() 537 if (!ReadMagicAndReset(dex_file_fd.Fd(), &magic, &error_msg)) { in AddDexFileSource() 3244 file->Fd(), in WriteDexFiles() 3388 int dup_fd = DupCloexec(raw_file->Fd()); in LayoutDexFile() 3390 PLOG(ERROR) << "Failed to dup dex file descriptor (" << raw_file->Fd() << ") at " << location; in LayoutDexFile() 3777 vdex_file->Fd(), in FinishVdexFile() 3796 vdex_file->Fd(), in FinishVdexFile()
|
/art/openjdkjvmti/ |
D | ti_search.cc | 288 if (file.Fd() < 0) { in AddToDexClassLoaderInMemory() 306 oss << "/proc/self/fd/" << file.Fd(); in AddToDexClassLoaderInMemory()
|
/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/runtime/jit/ |
D | jit.cc | 1374 if (profile.Fd() == -1) { in CompileMethodsFromBootProfile() 1380 if (!profile_info.Load(profile.Fd(), dex_files)) { in CompileMethodsFromBootProfile() 1424 if (profile.Fd() == -1) { in CompileMethodsFromProfile() 1430 if (!profile_info.Load(profile.Fd())) { in CompileMethodsFromProfile()
|
/art/dexlayout/ |
D | dexlayout_test.cc | 374 pfi.Save(file->Fd()); in CreateProfile()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 234 int fd = profile_file->Fd(); in MergeWith() 269 int fd = profile_file->Fd(); in Load() 310 int fd = profile_file->Fd(); in Save()
|
/art/tools/hiddenapi/ |
D | hiddenapi_test.cc | 113 if (fd.Fd() == -1) { in OpenDex()
|