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.cc309 bool FdFile::Copy(FdFile* input_file, int64_t offset, int64_t size) { in Copy() argument
327 sendfile(Fd(), input_file->Fd(), &off, end - off)); in Copy()
334 if (lseek(input_file->Fd(), off, SEEK_SET) != off) { in Copy()
346 if (!input_file->ReadFully(buffer.get(), chunk_size) || in Copy()
Dfd_file.h131 bool Copy(FdFile* input_file, int64_t offset, int64_t size);
/art/dex2oat/
Ddex2oat.cc1462 std::unique_ptr<MemMap> input_file(zip_entry->MapDirectlyOrExtract( in OpenFile() local
1466 if (input_file == nullptr) { in OpenFile()
1469 input_vdex_file_ = std::make_unique<VdexFile>(input_file.release()); in OpenFile()
2758 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local
2759 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile()
2764 ReadCommentedInputStream<T>(*input_file, process)); in ReadCommentedInputFromFile()
2765 input_file->close(); in ReadCommentedInputFromFile()
2787 std::unique_ptr<MemMap> input_file(zip_entry->ExtractToMemMap(zip_filename, in ReadCommentedInputFromZip() local
2790 if (input_file.get() == nullptr) { in ReadCommentedInputFromZip()
2795 const std::string input_string(reinterpret_cast<char*>(input_file->Begin()), in ReadCommentedInputFromZip()
[all …]
/art/profman/
Dprofman.cc704 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local
705 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile()
710 ReadCommentedInputStream<T>(*input_file, process)); in ReadCommentedInputFromFile()
711 input_file->close(); in ReadCommentedInputFromFile()
/art/oatdump/
Doatdump.cc3558 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local
3559 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile()
3563 std::vector<std::string> result = ReadCommentedInputStream(*input_file); in ReadCommentedInputFromFile()
3564 input_file->close(); in ReadCommentedInputFromFile()