Home
last modified time | relevance | path

Searched refs:input_file (Results 1 – 5 of 5) sorted by relevance

/art/libartbase/base/unix_file/
Dfd_file.cc473 bool FdFile::Copy(FdFile* input_file, int64_t offset, int64_t size) { in Copy() argument
491 sendfile(Fd(), input_file->Fd(), &off, end - off)); in Copy()
498 if (lseek(input_file->Fd(), off, SEEK_SET) != off) { in Copy()
510 if (!input_file->ReadFully(buffer.get(), chunk_size) || in Copy()
Dfd_file.h106 bool Copy(FdFile* input_file, int64_t offset, int64_t size);
/art/dex2oat/
Ddex2oat.cc1404 MemMap input_file = zip_entry->MapDirectlyOrExtract( in OpenFile() local
1409 if (!input_file.IsValid()) { in OpenFile()
1412 input_vdex_file_ = std::make_unique<VdexFile>(std::move(input_file)); in OpenFile()
2630 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local
2631 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile()
2635 std::unique_ptr<T> result = ReadCommentedInputStream<T>(*input_file, process); in ReadCommentedInputFromFile()
2636 input_file->close(); in ReadCommentedInputFromFile()
2658 MemMap input_file = zip_entry->ExtractToMemMap(zip_filename, input_filename, error_msg); in ReadCommentedInputFromZip() local
2659 if (!input_file.IsValid()) { in ReadCommentedInputFromZip()
2664 const std::string input_string(reinterpret_cast<char*>(input_file.Begin()), input_file.Size()); in ReadCommentedInputFromZip()
/art/profman/
Dprofman.cc767 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local
768 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile()
773 ReadCommentedInputStream<T>(*input_file, process)); in ReadCommentedInputFromFile()
774 input_file->close(); in ReadCommentedInputFromFile()
/art/oatdump/
Doatdump.cc3347 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local
3348 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile()
3352 std::vector<std::string> result = ReadCommentedInputStream(*input_file); in ReadCommentedInputFromFile()
3353 input_file->close(); in ReadCommentedInputFromFile()