/external/chromium_org/third_party/WebKit/Source/core/dom/ |
ShadowTreeStyleSheetCollection.cpp | 47 void ShadowTreeStyleSheetCollection::collectStyleSheets(StyleEngine* engine, StyleSheetCollection& collection) 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);
|
ClassCollection.h | 60 DEFINE_TYPE_CASTS(ClassCollection, LiveNodeListBase, collection, collection->type() == ClassCollectionType, collection.type() == ClassCollectionType);
|
DocumentStyleSheetCollector.cpp | 62 ActiveDocumentStyleSheetCollector::ActiveDocumentStyleSheetCollector(StyleSheetCollection& collection) 63 : DocumentStyleSheetCollector(collection.m_styleSheetsForStyleSheetList, collection.m_activeAuthorStyleSheets, m_visitedDocuments)
|
/external/chromium_org/chrome/browser/ui/panels/ |
test_panel_collection_squeeze_observer.cc | 13 DockedPanelCollection* collection, Panel* active_panel) 16 content::Source<PanelCollection>(collection)), 17 panel_collection_(collection),
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
DocumentNameCollection.h | 29 DEFINE_TYPE_CASTS(DocumentNameCollection, LiveNodeListBase, collection, collection->type() == DocumentNamedItems, collection.type() == DocumentNamedItems);
|
HTMLTableRowsCollection.h | 55 DEFINE_TYPE_CASTS(HTMLTableRowsCollection, LiveNodeListBase, collection, collection->type() == TableRows, collection.type() == TableRows);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
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...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
CollectionRemoveTester.java | 32 * 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's size by one." [all...] |
CollectionContainsAllTester.java | 29 import java.util.Collection; 33 * 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))) [all...] |
CollectionContainsTester.java | 30 * 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));
|
CollectionRemoveAllTester.java | 34 * 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.contains(samples.e0)) [all...] |
/external/lldb/include/lldb/Symbol/ |
VariableList.h | 81 typedef std::vector<lldb::VariableSP> collection; typedef in class:lldb_private::VariableList 82 typedef collection::iterator iterator; 83 typedef collection::const_iterator const_iterator; 85 collection m_variables;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
Join.java | 3 import java.util.Collection; 6 public static String join(String delimiter, Collection collection) { 9 for (Object obj : collection) { 19 public static String join(String delimiter, Object... collection) { 22 for (Object obj : collection) {
|
/libcore/luni/src/main/java/java/util/ |
AbstractSet.java | 86 * Removes all occurrences in this collection which are contained in the 87 * specified collection. 89 * @param collection 90 * the collection of objects to remove. 91 * @return {@code true} if this collection was modified, {@code false} 94 * if removing from this collection is not supported. 97 public boolean removeAll(Collection<?> collection) { 99 if (size() <= collection.size()) { 102 if (collection.contains(it.next())) [all...] |
LinkedHashSet.java | 73 * elements in the specified collection. 75 * @param collection 76 * the collection of elements to add. 78 public LinkedHashSet(Collection<? extends E> collection) { 79 super(new LinkedHashMap<E, HashSet<E>>(collection.size() < 6 ? 11 80 : collection.size() * 2)); 81 for (E e : collection) {
|
List.java | 22 * A {@code List} is a collection which maintains an ordering for its elements. Every 27 public interface List<E> extends Collection<E> { 69 * Inserts the objects in the specified collection at the specified location 71 * the collection's iterator. 75 * @param collection 76 * the collection of objects to be inserted. 78 * otherwise (i.e. if the passed collection was empty). 89 public boolean addAll(int location, Collection<? extends E> collection); 92 * Adds the objects in the specified collection to the end of this {@code List}. Th [all...] |
MiniEnumSet.java | 121 public boolean addAll(Collection<? extends E> collection) { 122 if (collection.isEmpty()) { 125 if (collection instanceof EnumSet) { 126 EnumSet<?> set = (EnumSet) collection; // raw type due to javac bug 6548436 136 return super.addAll(collection); 152 public boolean containsAll(Collection<?> collection) { 153 if (collection.isEmpty()) { 156 if (collection instanceof MiniEnumSet) [all...] |
/frameworks/base/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...] |
/frameworks/base/media/mca/filterpacks/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...] |
/external/clang/test/SemaObjC/ |
foreach.m | 43 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}} */
|
/external/lldb/include/lldb/Core/ |
StreamCallback.h | 37 typedef std::map<lldb::tid_t, StreamString> collection; typedef in class:lldb_private::StreamCallback 40 collection m_accumulated_data;
|
/external/lldb/source/Plugins/SymbolFile/DWARF/ |
DWARFDeclContext.cpp | 35 collection::const_reverse_iterator pos; 36 collection::const_reverse_iterator begin = m_entries.rbegin(); 37 collection::const_reverse_iterator end = m_entries.rend(); 73 collection::const_iterator pos; 74 collection::const_iterator begin = m_entries.begin(); 75 collection::const_iterator end = m_entries.end(); 77 collection::const_iterator rhs_pos; 78 collection::const_iterator rhs_begin = rhs.m_entries.begin();
|
/external/guava/guava/src/com/google/common/collect/ |
AbstractMultimap.java | 28 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 92 * The map variable contains the collection of values associated with each 94 * contain any values for that key, a new collection generated by 95 * createCollection is added to the map. That same collection instanc 193 Collection<V> collection = map.get(key); local 201 Collection<V> collection = getOrCreateCollection(key); local 212 Collection<V> collection = map.get(key); local 222 Collection<V> collection = map.get(key); local 244 Collection<V> collection = getOrCreateCollection(key); local 283 Collection<V> collection = getOrCreateCollection(key); local 306 Collection<V> collection = map.remove(key); local 350 Collection<V> collection = map.get(key); local 910 Collection<V> collection = entry.getValue(); local 922 Collection<V> collection = subMap.remove(key); local [all...] |
/external/chromium_org/chrome/browser/browsing_data/ |
browsing_data_appcache_helper_unittest.cc | 61 std::map<GURL, content::AppCacheInfoVector>& collection = local 64 ASSERT_EQ(2u, collection.size()); 65 EXPECT_TRUE(ContainsKey(collection, manifest1.GetOrigin())); 66 ASSERT_EQ(1u, collection[manifest1.GetOrigin()].size()); 67 EXPECT_EQ(manifest1, collection[manifest1.GetOrigin()].at(0).manifest_url); 69 EXPECT_TRUE(ContainsKey(collection, manifest2.GetOrigin())); 70 EXPECT_EQ(2u, collection[manifest2.GetOrigin()].size()); 72 manifest_results.insert(collection[manifest2.GetOrigin()].at(0).manifest_url); 73 manifest_results.insert(collection[manifest2.GetOrigin()].at(1).manifest_url); 93 std::map<GURL, content::AppCacheInfoVector>& collection local [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/jcajce/ |
JcaCertStore.java | 7 import java.util.Collection; 26 * @param collection - initial contents for the store, this is copied. 28 public JcaCertStore(Collection collection) 31 super(convertCerts(collection)); 34 private static Collection convertCerts(Collection collection) 37 List list = new ArrayList(collection.size()); 39 for (Iterator it = collection.iterator(); it.hasNext(); [all...] |