/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(4); // Version. in WriteCIE() 52 writer.PushString(""); // Augmentation. in WriteCIE() 53 writer.PushUint8(is64bit ? 8 : 4); // Address size. in WriteCIE() 54 writer.PushUint8(0); // Segment size. in WriteCIE() 55 writer.PushUleb128(DebugFrameOpCodeWriter<Vector>::kCodeAlignmentFactor); in WriteCIE() 56 writer.PushSleb128(DebugFrameOpCodeWriter<Vector>::kDataAlignmentFactor); in WriteCIE() [all …]
|
/art/test/661-oat-writer-layout/ |
D | Android.bp | 3 // Build rules for ART run-test `661-oat-writer-layout`. 16 name: "art-run-test-661-oat-writer-layout", 21 ":art-run-test-661-oat-writer-layout-expected-stdout", 22 ":art-run-test-661-oat-writer-layout-expected-stderr", 28 name: "art-run-test-661-oat-writer-layout-expected-stdout", 29 out: ["art-run-test-661-oat-writer-layout-expected-stdout.txt"], 36 name: "art-run-test-661-oat-writer-layout-expected-stderr", 37 out: ["art-run-test-661-oat-writer-layout-expected-stderr.txt"],
|
/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/perfetto_hprof/ |
D | perfetto_hprof.cc | 659 void Dump(art::Runtime* runtime, Writer& writer) REQUIRES(art::Locks::mutator_lock_) { in Dump() argument 660 DumpRootObjects(runtime, writer); in Dump() 662 DumpObjects(runtime, writer); in Dump() 664 WriteInternedData(writer); in Dump() 669 void DumpRootObjects(art::Runtime* runtime, Writer& writer) in DumpRootObjects() argument 678 perfetto::protos::pbzero::HeapGraphRoot* root_proto = writer.GetHeapGraph()->add_roots(); in DumpRootObjects() 681 if (writer.will_create_new_packet()) { in DumpRootObjects() 684 root_proto = writer.GetHeapGraph()->add_roots(); in DumpRootObjects() 695 void DumpObjects(art::Runtime* runtime, Writer& writer) REQUIRES(art::Locks::mutator_lock_) { in DumpObjects() argument 697 [this, &writer](art::mirror::Object* obj) in DumpObjects() [all …]
|
/art/runtime/ |
D | dex2oat_environment_test.h | 260 ZipWriter writer(file); in CreateDexMetadata() 261 writer.StartEntry("primary.vdex", ZipWriter::kAlign32); in CreateDexMetadata() 262 writer.WriteBytes(data.data(), data.size()); in CreateDexMetadata() 263 writer.FinishEntry(); in CreateDexMetadata() 264 writer.Finish(); in CreateDexMetadata()
|
D | mutator_gc_coord.md | 12 Logically, the collector and mutator share a reader-writer lock on the Java 15 holds the lock in writer or exclusive mode while it needs the heap data 16 structures to be stable. However, this reader-writer lock has a very customized 102 underlying reader-writer lock is held in shared mode, ***or*** if a mutator is in
|
/art/libartservice/service/java/com/android/server/art/ |
D | IndentingPrintWriter.java | 49 public IndentingPrintWriter(@NonNull Writer writer) { in IndentingPrintWriter() argument 50 super(writer); in IndentingPrintWriter()
|
/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 | 220 std::unique_ptr<ImageWriter> writer(new ImageWriter(*compiler_options_, in DoCompile() 288 bool image_space_ok = writer->PrepareImageAddressSpace(&timings); in DoCompile() 303 oat_writer->Initialize(driver, writer.get(), cur_dex_files); in DoCompile() 317 writer->UpdateOatFileLayout(i, in DoCompile() 341 writer->UpdateOatFileHeader(i, oat_writer->GetOatHeader()); in DoCompile() 351 bool success_image = writer->Write(File::kInvalidFd, in DoCompile()
|
D | oat_writer.cc | 141 ChecksumUpdatingOutputStream(OutputStream* out, OatWriter* writer) in ChecksumUpdatingOutputStream() argument 142 : OutputStream(out->GetLocation()), out_(out), writer_(writer) { } in ChecksumUpdatingOutputStream() 659 DexMethodVisitor(OatWriter* writer, size_t offset) in DexMethodVisitor() argument 660 : writer_(writer), in DexMethodVisitor() 702 OatDexMethodVisitor(OatWriter* writer, size_t offset) in OatDexMethodVisitor() argument 703 : DexMethodVisitor(writer, offset), in OatDexMethodVisitor() 733 explicit InitBssLayoutMethodVisitor(OatWriter* writer) in InitBssLayoutMethodVisitor() argument 734 : DexMethodVisitor(writer, /* offset */ 0u) {} in InitBssLayoutMethodVisitor() 813 InitOatClassesMethodVisitor(OatWriter* writer, size_t offset) in InitOatClassesMethodVisitor() argument 814 : DexMethodVisitor(writer, offset), in InitOatClassesMethodVisitor() [all …]
|
/art/dex2oat/ |
D | dex2oat_test.cc | 1462 ZipWriter writer(file); in TEST_F() local 1466 ASSERT_GE(writer.WriteBytes(&bytes[0], file->GetLength()), 0); in TEST_F() 1469 writer.StartEntry(VdexFile::kVdexNameInDmFile, ZipWriter::kCompress); in TEST_F() 1471 writer.FinishEntry(); in TEST_F() 1472 writer.Finish(); in TEST_F() 1511 ZipWriter writer(file); in TEST_F() local 1512 writer.StartEntry("classes.dex", ZipWriter::kAlign32); in TEST_F() 1522 ASSERT_GE(writer.WriteBytes(&header, sizeof(header)), 0); in TEST_F() 1523 writer.FinishEntry(); in TEST_F() 1524 writer.Finish(); in TEST_F() [all …]
|
/art/tools/luci/config/generated/ |
D | realms.cfg | 26 role: "role/logdog.writer"
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 160 dex::Writer writer(ir); in CbClassFileLoadHook() local 162 *newClassData = writer.CreateImage(&allocator, &new_size); in CbClassFileLoadHook()
|
/art/libprofile/profile/ |
D | profile_compilation_info_test.cc | 152 ZipWriter writer(file); in TestProfileLoadFromZip() local 153 writer.StartEntry(zip_entry, zip_flags); in TestProfileLoadFromZip() 154 writer.WriteBytes(data.data(), data.size()); in TestProfileLoadFromZip() 155 writer.FinishEntry(); in TestProfileLoadFromZip() 156 writer.Finish(); in TestProfileLoadFromZip() 936 ZipWriter writer(file); in TEST_F() local 937 writer.StartEntry("primary.prof", ZipWriter::kAlign32); in TEST_F() 938 writer.WriteBytes(data.data(), data.size()); in TEST_F() 939 writer.FinishEntry(); in TEST_F() 940 writer.Finish(); in TEST_F()
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 652 PacketWriter writer(this, pkt); in WritePacket() local 653 if (writer.WriteFully()) { in WritePacket()
|
/art/test/ti-stress/ |
D | stress.cc | 90 dex::Writer writer(dex_ir); in DoExtractClassFromData() local 110 unsigned char* res = writer.CreateImage(&alloc, &res_len); in DoExtractClassFromData()
|
/art/artd/ |
D | artd_test.cc | 508 ZipWriter writer(fdopen(file->Fd(), "wb")); in CreateZipWithSingleEntry() local 509 ASSERT_EQ(writer.StartEntry(entry_name, /*flags=*/0), 0); in CreateZipWithSingleEntry() 510 ASSERT_EQ(writer.WriteBytes(content.c_str(), content.size()), 0); in CreateZipWithSingleEntry() 511 ASSERT_EQ(writer.FinishEntry(), 0); in CreateZipWithSingleEntry() 512 ASSERT_EQ(writer.Finish(), 0); in CreateZipWithSingleEntry()
|
/art/libartservice/service/javatests/com/android/server/art/ |
D | ArtManagerLocalTest.java | 883 try (var writer = new FileWriter(tempFile)) { in testSnapshotAppProfile() 884 writer.write("snapshot"); in testSnapshotAppProfile()
|
/art/test/testrunner/ |
D | testrunner.py | 203 csv_writer = csv.writer(csv_result)
|