Home
last modified time | relevance | path

Searched refs:Comparator (Results 1 – 25 of 33) sorted by relevance

12

/art/tools/ahat/src/main/com/android/ahat/heapdump/
DSort.java21 import java.util.Comparator;
38 public static final Comparator<Size> SIZE_BY_SIZE = new Comparator<Size>() {
51 public static final Comparator<AhatInstance> INSTANCE_BY_TOTAL_RETAINED_SIZE
52 = new Comparator<AhatInstance>() {
65 private static class InstanceByHeapRetainedSize implements Comparator<AhatInstance> {
82 private static class WithPriority<T> implements Comparator<T> {
83 private List<Comparator<T>> mComparators;
91 public WithPriority(Comparator<T>... comparators) { in WithPriority()
101 public WithPriority(List<Comparator<T>> comparators) { in WithPriority()
108 Iterator<Comparator<T>> iter = mComparators.iterator(); in compare()
[all …]
DInstances.java19 import java.util.Comparator;
40 instances.sort(new Comparator<AhatInstance>() { in Instances()
DDiffFields.java21 import java.util.Comparator;
91 private static final Comparator<FieldValue> FOR_DIFF
/art/test/044-proxy/src/
DMethodComparator.java18 import java.util.Comparator;
20 public class MethodComparator implements Comparator<Method> {
DNativeProxy.java25 import java.util.Comparator;
/art/libartbase/base/
Dsafe_map.h30 template <typename K, typename V, typename Comparator = std::less<K>,
34 using Self = SafeMap<K, V, Comparator, Allocator>;
35 using Impl = std::map<K, V, Comparator, Allocator>;
186 template <typename K, typename V, typename Comparator, typename Allocator>
187 bool operator==(const SafeMap<K, V, Comparator, Allocator>& lhs,
188 const SafeMap<K, V, Comparator, Allocator>& rhs) {
192 template <typename K, typename V, typename Comparator, typename Allocator>
193 bool operator!=(const SafeMap<K, V, Comparator, Allocator>& lhs,
194 const SafeMap<K, V, Comparator, Allocator>& rhs) {
Darena_containers.h62 template <typename T, typename Comparator = std::less<T>>
63 using ArenaPriorityQueue = std::priority_queue<T, ArenaVector<T>, Comparator>;
68 template <typename T, typename Comparator = std::less<T>>
69 using ArenaSet = std::set<T, Comparator, ArenaAllocatorAdapter<T>>;
71 template <typename K, typename V, typename Comparator = std::less<K>>
73 SafeMap<K, V, Comparator, ArenaAllocatorAdapter<std::pair<const K, V>>>;
Dscoped_arena_containers.h60 template <typename T, typename Comparator = std::less<T>>
61 using ScopedArenaPriorityQueue = std::priority_queue<T, ScopedArenaVector<T>, Comparator>;
66 template <typename T, typename Comparator = std::less<T>>
67 using ScopedArenaSet = std::set<T, Comparator, ScopedArenaAllocatorAdapter<T>>;
69 template <typename K, typename V, typename Comparator = std::less<K>>
71 SafeMap<K, V, Comparator, ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
/art/test/925-threadgroups/src/art/
DTest925.java21 import java.util.Comparator;
145 private final static Comparator<Thread> THREAD_COMP = new Comparator<Thread>() {
151 private final static Comparator<ThreadGroup> THREADGROUP_COMP = new Comparator<ThreadGroup>() {
/art/libdexfile/dex/
Ddex_file_reference.h34 struct Comparator { struct
46 return DexFileReference::Comparator()(a, b); argument
/art/test/137-cfi/src/
DMain.java21 import java.util.Comparator;
23 public class Main extends Base implements Comparator<Main> {
/art/test/948-change-annotations/src/
DMain.java20 import java.util.Comparator;
65 Arrays.sort(annos, Comparator.comparing((v) -> v.toString())); in sortedAnno()
/art/libartservice/service/javatests/com/android/server/art/testing/
DMockClock.java23 import java.util.Comparator;
57 1 /* initialCapacity */, Comparator.comparingLong(pair -> pair.second));
/art/tools/ahat/etc/
Dahat_api.txt269 …method public static Comparator<AhatInstance> defaultInstanceCompare(com.android.ahat.heapdump.Aha…
270 … method public static Comparator<Site> defaultSiteCompare(com.android.ahat.heapdump.AhatSnapshot);
271 method public static <T> Comparator<T> withPriority(Comparator<T>...);
272 field public static final Comparator<FieldValue> FIELD_VALUE_BY_NAME;
273 field public static final Comparator<FieldValue> FIELD_VALUE_BY_TYPE;
274 field public static final Comparator<AhatInstance> INSTANCE_BY_TOTAL_RETAINED_SIZE;
275 field public static final Comparator<Site.ObjectsInfo> OBJECTS_INFO_BY_CLASS_NAME;
276 field public static final Comparator<Site.ObjectsInfo> OBJECTS_INFO_BY_HEAP_NAME;
277 field public static final Comparator<Site.ObjectsInfo> OBJECTS_INFO_BY_SIZE;
278 field public static final Comparator<Site> SITE_BY_TOTAL_SIZE;
[all …]
/art/test/912-classes/src-art/art/
DTest912Art.java24 import java.util.Comparator;
DTest912.java26 import java.util.Comparator;
461 private static class ClassNameComparator implements Comparator<Class<?>> {
/art/tools/ahat/src/main/com/android/ahat/
DSiteHandler.java26 import java.util.Comparator;
91 Comparator<Site.ObjectsInfo> compare = Sort.withPriority( in handle()
/art/dex2oat/utils/
Dswap_space.h237 template <typename T, typename Comparator>
238 using SwapSet = std::set<T, Comparator, SwapAllocator<T>>;
/art/test/924-threads/src/art/
DTest924.java22 import java.util.Comparator;
394 private final static Comparator<Thread> THREAD_COMP = new Comparator<Thread>() {
/art/test/602-deoptimizeable/src/
DMain.java19 import java.util.Comparator;
/art/test/100-reflect2/src/
DMain.java163 private static Object[] sort(Object[] objects, Comparator<Object> comp) { in sort()
169 Comparator<Object> comp = new Comparator<Object>() { in testMethodReflection()
/art/libartservice/service/java/com/android/server/art/
DDumpHelper.java40 import java.util.Comparator;
76 .sorted(Comparator.comparing(PackageState::getPackageName)) in dump()
DUtils.java60 import java.util.Comparator;
135 .sorted(Comparator.comparing(Abi::isPrimaryAbi).reversed()) in getAllAbisForNames()
/art/test/685-deoptimizeable/src/
DMain.java19 import java.util.Comparator;
/art/tools/dexfuzz/src/dexfuzz/program/
DCodeTranslator.java31 import java.util.Comparator;
541 Collections.sort(dataInsns, new Comparator<MInsn>() { in alignDataInstructions()

12