Home
last modified time | relevance | path

Searched refs:Add (Results 1 – 25 of 100) sorted by relevance

1234

/art/runtime/
Dindirect_reference_table_test.cc85 iref0 = irt.Add(cookie, obj0.Get(), &error_msg); in TEST_F()
88 IndirectRef iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
91 IndirectRef iref2 = irt.Add(cookie, obj2.Get(), &error_msg); in TEST_F()
114 iref0 = irt.Add(cookie, obj0.Get(), &error_msg); in TEST_F()
116 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
118 iref2 = irt.Add(cookie, obj2.Get(), &error_msg); in TEST_F()
134 iref0 = irt.Add(cookie, obj0.Get(), &error_msg); in TEST_F()
136 iref1 = irt.Add(cookie, obj1.Get(), &error_msg); in TEST_F()
138 iref2 = irt.Add(cookie, obj2.Get(), &error_msg); in TEST_F()
163 iref0 = irt.Add(cookie, obj0.Get(), &error_msg); in TEST_F()
[all …]
Dreference_table_test.cc104 rt.Add(o1.Get()); in TEST_F()
115 rt.Add(o2.Get()); in TEST_F()
161 rt.Add(empty_reference); in TEST_F()
174 rt.Add(non_empty_reference); in TEST_F()
225 rt.Add(h_without_trace.Get()); in TEST_F()
226 rt.Add(h_with_trace.Get()); in TEST_F()
227 rt.Add(h_ref.Get()); in TEST_F()
290 rt.Add(s1.Get()); in TEST_F()
291 rt.Add(s2); in TEST_F()
293 rt.Add(s1.Get()); in TEST_F()
[all …]
/art/libartbase/base/
Dstats.h37 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) {
Dbit_table_test.cc54 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/libartbase/base/metrics/
Dmetrics_test.cc42 test_counter.Add(5); in TEST_F()
102 accumulator.Add(i); in TEST_F()
122 avg.Add(i); in TEST_F()
141 histogram.Add(10); in TEST_F()
144 histogram.Add(20); in TEST_F()
145 histogram.Add(25); in TEST_F()
148 histogram.Add(56); in TEST_F()
149 histogram.Add(57); in TEST_F()
150 histogram.Add(58); in TEST_F()
151 histogram.Add(59); in TEST_F()
[all …]
Dmetrics.h249 virtual void Add(value_t value) = 0;
265 void AddOne() { Add(1u); } in AddOne()
266 void Add(value_t value) { value_.fetch_add(value, std::memory_order::memory_order_relaxed); } in Add() function
306 void Add(value_t value) { in Add() function
307 MetricsCounter<datum_id, value_t>::Add(value); in Add()
350 void Add(int64_t value) { in Add() function
405 void Add(T value) { in Add() function
549 metric_->Add(static_cast<typename Metric::value_t>(elapsed_time)); in Stop()
/art/benchmark/jobject-benchmark/
Dinfo.txt4 Add/RemoveLocalRef
5 Add/RemoveGlobalRef
6 Add/RemoveWeakGlobalRef
/art/libelffile/elf/
Delf_builder.h238 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/
Dprofile_boot_info_test.cc52 saved_info.Add(dex.get(), 0); in TEST_F()
74 saved_info.Add(dex_files[0].get(), 42); in TEST_F()
75 saved_info.Add(dex_files[1].get(), 108); in TEST_F()
76 saved_info.Add(dex_files[1].get(), 54); in TEST_F()
99 saved_info.Add(dex.get(), 42); in TEST_F()
/art/runtime/gc/collector/
Dgarbage_collector.cc200 metrics->WorldStopTimeDuringGCAvg()->Add(total_pause_time / 1'000); in Run()
202 metrics->TotalGcCollectionTime()->Add(NsToMs(duration_ns)); in Run()
204 metrics_gc_count_->Add(1); in Run()
206 gc_time_histogram_->Add(NsToMs(duration_ns)); in Run()
212 gc_tracing_throughput_hist_->Add(throughput); in Run()
213 gc_tracing_throughput_avg_->Add(throughput); in Run()
217 gc_throughput_histogram_->Add(throughput); in Run()
218 gc_throughput_avg_->Add(throughput); in Run()
298 GetCurrentIteration()->freed_.Add(freed); in RecordFree()
302 GetCurrentIteration()->freed_los_.Add(freed); in RecordFreeLOS()
Dobject_byte_pair.h29 void Add(const ObjectBytePair& other) { in Add() function
/art/test/458-checker-instruct-simplification/smali/
DSmaliTests.smali198 ## 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/
Ddedupe_set_test.cc66 array1 = deduplicator.Add(self, test1); in TEST()
75 array2 = deduplicator.Add(self, test2); in TEST()
84 array3 = deduplicator.Add(self, test3); in TEST()
/art/test/663-odd-dex-size/
Dinfo.txt12 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/
Dinfo.txt12 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/
Dinfo.txt17 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/
Dinfo.txt12 1) Add 1 to the size value in the dex header.
13 2) Add 1 byte to the file.
/art/test/660-clinit/src/
DMain.java42 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/
Delf_symtab_writer.h127 symtab->Add(strtab->Write(kSortedSymbolName), nullptr, 0, 0, STB_GLOBAL, STT_NOTYPE); in WriteDebugSymbols()
131 symtab->Add(strtab->Write("$t"), text, mapping_symbol_address, 0, STB_GLOBAL, STT_NOTYPE); in WriteDebugSymbols()
157 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
166 symtab->Add(dex_name, dex, dex_address, dex_file->Size(), STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
/art/test/485-checker-dce-loop-update/smali/
DTestCase.smali35 ## 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/530-checker-peel-unroll/smali/
DPeelUnroll.smali28 ## 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/463-checker-boolean-simplifier/smali/
DMain2.smali220 ## CHECK-DAG: <<PhiY:i\d+>> Phi [<<Const1>>,<<Add:i\d+>>,<<Add>>]
221 ## CHECK-DAG: <<Add>> Add [<<PhiY>>,<<Const1>>]
222 ## CHECK-DAG: <<Cond:z\d+>> LessThanOrEqual [<<Add>>,<<Const1>>]
232 ## CHECK-DAG: <<PhiY:i\d+>> Phi [<<Const1>>,<<Add:i\d+>>]
233 ## CHECK-DAG: <<Add>> Add [<<PhiY>>,<<Const1>>]
234 ## CHECK-DAG: <<Cond:z\d+>> LessThanOrEqual [<<Add>>,<<Const1>>]
/art/test/960-default-smali/
Dinfo.txt17 <Add new classes/interfaces>
18 <Add these classes/interfaces to ./smali/classes.xml>
/art/test/596-checker-dead-phi/smali/
DIrreducibleLoop.smali31 ## CHECK-DAG: Add liveness:<<LBackEdge1:\d+>>
53 # Add a marker on the irreducible loop entry.
64 # Add a marker on the outer loop back edge.
/art/test/442-checker-constant-folding/smali/
DTestCmp.smali340 ## CHECK-DAG: <<Add1:i\d+>> Add [<<Const1>>,<<Const2>>]
341 ## CHECK-DAG: <<Add2:i\d+>> Add [<<Const5>>,<<Const6>>]
342 ## CHECK-DAG: <<Add3:i\d+>> Add [<<Add1>>,<<Add2>>]
350 ## CHECK-NOT: Add
385 ## CHECK-DAG: <<Add1:i\d+>> Add [<<Const1>>,<<Const2>>]
386 ## CHECK-DAG: <<Add2:i\d+>> Add [<<Const5>>,<<Const6>>]
387 ## CHECK-DAG: <<Add3:i\d+>> Add [<<Add1>>,<<Add2>>]
395 ## CHECK-NOT: Add
433 ## CHECK-DAG: <<Add:i\d+>> Add [<<Const5>>,<<Const2>>]
435 ## CHECK-DAG: <<Phi:i\d+>> Phi [<<Add>>,<<Sub>>]
[all …]

1234