/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
H A D | Longs.java | 337 * Copies a collection of {@code Long} instances into a new array of 340 * <p>Elements are copied from the argument collection as if by {@code 341 * collection.toArray()}. Calling this method is as thread-safe as calling 344 * @param collection a collection of {@code Long} objects 345 * @return an array containing the same values as {@code collection}, in the 347 * @throws NullPointerException if {@code collection} or any of its elements 350 public static long[] toArray(Collection<Long> collection) { argument 351 if (collection instanceof LongArrayAsList) { 352 return ((LongArrayAsList) collection) [all...] |
H A D | Shorts.java | 365 * Copies a collection of {@code Short} instances into a new array of 368 * <p>Elements are copied from the argument collection as if by {@code 369 * collection.toArray()}. Calling this method is as thread-safe as calling 372 * @param collection a collection of {@code Short} objects 373 * @return an array containing the same values as {@code collection}, in the 375 * @throws NullPointerException if {@code collection} or any of its elements 378 public static short[] toArray(Collection<Short> collection) { argument 379 if (collection instanceof ShortArrayAsList) { 380 return ((ShortArrayAsList) collection) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
H A D | SafeTreeSet.java | 47 public SafeTreeSet(Collection<? extends E> collection) { argument 48 this(new TreeSet<E>(collection)); 70 @Override public boolean addAll(Collection<? extends E> collection) { argument 71 for (E e : collection) { 74 return delegate.addAll(collection);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
H A D | CacheTesting.java | 51 * A collection of utilities for {@link Cache} testing. 58 * Poke into the Cache internals to simulate garbage collection of the value associated with the 78 * Poke into the Cache internals to simulate garbage collection of the given key. This assumes 472 static void checkEmpty(Collection<?> collection) { argument 473 assertTrue(collection.isEmpty()); 474 assertEquals(0, collection.size()); 475 assertFalse(collection.iterator().hasNext()); 476 assertEquals(0, collection.toArray().length); 477 assertEquals(0, collection.toArray(new Object[0]).length); 478 if (collection instanceo [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ForwardingListTest.java | 57 @Override public boolean addAll(Collection<? extends T> collection) { argument 58 return standardAddAll(collection); 69 @Override public boolean containsAll(Collection<?> collection) { argument 70 return standardContainsAll(collection); 77 @Override public boolean removeAll(Collection<?> collection) { argument 78 return standardRemoveAll(collection); 81 @Override public boolean retainAll(Collection<?> collection) { argument 82 return standardRetainAll(collection);
|
H A D | ForwardingMultisetTest.java | 55 @Override public boolean addAll(Collection<? extends T> collection) { argument 56 return standardAddAll(collection); 75 @Override public boolean containsAll(Collection<?> collection) { argument 76 return standardContainsAll(collection); 83 @Override public boolean removeAll(Collection<?> collection) { argument 84 return standardRemoveAll(collection); 87 @Override public boolean retainAll(Collection<?> collection) { argument 88 return standardRetainAll(collection); 200 Collection<? extends Entry<String>> collection) { 209 @Override public boolean containsAll(Collection<?> collection) { [all...] |
H A D | ForwardingQueueTest.java | 53 @Override public boolean addAll(Collection<? extends T> collection) { argument 54 return standardAddAll(collection); 65 @Override public boolean containsAll(Collection<?> collection) { argument 66 return standardContainsAll(collection); 73 @Override public boolean removeAll(Collection<?> collection) { argument 74 return standardRemoveAll(collection); 77 @Override public boolean retainAll(Collection<?> collection) { argument 78 return standardRetainAll(collection);
|
/external/stlport/test/unit/ |
H A D | hash_test.cpp | 188 // key in in a set ("collection"). Notice that data is unique by construction in main(), thus the 190 // (c) We check if we have seen as many data elements in collection as we have seen in the multimap. 201 set<int> collection; local 211 collection.insert( j->second ); 216 if (collection.size() == h.size()) cout << " OK" << endl; 243 CPPUNIT_CHECK( collection.size() == h.size() );
|
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | HashSet.h | 214 void deleteAllValues(HashTableType& collection) argument 217 iterator end = collection.end(); 218 for (iterator it = collection.begin(); it != end; ++it) 223 inline void deleteAllValues(const HashSet<T, U, V>& collection) argument 225 deleteAllValues<typename HashSet<T, U, V>::ValueType>(collection.m_impl); 229 void fastDeleteAllValues(HashTableType& collection) argument 232 iterator end = collection.end(); 233 for (iterator it = collection.begin(); it != end; ++it) 238 inline void fastDeleteAllValues(const HashSet<T, U, V>& collection) argument 240 fastDeleteAllValues<typename HashSet<T, U, V>::ValueType>(collection 244 copyToVector(const HashSet<T, U, V>& collection, W& vector) argument [all...] |
H A D | HashMap.h | 350 void deleteAllPairSeconds(HashTableType& collection) argument 353 iterator end = collection.end(); 354 for (iterator it = collection.begin(); it != end; ++it) 359 inline void deleteAllValues(const HashMap<T, U, V, W, X>& collection) argument 361 deleteAllPairSeconds<typename HashMap<T, U, V, W, X>::MappedType>(collection); 365 void deleteAllPairFirsts(HashTableType& collection) argument 368 iterator end = collection.end(); 369 for (iterator it = collection.begin(); it != end; ++it) 374 inline void deleteAllKeys(const HashMap<T, U, V, W, X>& collection) argument 376 deleteAllPairFirsts<typename HashMap<T, U, V, W, X>::KeyType>(collection); 380 copyKeysToVector(const HashMap<T, U, V, W, X>& collection, Y& vector) argument 393 copyValuesToVector(const HashMap<T, U, V, W, X>& collection, Y& vector) argument [all...] |
/external/webkit/Source/WebKit/gtk/tests/ |
H A D | testdomdocument.c | 168 WebKitDOMHTMLCollection *collection = webkit_dom_document_get_links(document); local 169 g_assert(collection); 170 gulong length = webkit_dom_html_collection_get_length(collection); 178 WebKitDOMNode *node = webkit_dom_html_collection_item(collection, i); 187 g_object_unref(collection); 211 WebKitDOMHTMLCollection *collection = webkit_dom_document_get_links(document); local 212 g_assert(collection); 213 g_object_weak_ref(G_OBJECT(collection), (GWeakNotify)weak_notify, &count); 222 g_object_unref(collection); 236 collection [all...] |
/external/webkit/Source/WebKit/qt/Api/ |
H A D | qwebelement.h | 201 void append(const QWebElementCollection &collection); 214 inline const_iterator(const QWebElementCollection* collection, int index) : i(index), collection(collection) {} argument 215 inline const_iterator(const const_iterator& o) : i(o.i), collection(o.collection) {} 217 inline const QWebElement operator*() const { return collection->at(i); } 219 inline bool operator==(const const_iterator& o) const { return i == o.i && collection == o.collection; } 220 inline bool operator!=(const const_iterator& o) const { return i != o.i || collection ! 237 const QWebElementCollection* const collection; member in class:QWebElementCollection::const_iterator 248 iterator(const QWebElementCollection* collection, int index) argument 271 const QWebElementCollection* const collection; member in class:QWebElementCollection::iterator [all...] |
/external/chromium/base/ |
H A D | stl_util-inl.h | 446 // Returns true if the key is in the collection. 448 bool ContainsKey(const Collection& collection, const Key& key) { argument 449 return collection.find(key) != collection.end();
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | ImmutableList.java | 41 * separate collection that can still change, an instance of {@code 236 * or concurrent collection that is currently being modified by another 277 Collection<? extends E> collection) { 278 Object[] elements = collection.toArray(); 283 @SuppressWarnings("unchecked") // collection had only Es in it 585 Collection<?> collection = (Collection<?>) elements; 586 contents.ensureCapacity(contents.size() + collection.size()); 276 copyFromCollection( Collection<? extends E> collection) argument
|
H A D | Sets.java | 90 * order, not the order in which the elements appear in the given collection. 119 * exception on an empty collection, and it may be called on any iterable, not 363 * the specified collection. If the collection is an {@link EnumSet}, this 365 * the specified collection must contain at least one element, in order to 366 * determine the element type. If the collection could be empty, use 369 * @param collection the collection whose complement should be stored in the 372 * that aren't present in the given collection 373 * @throws IllegalArgumentException if {@code collection} i 376 complementOf( Collection<E> collection) argument 399 complementOf( Collection<E> collection, Class<E> type) argument 407 makeComplementByHand( Collection<E> collection, Class<E> type) argument [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
H A D | Ints.java | 419 * Copies a collection of {@code Integer} instances into a new array of 422 * <p>Elements are copied from the argument collection as if by {@code 423 * collection.toArray()}. Calling this method is as thread-safe as calling 426 * @param collection a collection of {@code Integer} objects 427 * @return an array containing the same values as {@code collection}, in the 429 * @throws NullPointerException if {@code collection} or any of its elements 432 public static int[] toArray(Collection<Integer> collection) { argument 433 if (collection instanceof IntArrayAsList) { 434 return ((IntArrayAsList) collection) [all...] |
H A D | Longs.java | 404 * Copies a collection of {@code Long} instances into a new array of 407 * <p>Elements are copied from the argument collection as if by {@code 408 * collection.toArray()}. Calling this method is as thread-safe as calling 411 * @param collection a collection of {@code Long} objects 412 * @return an array containing the same values as {@code collection}, in the 414 * @throws NullPointerException if {@code collection} or any of its elements 417 public static long[] toArray(Collection<Long> collection) { argument 418 if (collection instanceof LongArrayAsList) { 419 return ((LongArrayAsList) collection) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | SIPHeaderList.java | 519 public boolean addAll(Collection<? extends HDR> collection) { argument 520 return this.hlist.addAll(collection); 523 public boolean addAll(int index, Collection<? extends HDR> collection) { argument 524 return this.hlist.addAll(index, collection); 528 public boolean containsAll(Collection<?> collection) { argument 529 return this.hlist.containsAll(collection); 615 public boolean removeAll(java.util.Collection<?> collection) { argument 616 return this.hlist.removeAll(collection); 622 * @param collection 624 public boolean retainAll(java.util.Collection<?> collection) { argument [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/ |
H A D | GLWebViewState.cpp | 102 SurfaceCollection* collection = 0; local 106 collection = new SurfaceCollection(layer); 109 collection, isPictureAfterFirstLayout); 458 // Draw the collection swap counter as a circling progress bar. 459 // This will basically show how fast we are updating the collection.
|
/external/webkit/Source/WebKit/qt/tests/qwebelement/ |
H A D | tst_qwebelement.cpp | 369 QWebElementCollection collection = body.findAll("p"); local 370 QCOMPARE(collection.count(), 2); 372 collection.append(body.findAll("div")); 373 QCOMPARE(collection.count(), 4); 375 collection += body.findAll("span.a"); 376 QCOMPARE(collection.count(), 5); 378 QWebElementCollection all = collection + body.findAll("span.b"); 380 QCOMPARE(collection.count(), 5); 382 all += collection; 385 QCOMPARE(collection 885 QWebElementCollection collection = m_mainFrame->findAllElements("invalid{syn(tax;;%#$f223e>>"); local [all...] |
/external/chromium/chrome/browser/ |
H A D | jumplist_win.cc | 173 HRESULT AddShellLink(base::win::ScopedComPtr<IObjectCollection> collection, argument 241 // Add this IShellLink object to the given collection. 242 return collection->AddObject(link); 299 // We once add the given items to this collection object and add this 300 // collection to the JumpList. 301 base::win::ScopedComPtr<IObjectCollection> collection; local 302 HRESULT result = collection.CreateInstance(CLSID_EnumerableObjectCollection, 310 AddShellLink(collection, application, switches, link); 321 result = collection.QueryInterface(object_array.Receive()); 340 base::win::ScopedComPtr<IObjectCollection> collection; local [all...] |
/external/chromium/chrome/browser/ui/gtk/notifications/ |
H A D | balloon_view_gtk.cc | 99 BalloonViewImpl::BalloonViewImpl(BalloonCollection* collection) argument
|
/external/chromium/chrome/browser/ui/views/notifications/ |
H A D | balloon_view.cc | 95 BalloonViewImpl::BalloonViewImpl(BalloonCollection* collection) argument 97 collection_(collection),
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | Sets.java | 87 * order, not the order in which the elements appear in the given collection. 116 * exception on an empty collection, and it may be called on any iterable, not 360 * the specified collection. If the collection is an {@link EnumSet}, this 362 * the specified collection must contain at least one element, in order to 363 * determine the element type. If the collection could be empty, use 366 * @param collection the collection whose complement should be stored in the 369 * that aren't present in the given collection 370 * @throws IllegalArgumentException if {@code collection} i 373 complementOf( Collection<E> collection) argument 396 complementOf( Collection<E> collection, Class<E> type) argument 404 makeComplementByHand( Collection<E> collection, Class<E> type) argument [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
H A D | SplitterTest.java | 619 private static <E> List<E> asList(Collection<E> collection){ argument 620 return ImmutableList.copyOf(collection);
|