Home
last modified time | relevance | path

Searched refs:Comparator (Results 1 – 25 of 26) 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
DParser.java30 import java.util.Comparator;
585 roots.sort(new Comparator<RootData>() { in parseInternal()
/art/libartbase/base/
Dsafe_map.h30 template <typename K, typename V, typename Comparator = std::less<K>,
34 typedef SafeMap<K, V, Comparator, Allocator> Self;
37 typedef typename ::std::map<K, V, Comparator, Allocator>::key_compare key_compare;
38 typedef typename ::std::map<K, V, Comparator, Allocator>::value_compare value_compare;
39 typedef typename ::std::map<K, V, Comparator, Allocator>::allocator_type allocator_type;
40 typedef typename ::std::map<K, V, Comparator, Allocator>::iterator iterator;
41 typedef typename ::std::map<K, V, Comparator, Allocator>::const_iterator const_iterator;
42 typedef typename ::std::map<K, V, Comparator, Allocator>::size_type size_type;
43 typedef typename ::std::map<K, V, Comparator, Allocator>::key_type key_type;
44 typedef typename ::std::map<K, V, Comparator, Allocator>::value_type value_type;
[all …]
Darena_containers.h58 template <typename T, typename Comparator = std::less<T>>
59 using ArenaPriorityQueue = std::priority_queue<T, ArenaVector<T>, Comparator>;
64 template <typename T, typename Comparator = std::less<T>>
65 using ArenaSet = std::set<T, Comparator, ArenaAllocatorAdapter<T>>;
67 template <typename K, typename V, typename Comparator = std::less<K>>
69 SafeMap<K, V, Comparator, ArenaAllocatorAdapter<std::pair<const K, V>>>;
Dscoped_arena_containers.h54 template <typename T, typename Comparator = std::less<T>>
55 using ScopedArenaPriorityQueue = std::priority_queue<T, ScopedArenaVector<T>, Comparator>;
60 template <typename T, typename Comparator = std::less<T>>
61 using ScopedArenaSet = std::set<T, Comparator, ScopedArenaAllocatorAdapter<T>>;
63 template <typename K, typename V, typename Comparator = std::less<K>>
65 SafeMap<K, V, Comparator, ScopedArenaAllocatorAdapter<std::pair<const K, V>>>;
/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/libdexfile/dex/
Ddex_file_reference.h32 struct Comparator { struct
44 return DexFileReference::Comparator()(a, b); argument
/art/test/925-threadgroups/src/art/
DTest925.java21 import java.util.Comparator;
148 private final static Comparator<Thread> THREAD_COMP = new Comparator<Thread>() {
154 private final static Comparator<ThreadGroup> THREADGROUP_COMP = new Comparator<ThreadGroup>() {
/art/test/948-change-annotations/src/
DMain.java20 import java.util.Comparator;
65 Arrays.sort(annos, Comparator.comparing((v) -> v.toString())); in sortedAnno()
/art/test/137-cfi/src/
DMain.java21 import java.util.Comparator;
23 public class Main extends Base implements Comparator<Main> {
/art/tools/class2greylist/src/com/android/class2greylist/
DAnnotationPropertyWriter.java9 import java.util.Comparator;
58 columns.sort(Comparator.naturalOrder()); in close()
/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/tools/ahat/etc/
Dahat_api.txt265 …method public static java.util.Comparator<com.android.ahat.heapdump.AhatInstance> defaultInstanceC…
266 …method public static java.util.Comparator<com.android.ahat.heapdump.Site> defaultSiteCompare(com.a…
267 method public static <T> java.util.Comparator<T> withPriority(java.util.Comparator<T>...);
268 …field public static final java.util.Comparator<com.android.ahat.heapdump.FieldValue> FIELD_VALUE_B…
269 …field public static final java.util.Comparator<com.android.ahat.heapdump.FieldValue> FIELD_VALUE_B…
270 …field public static final java.util.Comparator<com.android.ahat.heapdump.AhatInstance> INSTANCE_BY…
271 …field public static final java.util.Comparator<com.android.ahat.heapdump.Site.ObjectsInfo> OBJECTS…
272 …field public static final java.util.Comparator<com.android.ahat.heapdump.Site.ObjectsInfo> OBJECTS…
273 …field public static final java.util.Comparator<com.android.ahat.heapdump.Site.ObjectsInfo> OBJECTS…
274 … field public static final java.util.Comparator<com.android.ahat.heapdump.Site> SITE_BY_TOTAL_SIZE;
[all …]
/art/compiler/utils/
Dswap_space.h236 template <typename T, typename Comparator>
237 using SwapSet = std::set<T, Comparator, SwapAllocator<T>>;
/art/test/924-threads/src/art/
DTest924.java22 import java.util.Comparator;
378 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/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()
/art/test/VerifierDeps/
DMain.smali316 invoke-static {}, Ljava/util/Map$Entry;->comparingByKey()Ljava/util/Comparator;
325 invoke-static {}, Ljava/util/AbstractMap$SimpleEntry;->comparingByKey()Ljava/util/Comparator;

12