Searched refs:input_file (Results 1 – 7 of 7) sorted by relevance
/art/tools/jvmti-agents/chain-agents/ |
D | chainagents.cc | 98 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/tools/create_minidebuginfo/ |
D | create_minidebuginfo.cc | 150 std::unique_ptr<File> input_file(OS::OpenFileForReading(input_filename)); in Main() local 151 CHECK(input_file.get() != nullptr) << "Failed to open input file"; in Main() 152 std::vector<uint8_t> elf(input_file->GetLength()); in Main() 153 CHECK(input_file->ReadFully(elf.data(), elf.size())) << "Failed to read input file"; in Main()
|
/art/libartbase/base/unix_file/ |
D | fd_file.cc | 473 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()
|
D | fd_file.h | 114 bool Copy(FdFile* input_file, int64_t offset, int64_t size);
|
/art/dex2oat/ |
D | dex2oat.cc | 1334 MemMap input_file = zip_entry->MapDirectlyOrExtract( in OpenFile() local 1339 if (!input_file.IsValid()) { in OpenFile() 1342 input_vdex_file_ = std::make_unique<VdexFile>(std::move(input_file)); in OpenFile() 2785 std::ifstream input_file(input_filename, std::ifstream::in); in ReadCommentedInputFromFile() local 2786 if (!input_file.good()) { in ReadCommentedInputFromFile() 2790 std::unique_ptr<T> result = ReadCommentedInputStream<T>(input_file, process); in ReadCommentedInputFromFile() 2791 input_file.close(); in ReadCommentedInputFromFile() 2813 MemMap input_file = zip_entry->ExtractToMemMap(zip_filename, input_filename, error_msg); in ReadCommentedInputFromZip() local 2814 if (!input_file.IsValid()) { in ReadCommentedInputFromZip() 2819 const std::string input_string(reinterpret_cast<char*>(input_file.Begin()), input_file.Size()); in ReadCommentedInputFromZip()
|
/art/profman/ |
D | profman.cc | 1004 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local 1005 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile() 1010 ReadCommentedInputStream<T>(*input_file, process)); in ReadCommentedInputFromFile() 1011 input_file->close(); in ReadCommentedInputFromFile()
|
/art/oatdump/ |
D | oatdump.cc | 3013 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local 3014 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile() 3018 std::vector<std::string> result = ReadCommentedInputStream(*input_file); in ReadCommentedInputFromFile() 3019 input_file->close(); in ReadCommentedInputFromFile()
|