Home
last modified time | relevance | path

Searched refs:Comparator (Results 1 – 25 of 28) 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.h56 template <typename T, typename Comparator = std::less<T>>
57 using ScopedArenaPriorityQueue = std::priority_queue<T, ScopedArenaVector<T>, Comparator>;
62 template <typename T, typename Comparator = std::less<T>>
63 using ScopedArenaSet = std::set<T, Comparator, ScopedArenaAllocatorAdapter<T>>;
65 template <typename K, typename V, typename Comparator = std::less<K>>
67 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/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/libdexfile/dex/
Ddex_file_reference.h34 struct Comparator { struct
46 return DexFileReference::Comparator()(a, b); argument
/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/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/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;
/art/test/100-reflect2/
Dexpected-stdout.txt35 … long java.lang.String.serialVersionUID, public static final java.util.Comparator java.lang.String…

12