Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 62) sorted by relevance

123

/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSort.java40 public int compare(Size a, Size b) {
41 return Long.compare(a.getSize(), b.getSize());
54 public int compare(AhatInstance a, AhatInstance b) {
55 return SIZE_BY_SIZE.compare(b.getTotalRetainedSize(), a.getTotalRetainedSize());
73 public int compare(AhatInstance a, AhatInstance b) { in compare() method in Sort.InstanceByHeapRetainedSize
74 return SIZE_BY_SIZE.compare(b.getRetainedSize(mHeap), a.getRetainedSize(mHeap)); in compare()
106 public int compare(T a, T b) { in compare() method in Sort.WithPriority
110 res = iter.next().compare(a, b); in compare()
170 public int compare(Site a, Site b) { in compare() method in Sort.SiteByHeapSize
171 return SIZE_BY_SIZE.compare(b.getSize(mHeap), a.getSize(mHeap)); in compare()
[all …]
DDiffFields.java58 int compare = FOR_DIFF.compare(currentField, baselineField); in diff() local
59 if (compare < 0) { in diff()
62 } else if (compare == 0) { in diff()
DInstances.java42 public int compare(AhatInstance a, AhatInstance b) { in Instances()
43 return Long.compare(a.getId(), b.getId()); in Instances()
/art/compiler/optimizing/
Dcha_guard_optimization.cc90 HInstruction* compare = flag->GetNext(); in RemoveGuard() local
91 DCHECK(compare->IsNotEqual()); in RemoveGuard()
92 HInstruction* deopt = compare->GetNext(); in RemoveGuard()
101 block->RemoveInstruction(compare); in RemoveGuard()
186 HInstruction* compare = flag->GetNext(); in HoistGuard() local
187 DCHECK(compare->IsNotEqual()); in HoistGuard()
188 HInstruction* deopt = compare->GetNext(); in HoistGuard()
199 compare->MoveBefore(pre_header->GetLastInstruction()); in HoistGuard()
206 GetGraph()->GetAllocator(), compare, DeoptimizationKind::kCHA, suspend->GetDexPc()); in HoistGuard()
Dinliner.cc909 HInstruction* compare = new (graph_->GetAllocator()) HNotEqual( in AddCHAGuard() local
912 graph_->GetAllocator(), compare, DeoptimizationKind::kCHA, dex_pc); in AddCHAGuard()
919 bb_cursor->InsertInstructionAfter(compare, deopt_flag); in AddCHAGuard()
920 bb_cursor->InsertInstructionAfter(deopt, compare); in AddCHAGuard()
982 HNotEqual* compare = new (graph_->GetAllocator()) HNotEqual(load_class, receiver_class); in AddTypeGuard() local
983 bb_cursor->InsertInstructionAfter(compare, load_class); in AddTypeGuard()
987 compare, in AddTypeGuard()
993 bb_cursor->InsertInstructionAfter(deoptimize, compare); in AddTypeGuard()
999 return compare; in AddTypeGuard()
1060 HInstruction* compare = AddTypeGuard(receiver, in TryInlinePolymorphicCall() local
[all …]
/art/test/461-get-reference-vreg/
Dget_reference_vreg_jni.cc62 if (m_name.compare("$noinline$testThisWithInstanceCall") == 0) { in FindMethodIndex()
72 } else if (m_name.compare("$noinline$testThisWithStaticCall") == 0) { in FindMethodIndex()
75 } else if (m_name.compare("$noinline$testParameter") == 0) { in FindMethodIndex()
78 } else if (m_name.compare("$noinline$testObjectInScope") == 0) { in FindMethodIndex()
/art/runtime/interpreter/mterp/arm64/
Dcontrol_flow.S22 %def zcmp(compare="1", branch=""):
33 .if ${compare}
87 % zcmp(compare="0", branch="cbz w2,")
93 % zcmp(compare="0", branch="tbz w2, #31,")
111 % zcmp(compare="0", branch="tbnz w2, #31,")
117 % zcmp(compare="0", branch="cbnz w2,")
/art/test/466-get-live-vreg/
Dget_live_vreg_jni.cc39 if (m_name.compare("$noinline$testLiveArgument") == 0) { in VisitFrame()
44 } else if (m_name.compare("$noinline$testIntervalHole") == 0) { in VisitFrame()
50 } else if (m_name.compare("$noinline$testCodeSinking") == 0) { in VisitFrame()
/art/test/457-regs/
Dregs_jni.cc39 if (m_name.compare("mergeOk") == 0) { in VisitFrame()
57 } else if (m_name.compare("mergeNotOk") == 0) { in VisitFrame()
78 } else if (m_name.compare("phiEquivalent") == 0) { in VisitFrame()
92 } else if (m_name.compare("mergeReferences") == 0) { in VisitFrame()
108 } else if (m_name.compare("phiAllEquivalents") == 0) { in VisitFrame()
/art/libdexfile/dex/
Ddex_file.cc317 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); in FindStringId() local
318 if (compare > 0) { in FindStringId()
320 } else if (compare < 0) { in FindStringId()
337 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); in FindTypeId() local
338 if (compare > 0) { in FindTypeId()
340 } else if (compare < 0) { in FindTypeId()
375 int compare = return_type_idx.index_ - proto.return_type_idx_.index_; in FindProtoId() local
376 if (compare == 0) { in FindProtoId()
379 while (it.HasNext() && i < signature_length && compare == 0) { in FindProtoId()
380 compare = signature_type_idxs[i].index_ - it.GetTypeIdx().index_; in FindProtoId()
[all …]
/art/test/567-checker-compare/src/
DMain.java37 if (Integer.compare(x, 0) < 0) { in $opt$noinline$testReplaceInputWithItself()
55 return Integer.compare((x ? 1 : 0), (y ? 1 : 0)); in compareBooleans()
76 return Integer.compare(x, y); in compareBytes()
91 return Integer.compare(x, y); in compareShorts()
106 return Integer.compare(x, y); in compareChars()
121 return Integer.compare(x, y); in compareInts()
136 return Long.compare(x, y); in compareLongs()
152 return Integer.compare(x, y); in compareByteShort()
167 return Integer.compare(x, y); in compareByteChar()
182 return Integer.compare(x, y); in compareByteInt()
[all …]
/art/test/432-optimizing-cmp/
Dinfo.txt1 Tests for compare operations.
/art/test/567-checker-compare/
Dinfo.txt1 Unit test for 32-bit and 64-bit compare operations.
/art/test/684-checker-simd-dotprod/src/other/
DTestFloatDouble.java50 if (Float.compare(expected, result) != 0) { in expectEquals()
56 if (Double.compare(expected, result) != 0) { in expectEquals()
/art/test/044-proxy/src/
DMethodComparator.java21 public int compare(Method m1, Method m2) { in compare() method in MethodComparator
/art/runtime/interpreter/mterp/x86_64ng/
Dcontrol_flow.S14 cmpl VREG_ADDRESS(rINSTq), %eax # compare (vA, vB)
30 cmpl $$0, VREG_ADDRESS(rINSTq) # compare (vA, 0)
/art/tools/ahat/src/main/com/android/ahat/
DSiteHandler.java91 Comparator<Site.ObjectsInfo> compare = Sort.withPriority( in handle() local
95 Collections.sort(infos, compare); in handle()
/art/test/454-get-vreg/
Dget_vreg_jni.cc41 if (m_name.compare("testSimpleVReg") == 0) { in VisitFrame()
79 } else if (m_name.compare("testPairVReg") == 0) { in VisitFrame()
/art/test/004-ReferenceMap/
Dstack_walk_refmap_jni.cc50 if (m_name.compare("f") == 0) { in VisitFrame()
/art/test/137-cfi/src/
DMain.java60 public int compare(Main lhs, Main rhs) { in compare() method in Main
/art/test/906-iterate-heap/src/art/
DTest906.java286 return Long.compare(tag, other.tag); in compareTo()
289 return Long.compare(classTag, other.classTag); in compareTo()
292 return Long.compare(size, other.size); in compareTo()
294 return Integer.compare(length, other.length); in compareTo()
/art/runtime/interpreter/mterp/x86_64/
Dcontrol_flow.S14 cmpl VREG_ADDRESS(rINSTq), %eax # compare (vA, vB)
33 cmpl $$0, VREG_ADDRESS(rINSTq) # compare (vA, 0)
/art/test/925-threadgroups/src/art/
DTest925.java149 public int compare(Thread o1, Thread o2) {
155 public int compare(ThreadGroup o1, ThreadGroup o2) {
/art/runtime/interpreter/mterp/arm/
Darray.S23 cmp r1, r3 @ compare unsigned index, length
83 cmp r1, r3 @ compare unsigned index, length
115 cmp r1, r3 @ compare unsigned index, length
168 cmp r1, r3 @ compare unsigned index, length
/art/runtime/interpreter/mterp/x86/
Dcontrol_flow.S14 cmpl VREG_ADDRESS(rINST), %eax # compare (vA, vB)
33 cmpl $$0, VREG_ADDRESS(rINST) # compare (vA, 0)

123