Home
last modified time | relevance | path

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

/art/tools/jvmti-agents/chain-agents/
Dchainagents.cc98 std::string input_file(options); in AgentStart() local
99 input_file = input_file + "/" + kChainFile; in AgentStart()
100 std::ifstream input(input_file); in AgentStart()
/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.cc1594 MemMap input_file = zip_entry->MapDirectlyOrExtract( in OpenFile() local
1599 if (!input_file.IsValid()) { in OpenFile()
1602 input_vdex_file_ = std::make_unique<VdexFile>(std::move(input_file)); in OpenFile()
2898 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local
2899 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile()
2903 std::unique_ptr<T> result = ReadCommentedInputStream<T>(*input_file, process); in ReadCommentedInputFromFile()
2904 input_file->close(); in ReadCommentedInputFromFile()
2926 MemMap input_file = zip_entry->ExtractToMemMap(zip_filename, input_filename, error_msg); in ReadCommentedInputFromZip() local
2927 if (!input_file.IsValid()) { in ReadCommentedInputFromZip()
2932 const std::string input_string(reinterpret_cast<char*>(input_file.Begin()), input_file.Size()); in ReadCommentedInputFromZip()
/art/profman/
Dprofman.cc864 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local
865 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile()
870 ReadCommentedInputStream<T>(*input_file, process)); in ReadCommentedInputFromFile()
871 input_file->close(); in ReadCommentedInputFromFile()
/art/oatdump/
Doatdump.cc3365 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local
3366 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile()
3370 std::vector<std::string> result = ReadCommentedInputStream(*input_file); in ReadCommentedInputFromFile()
3371 input_file->close(); in ReadCommentedInputFromFile()