Searched refs:collection (Results 1 - 25 of 277) sorted by relevance

1234567891011>>

/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dobject_collection_test.js25 var collection = new tracing.trace_model.ObjectCollection({ });
26 collection.idWasCreated(
28 collection.idWasDeleted(
30 collection.idWasCreated(
32 collection.idWasDeleted(
35 var testFrame = collection.getObjectInstanceAt('0x1000', 10);
39 var testObject = collection.getObjectInstanceAt('0x1000', 20);
48 var collection = new tracing.trace_model.ObjectCollection({});
49 collection.idWasCreated(
51 collection
[all...]
/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/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 DForwardingCollection.java29 * A collection which forwards all its method calls to another collection.
31 * backing collection as desired per the <a
69 public boolean removeAll(Collection<?> collection) { argument
70 return delegate().removeAll(collection);
94 public boolean containsAll(Collection<?> collection) { argument
95 return delegate().containsAll(collection);
99 public boolean addAll(Collection<? extends E> collection) { argument
100 return delegate().addAll(collection);
104 public boolean retainAll(Collection<?> collection) { argument
141 standardContainsAll(Collection<?> collection) argument
157 standardAddAll(Collection<? extends E> collection) argument
188 standardRemoveAll(Collection<?> collection) argument
200 standardRetainAll(Collection<?> collection) argument
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DCollectionEqualsTester.java31 collection.equals(collection));
37 collection.equals(null));
44 collection.equals("huh?"));
H A DCollectionRemoveTester.java32 * A generic JUnit test which tests {@code remove} operations on a collection.
45 int initialSize = collection.size();
47 collection.remove(samples.e0));
48 assertEquals("remove(present) should decrease a collection's size by one.",
49 initialSize - 1, collection.size());
56 collection.remove(samples.e3));
63 collection = getSubjectGenerator().create(createArrayWithNullElement());
65 int initialSize = collection.size();
66 assertTrue("remove(null) should return true", collection.remove(null));
67 assertEquals("remove(present) should decrease a collection'
[all...]
H A DCollectionContainsAllTester.java33 * collection. Can't be invoked directly; please see
46 collection.containsAll(MinimalCollection.of()));
52 collection.containsAll(MinimalCollection.of(samples.e0)));
57 collection.containsAll(MinimalCollection.of(createSamplesArray())));
62 collection.containsAll(collection));
67 collection.containsAll(MinimalCollection.of(samples.e0, samples.e3)));
72 collection.containsAll(MinimalCollection.of(samples.e3)));
78 assertFalse(collection.containsAll(MinimalCollection.of((E) null)));
84 assertFalse(collection
[all...]
H A DCollectionContainsTester.java30 * collection. Can't be invoked directly; please see
42 collection.contains(samples.e0));
47 collection.contains(samples.e3));
53 collection.contains(null));
67 collection.contains(samples.e3));
74 assertTrue("contains(null) should return true", collection.contains(null));
80 collection.contains(WrongType.VALUE));
H A DCollectionRemoveAllTester.java34 * collection. Can't be invoked directly; please see
47 collection.removeAll(MinimalCollection.of()));
54 collection.removeAll(MinimalCollection.of(samples.e3)));
62 collection.removeAll(MinimalCollection.of(samples.e0)));
70 collection.removeAll(MinimalCollection.of(samples.e0, samples.e3)));
81 collection.removeAll(MinimalCollection.of(
92 collection.removeAll(MinimalCollection.of()));
103 collection.removeAll(MinimalCollection.of(samples.e3)));
113 collection.removeAll(MinimalCollection.of(samples.e0));
119 assertTrue(collection
[all...]
/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/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/ceres-solver/internal/ceres/
H A Dmap_util.h59 FindOrDie(const Collection& collection, argument
61 typename Collection::const_iterator it = collection.find(key);
62 CHECK(it != collection.end()) << "Map key not found: " << key;
71 FindWithDefault(const Collection& collection, argument
74 typename Collection::const_iterator it = collection.find(key);
75 if (it == collection.end()) {
87 Collection * const collection,
91 collection->insert(typename Collection::value_type(key, value));
100 FindOrNull(Collection& collection, // NOLINT argument
102 typename Collection::iterator it = collection
86 InsertIfNotPresent( Collection * const collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& value) argument
112 ContainsKey(const Collection& collection, const Key& key) argument
120 InsertOrDie(Collection* const collection, const typename Collection::value_type::first_type& key, const typename Collection::value_type::second_type& data) argument
[all...]
/external/chromium_org/third_party/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()) {
88 FindOrDie(const Collection& collection, argument
90 typename Collection::const_iterator it = collection.find(key);
91 GOOGLE_CHECK(it != collection.end()) << "Map key not found: " << key;
102 FindPtrOrNull(const Collection& collection, argument
116 InsertOrUpdate(Collection * const collection, const Key& key, const Value& value) argument
133 InsertIfNotPresent(Collection * const collection, const Key& key, const Value& value) argument
[all...]
/external/chromium_org/chrome/browser/ui/panels/
H A Ddocked_panel_drag_handler.cc16 DCHECK_EQ(PanelCollection::DOCKED, panel->collection()->type());
18 DockedPanelCollection* collection = local
19 static_cast<DockedPanelCollection*>(panel->collection());
27 int bottom = collection->GetBottomPositionForExpansionState(
45 collection->RefreshLayout();
51 DockedPanelCollection* collection = local
52 static_cast<DockedPanelCollection*>(panel->collection());
60 find(collection->panels_.begin(), collection->panels_.end(), panel);
64 for (; current_panel_iterator != collection
85 DockedPanelCollection* collection = local
[all...]
H A Dtest_panel_collection_squeeze_observer.cc13 DockedPanelCollection* collection, Panel* active_panel)
16 content::Source<PanelCollection>(collection)),
17 panel_collection_(collection),
12 PanelCollectionSqueezeObserver( DockedPanelCollection* collection, Panel* active_panel) argument
/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/chromium_org/third_party/WebKit/Source/core/dom/
H A DShadowTreeStyleSheetCollection.cpp48 void ShadowTreeStyleSheetCollection::collectStyleSheets(StyleEngine* engine, StyleSheetCollectionBase& collection) argument
87 collection.appendSheetForList(sheet);
89 collection.appendActiveStyleSheet(activeSheet);
95 StyleSheetCollectionBase collection; local
96 collectStyleSheets(engine, collection);
99 analyzeStyleSheetChange(updateMode, collection, change);
110 styleResolver->lazyAppendAuthorStyleSheets(0, collection.activeAuthorStyleSheets());
112 styleResolver->lazyAppendAuthorStyleSheets(m_activeAuthorStyleSheets.size(), collection.activeAuthorStyleSheets());
119 collection.swap(*this);
H A DDocumentStyleSheetCollection.cpp55 void DocumentStyleSheetCollection::collectStyleSheetsFromCandidates(StyleEngine* engine, StyleSheetCollectionBase& collection, DocumentStyleSheetCollection::CollectFor collectFor) argument
134 collection.appendSheetForList(sheet);
136 collection.appendActiveStyleSheet(activeSheet);
140 static void collectActiveCSSStyleSheetsFromSeamlessParents(StyleSheetCollectionBase& collection, Document* document) argument
145 collection.appendActiveStyleSheets(seamlessParentIFrame->document().styleEngine()->activeAuthorStyleSheets());
148 void DocumentStyleSheetCollection::collectStyleSheets(StyleEngine* engine, StyleSheetCollectionBase& collection, DocumentStyleSheetCollection::CollectFor colletFor) argument
151 collection.appendActiveStyleSheets(engine->injectedAuthorStyleSheets());
152 collection.appendActiveStyleSheets(engine->documentAuthorStyleSheets());
153 collectActiveCSSStyleSheetsFromSeamlessParents(collection, document());
154 collectStyleSheetsFromCandidates(engine, collection, colletFo
159 StyleSheetCollectionBase collection; local
[all...]
/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/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
H A DCollectionSerializer.java55 Collection collection;
57 collection = (Collection)c.newInstance();
59 log.log(Level.FINE, "[Serializer][???] Could not determine collection type. Using ArrayList.");
60 collection = new ArrayList(length);
63 if (length == 0) return (T)collection;
71 collection.add(serializer.readObject(data, clazz));
75 collection.add(Serializer.readClassAndObject(data));
78 return (T)collection;
82 Collection collection = (Collection)object;
83 int length = collection
[all...]
/external/chromium/chrome/browser/chromeos/notifications/
H A Dnotification_browsertest.cc140 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
145 collection->Add(NewMockNotification("1"), browser()->profile());
152 collection->Add(NewMockNotification("2"), browser()->profile());
158 collection->RemoveById("1");
165 collection->RemoveById("2");
179 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
186 collection->Add(NewMockNotification("1"), browser()->profile());
187 collection->Add(NewMockNotification("2"), browser()->profile());
194 collection->RemoveById("1");
200 collection
227 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
264 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
307 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
374 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
388 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
417 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
492 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
525 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
548 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
579 BalloonCollectionImpl* collection = GetBalloonCollectionImpl(); local
[all...]
/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;
/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/clang/test/SemaObjC/
H A Dforeach.m43 NSObject<NSFastEnumeration>* collection = ((void*)0);
44 for (id thing in collection) { } /* expected-warning {{unused variable 'thing'}} */
53 void test2(NSObject<NSFastEnumeration> *collection) {
55 for (obj.prop in collection) { /* expected-error {{selector element is not a valid lvalue}} */

Completed in 620 milliseconds

1234567891011>>