/art/runtime/ |
D | indirect_reference_table_test.cc | 86 iref0 = irt.Add(obj0.Get(), &error_msg); in TEST_F() 89 IndirectRef iref1 = irt.Add(obj1.Get(), &error_msg); in TEST_F() 92 IndirectRef iref2 = irt.Add(obj2.Get(), &error_msg); in TEST_F() 115 iref0 = irt.Add(obj0.Get(), &error_msg); in TEST_F() 117 iref1 = irt.Add(obj1.Get(), &error_msg); in TEST_F() 119 iref2 = irt.Add(obj2.Get(), &error_msg); in TEST_F() 135 iref0 = irt.Add(obj0.Get(), &error_msg); in TEST_F() 137 iref1 = irt.Add(obj1.Get(), &error_msg); in TEST_F() 139 iref2 = irt.Add(obj2.Get(), &error_msg); in TEST_F() 164 iref0 = irt.Add(obj0.Get(), &error_msg); in TEST_F() [all …]
|
D | reference_table_test.cc | 109 rt.Add(o1.Get()); in TEST_F() 120 rt.Add(o2.Get()); in TEST_F() 166 rt.Add(empty_reference); in TEST_F() 179 rt.Add(non_empty_reference); in TEST_F() 224 rt.Add(h_without_trace.Get()); in TEST_F() 225 rt.Add(h_with_trace.Get()); in TEST_F() 226 rt.Add(h_ref.Get()); in TEST_F() 289 rt.Add(s1.Get()); in TEST_F() 290 rt.Add(s2); in TEST_F() 292 rt.Add(s1.Get()); in TEST_F() [all …]
|
/art/libarttools/tools/ |
D | cmdline_builder.h | 61 CmdlineBuilder& Add(std::string_view arg) { in Add() function 67 CmdlineBuilder& AddRuntime(std::string_view arg) { return Add("--runtime-arg").Add(arg); } in AddRuntime() 72 CmdlineBuilder& Add(const char* arg_format, const std::string& value) in Add() function 75 return Add(android::base::StringPrintf(arg_format, value.c_str())); in Add() 88 CmdlineBuilder& Add(const char* arg_format, int value) in Add() function 91 return Add(android::base::StringPrintf(arg_format, value)); in Add() 109 Add(android::base::StringPrintf(arg_format, value.c_str())); in AddIfNonEmpty() 127 Add(arg); in AddIf()
|
D | cmdline_builder_test.cc | 50 TEST_F(CmdlineBuilderTest, Add) { in TEST_F() argument 51 args_.Add("--flag"); in TEST_F() 61 args_.Add("--flag=[%s]", "foo"); in TEST_F() 71 args_.Add("--flag=[%d]", 123); in TEST_F() 121 args_.Add("--flag1"); in TEST_F() 122 args_.Add("--flag2"); in TEST_F() 125 other.Add("--flag3"); in TEST_F() 126 other.Add("--flag4"); in TEST_F()
|
/art/libartbase/base/ |
D | stats.h | 37 void AddBytes(double bytes, size_t count = 1) { Add(bytes, count); } 38 void AddBits(double bits, size_t count = 1) { Add(bits / kBitsPerByte, count); } 39 void AddSeconds(double s, size_t count = 1) { Add(s, count); } 40 void AddNanoSeconds(double ns, size_t count = 1) { Add(ns / 1000000000.0, count); } 53 void Add(double value, size_t count = 1) {
|
D | bit_table_test.cc | 54 builder.Add({42u}); in TEST() 55 builder.Add({kNoValue}); in TEST() 56 builder.Add({1000u}); in TEST() 57 builder.Add({kNoValue}); in TEST() 80 builder.Add({42u}); in TEST() 100 builder.Add({42u, kNoValue, 0u, static_cast<uint32_t>(-2)}); in TEST() 101 builder.Add({62u, kNoValue, 63u, static_cast<uint32_t>(-3)}); in TEST()
|
/art/runtime/jni/ |
D | local_reference_table_test.cc | 98 IndirectRef iref0 = lrt.Add(cookie, obj0.Get(), &error_msg); in BasicTest() 101 IndirectRef iref1 = lrt.Add(cookie, obj1.Get(), &error_msg); in BasicTest() 104 IndirectRef iref2 = lrt.Add(cookie, obj2.Get(), &error_msg); in BasicTest() 127 iref0 = lrt.Add(cookie, obj0.Get(), &error_msg); in BasicTest() 129 iref1 = lrt.Add(cookie, obj1.Get(), &error_msg); in BasicTest() 131 iref2 = lrt.Add(cookie, obj2.Get(), &error_msg); in BasicTest() 147 iref0 = lrt.Add(cookie, obj0.Get(), &error_msg); in BasicTest() 149 iref1 = lrt.Add(cookie, obj1.Get(), &error_msg); in BasicTest() 151 iref2 = lrt.Add(cookie, obj2.Get(), &error_msg); in BasicTest() 178 iref0 = lrt.Add(cookie, obj0.Get(), &error_msg); in BasicTest() [all …]
|
/art/runtime/gc/collector/ |
D | garbage_collector.cc | 208 metrics->WorldStopTimeDuringGCAvg()->Add(total_pause_time_us); in Run() 209 metrics->GcWorldStopTime()->Add(total_pause_time_us); in Run() 210 metrics->GcWorldStopTimeDelta()->Add(total_pause_time_us); in Run() 214 metrics->TotalGcCollectionTime()->Add(NsToMs(duration_ns)); in Run() 215 metrics->TotalGcCollectionTimeDelta()->Add(NsToMs(duration_ns)); in Run() 217 metrics_gc_count_->Add(1); in Run() 218 metrics_gc_count_delta_->Add(1); in Run() 220 gc_time_histogram_->Add(NsToMs(duration_ns)); in Run() 226 gc_tracing_throughput_hist_->Add(throughput); in Run() 227 gc_tracing_throughput_avg_->Add(throughput); in Run() [all …]
|
/art/artd/ |
D | artd.cc | 354 void Add(const NewFile& file) { fd_mapping_.emplace_back(file.Fd(), file.TempPath()); } in Add() function in art::artd::__anon0df6e1f30111::FdLogger 355 void Add(const File& file) { fd_mapping_.emplace_back(file.Fd(), file.GetPath()); } in Add() function in art::artd::__anon0df6e1f30111::FdLogger 457 art_exec_args.Add(OR_RETURN_FATAL(GetArtExec())).Add("--drop-capabilities"); in isProfileUsable() 460 args.Add(OR_RETURN_FATAL(GetProfman())); in isProfileUsable() 471 args.Add("--reference-profile-file-fd=%d", profile.value()->Fd()); in isProfileUsable() 472 fd_logger.Add(*profile.value()); in isProfileUsable() 475 args.Add("--apk-fd=%d", dex_file->Fd()); in isProfileUsable() 476 fd_logger.Add(*dex_file); in isProfileUsable() 478 art_exec_args.Add("--keep-fds=%s", fd_logger.GetFds()).Add("--").Concat(std::move(args)); in isProfileUsable() 510 art_exec_args.Add(OR_RETURN_FATAL(GetArtExec())).Add("--drop-capabilities"); in copyAndRewriteProfile() [all …]
|
/art/benchmark/jobject-benchmark/ |
D | info.txt | 4 Add/RemoveLocalRef 5 Add/RemoveGlobalRef 6 Add/RemoveWeakGlobalRef
|
/art/libartbase/base/metrics/ |
D | metrics_test.cc | 44 test_counter.Add(5); in TEST_F() 104 accumulator.Add(i); in TEST_F() 124 avg.Add(i); in TEST_F() 143 histogram.Add(10); in TEST_F() 146 histogram.Add(20); in TEST_F() 147 histogram.Add(25); in TEST_F() 150 histogram.Add(56); in TEST_F() 151 histogram.Add(57); in TEST_F() 152 histogram.Add(58); in TEST_F() 153 histogram.Add(59); in TEST_F() [all …]
|
/art/libelffile/elf/ |
D | elf_builder.h | 238 Elf_Word Add(const void* data, size_t length) { in Add() function 281 Elf_Word Add(const std::string& name) { in Add() function 285 return CachedSection::Add(name.c_str(), name.length() + 1); in Add() 359 void Add(Elf_Word name, in Add() function 371 Add(sym, section); in Add() 375 void Add(Elf_Sym sym, const Section* section) { in Add() function 665 dynstr_.Add(""); // dynstr should start with empty string. in PrepareDynamicSection() 666 Elf_Word oatdata = dynstr_.Add("oatdata"); in PrepareDynamicSection() 667 dynsym_.Add(oatdata, &rodata_, rodata_.GetAddress(), rodata_size, STB_GLOBAL, STT_OBJECT); in PrepareDynamicSection() 671 Elf_Word oatexec = dynstr_.Add("oatexec"); in PrepareDynamicSection() [all …]
|
/art/libprofile/profile/ |
D | profile_boot_info_test.cc | 52 saved_info.Add(dex.get(), 0); in TEST_F() 75 saved_info.Add(dex_files[0].get(), 42); in TEST_F() 76 saved_info.Add(dex_files[1].get(), 108); in TEST_F() 77 saved_info.Add(dex_files[1].get(), 54); in TEST_F() 100 saved_info.Add(dex.get(), 42); in TEST_F()
|
/art/test/458-checker-instruct-simplification/smali/ |
D | SmaliTests.smali | 198 ## CHECK-DAG: <<Add:i\d+>> Add [<<ArgValue>>,<<Const7>>] 199 ## CHECK-DAG: <<Sub:i\d+>> Sub [<<Add>>,<<Const8>>] 205 ## CHECK-DAG: <<Add:i\d+>> Add [<<ArgValue>>,<<ConstM1>>] 206 ## CHECK-DAG: Return [<<Add>>] 226 ## CHECK-DAG: <<Add:i\d+>> Add [<<Sub>>,<<Const4>>] 227 ## CHECK-DAG: Return [<<Add>>] 232 ## CHECK-DAG: <<Add:i\d+>> Add [<<ArgValue>>,<<Const1>>] 233 ## CHECK-DAG: Return [<<Add>>] 259 ## CHECK-DAG: <<Add:i\d+>> Add [<<ArgValue>>,<<ConstM19>>] 260 ## CHECK-DAG: Return [<<Add>>] [all …]
|
/art/compiler/utils/ |
D | dedupe_set_test.cc | 67 array1 = deduplicator.Add(self, test1); in TEST() 76 array2 = deduplicator.Add(self, test2); in TEST() 85 array3 = deduplicator.Add(self, test3); in TEST()
|
/art/test/663-odd-dex-size/ |
D | info.txt | 12 1) Add 1 to the size value in the dex header. 13 2) Add 1 byte to the file.
|
/art/test/663-odd-dex-size2/ |
D | info.txt | 12 1) Add 1 to the size value in the dex header. 13 2) Add 1 byte to the file.
|
/art/test/663-odd-dex-size4/ |
D | info.txt | 17 1) Add 1 to the size value in the dex header. 18 2) Add 1 byte to the file.
|
/art/test/663-odd-dex-size3/ |
D | info.txt | 12 1) Add 1 to the size value in the dex header. 13 2) Add 1 byte to the file.
|
/art/test/660-clinit/src/ |
D | Main.java | 42 expectNotPreInit(Add.class); in main() 195 static Class<?> klazz[] = new Class<?>[]{Add.class, Mul.class}; 199 class Add { class 210 a = Add.exec(10, 20);
|
/art/compiler/debug/ |
D | elf_symtab_writer.h | 128 symtab->Add(strtab->Write(kSortedSymbolName), nullptr, 0, 0, STB_GLOBAL, STT_NOTYPE); in WriteDebugSymbols() 132 symtab->Add(strtab->Write("$t"), text, mapping_symbol_address, 0, STB_GLOBAL, STT_NOTYPE); in WriteDebugSymbols() 158 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols() 167 symtab->Add(dex_name, dex, dex_address, dex_file->Size(), STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
|
/art/test/485-checker-dce-loop-update/smali/ |
D | TestCase.smali | 35 ## CHECK-DAG: <<Add5>> Add [<<PhiX>>,<<Cst5>>] loop:<<HeaderY>> 36 ## CHECK-DAG: <<Add7>> Add [<<PhiX>>,<<Cst7>>] loop:<<HeaderY>> 45 ## CHECK-DAG: <<AddX>> Add [<<PhiX>>,<<Cst7>>] loop:<<HeaderY>> 87 ## CHECK-DAG: <<Add5>> Add [<<PhiX>>,<<Cst5>>] loop:<<HeaderY>> 88 ## CHECK-DAG: <<Add7>> Add [<<PhiX>>,<<Cst7>>] loop:<<HeaderY>> 98 ## CHECK-DAG: <<Add7>> Add [<<PhiX>>,<<Cst7>>] loop:<<HeaderY>> 145 ## CHECK-DAG: <<Add5>> Add [<<PhiY>>,<<Cst5>>] loop:<<HeaderY>> 146 ## CHECK-DAG: <<Add7>> Add [<<PhiX>>,<<Cst7>>] loop:<<HeaderY>> 157 ## CHECK-DAG: <<Add7>> Add [<<PhiX>>,<<Cst7>>] loop:<<HeaderY>> 173 ## CHECK-DAG: <<Add7>> Add [<<PhiX>>,<<Cst7>>] loop:<<HeaderY>> [all …]
|
/art/test/463-checker-boolean-simplifier/smali/ |
D | Main2.smali | 223 ## CHECK-DAG: <<PhiY:i\d+>> Phi [<<Const1>>,<<Add:i\d+>>,<<Add>>] 224 ## CHECK-DAG: <<Add>> Add [<<PhiY>>,<<Const1>>] 225 ## CHECK-DAG: <<Cond:z\d+>> LessThanOrEqual [<<Add>>,<<Const1>>] 235 ## CHECK-DAG: <<PhiY:i\d+>> Phi [<<Const1>>,<<Add:i\d+>>,<<Add>>] 236 ## CHECK-DAG: <<Add>> Add [<<PhiY>>,<<Const1>>] 237 ## CHECK-DAG: <<Cond:z\d+>> LessThanOrEqual [<<Add>>,<<Const1>>]
|
/art/test/530-checker-peel-unroll/smali/ |
D | PeelUnroll.smali | 28 ## CHECK-DAG: <<AddI:i\d+>> Add [<<PhiI>>,<<Const1>>] loop:<<Loop>> outer_… 34 ## CHECK-DAG: <<AddS:i\d+>> Add [<<PhiS>>,<<Const1>>] loop:<<Loop>> outer_… 50 ## CHECK-DAG: <<AddI:i\d+>> Add [<<PhiI>>,<<Const1>>] loop:<<Loop>> outer_… 56 ## CHECK-DAG: <<AddS:i\d+>> Add [<<PhiS>>,<<Const1>>] loop:<<Loop>> outer_… 60 ## CHECK-DAG: <<AddIA:i\d+>> Add [<<AddI>>,<<Const1>>] loop:<<Loop>> outer_… 66 ## CHECK-DAG: <<AddSA:i\d+>> Add [<<PhiSM>>,<<Const1>>] loop:<<Loop>> outer_… 134 ## CHECK-DAG: <<AddI:i\d+>> Add [<<PhiI>>,<<Const1>>] loop:<<Loop>> outer_… 140 ## CHECK-DAG: <<AddS:i\d+>> Add [<<PhiS>>,<<Const1>>] loop:<<Loop>> outer_… 156 ## CHECK-DAG: <<AddI:i\d+>> Add [<<PhiI>>,<<Const1>>] loop:<<Loop>> outer_… 162 ## CHECK-DAG: <<AddS:i\d+>> Add [<<PhiS>>,<<Const1>>] loop:<<Loop>> outer_… [all …]
|
/art/test/596-checker-dead-phi/smali/ |
D | IrreducibleLoop.smali | 32 ## CHECK-DAG: Add liveness:<<LBackEdge1:\d+>> 54 # Add a marker on the irreducible loop entry. Here we use p1 because p0 is a 66 # Add a marker on the outer loop back edge. Here we use p1 because p0 is a 67 # known constant and we eliminate the Add otherwise.
|