/external/ceres-solver/internal/ceres/ |
map_util.h | 57 template <class Collection> 58 const typename Collection::value_type::second_type& 59 FindOrDie(const Collection& collection, 60 const typename Collection::value_type::first_type& key) { 61 typename Collection::const_iterator it = collection.find(key); 62 CHECK(it != collection.end()) << "Map key not found: " << key; 69 template <class Collection> 70 const typename Collection::value_type::second_type [all...] |
/external/chromium_org/net/quic/ |
quic_utils_chromium.h | 34 template <class Collection> 35 const typename Collection::value_type::second_type& 36 FindOrDie(const Collection& collection, 37 const typename Collection::value_type::first_type& key) { 38 typename Collection::const_iterator it = collection.find(key); 39 CHECK(it != collection.end()) << "Map key not found: " << key; 44 template <class Collection> 45 typename Collection::value_type::second_type [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
Store.java | 3 import java.util.Collection; 7 Collection getMatches(Selector selector)
|
CollectionStore.java | 4 import java.util.Collection; 9 * A simple collection backed store. 14 private Collection _local; 19 * @param collection - initial contents for the store, this is copied. 22 Collection collection) 24 _local = new ArrayList(collection); 28 * Return the matches in the collection for the passed in selector. 31 * @return a possibly empty collection of matching objects. 33 public Collection getMatches(Selector selector [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
TestCollectionGenerator.java | 19 import java.util.Collection; 29 extends TestContainerGenerator<Collection<E>, E> {
|
AbstractCollectionTester.java | 19 import java.util.Collection; 22 * Base class for collection testers. 26 * @param <E> the element type of the collection to be tested. 31 extends AbstractContainerTester<Collection<E>, E> { 34 protected Collection<E> collection; field in class:AbstractCollectionTester 36 @Override protected Collection<E> actualContents() { 37 return collection; 40 // TODO: dispose of this once collection is encapsulated. 41 @Override protected Collection<E> resetContainer(Collection<E> newContents) [all...] |
OneSizeTestContainerGenerator.java | 21 import java.util.Collection; 24 * The subject-generator interface accepted by Collection testers, for testing 25 * a Collection at one particular {@link CollectionSize}. 39 Collection<E> getSampleElements(int howMany);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
map-util.h | 45 template <class Collection> 46 const typename Collection::value_type::second_type& 47 FindWithDefault(const Collection& collection, 48 const typename Collection::value_type::first_type& key, 49 const typename Collection::value_type::second_type& value) { 50 typename Collection::const_iterator it = collection.find(key); 51 if (it == collection.end()) { 60 template <class Collection> [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
CollectionItemsCache.h | 41 template <typename Collection, typename NodeType> 42 class CollectionItemsCache : public CollectionIndexCache<Collection, NodeType> { 43 typedef CollectionIndexCache<Collection, NodeType> Base; 49 unsigned nodeCount(const Collection&); 50 NodeType* nodeAt(const Collection&, unsigned index); 64 template <typename Collection, typename NodeType> 65 CollectionItemsCache<Collection, NodeType>::CollectionItemsCache() 70 template <typename Collection, typename NodeType> 71 CollectionItemsCache<Collection, NodeType>::~CollectionItemsCache() 77 template <typename Collection, typename NodeType [all...] |
CollectionIndexCache.h | 37 template <typename Collection, typename NodeType> 43 bool isEmpty(const Collection& collection) 49 return !nodeAt(collection, 0); 51 bool hasExactlyOneNode(const Collection& collection) 56 return !cachedNodeIndex() && !nodeAt(collection, 1); 57 return nodeAt(collection, 0) && !nodeAt(collection, 1); 60 unsigned nodeCount(const Collection&) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509StoreSpi.java | 5 import java.util.Collection; 11 public abstract Collection engineGetMatches(Selector selector);
|
X509CollectionStoreParameters.java | 4 import java.util.Collection; 7 * This class contains a collection for collection based <code>X509Store</code>s. 15 private Collection collection; field in class:X509CollectionStoreParameters 20 * The collection is copied. 23 * @param collection 24 * The collection containing X.509 object types. 25 * @throws NullPointerException if <code>collection</code> is <code>null</code>. 27 public X509CollectionStoreParameters(Collection collection [all...] |
PKIXAttrCertChecker.java | 5 import java.util.Collection; 34 * collection. 41 * @param unresolvedCritExts a <code>Collection</code> of OID strings 47 CertPath holderCertPath, Collection unresolvedCritExts)
|
/external/mockito/src/org/mockito/stubbing/answers/ |
ReturnsElementsOf.java | 7 import java.util.Collection;
10 * Returns elements of the collection. Keeps returning the last element forever.
11 * Might be useful on occasion when you have a collection of elements to return.
26 public ReturnsElementsOf(Collection<?> elements) {
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
LeftRecursionCyclesMessage.java | 32 import java.util.Collection; 39 public Collection cycles; 41 public LeftRecursionCyclesMessage(Collection cycles) {
|
/external/objenesis/tck/src/org/objenesis/tck/ |
Reporter.java | 18 import java.util.Collection; 44 void startTests(String platformDescription, Collection allCandidates, 45 Collection allObjenesisInstances);
|
/external/mockito/src/org/mockito/internal/configuration/injection/filter/ |
MockCandidateFilter.java | 8 import java.util.Collection;
13 Collection<Object> mocks,
|
/external/guava/guava/src/com/google/common/collect/ |
Multimap.java | 21 import java.util.Collection; 28 * A collection similar to a {@code Map}, but which may associate multiple 44 * return a collection that includes the value twice. In multimaps not 46 * key to the value, and {@code get} will return a collection that includes the 122 * Stores a collection of values with the same key. 141 * Stores a collection of values with the same key, replacing any existing 146 * @return the collection of replaced values, or an empty collection if no 147 * values were previously associated with the key. The collection 151 Collection<V> replaceValues(@Nullable K key, Iterable<? extends V> values) [all...] |
ForwardingCollection.java | 23 import java.util.Collection; 29 * A collection which forwards all its method calls to another collection. 31 * backing collection as desired per the <a 50 implements Collection<E> { 56 @Override protected abstract Collection<E> delegate(); 69 public boolean removeAll(Collection<?> collection) { 70 return delegate().removeAll(collection); 94 public boolean containsAll(Collection<?> collection) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableMultimapAsMapImplementsMapTest.java | 22 import java.util.Collection; 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 43 @Override protected Map<String, Collection<Integer>> makePopulatedMap() {
|
ImmutableSetMultimapAsMapImplementsMapTest.java | 22 import java.util.Collection; 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 43 @Override protected Map<String, Collection<Integer>> makePopulatedMap() {
|
UnmodifiableMultimapAsMapImplementsMapTest.java | 22 import java.util.Collection; 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 44 @Override protected Map<String, Collection<Integer>> makePopulatedMap() {
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ForwardingImmutableCollection.java | 19 import java.util.Collection; 32 transient final Collection<E> delegate; 34 ForwardingImmutableCollection(Collection<E> delegate) { 46 @Override public boolean containsAll(Collection<?> targets) {
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
ISensorVerification.java | 23 import java.util.Collection; 29 * The method {@link #addSensorEvents(Collection)} should be called in the order that the events are 41 void addSensorEvents(Collection<TestSensorEvent> events);
|
/external/apache-http/src/org/apache/http/cookie/params/ |
CookieSpecParamBean.java | 34 import java.util.Collection; 51 public void setDatePatterns (final Collection <String> patterns) {
|