Searched defs:collection (Results 1 - 25 of 131) sorted by relevance

123456

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/jcajce/
H A DJcaCertStore.java26 * @param collection - initial contents for the store, this is copied.
28 public JcaCertStore(Collection collection) argument
31 super(convertCerts(collection));
34 private static Collection convertCerts(Collection collection) argument
37 List list = new ArrayList(collection.size());
39 for (Iterator it = collection.iterator(); it.hasNext();)
/external/smack/src/org/jivesoftware/smackx/pubsub/
H A DNodeType.java24 collection; enum constant in enum:NodeType
H A DEventElementType.java24 /** A node has been associated or dissassociated with a collection node */
25 collection, enum constant in enum:EventElementType
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DCollectionStore.java9 * A simple collection backed store.
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.
21 CollectionStore( Collection collection) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
H A DX509CollectionStoreParameters.java7 * 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) argument
29 if (collection == null)
31 throw new NullPointerException("collection canno
[all...]
/external/chromium/chrome/browser/
H A Dbrowsing_data_appcache_helper_unittest.cc51 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...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
H A DJoin.java6 public static String join(String delimiter, Collection collection) { argument
9 for (Object obj : collection) {
19 public static String join(String delimiter, Object... collection) { argument
22 for (Object obj : collection) {
/external/ceres-solver/internal/ceres/
H A Dmap_util.h58 FindOrDie(const Collection& collection, argument
60 typename Collection::const_iterator it = collection.find(key);
61 CHECK(it != collection.end()) << "Map key not found: " << key;
70 FindWithDefault(const Collection& collection, argument
73 typename Collection::const_iterator it = collection.find(key);
74 if (it == collection.end()) {
86 Collection * const collection,
90 collection->insert(typename Collection::value_type(key, value));
99 FindOrNull(Collection& collection, // NOLINT argument
101 typename Collection::iterator it = collection
85 InsertIfNotPresent( Collection * const collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& value) argument
111 ContainsKey(const Collection& collection, const Key& key) argument
119 InsertOrDie(Collection* const collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& data) argument
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DImmutableAsList.java26 * List returned by {@link ImmutableCollection#asList} when the collection isn't
34 private final transient ImmutableCollection<E> collection; field in class:ImmutableAsList
36 ImmutableAsList(Object[] array, ImmutableCollection<E> collection) { argument
38 this.collection = collection;
42 // The collection's contains() is at least as fast as RegularImmutableList's
44 return collection.contains(target);
51 final ImmutableCollection<?> collection; field in class:ImmutableAsList.SerializedForm
52 SerializedForm(ImmutableCollection<?> collection) { argument
53 this.collection
[all...]
H A DImmutableEnumSet.java65 @Override public boolean containsAll(Collection<?> collection) { argument
66 return delegate.containsAll(collection);
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DAbstractCollectionTester.java22 * Base class for collection testers.
26 * @param <E> the element type of the collection to be tested.
34 protected Collection<E> collection; field in class:AbstractCollectionTester
37 return collection;
40 // TODO: dispose of this once collection is encapsulated.
42 collection = super.resetContainer(newContents);
43 return collection;
H A DMinimalCollection.java25 * A simplistic collection which implements only the bare minimum allowed by the
78 @Override public boolean containsAll(Collection<?> collection) { argument
80 for (Object object : collection) {
87 return super.containsAll(collection);
101 * a "type A" unmodifiable collection freaks out proactively, even if there
/external/jmonkeyengine/engine/src/networking/com/jme3/network/
H A DFilters.java58 * collection and false for all other cases.
60 public static <T> Filter<T> in( Collection<? extends T> collection )
62 return new InFilter<T>(collection);
77 * collection and false for all other cases. This is the equivalent
78 * of calling not(in(collection)).
80 public static <T> Filter<T> notIn( Collection<? extends T> collection )
82 return not( in( collection ) );
130 private Collection<? extends T> collection; field in class:Filters.InFilter
132 public InFilter( Collection<? extends T> collection )
134 this.collection
[all...]
/external/junit/src/org/junit/internal/matchers/
H A DIsCollectionContaining.java22 public boolean matchesSafely(Iterable<T> collection) { argument
23 for (T item : collection) {
33 .appendText("a collection containing ")
/external/mockito/src/org/mockito/internal/util/collections/
H A DListUtil.java13 public static <T> LinkedList<T> filter(Collection<T> collection, Filter<T> filter) { argument
15 for (T t : collection) {
/external/protobuf/src/google/protobuf/stubs/
H A Dmap-util.h47 FindWithDefault(const Collection& collection, argument
50 typename Collection::const_iterator it = collection.find(key);
51 if (it == collection.end()) {
62 FindOrNull(const Collection& collection, argument
64 typename Collection::const_iterator it = collection.find(key);
65 if (it == collection.end()) {
78 FindPtrOrNull(const Collection& collection, argument
80 typename Collection::const_iterator it = collection.find(key);
81 if (it == collection.end()) {
92 bool InsertOrUpdate(Collection * const collection, argument
109 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument
[all...]
/external/chromium/chrome/browser/notifications/
H A Dballoon.cc15 BalloonCollection* collection)
18 collection_(collection) {
14 Balloon(const Notification& notification, Profile* profile, BalloonCollection* collection) argument
H A Dballoon.h53 BalloonCollection* collection);
71 const BalloonCollection* collection() const { return collection_; } function in class:Balloon
79 // to the balloon collection for checking against available space and
118 // The collection that this balloon belongs to. Non-owned pointer.
/external/webkit/Source/WebCore/bindings/js/
H A DJSHTMLAllCollectionCustom.cpp44 static JSValue getNamedItems(ExecState* exec, JSHTMLAllCollection* collection, const Identifier& propertyName) argument
47 collection->impl()->namedItems(identifierToAtomicString(propertyName), namedItems);
52 return toJS(exec, collection->globalObject(), namedItems[0].get());
57 return toJS(exec, collection->globalObject(), StaticNodeList::adopt(namedItems).get());
69 HTMLAllCollection* collection = static_cast<HTMLAllCollection*>(jsCollection->impl()); local
79 return JSValue::encode(toJS(exec, jsCollection->globalObject(), collection->item(index)));
91 Node* node = collection->namedItem(pstr);
95 node = collection->nextNamedItem(pstr);
109 bool JSHTMLAllCollection::canGetItemsForName(ExecState*, HTMLAllCollection* collection, const Identifier& propertyName) argument
112 collection
[all...]
H A DJSHTMLCollectionCustom.cpp40 static JSValue getNamedItems(ExecState* exec, JSHTMLCollection* collection, const Identifier& propertyName) argument
43 collection->impl()->namedItems(identifierToAtomicString(propertyName), namedItems);
48 return toJS(exec, collection->globalObject(), namedItems[0].get());
53 return toJS(exec, collection->globalObject(), StaticNodeList::adopt(namedItems).get());
65 HTMLCollection* collection = jsCollection->impl(); local
75 return JSValue::encode(toJS(exec, jsCollection->globalObject(), collection->item(index)));
87 Node* node = collection->namedItem(pstr);
91 node = collection->nextNamedItem(pstr);
105 bool JSHTMLCollection::canGetItemsForName(ExecState*, HTMLCollection* collection, const Identifier& propertyName) argument
108 collection
132 toJS(ExecState* exec, JSDOMGlobalObject* globalObject, HTMLCollection* collection) argument
[all...]
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8HTMLAllCollectionCustom.cpp44 static v8::Handle<v8::Value> getNamedItems(HTMLAllCollection* collection, AtomicString name) argument
47 collection->namedItems(name, namedItems);
58 static v8::Handle<v8::Value> getItem(HTMLAllCollection* collection, v8::Handle<v8::Value> argument) argument
62 v8::Handle<v8::Value> result = getNamedItems(collection, toWebCoreString(argument->ToString()));
70 RefPtr<Node> result = collection->item(index->Uint32Value());
H A DV8HTMLCollectionCustom.cpp44 static v8::Handle<v8::Value> getNamedItems(HTMLCollection* collection, AtomicString name) argument
47 collection->namedItems(name, namedItems);
58 static v8::Handle<v8::Value> getItem(HTMLCollection* collection, v8::Handle<v8::Value> argument) argument
65 v8::Handle<v8::Value> result = getNamedItems(collection, toWebCoreString(asString));
73 RefPtr<Node> result = collection->item(index->Uint32Value());
H A DV8HTMLOptionsCollectionCustom.cpp120 HTMLOptionsCollection* collection = V8HTMLOptionsCollection::toNative(info.Holder()); local
122 RefPtr<Node> result = collection->item(index);
132 HTMLOptionsCollection* collection = V8HTMLOptionsCollection::toNative(info.Holder()); local
133 HTMLSelectElement* base = static_cast<HTMLSelectElement*>(collection->base());
/external/guava/guava-tests/test/com/google/common/eventbus/
H A DEventBusTest.java212 private <T> void assertContains(T element, Collection<T> collection) { argument
214 collection.contains(element));
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
H A DTestUtil.java20 public static String stringify(Collection<?> collection) { argument
22 for (Object o : collection) {

Completed in 2657 milliseconds

123456