Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 67) 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.cc807 HInstruction* compare = new (graph_->GetAllocator()) HNotEqual( in AddCHAGuard() local
810 graph_->GetAllocator(), compare, DeoptimizationKind::kCHA, dex_pc); in AddCHAGuard()
817 bb_cursor->InsertInstructionAfter(compare, deopt_flag); in AddCHAGuard()
818 bb_cursor->InsertInstructionAfter(deopt, compare); in AddCHAGuard()
880 HNotEqual* compare = new (graph_->GetAllocator()) HNotEqual(load_class, receiver_class); in AddTypeGuard() local
881 bb_cursor->InsertInstructionAfter(compare, load_class); in AddTypeGuard()
885 compare, in AddTypeGuard()
891 bb_cursor->InsertInstructionAfter(deoptimize, compare); in AddTypeGuard()
897 return compare; in AddTypeGuard()
964 HInstruction* compare = AddTypeGuard(receiver, in TryInlinePolymorphicCall() local
[all …]
/art/runtime/interpreter/mterp/arm64ng/
Dcontrol_flow.S22 %def zcmp(compare="1", branch=""):
32 .if ${compare}
85 % zcmp(compare="0", branch="cbz w2,")
91 % zcmp(compare="0", branch="tbz w2, #31,")
109 % zcmp(compare="0", branch="tbnz w2, #31,")
115 % zcmp(compare="0", branch="cbnz w2,")
/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/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/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/567-checker-builder-intrinsics/src/
DTestCompare.java35 if (Integer.compare(x, 0) < 0) { in $opt$noinline$testReplaceInputWithItself()
53 return Integer.compare((x ? 1 : 0), (y ? 1 : 0)); in compareBooleans()
104 return Integer.compare(src_x, src_y); in compareBooleans2()
115 return Integer.compare(x, y); in compareBytes()
126 return Integer.compare(x, y); in compareShorts()
137 return Integer.compare(x, y); in compareChars()
148 return Integer.compare(x, y); in compareInts()
159 return Long.compare(x, y); in compareLongs()
171 return Integer.compare(x, y); in compareByteShort()
182 return Integer.compare(x, y); in compareByteChar()
[all …]
/art/libdexfile/dex/
Ddex_file.cc334 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); in FindStringId() local
335 if (compare > 0) { in FindStringId()
337 } else if (compare < 0) { in FindStringId()
354 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); in FindTypeId() local
355 if (compare > 0) { in FindTypeId()
357 } else if (compare < 0) { in FindTypeId()
392 int compare = return_type_idx.index_ - proto.return_type_idx_.index_; in FindProtoId() local
393 if (compare == 0) { in FindProtoId()
396 while (it.HasNext() && i < signature_length && compare == 0) { in FindProtoId()
397 compare = signature_type_idxs[i].index_ - it.GetTypeIdx().index_; in FindProtoId()
[all …]
/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/432-optimizing-cmp/
Dinfo.txt1 Tests for compare operations.
/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/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/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/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/004-ReferenceMap/
Dstack_walk_refmap_jni.cc54 if (m_name.compare("f") == 0) { in VisitFrame()
/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/test/906-iterate-heap/src/art/
DTest906.java297 return Long.compare(tag, other.tag); in compareTo()
300 return Long.compare(classTag, other.classTag); in compareTo()
303 return Long.compare(size, other.size); in compareTo()
305 return Integer.compare(length, other.length); in compareTo()
/art/test/137-cfi/src/
DMain.java60 public int compare(Main lhs, Main rhs) { in compare() method in Main
/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)
/art/test/925-threadgroups/src/art/
DTest925.java149 public int compare(Thread o1, Thread o2) {
155 public int compare(ThreadGroup o1, ThreadGroup o2) {

123