/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | TypeItem.java | 25 public void read(DexRandomAccessFile file) throws IOException { in read() argument 26 typeIdx = file.readUShort(); in read() 30 public void write(DexRandomAccessFile file) throws IOException { in write() argument 31 file.writeUShort(typeIdx); in write()
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/ |
D | Format35c.java | 28 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument 29 file.writeByte((byte) insn.info.value); in writeToFile() 30 file.writeByte((byte) (insn.invokeFormatInfo.vregG | (insn.vregA << 4))); in writeToFile() 31 file.writeUShort((short) insn.vregB); in writeToFile() 32 file.writeByte((byte) ((insn.invokeFormatInfo.vregD << 4) | insn.vregC)); in writeToFile() 33 file.writeByte((byte) ((insn.invokeFormatInfo.vregF << 4) in writeToFile()
|
D | Format22b.java | 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument 27 file.writeByte((byte) insn.info.value); in writeToFile() 28 file.writeByte((byte) insn.vregA); in writeToFile() 29 file.writeByte((byte) insn.vregB); in writeToFile() 30 file.writeByte((byte) insn.vregC); in writeToFile()
|
D | Format3rc.java | 28 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument 29 file.writeByte((byte) insn.info.value); in writeToFile() 30 file.writeByte((byte) insn.vregA); in writeToFile() 31 file.writeUShort((short) insn.vregB); in writeToFile() 32 file.writeUShort((short) insn.vregC); in writeToFile()
|
D | Format20bc.java | 30 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument 31 file.writeByte((byte) insn.info.value); in writeToFile() 32 file.writeByte((byte) insn.vregA); in writeToFile() 33 file.writeUShort((short) insn.vregB); in writeToFile()
|
D | Format22x.java | 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument 27 file.writeByte((byte) insn.info.value); in writeToFile() 28 file.writeByte((byte) insn.vregA); in writeToFile() 29 file.writeUShort((short) insn.vregB); in writeToFile()
|
D | Format30t.java | 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument 27 file.writeByte((byte) insn.info.value); in writeToFile() 28 file.writeByte((byte) 0); // padding in writeToFile() 29 file.writeUInt((int) insn.vregA); in writeToFile()
|
D | Format20t.java | 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument 27 file.writeByte((byte) insn.info.value); in writeToFile() 28 file.writeByte((byte) 0); // padding in writeToFile() 29 file.writeUShort((short) insn.vregA); in writeToFile()
|
D | Format21t.java | 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument 27 file.writeByte((byte) insn.info.value); in writeToFile() 28 file.writeByte((byte) insn.vregA); in writeToFile() 29 file.writeUShort((short) insn.vregB); in writeToFile()
|
D | Format31t.java | 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument 27 file.writeByte((byte) insn.info.value); in writeToFile() 28 file.writeByte((byte) insn.vregA); in writeToFile() 29 file.writeUInt((int) insn.vregB); in writeToFile()
|
D | Format21h.java | 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument 27 file.writeByte((byte) insn.info.value); in writeToFile() 28 file.writeByte((byte) insn.vregA); in writeToFile() 29 file.writeUShort((short) insn.vregB); in writeToFile()
|
D | Format21s.java | 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument 27 file.writeByte((byte) insn.info.value); in writeToFile() 28 file.writeByte((byte) insn.vregA); in writeToFile() 29 file.writeUShort((short) insn.vregB); in writeToFile()
|
D | Format31i.java | 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument 27 file.writeByte((byte) insn.info.value); in writeToFile() 28 file.writeByte((byte) insn.vregA); in writeToFile() 29 file.writeUInt((int) insn.vregB); in writeToFile()
|
/art/runtime/gc/space/ |
D | image_space_fs.h | 62 std::string file = android::base::StringPrintf("%s/%s", dir.c_str(), name); in DeleteDirectoryContents() local 66 DeleteDirectoryContents(file, recurse); in DeleteDirectoryContents() 68 if (rmdir(file.c_str()) != 0) { in DeleteDirectoryContents() 69 PLOG(ERROR) << "Unable to rmdir " << file; in DeleteDirectoryContents() 77 if (unlink(file.c_str()) != 0) { in DeleteDirectoryContents() 78 PLOG(ERROR) << "Unable to unlink " << file; in DeleteDirectoryContents()
|
/art/test/712-varhandle-invocations/util-src/ |
D | generate_java.py | 707 print(s, file=src_file) 763 print("try {", file=body_text) 766 print("{0} result = ({0}) ".format(return_type), end="", file=body_text) 767 print("vh.{0}(this".format(accessor.method_name), end="", file=body_text) 770 … print(", SampleValues.get_{0}({1})".format(value_type.boxed_type, i), end="", file=body_text) 771 print(");", file=body_text) 774 file=body_text) 776 print("failUnreachable();", file=body_text) 777 print("} catch (WrongMethodTypeException e) {", file=body_text) 778 print("} catch (UnsupportedOperationException e) {", file=body_text) [all …]
|
/art/dex2oat/linker/ |
D | elf_writer_test.cc | 66 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str())); in TEST_F() local 67 ASSERT_TRUE(file.get() != nullptr) << elf_filename; in TEST_F() 70 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), in TEST_F() 82 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), in TEST_F() 94 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), in TEST_F() 111 ef->Load(file.get(), /*executable=*/ false, /*low_4gb=*/ false, &reservation, &error_msg); in TEST_F() 128 std::unique_ptr<File> file(OS::OpenFileForReading(elf_filename.c_str())); in TEST_F() local 129 ASSERT_TRUE(file.get() != nullptr); in TEST_F() 132 std::unique_ptr<ElfFile> ef(ElfFile::Open(file.get(), in TEST_F()
|
/art/test/983-source-transform-verify/ |
D | expected.txt | 1 Dex file hook for art/Test983$Transform 2 Dex file hook for java/lang/Object 3 Dex file hook for java/lang/ClassLoader
|
/art/test/2230-profile-save-hotness/src-art/ |
D | Main.java | 37 File file = null; in main() local 39 file = createTempFile(); in main() 41 VMRuntime.registerAppInfo(file.getPath(), new String[] {codePath}); in main() 48 if (!presentInProfile(file.getPath(), appMethod)) { in main() 61 if (file != null) { in main() 62 file.delete(); in main()
|
/art/test/992-source-data/ |
D | source_file.cc | 43 char* file = nullptr; in Java_art_Test992_getSourceFileName() local 44 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetSourceFileName(target, &file))) { in Java_art_Test992_getSourceFileName() 47 jstring ret = env->NewStringUTF(file); in Java_art_Test992_getSourceFileName() 48 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(file)); in Java_art_Test992_getSourceFileName()
|
/art/test/663-odd-dex-size2/ |
D | info.txt | 1 Test for two files with an odd size in a vdex file. 3 The code in boths file is: 11 The generated dex file was then manually edited to: 13 2) Add 1 byte to the file.
|
/art/runtime/ |
D | oat_file_assistant.cc | 215 const OatFile* file = oat_.GetFile(); in GetStatusDump() local 216 if (file == nullptr) { in GetStatusDump() 223 status << "compilation_filter=" << CompilerFilter::NameOfFilter(file->GetCompilerFilter()); in GetStatusDump() 236 const OatFile* file = odex_.GetFile(); in GetStatusDump() local 237 if (file == nullptr) { in GetStatusDump() 240 status << "compilation_filter=" << CompilerFilter::NameOfFilter(file->GetCompilerFilter()); in GetStatusDump() 318 bool OatFileAssistant::DexChecksumUpToDate(const VdexFile& file, std::string* error_msg) { in DexChecksumUpToDate() argument 326 uint32_t number_of_dex_files = file.GetVerifierDepsHeader().GetNumberOfDexFiles(); in DexChecksumUpToDate() 336 uint32_t actual_checksum = file.GetLocationChecksum(i); in DexChecksumUpToDate() 351 bool OatFileAssistant::DexChecksumUpToDate(const OatFile& file, std::string* error_msg) { in DexChecksumUpToDate() argument [all …]
|
/art/tools/ |
D | test_presubmit.py | 53 print("[DEBUG]: " + msg, file=sys.stderr) 119 print("[FATAL] Error when running tool (return code %s)" %(success), file=sys.stderr) 120 print("$> %s" %(" ".join(command_line_for_tool(tool_dict, tmp_file))), file=sys.stderr) 126 print("-----------------------------------------------------------", file=sys.stderr) 127 …("File '%s' diverged from generated file; please re-run tools:" %(reference_file), file=sys.stderr) 128 … print("$> %s" %(" ".join(command_line_for_tool(tool_dict, reference_file))), file=sys.stderr) 148 …print("WARNING: Not running as a pre-upload hook. Assuming commit to check = 'HEAD'", file=sys.std…
|
/art/test/663-odd-dex-size3/ |
D | info.txt | 1 Test for a dex file with an odd size followed by an aligned dex file. 11 The generated dex file was then manually edited to: 13 2) Add 1 byte to the file.
|
/art/test/663-odd-dex-size4/ |
D | info.txt | 1 Test for an aligned dex file followed by a dex file with an odd size. 16 The generated dex file was then manually edited to: 18 2) Add 1 byte to the file.
|
/art/libartbase/base/ |
D | logging.cc | 96 const char* file, in InitLogging() argument 101 logd_logger_(id, severity, tag, file, line, message); in InitLogging() 125 void LogHelper::LogLineLowStack(const char* file, in LogLineLowStack() argument 138 buf_size = strlen(file) + 1 /* ':' */ + std::numeric_limits<decltype(line)>::max_digits10 + in LogLineLowStack() 143 snprintf(buf, buf_size, "%s:%u] %s", file, line, message); in LogLineLowStack() 161 TEMP_FAILURE_RETRY(write(STDERR_FILENO, file, strlen(file))); in LogLineLowStack() 171 File file(file_name, O_RDONLY, false); in PrintFileToLog() local 172 if (!file.IsOpened()) { in PrintFileToLog() 181 int64_t n = TEMP_FAILURE_RETRY(read(file.Fd(), &buf[filled_to], kBufSize - filled_to)); in PrintFileToLog()
|