/art/libelffile/dwarf/ |
D | headers.h | 47 Writer<> writer(buffer); in WriteCIE() 48 size_t cie_header_start_ = writer.data()->size(); in WriteCIE() 49 writer.PushUint32(0); // Length placeholder. in WriteCIE() 50 writer.PushUint32(0xFFFFFFFF); // CIE id. in WriteCIE() 51 writer.PushUint8(1); // Version. in WriteCIE() 52 writer.PushString("zR"); in WriteCIE() 53 writer.PushUleb128(DebugFrameOpCodeWriter<Vector>::kCodeAlignmentFactor); in WriteCIE() 54 writer.PushSleb128(DebugFrameOpCodeWriter<Vector>::kDataAlignmentFactor); in WriteCIE() 55 writer.PushUleb128(return_address_register.num()); // ubyte in DWARF2. in WriteCIE() 56 writer.PushUleb128(1); // z: Augmentation data size. in WriteCIE() [all …]
|
/art/libartbase/base/ |
D | bit_table_test.cc | 35 BitMemoryWriter<std::vector<uint8_t>> writer(&buffer); in TEST() local 37 builder.Encode(writer); in TEST() 41 EXPECT_EQ(writer.NumberOfWrittenBits(), reader.NumberOfReadBits()); in TEST() 52 BitMemoryWriter<std::vector<uint8_t>> writer(&buffer); in TEST() local 58 builder.Encode(writer); in TEST() 62 EXPECT_EQ(writer.NumberOfWrittenBits(), reader.NumberOfReadBits()); in TEST() 78 BitMemoryWriter<std::vector<uint8_t>> writer(&buffer, start_bit_offset); in TEST() local 81 builder.Encode(writer); in TEST() 85 EXPECT_EQ(writer.NumberOfWrittenBits(), reader.NumberOfReadBits()); in TEST() 98 BitMemoryWriter<std::vector<uint8_t>> writer(&buffer); in TEST() local [all …]
|
D | bit_memory_region_test.cc | 41 BitMemoryWriter<std::vector<uint8_t>> writer(&buffer, start_bit_offset); in TEST() local 42 writer.WriteVarint(value); in TEST() 47 EXPECT_EQ(writer.NumberOfWrittenBits(), reader.NumberOfReadBits()); in TEST() 49 EXPECT_GE(upper_bound, writer.NumberOfWrittenBits()); in TEST()
|
/art/tools/dexfuzz/src/dexfuzz/listeners/ |
D | LogFileListener.java | 36 private BufferedWriter writer; field in LogFileListener 58 writer = new BufferedWriter(new FileWriter(logFile)); in setup() 68 writer.close(); in shutdown() 80 writer.write(msg + "\n"); in write() 144 writer.flush(); in handleDivergences() 161 writer.flush(); in handleSeed()
|
D | BisectionSearchListener.java | 58 PrintWriter writer = new PrintWriter(file); in writeToFile() local 59 writer.write(toWrite); in writeToFile() 60 writer.close(); in writeToFile()
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
D | MutationSerializer.java | 39 public static void writeMutation(BufferedWriter writer, Mutation mutation) throws IOException { in writeMutation() argument 41 writer.write(mutation.mutatorClass.getCanonicalName() + " " in writeMutation() 45 writer.write(mutation.getString() + "\n"); in writeMutation()
|
D | Program.java | 496 BufferedWriter writer = new BufferedWriter(new FileWriter(fileName)); in writeMutationsToDisk() local 498 MutationSerializer.writeMutation(writer, mutation); in writeMutationsToDisk() 500 writer.close(); in writeMutationsToDisk()
|
/art/test/1959-redefine-object-instrument/ |
D | fake_redef_object.cc | 64 dex::Writer writer(dex_ir); in RedefineObjectHook() local 85 *new_class_data = writer.CreateImage(&allocator, &new_size); in RedefineObjectHook()
|
/art/test/980-redefine-object/ |
D | redef_object.cc | 77 dex::Writer writer(dex_ir); in RedefineObjectHook() local 98 *new_class_data = writer.CreateImage(&allocator, &new_size); in RedefineObjectHook()
|
/art/dex2oat/linker/ |
D | image_test.h | 214 std::unique_ptr<ImageWriter> writer(new ImageWriter(*compiler_options_, in DoCompile() 282 bool image_space_ok = writer->PrepareImageAddressSpace(&timings); in DoCompile() 293 oat_writer->Initialize(driver, writer.get(), cur_dex_files); in DoCompile() 311 writer->UpdateOatFileLayout(i, in DoCompile() 335 writer->UpdateOatFileHeader(i, oat_writer->GetOatHeader()); in DoCompile() 345 bool success_image = writer->Write(kInvalidFd, in DoCompile() 354 bool success_fixup = ElfWriter::Fixup(oat_file.get(), writer->GetOatDataBegin(i)); in DoCompile()
|
D | oat_writer.cc | 113 ChecksumUpdatingOutputStream(OutputStream* out, OatWriter* writer) in ChecksumUpdatingOutputStream() argument 114 : OutputStream(out->GetLocation()), out_(out), writer_(writer) { } in ChecksumUpdatingOutputStream() 788 DexMethodVisitor(OatWriter* writer, size_t offset) in DexMethodVisitor() argument 789 : writer_(writer), in DexMethodVisitor() 831 OatDexMethodVisitor(OatWriter* writer, size_t offset) in OatDexMethodVisitor() argument 832 : DexMethodVisitor(writer, offset), in OatDexMethodVisitor() 868 explicit InitBssLayoutMethodVisitor(OatWriter* writer) in InitBssLayoutMethodVisitor() argument 869 : DexMethodVisitor(writer, /* offset */ 0u) {} in InitBssLayoutMethodVisitor() 928 InitOatClassesMethodVisitor(OatWriter* writer, size_t offset) in InitOatClassesMethodVisitor() argument 929 : DexMethodVisitor(writer, offset), in InitOatClassesMethodVisitor() [all …]
|
/art/dex2oat/ |
D | dex2oat_test.cc | 1793 ZipWriter writer(file); in TEST_F() local 1795 writer.StartEntry("classes.dex", ZipWriter::kCompress); in TEST_F() 1798 ASSERT_GE(writer.WriteBytes(&bytes[0], length), 0); in TEST_F() 1799 writer.FinishEntry(); in TEST_F() 1800 writer.StartEntry("classes2.dex", ZipWriter::kCompress); in TEST_F() 1802 ASSERT_GE(writer.WriteBytes(dex->Begin(), dex->Size()), 0); in TEST_F() 1803 writer.FinishEntry(); in TEST_F() 1804 writer.Finish(); in TEST_F() 1931 ZipWriter writer(file); in TEST_F() local 1935 ASSERT_GE(writer.WriteBytes(&bytes[0], file->GetLength()), 0); in TEST_F() [all …]
|
/art/libprofile/profile/ |
D | profile_compilation_info_test.cc | 165 ZipWriter writer(file); in TestProfileLoadFromZip() local 166 writer.StartEntry(zip_entry, zip_flags); in TestProfileLoadFromZip() 167 writer.WriteBytes(data.data(), data.size()); in TestProfileLoadFromZip() 168 writer.FinishEntry(); in TestProfileLoadFromZip() 169 writer.Finish(); in TestProfileLoadFromZip() 811 ZipWriter writer(file); in TEST_F() local 812 writer.StartEntry("primary.prof", ZipWriter::kAlign32); in TEST_F() 813 writer.WriteBytes(data.data(), data.size()); in TEST_F() 814 writer.FinishEntry(); in TEST_F() 815 writer.Finish(); in TEST_F()
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 162 dex::Writer writer(ir); in CbClassFileLoadHook() local 164 *newClassData = writer.CreateImage(&allocator, &new_size); in CbClassFileLoadHook()
|
/art/dexlayout/ |
D | dex_writer.cc | 964 std::unique_ptr<DexWriter> writer; in Output() local 967 writer.reset(new CompactDexWriter(dex_layout)); in Output() 969 writer.reset(new DexWriter(dex_layout, compute_offsets)); in Output() 973 *container = writer->CreateDexContainer(); in Output() 975 return writer->Write(container->get(), error_msg); in Output()
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 633 PacketWriter writer(this, pkt); in WritePacket() local 634 if (writer.WriteFully()) { in WritePacket()
|
/art/test/ti-stress/ |
D | stress.cc | 91 dex::Writer writer(dex_ir); in DoExtractClassFromData() local 111 unsigned char* res = writer.CreateImage(&alloc, &res_len); in DoExtractClassFromData()
|
/art/test/ |
D | Android.bp | 493 "661-oat-writer-layout/oat_writer_layout.cc",
|