/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();
|
H A D | tracked_objects.cc | 176 DataCollector::Collection* collection = collected_data.collection(); local 184 for (DataCollector::Collection::iterator it = collection->begin(); 185 it != collection->end(); ++it) { 635 DataCollector::Collection* DataCollector::collection() { function in class:tracked_objects::DataCollector 814 void Comparator::Sort(DataCollector::Collection* collection) const { 815 std::sort(collection->begin(), collection->end(), *this);
|
/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...] |
H A D | AbstractMultimap.java | 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 instance 97 * all values for the key are removed, the key and collection ar 318 unmodifiableCollectionSubclass( Collection<V> collection) argument 362 wrapCollection( @ullable K key, Collection<V> collection) argument 566 addAll(Collection<? extends V> collection) argument 639 iteratorOrListIterator(Collection<V> collection) argument 1111 Collection<V> collection; field in class:AbstractMultimap.EntryIterator 1274 Collection<V> collection; field in class:AbstractMultimap.AsMap.AsMapIterator [all...] |
H A D | Maps.java | 277 * when accessing any of its collection views: <pre> {@code 629 * keyFunction} on each value in the input collection to that value 631 * key for more than one value in the input collection 666 * keyFunction} on each value in the input collection to that value 668 * key for more than one value in the input collection 798 Collection<? extends Entry<K, V>> collection) { 810 @Override public boolean removeAll(Collection<?> collection) { argument 814 @Override public boolean retainAll(Collection<?> collection) { argument 849 * attempts to modify the returned map, whether direct or via its collection 1653 @Override public boolean removeAll(Collection<?> collection) { argument 797 addAll( Collection<? extends Entry<K, V>> collection) argument 1667 retainAll(Collection<?> collection) argument 1882 removeAll(Collection<?> collection) argument 1891 retainAll(Collection<?> collection) argument [all...] |
H A D | Multimaps.java | 419 * multimap when accessing any of its collection views: <pre> {@code 529 Collection<V> collection = unmodifiableMap.get(key); 530 return (collection == null) 531 ? null : unmodifiableValueCollection(collection); 882 * Returns an unmodifiable view of the specified collection, preserving the 886 * @param collection the collection for which to return an unmodifiable view 887 * @return an unmodifiable view of the collection 890 Collection<V> collection) { 891 if (collection instanceo 889 unmodifiableValueCollection( Collection<V> collection) argument 2415 filterCollection(Collection<V> collection, Predicate<V> predicate) 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/JavaScriptCore/wtf/ |
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...] |
H A D | ListHashSet.h | 33 // interface - a collection of unique objects with O(1) insertion, 690 void deleteAllValues(HashTableType& collection) argument 693 iterator end = collection.end(); 694 for (iterator it = collection.begin(); it != end; ++it) 699 inline void deleteAllValues(const ListHashSet<T, inlineCapacity, U>& collection) argument 701 deleteAllValues<true, typename ListHashSet<T, inlineCapacity, U>::ValueType>(collection.m_impl);
|
/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); 460 // Draw the collection swap counter as a circling progress bar. 461 // 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);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | AbstractMultimapTest.java | 265 Collection<Integer> collection = Lists.newArrayList(1, 3); 266 multimap.putAll("foo", collection); 278 Collection<Integer> collection = Lists.newArrayList(1, nullValue()); 279 multimap.putAll(nullKey(), collection); 286 Collection<Integer> collection = Lists.newArrayList(); 287 multimap.putAll("foo", collection); 325 private void checkRemovedCollection(Collection<Integer> collection) { argument 327 collection.add(9876); 328 collection.remove(9876); 329 assertFalse(collection [all...] |
/external/v8/test/cctest/ |
H A D | test-profile-generator.cc | 810 CpuProfilesCollection collection; local 816 CHECK(collection.StartProfiling(title.start(), i + 1)); // UID must be > 0. 819 CHECK(!collection.StartProfiling(
|
/external/webkit/Source/WebCore/bindings/js/ |
H A D | JSDOMWindowCustom.cpp | 131 RefPtr<HTMLCollection> collection = document->windowNamedItems(identifierToString(propertyName)); local 132 if (collection->length() == 1) 133 return toJS(exec, collection->firstItem()); 134 return toJS(exec, collection.get());
|
/external/chromium/chrome/browser/chromeos/notifications/ |
H A D | notification_panel.cc | 836 BalloonCollectionImpl* collection, 838 Balloon* balloon = collection->FindBalloon(notification); 835 GetBalloonView( BalloonCollectionImpl* collection, const Notification& notification) argument
|
/external/chromium/chrome/browser/task_manager/ |
H A D | task_manager_resource_providers.cc | 1400 BalloonCollection* collection = local 1402 const BalloonCollection::Balloons& balloons = collection->GetActiveBalloons();
|
/external/chromium/webkit/glue/ |
H A D | webmediaplayer_impl.cc | 274 media::FilterCollection* collection, 279 filter_collection_(collection), 272 WebMediaPlayerImpl( WebKit::WebMediaPlayerClient* client, media::FilterCollection* collection, media::MessageLoopFactory* message_loop_factory) argument
|