Searched refs:input_file (Results 1 – 8 of 8) 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/runtime/ |
D | vdex_file.cc | 162 MemMap input_file = zip_entry->MapDirectlyOrExtract( in OpenFromDm() local 167 if (!input_file.IsValid()) { in OpenFromDm() 171 std::unique_ptr<VdexFile> vdex_file = std::make_unique<VdexFile>(std::move(input_file)); in OpenFromDm()
|
/art/profman/ |
D | profman.cc | 1010 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local 1011 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile() 1016 ReadCommentedInputStream<T>(*input_file, process)); in ReadCommentedInputFromFile() 1017 input_file->close(); in ReadCommentedInputFromFile()
|
/art/dex2oat/ |
D | dex2oat.cc | 2825 auto input_file = std::unique_ptr<FILE, decltype(&fclose)>{fopen(input_filename, "re"), fclose}; in ReadCommentedInputFromFile() 2826 if (!input_file) { in ReadCommentedInputFromFile() 2830 ReadCommentedInputStream<T>(input_file.get(), process, output); in ReadCommentedInputFromFile() 2837 auto input_file = std::unique_ptr<FILE, decltype(&fclose)>{fdopen(input_fd, "r"), fclose}; in ReadCommentedInputFromFd() 2838 if (!input_file) { in ReadCommentedInputFromFd() 2842 ReadCommentedInputStream<T>(input_file.get(), process, output); in ReadCommentedInputFromFd()
|
/art/oatdump/ |
D | oatdump.cc | 3078 std::unique_ptr<std::ifstream> input_file(new std::ifstream(input_filename, std::ifstream::in)); in ReadCommentedInputFromFile() local 3079 if (input_file.get() == nullptr) { in ReadCommentedInputFromFile() 3083 std::vector<std::string> result = ReadCommentedInputStream(*input_file); in ReadCommentedInputFromFile() 3084 input_file->close(); in ReadCommentedInputFromFile()
|