/external/bouncycastle/src/main/java/org/bouncycastle/util/ |
Store.java | 3 import java.util.Collection; 7 Collection getMatches(Selector selector)
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
X509StoreSpi.java | 5 import java.util.Collection; 11 public abstract Collection engineGetMatches(Selector selector);
|
/external/webkit/LayoutTests/fast/dom/getElementsByClassName/resources/ |
common.js | 2 function t(collection, elements) { 9 if(collection.length != elements.length) { 11 log += "Got " + collection.length + " elements, expected " + elements.length + ". " 13 for(var i = 0, max = collection.length > elements.length ? elements.length : collection.length; i < max; i++) { 14 if(collection[i] != elements[i]) { 16 log += "Got element `" + collection[i].tagName + "` (" + collection[i].namespaceURI + ")"
|
/external/webkit/Source/WebCore/bindings/v8/ |
V8Collection.h | 52 template<class Collection> static Collection* toNativeCollection(v8::Local<v8::Object> object) 54 return reinterpret_cast<Collection*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex)); 62 // Returns named property of a collection. 63 template<class Collection, class ItemType> static v8::Handle<v8::Value> getNamedPropertyOfCollection(v8::Local<v8::String> name, v8::Local<v8::Object> object) 65 // FIXME: assert object is a collection type 68 Collection* collection = toNativeCollection<Collection>(object); local 70 return getV8Object<ItemType>(collection->namedItem(propertyName)) 94 Collection* collection = toNativeCollection<Collection>(object); local 108 Collection* collection = toNativeCollection<Collection>(info.Holder()); local 123 Collection* collection = toNativeCollection<Collection>(info.Holder()); local 140 Collection* collection = toNativeCollection<Collection>(info.Holder()); local 151 Collection* collection = toNativeCollection<Collection>(info.Holder()); local [all...] |
/libcore/luni/src/main/java/java/security/cert/ |
CollectionCertStoreParameters.java | 20 import java.util.Collection; 24 * The parameters to initialize a <i>Collection</i> type {@code CertStore} instance. 26 * It is used to specify the {@code Collection} where the {@code CertStore} will 30 // Default empty and immutable collection. 33 private static final Collection<?> defaultCollection = Collections.EMPTY_SET; 34 // A <code>Collection</code> of <code>Certificate</code>s 36 private final Collection<?> collection; field in class:CollectionCertStoreParameters 39 * Creates a new {@code CollectionCertStoreParameters} without a collection. 41 * The default collection is an empty and unmodifiable {@code Collection} [all...] |
/libcore/luni/src/main/java/java/util/ |
Collection.java | 22 * {@code Collection} is the root of the collection hierarchy. It defines operations on 24 * of {@code Collection}s. 26 * All direct or indirect implementations of {@code Collection} should implement at 28 * collection and one with a parameter of type {@code Collection}. This second 29 * constructor can be used to create a collection of different type as the 30 * initial collection but with the same elements. Implementations of {@code Collection} 34 * Methods that change the content of a collection throw a [all...] |
AbstractCollection.java | 24 * Collection} interface. A subclass must implement the abstract methods {@code 25 * iterator()} and {@code size()} to create an immutable collection. To create a 26 * modifiable collection it's necessary to override the {@code add()} method that 31 public abstract class AbstractCollection<E> implements Collection<E> { 44 * Attempts to add all of the objects contained in {@code collection} 45 * to the contents of this {@code Collection} (optional). This implementation 46 * iterates over the given {@code Collection} and calls {@code add} for each 49 * {@code Collection} does not support adding elements, an {@code 52 * If the passed {@code Collection} is changed during the process of adding elements 53 * to this {@code Collection}, the behavior depends on the behavior of the passe [all...] |
/external/guava/src/com/google/common/collect/ |
ForwardingCollection.java | 21 import java.util.Collection; 25 * A collection which forwards all its method calls to another collection. 27 * the backing collection as desired per the <a 36 implements Collection<E> { 38 @Override protected abstract Collection<E> delegate(); 48 public boolean removeAll(Collection<?> collection) { 49 return delegate().removeAll(collection); 76 public boolean containsAll(Collection<?> collection) [all...] |
ImmutableAsList.java | 24 * List returned by {@link ImmutableCollection#asList} when the collection isn't 31 private final transient ImmutableCollection<E> collection; field in class:ImmutableAsList 33 ImmutableAsList(Object[] array, ImmutableCollection<E> collection) { 35 this.collection = collection; 39 // The collection's contains() is at least as fast as RegularImmutableList's 41 return collection.contains(target); 48 final ImmutableCollection<?> collection; field in class:ImmutableAsList.SerializedForm 49 SerializedForm(ImmutableCollection<?> collection) { 50 this.collection = collection [all...] |
AbstractMultimap.java | 29 import java.util.Collection; 46 * a multimap as a map that associates each key with a collection of values. All 51 * #createCollection()}, which creates an empty collection of values for a key. 56 * to create the collection of values for that key. The subclass should not call 65 * <p>Keys and values may be null, as long as the underlying collection classes 69 * allow duplicates. If the collection, such as a {@link Set}, does not support 72 * List} that allow duplicates, the collection will keep the existing key-value 91 * The map variable contains the collection of values associated with each 93 * contain any values for that key, a new collection generated by 94 * createCollection is added to the map. That same collection instanc 187 Collection<V> collection = map.get(key); local 194 Collection<V> collection = getOrCreateCollection(key); local 205 Collection<V> collection = map.get(key); local 214 Collection<V> collection = map.get(key); local 235 Collection<V> collection = getOrCreateCollection(key); local 273 Collection<V> collection = getOrCreateCollection(key); local 295 Collection<V> collection = map.remove(key); local 337 Collection<V> collection = map.get(key); local 867 Collection<V> collection = entry.getValue(); local 883 Collection<V> collection = subMap.remove(key); local 956 Collection<V> collection; local 1009 Collection<V> collection = map.get(entry.getElement()); local 1030 Collection<V> collection = map.get(key); local 1053 Collection<V> collection; local 1237 Collection<V> collection; field in class:EntryIterator 1323 Collection<V> collection = Maps.safeGet(submap, key); local 1337 Collection<V> collection = submap.remove(key); local 1390 Collection<V> collection; field in class:AsMap.AsMapIterator [all...] |
Collections2.java | 26 import java.util.Collection; 36 * Provides static methods for working with {@code Collection} instances. 48 * Returns {@code true} if the collection {@code self} contains all of the 49 * elements in the collection {@code c}. 51 * <p>This method iterates over the specified collection {@code c}, checking 53 * the specified collection {@code self}. If all elements are so contained, 56 * @param self a collection which might contain all elements in {@code c} 57 * @param c a collection whose elements might be contained by {@code self} 60 static boolean containsAll(Collection<?> self, Collection<?> c) [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTestFramework.java | 15 import java.util.Collection; 60 NodeList collection); 66 NamedNodeMap collection); 72 Collection collection); 83 Collection expected, 84 Collection actual); 119 Collection expected, 120 Collection actual); 156 boolean equalsIgnoreCase(Collection expected, Collection actual) [all...] |
/external/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/webkit/LayoutTests/fast/dom/getElementsByClassName/ |
003.html | 10 var collection = document.getElementsByClassName("a") 12 t(collection, [document.documentElement])
|
005.html | 10 var collection = document.getElementsByClassName("a") 12 t(collection, [document.documentElement])
|
004.html | 10 var collection = document.getElementsByClassName("a") 12 t(collection, [document.documentElement, document.body])
|
006.html | 10 var collection = document.getElementsByClassName("a"), 14 t(collection, [document.body, ele])
|
/external/chromium/chrome/browser/ |
browsing_data_appcache_helper_unittest.cc | 51 std::map<GURL, appcache::AppCacheInfoVector>& collection = local 54 ASSERT_EQ(2u, collection.size()); 55 EXPECT_TRUE(ContainsKey(collection, manifest1.GetOrigin())); 56 ASSERT_EQ(1u, collection[manifest1.GetOrigin()].size()); 57 EXPECT_EQ(manifest1, collection[manifest1.GetOrigin()].at(0).manifest_url); 59 EXPECT_TRUE(ContainsKey(collection, manifest2.GetOrigin())); 60 EXPECT_EQ(2u, collection[manifest2.GetOrigin()].size()); 62 manifest_results.insert(collection[manifest2.GetOrigin()].at(0).manifest_url); 63 manifest_results.insert(collection[manifest2.GetOrigin()].at(1).manifest_url); 83 std::map<GURL, appcache::AppCacheInfoVector>& collection local [all...] |
/system/media/mca/filterfw/native/base/ |
utilities.h | 73 template <class Collection> 74 const typename Collection::value_type::second_type* 75 FindOrNull(const Collection& collection, 76 const typename Collection::value_type::first_type& key) { 77 typename Collection::const_iterator it = collection.find(key); 78 if (it == collection.end()) { 127 template <class Collection> 128 const typename Collection::value_type::second_typ [all...] |
/system/media/mca/filterpacks/base/native/ |
utilities.h | 73 template <class Collection> 74 const typename Collection::value_type::second_type* 75 FindOrNull(const Collection& collection, 76 const typename Collection::value_type::first_type& key) { 77 typename Collection::const_iterator it = collection.find(key); 78 if (it == collection.end()) { 127 template <class Collection> 128 const typename Collection::value_type::second_typ [all...] |
/external/clang/test/ARCMT/ |
safe-arc-assign.m | 5 void test12(id collection) { 6 for (id x in collection) { 11 for (__strong id x in collection) {
|
safe-arc-assign.m.result | 5 void test12(id collection) { 6 for (__strong id x in collection) { 11 for (__strong id x in collection) {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CollectionCertStoreParametersTest.java | 26 import java.util.Collection; 54 * with the default parameter values (an empty and immutable Collection) 65 * with the default parameter values (an empty and immutable Collection) 69 Collection c = cp.getCollection(); 72 // check that empty collection is immutable 76 fail("empty collection must be immutable"); 82 * Test #1 for <code>CollectionCertStoreParameters(Collection)</code> 93 * Test #2 for <code>CollectionCertStoreParameters(Collection)</code> 95 * Assertion: If the specified <code>Collection</code> contains an object 97 * will be ignored by the Collection <code>CertStore</code>. [all...] |
/external/clang/test/SemaObjC/ |
uninit-variables.m | 12 id collection = 0; 13 for (id obj in collection) { 20 id collection = 0; 22 for (obj in collection) { // no-warning
|
/external/dbus/cmake/modules/ |
MacroLibrary.cmake | 1 # - include MacroLibrary offers a collection of macros which extend the built-in cmake commands
|