/external/guava/guava/src/com/google/common/collect/ |
D | CollectCollectors.java | 31 Function<? super T, ? extends K> keyFunction, in toImmutableBiMap() argument 33 checkNotNull(keyFunction); in toImmutableBiMap() 37 (builder, input) -> builder.put(keyFunction.apply(input), valueFunction.apply(input)), in toImmutableBiMap() 55 Function<? super T, ? extends K> keyFunction, in toImmutableMap() argument 57 checkNotNull(keyFunction); in toImmutableMap() 61 (builder, input) -> builder.put(keyFunction.apply(input), valueFunction.apply(input)), in toImmutableMap() 79 Function<? super T, ? extends K> keyFunction, in toImmutableSortedMap() argument 82 checkNotNull(keyFunction); in toImmutableSortedMap() 90 (builder, input) -> builder.put(keyFunction.apply(input), valueFunction.apply(input)), in toImmutableSortedMap() 124 Function<? super T, Range<K>> keyFunction, in toImmutableRangeMap() argument [all …]
|
D | SortedLists.java | 198 Function<? super E, K> keyFunction, in binarySearch() argument 203 list, keyFunction, key, Ordering.natural(), presentBehavior, absentBehavior); in binarySearch() 215 Function<? super E, K> keyFunction, in binarySearch() argument 221 Lists.transform(list, keyFunction), key, keyComparator, presentBehavior, absentBehavior); in binarySearch()
|
D | ImmutableBiMapFauxverideShim.java | 43 Function<? super T, ? extends K> keyFunction, in toImmutableMap() argument 58 Function<? super T, ? extends K> keyFunction, in toImmutableMap() argument
|
D | ImmutableListMultimap.java | 84 Function<? super T, ? extends K> keyFunction, in toImmutableListMultimap() argument 86 checkNotNull(keyFunction, "keyFunction"); in toImmutableListMultimap() 90 (builder, t) -> builder.put(keyFunction.apply(t), valueFunction.apply(t)), in toImmutableListMultimap() 128 Function<? super T, ? extends K> keyFunction, in flatteningToImmutableListMultimap() argument 130 checkNotNull(keyFunction); in flatteningToImmutableListMultimap() 134 input -> checkNotNull(keyFunction.apply(input)), in flatteningToImmutableListMultimap()
|
D | ImmutableSortedMapFauxverideShim.java | 43 Function<? super T, ? extends K> keyFunction, in toImmutableMap() argument 58 Function<? super T, ? extends K> keyFunction, in toImmutableMap() argument
|
D | ImmutableSetMultimap.java | 87 Function<? super T, ? extends K> keyFunction, in toImmutableSetMultimap() argument 89 checkNotNull(keyFunction, "keyFunction"); in toImmutableSetMultimap() 93 (builder, t) -> builder.put(keyFunction.apply(t), valueFunction.apply(t)), in toImmutableSetMultimap() 140 Function<? super T, ? extends K> keyFunction, in flatteningToImmutableSetMultimap() argument 142 checkNotNull(keyFunction); in flatteningToImmutableSetMultimap() 146 input -> checkNotNull(keyFunction.apply(input)), in flatteningToImmutableSetMultimap()
|
D | FluentIterable.java | 718 public final <K> ImmutableListMultimap<K, E> index(Function<? super E, K> keyFunction) { 719 return Multimaps.index(getDelegate(), keyFunction); 752 public final <K> ImmutableMap<K, E> uniqueIndex(Function<? super E, K> keyFunction) { 753 return Maps.uniqueIndex(getDelegate(), keyFunction);
|
D | Multimaps.java | 108 java.util.function.Function<? super T, ? extends K> keyFunction, in toMultimap() argument 111 checkNotNull(keyFunction); in toMultimap() 116 (multimap, input) -> multimap.put(keyFunction.apply(input), valueFunction.apply(input)), in toMultimap() 158 java.util.function.Function<? super T, ? extends K> keyFunction, in flatteningToMultimap() argument 161 checkNotNull(keyFunction); in flatteningToMultimap() 167 K key = keyFunction.apply(input); in flatteningToMultimap() 1630 Iterable<V> values, Function<? super V, K> keyFunction) { 1631 return index(values.iterator(), keyFunction); 1671 Iterator<V> values, Function<? super V, K> keyFunction) { 1672 checkNotNull(keyFunction); [all …]
|
D | ImmutableSortedMap.java | 77 Function<? super T, ? extends K> keyFunction, in toImmutableSortedMap() argument 79 return CollectCollectors.toImmutableSortedMap(comparator, keyFunction, valueFunction); in toImmutableSortedMap() 95 Function<? super T, ? extends K> keyFunction, in toImmutableSortedMap() argument 99 checkNotNull(keyFunction); in toImmutableSortedMap() 104 keyFunction, valueFunction, mergeFunction, () -> new TreeMap<K, V>(comparator)), in toImmutableSortedMap()
|
D | ImmutableMap.java | 81 Function<? super T, ? extends K> keyFunction, in toImmutableMap() argument 83 return CollectCollectors.toImmutableMap(keyFunction, valueFunction); in toImmutableMap() 97 Function<? super T, ? extends K> keyFunction, in toImmutableMap() argument 100 checkNotNull(keyFunction); in toImmutableMap() 104 Collectors.toMap(keyFunction, valueFunction, mergeFunction, LinkedHashMap::new), in toImmutableMap()
|
D | ImmutableBiMap.java | 57 Function<? super T, ? extends K> keyFunction, in toImmutableBiMap() argument 59 return CollectCollectors.toImmutableBiMap(keyFunction, valueFunction); in toImmutableBiMap()
|
D | Maps.java | 107 static <K> Function<Entry<K, ?>, K> keyFunction() { in keyFunction() method in Maps 220 java.util.function.Function<? super T, ? extends K> keyFunction, 222 checkNotNull(keyFunction); 231 K key = checkNotNull(keyFunction.apply(t), "Null key for input %s", t); 252 java.util.function.Function<? super T, ? extends K> keyFunction, 255 checkNotNull(keyFunction); 262 K key = checkNotNull(keyFunction.apply(t), "Null key for input %s", t); 1290 Iterable<V> values, Function<? super V, K> keyFunction) { 1292 return uniqueIndex(values.iterator(), keyFunction); 1326 Iterator<V> values, Function<? super V, K> keyFunction) { [all …]
|
D | ImmutableRangeMap.java | 60 Function<? super T, Range<K>> keyFunction, in toImmutableRangeMap() argument 62 return CollectCollectors.toImmutableRangeMap(keyFunction, valueFunction); in toImmutableRangeMap()
|
D | Ordering.java | 453 return onResultOf(Maps.<T2>keyFunction()); in onKeys()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | SortedLists.java | 198 Function<? super E, K> keyFunction, in binarySearch() argument 203 list, keyFunction, key, Ordering.natural(), presentBehavior, absentBehavior); in binarySearch() 215 Function<? super E, K> keyFunction, in binarySearch() argument 221 Lists.transform(list, keyFunction), key, keyComparator, presentBehavior, absentBehavior); in binarySearch()
|
D | FluentIterable.java | 724 public final <K> ImmutableListMultimap<K, E> index(Function<? super E, K> keyFunction) { 725 return Multimaps.index(getDelegate(), keyFunction); 760 public final <K> ImmutableMap<K, E> uniqueIndex(Function<? super E, K> keyFunction) { 761 return Maps.uniqueIndex(getDelegate(), keyFunction);
|
D | Multimaps.java | 1518 Iterable<V> values, Function<? super V, K> keyFunction) { 1519 return index(values.iterator(), keyFunction); 1559 Iterator<V> values, Function<? super V, K> keyFunction) { 1560 checkNotNull(keyFunction); 1565 builder.put(keyFunction.apply(value), value);
|
D | Maps.java | 102 static <K> Function<Entry<K, ?>, K> keyFunction() { in keyFunction() method in Maps 1164 Iterable<V> values, Function<? super V, K> keyFunction) { 1166 return uniqueIndex(values.iterator(), keyFunction); 1200 Iterator<V> values, Function<? super V, K> keyFunction) { 1201 checkNotNull(keyFunction); 1205 builder.put(keyFunction.apply(value), value); 2111 return compose(keyPredicate, Maps.<K>keyFunction());
|
D | Ordering.java | 453 return onResultOf(Maps.<T2>keyFunction()); in onKeys()
|
D | TreeRangeMap.java | 616 return removeEntryIf(compose(not(in(c)), Maps.<Range<K>>keyFunction()));
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableSortedMap.java | 71 Function<? super T, ? extends K> keyFunction, in toImmutableSortedMap() argument 73 return CollectCollectors.toImmutableSortedMap(comparator, keyFunction, valueFunction); in toImmutableSortedMap() 78 Function<? super T, ? extends K> keyFunction, in toImmutableSortedMap() argument 82 checkNotNull(keyFunction); in toImmutableSortedMap() 87 keyFunction, valueFunction, mergeFunction, () -> new TreeMap<K, V>(comparator)), in toImmutableSortedMap()
|
D | ImmutableMap.java | 76 Function<? super T, ? extends K> keyFunction, 78 return CollectCollectors.toImmutableMap(keyFunction, valueFunction); 82 Function<? super T, ? extends K> keyFunction, 85 checkNotNull(keyFunction); 89 Collectors.toMap(keyFunction, valueFunction, mergeFunction, LinkedHashMap::new),
|
D | ImmutableBiMap.java | 35 Function<? super T, ? extends K> keyFunction, in toImmutableBiMap() argument 37 return CollectCollectors.toImmutableBiMap(keyFunction, valueFunction); in toImmutableBiMap()
|
/external/clang/lib/CodeGen/ |
D | CGVTables.cpp | 733 const CXXMethodDecl *keyFunction = Context.getCurrentKeyFunction(RD); in getVTableLinkage() local 734 if (keyFunction && !RD->hasAttr<DLLImportAttr>()) { in getVTableLinkage() 738 if (keyFunction->hasBody(def)) in getVTableLinkage() 739 keyFunction = cast<CXXMethodDecl>(def); in getVTableLinkage() 741 switch (keyFunction->getTemplateSpecializationKind()) { in getVTableLinkage() 750 if (keyFunction->isInlined()) in getVTableLinkage() 865 const CXXMethodDecl *keyFunction = CGM.getContext().getCurrentKeyFunction(RD); in isVTableExternal() local 866 if (!keyFunction) in isVTableExternal() 871 return !keyFunction->hasBody(); in isVTableExternal()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGVTables.cpp | 1014 const CXXMethodDecl *keyFunction = Context.getCurrentKeyFunction(RD); in getVTableLinkage() local 1015 if (keyFunction && !RD->hasAttr<DLLImportAttr>()) { in getVTableLinkage() 1019 if (keyFunction->hasBody(def)) in getVTableLinkage() 1020 keyFunction = cast<CXXMethodDecl>(def); in getVTableLinkage() 1022 switch (keyFunction->getTemplateSpecializationKind()) { in getVTableLinkage() 1032 if (keyFunction->isInlined()) in getVTableLinkage() 1147 const CXXMethodDecl *keyFunction = CGM.getContext().getCurrentKeyFunction(RD); in isVTableExternal() local 1148 if (!keyFunction) in isVTableExternal() 1153 return !keyFunction->hasBody(); in isVTableExternal()
|