/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | Sort.java | 40 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 …]
|
D | DiffFields.java | 58 int compare = FOR_DIFF.compare(currentField, baselineField); in diff() local 59 if (compare < 0) { in diff() 62 } else if (compare == 0) { in diff()
|
D | Instances.java | 42 public int compare(AhatInstance a, AhatInstance b) { in Instances() 43 return Long.compare(a.getId(), b.getId()); in Instances()
|
/art/compiler/optimizing/ |
D | cha_guard_optimization.cc | 90 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()
|
D | inliner.cc | 902 HInstruction* compare = new (graph_->GetAllocator()) HNotEqual( in AddCHAGuard() local 905 graph_->GetAllocator(), compare, DeoptimizationKind::kCHA, dex_pc); in AddCHAGuard() 912 bb_cursor->InsertInstructionAfter(compare, deopt_flag); in AddCHAGuard() 913 bb_cursor->InsertInstructionAfter(deopt, compare); in AddCHAGuard() 975 HNotEqual* compare = new (graph_->GetAllocator()) HNotEqual(load_class, receiver_class); in AddTypeGuard() local 976 bb_cursor->InsertInstructionAfter(compare, load_class); in AddTypeGuard() 980 compare, in AddTypeGuard() 986 bb_cursor->InsertInstructionAfter(deoptimize, compare); in AddTypeGuard() 992 return compare; in AddTypeGuard() 1053 HInstruction* compare = AddTypeGuard(receiver, in TryInlinePolymorphicCall() local [all …]
|
/art/test/461-get-reference-vreg/ |
D | get_reference_vreg_jni.cc | 38 if (m_name.compare("$noinline$testThisWithInstanceCall") == 0) { in FindMethodIndex() 44 } else if (m_name.compare("$noinline$testThisWithStaticCall") == 0) { in FindMethodIndex() 48 } else if (m_name.compare("$noinline$testParameter") == 0) { in FindMethodIndex() 52 } else if (m_name.compare("$noinline$testObjectInScope") == 0) { in FindMethodIndex()
|
/art/runtime/interpreter/mterp/arm64/ |
D | control_flow.S | 22 %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/ |
D | regs_jni.cc | 39 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/ |
D | get_live_vreg_jni.cc | 39 if (m_name.compare("$noinline$testLiveArgument") == 0) { in VisitFrame() 46 } else if (m_name.compare("$noinline$testIntervalHole") == 0) { in VisitFrame() 52 } else if (m_name.compare("$noinline$testCodeSinking") == 0) { in VisitFrame()
|
/art/libdexfile/dex/ |
D | dex_file.cc | 316 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); in FindStringId() local 317 if (compare > 0) { in FindStringId() 319 } else if (compare < 0) { in FindStringId() 336 int compare = CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(string, str); in FindTypeId() local 337 if (compare > 0) { in FindTypeId() 339 } else if (compare < 0) { in FindTypeId() 374 int compare = return_type_idx.index_ - proto.return_type_idx_.index_; in FindProtoId() local 375 if (compare == 0) { in FindProtoId() 378 while (it.HasNext() && i < signature_length && compare == 0) { in FindProtoId() 379 compare = signature_type_idxs[i].index_ - it.GetTypeIdx().index_; in FindProtoId() [all …]
|
D | dex_cache_resolved_classes.h | 46 return dex_location_.compare(other.dex_location_); in Compare()
|
/art/test/567-checker-compare/src/ |
D | Main.java | 41 if (Integer.compare(x, 0) < 0) { in $opt$noinline$testReplaceInputWithItself() 59 return Integer.compare((x ? 1 : 0), (y ? 1 : 0)); in compareBooleans() 80 return Integer.compare(x, y); in compareBytes() 95 return Integer.compare(x, y); in compareShorts() 110 return Integer.compare(x, y); in compareChars() 125 return Integer.compare(x, y); in compareInts() 140 return Long.compare(x, y); in compareLongs() 156 return Integer.compare(x, y); in compareByteShort() 171 return Integer.compare(x, y); in compareByteChar() 186 return Integer.compare(x, y); in compareByteInt() [all …]
|
/art/test/432-optimizing-cmp/ |
D | info.txt | 1 Tests for compare operations.
|
/art/test/567-checker-compare/ |
D | info.txt | 1 Unit test for 32-bit and 64-bit compare operations.
|
/art/test/044-proxy/src/ |
D | MethodComparator.java | 21 public int compare(Method m1, Method m2) { in compare() method in MethodComparator
|
/art/test/454-get-vreg/ |
D | get_vreg_jni.cc | 41 if (m_name.compare("testSimpleVReg") == 0) { in VisitFrame() 79 } else if (m_name.compare("testPairVReg") == 0) { in VisitFrame()
|
/art/test/925-threadgroups/src/art/ |
D | Test925.java | 115 public int compare(Thread o1, Thread o2) { 121 public int compare(ThreadGroup o1, ThreadGroup o2) {
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | SiteHandler.java | 91 Comparator<Site.ObjectsInfo> compare = Sort.withPriority( in handle() local 95 Collections.sort(infos, compare); in handle()
|
/art/test/004-ReferenceMap/ |
D | stack_walk_refmap_jni.cc | 50 if (m_name.compare("f") == 0) { in VisitFrame()
|
/art/test/906-iterate-heap/src/art/ |
D | Test906.java | 277 return Long.compare(tag, other.tag); in compareTo() 280 return Long.compare(classTag, other.classTag); in compareTo() 283 return Long.compare(size, other.size); in compareTo() 285 return Integer.compare(length, other.length); in compareTo()
|
/art/test/137-cfi/src/ |
D | Main.java | 58 public int compare(Main lhs, Main rhs) { in compare() method in Main
|
/art/runtime/interpreter/mterp/mips64/ |
D | array.S | 24 bgeu a1, a3, common_errArrayIndex # unsigned compare: index >= length, bail 80 bgeu a1, a3, common_errArrayIndex # unsigned compare: index >= length, bail 112 bgeu a1, a3, common_errArrayIndex # unsigned compare: index >= length, bail 161 bgeu a1, a3, common_errArrayIndex # unsigned compare: index >= length, bail
|
/art/runtime/interpreter/mterp/arm/ |
D | array.S | 23 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_64/ |
D | control_flow.S | 14 cmpl VREG_ADDRESS(rINSTq), %eax # compare (vA, vB) 33 cmpl $$0, VREG_ADDRESS(rINSTq) # compare (vA, 0)
|
/art/runtime/interpreter/mterp/x86/ |
D | control_flow.S | 14 cmpl VREG_ADDRESS(rINST), %eax # compare (vA, vB) 33 cmpl $$0, VREG_ADDRESS(rINST) # compare (vA, 0)
|