/art/tools/dexfuzz/src/dexfuzz/ |
D | ExecutionResult.java | 44 StringBuilder builder = new StringBuilder(); in getFlattenedOutput() local 46 builder.append(line); in getFlattenedOutput() 48 flattenedOutput = builder.toString(); in getFlattenedOutput() 58 StringBuilder builder = new StringBuilder(); in getFlattenedOutputWithNewlines() local 60 builder.append(line).append("\n"); in getFlattenedOutputWithNewlines() 62 flattenedOutputWithNewlines = builder.toString(); in getFlattenedOutputWithNewlines() 72 StringBuilder builder = new StringBuilder(); in getFlattenedError() local 74 builder.append(line); in getFlattenedError() 76 flattenedError = builder.toString(); in getFlattenedError() 86 StringBuilder builder = new StringBuilder(); in getFlattenedErrorWithNewlines() local [all …]
|
D | MutationStats.java | 60 StringBuilder builder = new StringBuilder(); in getStatsString() local 61 builder.append("{"); in getStatsString() 65 builder.append(", "); in getStatsString() 69 builder.append("\"").append(statName).append("\": ").append(stats.get(statName)); in getStatsString() 71 builder.append("}"); in getStatsString() 72 return builder.toString(); in getStatsString()
|
/art/libdexfile/dex/ |
D | test_dex_file_builder_test.cc | 25 TestDexFileBuilder builder; in TEST() local 26 builder.AddString("Arbitrary string"); in TEST() 27 builder.AddType("Ljava/lang/Class;"); in TEST() 28 builder.AddField("LTestClass;", "[I", "intField"); in TEST() 29 builder.AddMethod("LTestClass;", "()I", "foo"); in TEST() 30 builder.AddMethod("LTestClass;", "(Ljava/lang/Object;[Ljava/lang/Object;)LTestClass;", "bar"); in TEST() 32 std::unique_ptr<const DexFile> dex_file(builder.Build(dex_location)); in TEST() 79 EXPECT_EQ(0u, builder.GetStringIdx("Arbitrary string")); in TEST() 80 EXPECT_EQ(2u, builder.GetTypeIdx("Ljava/lang/Class;")); in TEST() 81 EXPECT_EQ(0u, builder.GetFieldIdx("LTestClass;", "[I", "intField")); in TEST() [all …]
|
/art/libartbase/base/ |
D | bit_table_test.cc | 36 BitTableBuilderBase<1> builder(&allocator); in TEST() local 37 builder.Encode(writer); in TEST() 53 BitTableBuilderBase<1> builder(&allocator); in TEST() local 54 builder.Add({42u}); in TEST() 55 builder.Add({kNoValue}); in TEST() 56 builder.Add({1000u}); in TEST() 57 builder.Add({kNoValue}); in TEST() 58 builder.Encode(writer); in TEST() 79 BitTableBuilderBase<1> builder(&allocator); in TEST() local 80 builder.Add({42u}); in TEST() [all …]
|
D | leb128_test.cc | 97 Leb128EncodingVector<> builder; in TEST() local 98 builder.PushBackUnsigned(uleb128_tests[i].decoded); in TEST() 99 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), builder.GetData().size()); in TEST() 101 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST() 103 if (j < builder.GetData().size()) { in TEST() 134 Leb128EncodingVector<> builder; in TEST() local 136 builder.PushBackUnsigned(uleb128_tests[i].decoded); in TEST() 138 const uint8_t* encoded_data_ptr = &builder.GetData()[0]; in TEST() 149 EXPECT_EQ(builder.GetData().size(), in TEST() 150 static_cast<size_t>(encoded_data_ptr - &builder.GetData()[0])); in TEST() [all …]
|
/art/compiler/debug/ |
D | elf_debug_writer.cc | 47 void WriteDebugInfo(ElfBuilder<ElfTypes>* builder, in WriteDebugInfo() argument 50 WriteDebugSymbols(builder, /* mini-debug-info= */ false, debug_info); in WriteDebugInfo() 53 WriteCFISection(builder, debug_info.compiled_methods); in WriteDebugInfo() 93 ElfDebugLineWriter<ElfTypes> line_writer(builder); in WriteDebugInfo() 103 ElfDebugInfoWriter<ElfTypes> info_writer(builder); in WriteDebugInfo() 125 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, &out)); in MakeMiniDebugInfoInternal() local 126 builder->Start(/* write_program_headers= */ false); in MakeMiniDebugInfoInternal() 129 builder->GetText()->AllocateVirtualMemory(text_section_address, text_section_size); in MakeMiniDebugInfoInternal() 132 builder->GetDex()->AllocateVirtualMemory(dex_section_address, dex_section_size); in MakeMiniDebugInfoInternal() 135 WriteDebugSymbols(builder.get(), /* mini-debug-info= */ true, debug_info); in MakeMiniDebugInfoInternal() [all …]
|
D | elf_symtab_writer.h | 88 static void WriteDebugSymbols(ElfBuilder<ElfTypes>* builder, in WriteDebugSymbols() argument 92 const auto* text = builder->GetText(); in WriteDebugSymbols() 93 auto* strtab = builder->GetStrTab(); in WriteDebugSymbols() 94 auto* symtab = builder->GetSymTab(); in WriteDebugSymbols() 160 if (!debug_info.dex_files.empty() && builder->GetDex()->Exists()) { in WriteDebugSymbols() 161 auto dex = builder->GetDex(); in WriteDebugSymbols()
|
D | elf_debug_frame_writer.h | 151 void WriteCFISection(ElfBuilder<ElfTypes>* builder, in WriteCFISection() argument 183 auto* cfi_section = builder->GetDebugFrame(); in WriteCFISection() 186 const bool is64bit = Is64BitInstructionSet(builder->GetIsa()); in WriteCFISection() 188 WriteCIE(builder->GetIsa(), &buffer); in WriteCFISection() 195 (mi->is_code_address_text_relative ? builder->GetText()->GetAddress() : 0); in WriteCFISection() 227 auto* header_section = builder->GetDebugFrameHdr(); in WriteCFISection()
|
/art/test/429-ssa-builder/ |
D | Android.bp | 3 // Build rules for ART run-test `429-ssa-builder`. 16 name: "art-run-test-429-ssa-builder", 21 ":art-run-test-429-ssa-builder-expected-stdout", 22 ":art-run-test-429-ssa-builder-expected-stderr", 28 name: "art-run-test-429-ssa-builder-expected-stdout", 29 out: ["art-run-test-429-ssa-builder-expected-stdout.txt"], 36 name: "art-run-test-429-ssa-builder-expected-stderr", 37 out: ["art-run-test-429-ssa-builder-expected-stderr.txt"],
|
/art/test/567-checker-builder-intrinsics/ |
D | Android.bp | 3 // Build rules for ART run-test `567-checker-builder-intrinsics`. 16 name: "art-run-test-567-checker-builder-intrinsics", 21 ":art-run-test-567-checker-builder-intrinsics-expected-stdout", 22 ":art-run-test-567-checker-builder-intrinsics-expected-stderr", 31 name: "art-run-test-567-checker-builder-intrinsics-expected-stdout", 32 out: ["art-run-test-567-checker-builder-intrinsics-expected-stdout.txt"], 39 name: "art-run-test-567-checker-builder-intrinsics-expected-stderr", 40 out: ["art-run-test-567-checker-builder-intrinsics-expected-stderr.txt"],
|
/art/compiler/debug/dwarf/ |
D | dwarf_test.h | 67 ElfBuilder<ElfTypes> builder(isa, &output_stream); in Objdump() 68 builder.Start(); in Objdump() 70 builder.WriteSection(".debug_info", &debug_info_data_); in Objdump() 73 builder.WriteSection(".debug_abbrev", &debug_abbrev_data_); in Objdump() 76 builder.WriteSection(".debug_str", &debug_str_data_); in Objdump() 79 builder.WriteSection(".debug_line", &debug_line_data_); in Objdump() 82 builder.WriteSection(".debug_frame", &debug_frame_data_); in Objdump() 84 builder.End(); in Objdump() 85 EXPECT_TRUE(builder.Good()); in Objdump()
|
/art/tools/luci/config/ |
D | luci-scheduler.cfg | 130 builder: "angler-armv7-debug" 140 builder: "angler-armv7-non-gen-cc" 150 builder: "angler-armv7-ndebug" 160 builder: "angler-armv8-debug" 170 builder: "angler-armv8-non-gen-cc" 180 builder: "angler-armv8-ndebug" 190 builder: "bullhead-armv7-gcstress-ndebug" 200 builder: "bullhead-armv8-gcstress-debug" 210 builder: "bullhead-armv8-gcstress-ndebug" 220 builder: "fugu-debug" [all …]
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
D | MutationSerializer.java | 32 StringBuilder builder = new StringBuilder(); in getMutationString() local 33 builder.append(mutation.mutatorClass.getCanonicalName()).append(" "); in getMutationString() 34 builder.append(mutation.mutatableCodeIdx).append(" "); in getMutationString() 35 builder.append(mutation.getString()); in getMutationString() 36 return builder.toString(); in getMutationString()
|
/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
D | NonsenseStringPrinter.java | 42 StringBuilder builder = new StringBuilder(); in getString() local 43 builder.append(insertionIdx).append(" "); in getString() 44 builder.append(nonsenseString); in getString() 45 return builder.toString(); in getString() 156 StringBuilder builder = new StringBuilder(); in getRandomString() local 158 builder.append((char) (rng.nextInt((end + 1) - start) + start)); in getRandomString() 160 return builder.toString(); in getRandomString()
|
D | SwitchBranchShifter.java | 43 StringBuilder builder = new StringBuilder(); in getString() local 44 builder.append(switchInsnIdx).append(" "); in getString() 45 builder.append(switchTargetIdx).append(" "); in getString() 46 builder.append(newTargetIdx); in getString() 47 return builder.toString(); in getString()
|
D | InstructionSwapper.java | 40 StringBuilder builder = new StringBuilder(); in getString() local 41 builder.append(swapInsnIdx).append(" "); in getString() 42 builder.append(swapWithInsnIdx); in getString() 43 return builder.toString(); in getString()
|
D | VRegChanger.java | 43 StringBuilder builder = new StringBuilder(); in getString() local 44 builder.append(vregInsnIdx).append(" "); in getString() 45 builder.append(mutatingVreg).append(" "); in getString() 46 builder.append(newVregValue); in getString() 47 return builder.toString(); in getString()
|
D | BranchShifter.java | 42 StringBuilder builder = new StringBuilder(); in getString() local 43 builder.append(branchInsnIdx).append(" "); in getString() 44 builder.append(newTargetIdx); in getString() 45 return builder.toString(); in getString()
|
D | ConstantValueChanger.java | 42 StringBuilder builder = new StringBuilder(); in getString() local 43 builder.append(constInsnIdx).append(" "); in getString() 44 builder.append(newConstant); in getString() 45 return builder.toString(); in getString()
|
/art/dex2oat/ |
D | dex2oat_options.cc | 57 static void AddInputMappings(Builder& builder) { in AddInputMappings() argument 58 builder. in AddInputMappings() 102 static void AddGeneratedArtifactMappings(Builder& builder) { in AddGeneratedArtifactMappings() argument 103 builder. in AddGeneratedArtifactMappings() 156 static void AddImageMappings(Builder& builder) { in AddImageMappings() argument 157 builder. in AddImageMappings() 209 static void AddSwapMappings(Builder& builder) { in AddSwapMappings() argument 210 builder. in AddSwapMappings() 229 static void AddCompilerMappings(Builder& builder) { in AddCompilerMappings() argument 230 builder. in AddCompilerMappings() [all …]
|
/art/tools/create_minidebuginfo/ |
D | create_minidebuginfo.cc | 55 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, &output_stream)); in WriteMinidebugInfo() local 56 builder->Start(/*write_program_headers=*/ false); in WriteMinidebugInfo() 58 auto* text = builder->GetText(); in WriteMinidebugInfo() 63 auto* strtab = builder->GetStrTab(); in WriteMinidebugInfo() 64 auto* symtab = builder->GetSymTab(); in WriteMinidebugInfo() 94 auto* debug_frame = builder->GetDebugFrame(); in WriteMinidebugInfo() 132 builder->End(); in WriteMinidebugInfo() 133 CHECK(builder->Good()); in WriteMinidebugInfo()
|
/art/test/552-checker-primitive-typeprop/smali/ |
D | ArrayGet.smali | 22 ## CHECK-START: void ArrayGet.matchingFixedType(float[], float) builder (after) 25 ## CHECK-START-DEBUGGABLE: void ArrayGet.matchingFixedType(float[], float) builder (after) 52 ## CHECK-START: void ArrayGet.conflictingFixedType(float[], int) builder (after) 55 ## CHECK-START-DEBUGGABLE: void ArrayGet.conflictingFixedType(float[], int) builder (after) 79 ## CHECK-START: void ArrayGet.conflictingFixedType2(int[], float) builder (after) 82 ## CHECK-START-DEBUGGABLE: void ArrayGet.conflictingFixedType2(int[], float) builder (after) 85 ## CHECK-START-DEBUGGABLE: void ArrayGet.conflictingFixedType2(int[], float) builder (after) 110 ## CHECK-START: void ArrayGet.matchingFreeType(float[], float) builder (after) 113 ## CHECK-START-DEBUGGABLE: void ArrayGet.matchingFreeType(float[], float) builder (after) 142 ## CHECK-START: void ArrayGet.conflictingFreeType(int[], float) builder (after) [all …]
|
D | TypePropagation.smali | 18 …-DEBUGGABLE: void TypePropagation.mergeDeadPhi(boolean, boolean, int, float, float) builder (after) 37 ## CHECK-START-DEBUGGABLE: void TypePropagation.mergeSameType(boolean, int, int) builder (after) 50 ## CHECK-START-DEBUGGABLE: void TypePropagation.mergeVoidInput(boolean, boolean, int, int) builder … 67 ## CHECK-START-DEBUGGABLE: void TypePropagation.mergeDifferentSize(boolean, int, long) builder (aft… 79 …RT-DEBUGGABLE: void TypePropagation.mergeRefFloat(boolean, float, java.lang.Object) builder (after) 91 ## CHECK-START-DEBUGGABLE: void TypePropagation.mergeIntFloat_Success(boolean, float) builder (afte… 104 ## CHECK-START-DEBUGGABLE: void TypePropagation.mergeIntFloat_Fail(boolean, int, float) builder (af… 116 …E: void TypePropagation.updateAllUsersOnConflict(boolean, boolean, int, float, int) builder (after)
|
/art/libprofile/profile/ |
D | profile_test_helper.h | 157 TestDexFileBuilder builder; variable 158 builder.AddType(class_descriptor); 162 builder.AddType("LSharedType" + std::to_string(shared_type_index) + ";"); 165 builder.AddType("LFiller" + std::to_string(i) + ";"); 178 builder.AddMethod(class_descriptor, signature, "m" + std::to_string(method_name_index)); 180 storage.push_back(builder.Build(location, location_checksum));
|
/art/compiler/utils/ |
D | assembler_test_base.h | 216 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, &out)); in WriteElf() 217 builder->Start(/* write_program_headers= */ false); in WriteElf() 218 builder->GetText()->Start(); in WriteElf() 219 builder->GetText()->WriteFully(code.data(), code.size()); in WriteElf() 220 builder->GetText()->End(); in WriteElf() 221 builder->End(); in WriteElf() 222 CHECK(builder->Good()); in WriteElf()
|