/external/protobuf/src/google/protobuf/stubs/ |
D | map_util.h | 72 template <class Collection> 73 const typename Collection::value_type::second_type& 74 FindOrDie(const Collection& collection, 75 const typename Collection::value_type::first_type& key) { 76 typename Collection::const_iterator it = collection.find(key); 82 template <class Collection> 83 typename Collection::value_type::second_type& 84 FindOrDie(Collection& collection, // NOLINT 85 const typename Collection::value_type::first_type& key) { 86 typename Collection::iterator it = collection.find(key); [all …]
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | map_util.h | 37 template <class Collection> 38 const typename Collection::value_type::second_type* FindOrNull( in FindOrNull() 39 const Collection& collection, in FindOrNull() 40 const typename Collection::value_type::first_type& key) { in FindOrNull() 41 typename Collection::const_iterator it = collection.find(key); in FindOrNull() 49 template <class Collection> 50 typename Collection::value_type::second_type* FindOrNull( in FindOrNull() 51 Collection& collection, // NOLINT in FindOrNull() 52 const typename Collection::value_type::first_type& key) { in FindOrNull() 53 typename Collection::iterator it = collection.find(key); in FindOrNull() [all …]
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | FieldType.java | 42 DOUBLE(0, Collection.SCALAR, JavaType.DOUBLE), 43 FLOAT(1, Collection.SCALAR, JavaType.FLOAT), 44 INT64(2, Collection.SCALAR, JavaType.LONG), 45 UINT64(3, Collection.SCALAR, JavaType.LONG), 46 INT32(4, Collection.SCALAR, JavaType.INT), 47 FIXED64(5, Collection.SCALAR, JavaType.LONG), 48 FIXED32(6, Collection.SCALAR, JavaType.INT), 49 BOOL(7, Collection.SCALAR, JavaType.BOOLEAN), 50 STRING(8, Collection.SCALAR, JavaType.STRING), 51 MESSAGE(9, Collection.SCALAR, JavaType.MESSAGE), [all …]
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | map_util.h | 33 template <class Collection> 34 const typename Collection::value_type::second_type& FindOrDie( in FindOrDie() 35 const Collection& collection, in FindOrDie() 36 const typename Collection::value_type::first_type& key) { in FindOrDie() 37 typename Collection::const_iterator it = collection.find(key); in FindOrDie() 43 template <class Collection> 44 typename Collection::value_type::second_type& FindOrDie( in FindOrDie() 45 Collection& collection, // NOLINT in FindOrDie() 46 const typename Collection::value_type::first_type& key) { in FindOrDie() 47 typename Collection::iterator it = collection.find(key); in FindOrDie() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | FilteredEntryMultimap.java | 29 import java.util.Collection; 86 static <E> Collection<E> filterCollection( in filterCollection() 87 Collection<E> collection, Predicate<? super E> predicate) { in filterCollection() 101 public Collection<V> removeAll(@Nullable Object key) { in removeAll() 105 Collection<V> unmodifiableEmptyCollection() { in unmodifiableEmptyCollection() 118 public Collection<V> get(final K key) { in get() 123 Collection<Entry<K, V>> createEntries() { in createEntries() 128 Collection<V> createValues() { in createValues() 138 Map<K, Collection<V>> createAsMap() { in createAsMap() 147 boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) { in removeEntriesIf() [all …]
|
D | AbstractMapBasedMultimap.java | 28 import java.util.Collection; 107 private transient Map<K, Collection<V>> map; 116 protected AbstractMapBasedMultimap(Map<K, Collection<V>> map) { in AbstractMapBasedMultimap() 122 final void setMap(Map<K, Collection<V>> map) { in setMap() 125 for (Collection<V> values : map.values()) { in setMap() 136 Collection<V> createUnmodifiableEmptyCollection() { in createUnmodifiableEmptyCollection() 150 abstract Collection<V> createCollection(); in createCollection() 160 Collection<V> createCollection(@Nullable K key) { in createCollection() 164 Map<K, Collection<V>> backingMap() { in backingMap() 184 Collection<V> collection = map.get(key); in put() [all …]
|
D | AbstractMultimap.java | 25 import java.util.Collection; 48 for (Collection<V> collection : asMap().values()) { in containsValue() 59 Collection<V> collection = asMap().get(key); in containsEntry() 66 Collection<V> collection = asMap().get(key); in remove() 82 if (values instanceof Collection) { in putAll() 83 Collection<? extends V> valueCollection = (Collection<? extends V>) values; in putAll() 103 public Collection<V> replaceValues(@Nullable K key, Iterable<? extends V> values) { in replaceValues() 105 Collection<V> result = removeAll(key); in replaceValues() 110 private transient @Nullable Collection<Entry<K, V>> entries; 113 public Collection<Entry<K, V>> entries() { in entries() [all …]
|
D | Multimaps.java | 39 import java.util.Collection; 168 Collection<V> valuesForKey = multimap.get(key); in flatteningToMultimap() 214 Map<K, Collection<V>> map, final Supplier<? extends Collection<V>> factory) { 219 transient Supplier<? extends Collection<V>> factory; 221 CustomMultimap(Map<K, Collection<V>> map, Supplier<? extends Collection<V>> factory) { 232 Map<K, Collection<V>> createAsMap() { 237 protected Collection<V> createCollection() { 242 <E> Collection<E> unmodifiableCollectionSubclass(Collection<E> collection) { 257 Collection<V> wrapCollection(K key, Collection<V> collection) { 286 factory = (Supplier<? extends Collection<V>>) stream.readObject(); [all …]
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | FilteredEntryMultimap.java | 29 import java.util.Collection; 86 static <E> Collection<E> filterCollection( in filterCollection() 87 Collection<E> collection, Predicate<? super E> predicate) { in filterCollection() 101 public Collection<V> removeAll(@NullableDecl Object key) { in removeAll() 105 Collection<V> unmodifiableEmptyCollection() { in unmodifiableEmptyCollection() 118 public Collection<V> get(final K key) { in get() 123 Collection<Entry<K, V>> createEntries() { in createEntries() 128 Collection<V> createValues() { in createValues() 138 Map<K, Collection<V>> createAsMap() { in createAsMap() 147 boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) { in removeEntriesIf() [all …]
|
D | AbstractMapBasedMultimap.java | 28 import java.util.Collection; 105 private transient Map<K, Collection<V>> map; 114 protected AbstractMapBasedMultimap(Map<K, Collection<V>> map) { in AbstractMapBasedMultimap() 120 final void setMap(Map<K, Collection<V>> map) { in setMap() 123 for (Collection<V> values : map.values()) { in setMap() 134 Collection<V> createUnmodifiableEmptyCollection() { in createUnmodifiableEmptyCollection() 148 abstract Collection<V> createCollection(); in createCollection() 158 Collection<V> createCollection(@NullableDecl K key) { in createCollection() 162 Map<K, Collection<V>> backingMap() { in backingMap() 182 Collection<V> collection = map.get(key); in put() [all …]
|
D | AbstractMultimap.java | 25 import java.util.Collection; 46 for (Collection<V> collection : asMap().values()) { in containsValue() 57 Collection<V> collection = asMap().get(key); in containsEntry() 64 Collection<V> collection = asMap().get(key); in remove() 80 if (values instanceof Collection) { in putAll() 81 Collection<? extends V> valueCollection = (Collection<? extends V>) values; in putAll() 101 public Collection<V> replaceValues(@NullableDecl K key, Iterable<? extends V> values) { in replaceValues() 103 Collection<V> result = removeAll(key); in replaceValues() 108 @NullableDecl private transient Collection<Entry<K, V>> entries; 111 public Collection<Entry<K, V>> entries() { in entries() [all …]
|
D | Multimaps.java | 39 import java.util.Collection; 107 Map<K, Collection<V>> map, final Supplier<? extends Collection<V>> factory) { in newMultimap() 112 transient Supplier<? extends Collection<V>> factory; 114 CustomMultimap(Map<K, Collection<V>> map, Supplier<? extends Collection<V>> factory) { in CustomMultimap() 125 Map<K, Collection<V>> createAsMap() { in createAsMap() 130 protected Collection<V> createCollection() { in createCollection() 135 <E> Collection<E> unmodifiableCollectionSubclass(Collection<E> collection) { in unmodifiableCollectionSubclass() 150 Collection<V> wrapCollection(K key, Collection<V> collection) { in wrapCollection() 179 factory = (Supplier<? extends Collection<V>>) stream.readObject(); in readObject() 180 Map<K, Collection<V>> map = (Map<K, Collection<V>>) stream.readObject(); in readObject() [all …]
|
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/ |
D | linq_take.hpp | 38 template <class Collection> 39 linq_take_cursor<typename Collection::cursor> 41 const Collection& c, in take_get_cursor_() 46 return linq_take_cursor<typename Collection::cursor>(c.get_cursor(), n); in take_get_cursor_() 49 template <class Collection> 50 typename Collection::cursor 52 const Collection& c, in take_get_cursor_() 65 template <class Collection> 71 typename Collection::cursor::cursor_category>::value, 72 typename Collection::cursor, [all …]
|
D | linq.hpp | 217 template <class Collection> 220 typedef typename Collection::cursor::element_type 222 typedef typename Collection::cursor::reference_type 225 typedef cursor_iterator<typename Collection::cursor> 228 linq_driver(Collection c) : c(c) {} in linq_driver() 234 linq_driver< linq_groupby<Collection, KeyFn> > groupby(KeyFn fn) in groupby() 236 return linq_groupby<Collection, KeyFn>(c, std::move(fn) ); in groupby() 244 linq_driver< linq_select<Collection, Selector> > select(Selector sel) const { in select() 245 return linq_select<Collection, Selector>(c, std::move(sel) ); in select() 249 linq_driver< linq_select_many<Collection, Fn, detail::default_select_many_selector> > [all …]
|
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/ |
D | Processor.java | 44 import java.util.Collection; 97 Collection<ValidatorCrossProfileTestInfo> newCrossProfileTests = in process() 101 Collection<ValidatorCrossProfileConfigurationInfo> newConfigurations = in process() 103 Collection<ValidatorCrossProfileConfigurationInfo> allConfigurations = in process() 106 Collection<ValidatorProviderClassInfo> newProviderClasses = findNewProviderClasses(roundEnv); in process() 107 Collection<ExecutableElement> newProviderMethods = findNewProviderMethods(roundEnv); in process() 108 Collection<TypeElement> newGeneratedConnectors = findNewGeneratedConnectors(roundEnv); in process() 109 Collection<TypeElement> newGeneratedUserConnectors = findNewGeneratedUserConnectors(roundEnv); in process() 110 Collection<ExecutableElement> newCrossProfileMethods = findNewCrossProfileMethods(roundEnv); in process() 111 Collection<ExecutableElement> allCrossProfileMethods = in process() [all …]
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/ |
D | BundleCoverageImpl.java | 15 import java.util.Collection; 34 private final Collection<IPackageCoverage> packages; 45 final Collection<IPackageCoverage> packages) { in BundleCoverageImpl() 63 final Collection<IClassCoverage> classes, in BundleCoverageImpl() 64 final Collection<ISourceFileCoverage> sourcefiles) { in BundleCoverageImpl() 68 private static Collection<IPackageCoverage> groupByPackage( in groupByPackage() 69 final Collection<IClassCoverage> classes, in groupByPackage() 70 final Collection<ISourceFileCoverage> sourcefiles) { in groupByPackage() 71 …final Map<String, Collection<IClassCoverage>> classesByPackage = new HashMap<String, Collection<IC… in groupByPackage() 76 …final Map<String, Collection<ISourceFileCoverage>> sourceFilesByPackage = new HashMap<String, Coll… in groupByPackage() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | MergeLists.java | 5 import java.util.Collection; 15 Collection<Collection<T>> source = new ArrayList<>(); 26 public MergeLists<T> add(Collection<T> orderedItems) { in add() 43 public MergeLists<T> addAll(Collection<Collection<T>> collectionsOfOrderedItems) { in addAll() 44 for (Collection<T> orderedItems : collectionsOfOrderedItems) { in addAll() 53 for (Collection<T> sublist : source) { in merge() 65 Map<T, Collection<T>> reasons = new LinkedHashMap<>(); in merge() 80 public static <T> boolean hasConsistentOrder(Collection<T> a, Collection<T> b) { in hasConsistentOrder() 100 …public static <T> Collection<T> hasConsistentOrderWithEachOf(Collection<T> a, Collection<Collectio… in hasConsistentOrderWithEachOf() 101 for (Collection<T> b : bs) { in hasConsistentOrderWithEachOf() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ForwardingCollectionTest.java | 28 import java.util.Collection; 42 private final Collection<T> backingCollection; 44 StandardImplForwardingCollection(Collection<T> backingCollection) { in StandardImplForwardingCollection() 49 protected Collection<T> delegate() { in delegate() 54 public boolean addAll(Collection<? extends T> collection) { in addAll() 69 public boolean containsAll(Collection<?> collection) { in containsAll() 79 public boolean removeAll(Collection<?> collection) { in removeAll() 84 public boolean retainAll(Collection<?> collection) { in retainAll() 112 protected Collection<String> create(String[] elements) { in suite() 127 protected Collection<String> create(String[] elements) { in suite() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | ForwardingCollectionTest.java | 28 import java.util.Collection; 42 private final Collection<T> backingCollection; 44 StandardImplForwardingCollection(Collection<T> backingCollection) { in StandardImplForwardingCollection() 49 protected Collection<T> delegate() { in delegate() 54 public boolean addAll(Collection<? extends T> collection) { in addAll() 69 public boolean containsAll(Collection<?> collection) { in containsAll() 79 public boolean removeAll(Collection<?> collection) { in removeAll() 84 public boolean retainAll(Collection<?> collection) { in retainAll() 112 protected Collection<String> create(String[] elements) { in suite() 127 protected Collection<String> create(String[] elements) { in suite() [all …]
|
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/containers/ |
D | ParcelableWrapper.java | 26 import java.util.Collection; 72 public static Collection<ParcelableWrapper> createCustomParcelableWrappers( in createCustomParcelableWrappers() 73 Types types, Elements elements, Collection<TypeElement> customParcelableWrappers) { in createCustomParcelableWrappers() 74 Collection<ParcelableWrapper> wrappers = new ArrayList<>(); in createCustomParcelableWrappers() 81 public static Collection<ParcelableWrapper> createGlobalParcelableWrappers( in createGlobalParcelableWrappers() 82 Types types, Elements elements, Collection<ExecutableElement> methods) { in createGlobalParcelableWrappers() 83 Collection<ParcelableWrapper> wrappers = new ArrayList<>(); in createGlobalParcelableWrappers() 87 Collection<TypeMirror> usedTypes = extractTypesFromMethods(methods); in createGlobalParcelableWrappers() 94 private static Collection<TypeMirror> extractTypesFromMethods( in extractTypesFromMethods() 95 Collection<ExecutableElement> methods) { in extractTypesFromMethods() [all …]
|
D | ValidatorContext.java | 21 import java.util.Collection; 81 Collection<ProfileConnectorInfo> newProfileConnectorInterfaces); in setNewProfileConnectorInterfaces() 84 Collection<UserConnectorInfo> newUserConnectorInterfaces); in setNewUserConnectorInterfaces() 87 Collection<TypeElement> newGeneratedConnectors); in setNewGeneratedProfileConnectors() 90 Collection<TypeElement> newGeneratedUserConnectors); in setNewGeneratedUserConnectors() 93 Collection<ValidatorCrossProfileConfigurationInfo> newConfigurations); in setNewConfigurations() 96 Collection<ValidatorCrossProfileTypeInfo> newCrossProfileTypes); in setNewCrossProfileTypes() 99 Collection<ExecutableElement> newCrossProfileMethods); in setNewCrossProfileMethods() 102 Collection<ValidatorProviderClassInfo> newProviderClasses); in setNewProviderClasses() 104 public abstract Builder setNewProviderMethods(Collection<ExecutableElement> newProviderMethods); in setNewProviderMethods() [all …]
|
D | GeneratorContext.java | 22 import java.util.Collection; 33 Collection<CrossProfileConfigurationInfo> configurations = in createFromValidatorContext() 38 Collection<ProviderClassInfo> providers = in createFromValidatorContext() 43 Collection<CrossProfileTypeInfo> crossProfileTypes = in createFromValidatorContext() 48 Collection<CrossProfileCallbackInterfaceInfo> crossProfileCallbackInterfaces = in createFromValidatorContext() 53 Collection<ProfileConnectorInfo> generatedProfileConnectors = in createFromValidatorContext() 63 Collection<UserConnectorInfo> generatedUserConnectors = in createFromValidatorContext() 73 Collection<CrossProfileTestInfo> crossProfileTests = in createFromValidatorContext() 121 abstract Builder setConfigurations(Collection<CrossProfileConfigurationInfo> configurations); in setConfigurations() 124 Collection<ProfileConnectorInfo> generatedProfileConnectors); in setGeneratedProfileConnectors() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/ |
D | TypeListPool.java | 41 import java.util.Collection; 44 public class TypeListPool extends BaseNullableOffsetPool<Key<? extends Collection<? extends CharSeq… 45 … implements TypeListSection<CharSequence, Key<? extends Collection<? extends CharSequence>>> { 52 public void intern(@Nonnull Collection<? extends CharSequence> types) { in intern() 54 …Key<? extends Collection<? extends CharSequence>> key = new Key<Collection<? extends CharSequence>… in intern() 65 …public Collection<? extends CharSequence> getTypes(Key<? extends Collection<? extends CharSequence… in getTypes() 72 …@Override public int getNullableItemOffset(@Nullable Key<? extends Collection<? extends CharSequen… in getNullableItemOffset() 80 public static class Key<TypeCollection extends Collection<? extends CharSequence>> 81 implements Comparable<Key<? extends Collection<? extends CharSequence>>> { 100 Key<? extends Collection<? extends CharSequence>> other = in equals() [all …]
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/sources/ |
D | rx-iterate.hpp | 38 template<class Collection> 41 typedef rxu::decay_t<Collection> collection_type; 52 template<class Collection> 55 typedef rxu::decay_t<Collection> collection_type; 60 template<class Collection, class Coordination> 61 struct iterate : public source_base<rxu::value_type_t<iterate_traits<Collection>>> 63 typedef iterate<Collection, Coordination> this_type; 64 typedef iterate_traits<Collection> traits; 159 template<class Collection> 160 auto iterate(Collection c) in iterate() [all …]
|
/external/guice/extensions/grapher/src/com/google/inject/grapher/ |
D | TransitiveDependencyVisitor.java | 33 import java.util.Collection; 44 extends DefaultBindingTargetVisitor<Object, Collection<Key<?>>> { 46 private Collection<Key<?>> visitHasDependencies(HasDependencies hasDependencies) { in visitHasDependencies() 57 public Collection<Key<?>> visit(ConstructorBinding<?> binding) { in visit() 62 public Collection<Key<?>> visit(ConvertedConstantBinding<?> binding) { in visit() 67 public Collection<Key<?>> visit(InstanceBinding<?> binding) { in visit() 72 public Collection<Key<?>> visit(LinkedKeyBinding<?> binding) { in visit() 77 public Collection<Key<?>> visit(ProviderBinding<?> binding) { in visit() 82 public Collection<Key<?>> visit(ProviderInstanceBinding<?> binding) { in visit() 87 public Collection<Key<?>> visit(ProviderKeyBinding<?> binding) { in visit() [all …]
|