Home
last modified time | relevance | path

Searched refs:keyFunction (Results 1 – 10 of 10) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DSortedLists.java203 Function<? super E, K> keyFunction, @Nullable K key, KeyPresentBehavior presentBehavior, in binarySearch() argument
207 keyFunction, in binarySearch()
223 Function<? super E, K> keyFunction, in binarySearch() argument
229 Lists.transform(list, keyFunction), key, keyComparator, presentBehavior, absentBehavior); in binarySearch()
DFluentIterable.java445 public final <K> ImmutableListMultimap<K, E> index(Function<? super E, K> keyFunction) {
446 return Multimaps.index(iterable, keyFunction);
461 public final <K> ImmutableMap<K, E> uniqueIndex(Function<? super E, K> keyFunction) {
462 return Maps.uniqueIndex(iterable, keyFunction);
DMultimaps.java1454 Iterable<V> values, Function<? super V, K> keyFunction) {
1455 return index(values.iterator(), keyFunction);
1502 Iterator<V> values, Function<? super V, K> keyFunction) {
1503 checkNotNull(keyFunction);
1509 builder.put(keyFunction.apply(value), value);
DMaps.java103 static <K> Function<Entry<K, ?>, K> keyFunction() { in keyFunction() method in Maps
113 return Iterators.transform(entryIterator, Maps.<K>keyFunction()); in keyIterator()
1139 Iterable<V> values, Function<? super V, K> keyFunction) {
1140 return uniqueIndex(values.iterator(), keyFunction);
1159 Iterator<V> values, Function<? super V, K> keyFunction) {
1160 checkNotNull(keyFunction);
1164 builder.put(keyFunction.apply(value), value);
2083 return compose(keyPredicate, Maps.<K>keyFunction());
DOrdering.java373 return onResultOf(Maps.<T2>keyFunction()); in onKeys()
DTreeRangeMap.java514 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/
DFluentIterable.java433 public final <K> ImmutableListMultimap<K, E> index(Function<? super E, K> keyFunction) {
434 return Multimaps.index(iterable, keyFunction);
449 public final <K> ImmutableMap<K, E> uniqueIndex(Function<? super E, K> keyFunction) {
450 return Maps.uniqueIndex(iterable, keyFunction);
DMultimaps.java1365 Iterable<V> values, Function<? super V, K> keyFunction) {
1366 return index(values.iterator(), keyFunction);
1413 Iterator<V> values, Function<? super V, K> keyFunction) {
1414 checkNotNull(keyFunction);
1420 builder.put(keyFunction.apply(value), value);
DMaps.java98 static <K> Function<Entry<K, ?>, K> keyFunction() { in keyFunction() method in Maps
108 return Iterators.transform(entryIterator, Maps.<K>keyFunction()); in keyIterator()
963 Iterable<V> values, Function<? super V, K> keyFunction) {
964 return uniqueIndex(values.iterator(), keyFunction);
983 Iterator<V> values, Function<? super V, K> keyFunction) {
984 checkNotNull(keyFunction);
988 builder.put(keyFunction.apply(value), value);
1666 return compose(keyPredicate, Maps.<K>keyFunction());
/external/clang/lib/CodeGen/
DCGVTables.cpp732 const CXXMethodDecl *keyFunction = Context.getCurrentKeyFunction(RD); in getVTableLinkage() local
733 if (keyFunction && !RD->hasAttr<DLLImportAttr>()) { in getVTableLinkage()
737 if (keyFunction->hasBody(def)) in getVTableLinkage()
738 keyFunction = cast<CXXMethodDecl>(def); in getVTableLinkage()
740 switch (keyFunction->getTemplateSpecializationKind()) { in getVTableLinkage()
749 if (keyFunction->isInlined()) in getVTableLinkage()
855 const CXXMethodDecl *keyFunction = CGM.getContext().getCurrentKeyFunction(RD); in isVTableExternal() local
856 if (!keyFunction) in isVTableExternal()
861 return !keyFunction->hasBody(); in isVTableExternal()