Searched refs:collection (Results 1 - 25 of 367) 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...]
/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/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDIECollection.h43 typedef std::vector<const DWARFDebugInfoEntry *> collection; typedef in class:DWARFDIECollection
44 typedef collection::iterator iterator;
45 typedef collection::const_iterator const_iterator;
47 collection m_dies; // Ordered list of die offsets
H A DDWARFDebugPubnames.h31 typedef std::list<DWARFDebugPubnamesSet> collection; typedef in class:DWARFDebugPubnames
32 typedef collection::iterator iterator;
33 typedef collection::const_iterator const_iterator;
35 collection m_sets;
/external/chromium_org/net/quic/
H A Dquic_utils_chromium.h36 FindOrDie(const Collection& collection, argument
38 typename Collection::const_iterator it = collection.find(key);
39 CHECK(it != collection.end()) << "Map key not found: " << key;
46 FindOrDie(Collection& collection, // NOLINT argument
48 typename Collection::iterator it = collection.find(key);
49 CHECK(it != collection.end()) << "Map key not found: " << key;
57 FindOrNull(const Collection& collection, argument
59 typename Collection::const_iterator it = collection.find(key);
60 if (it == collection.end()) {
69 FindOrNull(Collection& collection, // NOLIN argument
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebNodeTest.cpp37 WebElementCollection collection = node.getElementsByHTMLTagName("label"); local
38 EXPECT_EQ(1u, collection.length());
39 EXPECT_TRUE(collection.firstItem().hasHTMLTagName("label"));
41 collection = node.getElementsByHTMLTagName("LABEL");
42 EXPECT_EQ(0u, collection.length());
/external/hamcrest/library/src/org/hamcrest/collection/
H A DIsIn.java1 package org.hamcrest.collection;
12 private final Collection<T> collection; field in class:IsIn
14 public IsIn(Collection<T> collection) { argument
15 this.collection = collection;
19 collection = Arrays.asList(elements);
23 return collection.contains(o);
28 buffer.appendValueList("{", ", ", "}", collection);
32 public static <T> Matcher<T> isIn(Collection<T> collection) { argument
33 return new IsIn<T>(collection);
[all...]
/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_org/third_party/WebKit/Source/core/html/
H A DCollectionIndexCache.h43 bool isEmpty(const Collection& collection) argument
49 return !nodeAt(collection, 0);
51 bool hasExactlyOneNode(const Collection& collection) argument
56 return !cachedNodeIndex() && !nodeAt(collection, 1);
57 return nodeAt(collection, 0) && !nodeAt(collection, 1);
115 inline unsigned CollectionIndexCache<Collection, NodeType>::nodeCount(const Collection& collection) argument
120 nodeAt(collection, UINT_MAX);
127 inline NodeType* CollectionIndexCache<Collection, NodeType>::nodeAt(const Collection& collection, unsigned index) argument
134 return nodeAfterCachedNode(collection, inde
153 nodeBeforeCachedNode(const Collection& collection, unsigned index) argument
[all...]
H A DDocumentNameCollection.h29 DEFINE_TYPE_CASTS(DocumentNameCollection, LiveNodeListBase, collection, collection->type() == DocumentNamedItems, collection.type() == DocumentNamedItems);
H A DHTMLAllCollection.h46 DEFINE_TYPE_CASTS(HTMLAllCollection, LiveNodeListBase, collection, collection->type() == DocAll, collection.type() == DocAll);
H A DHTMLTableRowsCollection.h55 DEFINE_TYPE_CASTS(HTMLTableRowsCollection, LiveNodeListBase, collection, collection->type() == TableRows, collection.type() == TableRows);
H A DWindowNameCollection.h26 DEFINE_TYPE_CASTS(WindowNameCollection, LiveNodeListBase, collection, collection->type() == WindowNamedItems, collection.type() == WindowNamedItems);
/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_org/third_party/WebKit/Source/core/dom/
H A DShadowTreeStyleSheetCollection.cpp47 void ShadowTreeStyleSheetCollection::collectStyleSheets(StyleEngine* engine, StyleSheetCollection& collection) argument
84 collection.appendSheetForList(sheet);
86 collection.appendActiveStyleSheet(activeSheet);
92 StyleSheetCollection collection; local
93 collectStyleSheets(engine, collection);
96 analyzeStyleSheetChange(updateMode, collection, change);
104 styleResolver->lazyAppendAuthorStyleSheets(0, collection.activeAuthorStyleSheets());
106 styleResolver->lazyAppendAuthorStyleSheets(m_activeAuthorStyleSheets.size(), collection.activeAuthorStyleSheets());
112 collection.swap(*this);
/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;

Completed in 532 milliseconds

1234567891011>>