/external/chromium_org/third_party/tlslite/tlslite/utils/ |
jython_compat.py | 104 def enumerate(collection): 105 return zip(range(len(collection)), collection)
|
/external/chromium_org/ui/message_center/views/ |
toast_contents_view.cc | 50 base::WeakPtr<MessagePopupCollection> collection) 51 : collection_(collection), 65 CreateWidget(collection->parent()); 336 // No group views in popup collection. 343 // No group views in popup collection. 348 // No group views in popup collection.
|
toast_contents_view.h | 45 base::WeakPtr<MessagePopupCollection> collection);
|
/frameworks/base/core/java/android/widget/ |
ArrayAdapter.java | 27 import java.util.Collection; 186 * Adds the specified Collection at the end of the array. 188 * @param collection The Collection to add at the end of the array. 190 public void addAll(Collection<? extends T> collection) { 193 mOriginalValues.addAll(collection); 195 mObjects.addAll(collection);
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
Extensions.java | 28 import java.util.Collection; 276 * @return Returns the collection of pairs: 280 public Collection<List<?>> valueOfSubjectAlternativeName() throws IOException { 295 * @return Returns the collection of pairs: 299 public Collection<List<?>> valueOfIssuerAlternativeName() throws IOException { 307 private static Collection<List<?>> decodeGeneralNames(Extension extension) 313 Collection<List<?>> collection = ((GeneralNames) GeneralNames.ASN1.decode(extension local 318 * collection at this point, so just return null. 320 if (collection.size() == 0) [all...] |
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
ConfigureForm.java | 121 * The id's of the child nodes associated with a collection node (both leaf and collection).
131 * Set the list of child node ids that are associated with a collection node.
171 * with the collection node. This is only relevant if {@link #getChildrenAssociationPolicy()} is set to
182 * Set the JID's in the whitelist of users that can associate child nodes with the collection
195 * Gets the maximum number of child nodes that can be associated with the collection node.
205 * Set the maximum number of child nodes that can be associated with a collection node.
216 * Gets the collection node which the node is affiliated with.
218 * @return The collection node id
222 return getFieldValue(ConfigureNodeFields.collection);
233 setAnswer(ConfigureNodeFields.collection.getFieldName(), collection); local [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Iterables.java | 31 import java.util.Collection; 105 return (iterable instanceof Collection) 106 ? ((Collection<?>) iterable).size() 116 if (iterable instanceof Collection) { 117 Collection<?> collection = (Collection<?>) iterable; local 119 return collection.contains(element); 131 * collection. 133 * <p>This method calls {@link Collection#removeAll} if {@code iterable} is [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
PopulatedCachesTest.java | 39 import java.util.Collection; 223 Collection<Object> values = cache.asMap().values(); 372 private void assertCollectionSize(Collection<?> collection, int size) { 373 assertEquals(size, collection.size()); 375 assertFalse(collection.isEmpty()); 377 assertTrue(collection.isEmpty()); 379 assertEquals(size, Iterables.size(collection)); 380 assertEquals(size, Iterators.size(collection.iterator()));
|
/frameworks/base/core/java/android/util/ |
ArrayMap.java | 19 import java.util.Collection; 692 // specialized collection APIs. 748 * Determine if the array map contains all of the keys in the given collection. 749 * @param collection The collection whose contents are to be checked against. 751 * in <var>collection</var>, else returns false. 753 public boolean containsAll(Collection<?> collection) { 754 return MapCollections.containsAllHelper(this, collection); 770 * Remove all keys in the array map that exist in the given collection [all...] |
/packages/apps/Mms/src/com/android/mms/model/ |
SlideshowModel.java | 26 import java.util.Collection; 420 public boolean addAll(Collection<? extends SlideModel> collection) { 442 public boolean containsAll(Collection<?> collection) { 443 return mSlides.containsAll(collection); 465 public boolean removeAll(Collection<?> collection) { 469 public boolean retainAll(Collection<?> collection) { [all...] |
/external/chromium/base/ |
stl_util-inl.h | 446 // Returns true if the key is in the collection. 447 template <typename Collection, typename Key> 448 bool ContainsKey(const Collection& collection, const Key& key) { 449 return collection.find(key) != collection.end();
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
iphoto_file_util.cc | 41 bool ContainsElement(const std::vector<T>& collection, const T& key) { 42 typename std::vector<T>::const_iterator it = collection.begin(); 43 while (it != collection.end()) {
|
/external/chromium/chrome/browser/chromeos/notifications/ |
notification_panel.h | 232 BalloonViewImpl* GetBalloonView(BalloonCollectionImpl* collection,
|
/external/chromium/chrome/browser/ui/views/notifications/ |
balloon_view.h | 56 explicit BalloonViewImpl(BalloonCollection* collection); 134 // Non-owned pointer to the balloon collection this is a part of.
|
/external/chromium_org/ash/system/web_notification/ |
web_notification_tray.cc | 84 // Starts observing |shelf| and shell and sends the change to |collection|. 85 void StartObserving(message_center::MessagePopupCollection* collection, 141 message_center::MessagePopupCollection* collection, 143 DCHECK(collection); 144 collection_ = collection;
|
/external/chromium_org/chrome/browser/ui/views/notifications/ |
balloon_view_views.h | 44 explicit BalloonViewImpl(BalloonCollection* collection); 123 // Non-owned pointer to the balloon collection this is a part of.
|
/external/chromium_org/tools/mac/ |
symbolicate_crash.py | 293 # Create the collection and initialize it with empty lists for each image. 294 collection = {} 296 collection[image] = [] 305 collection[frame.image].append((frame, frame.address)) 308 return collection
|
/external/guava/guava/src/com/google/common/collect/ |
ImmutableList.java | 28 import java.util.Collection; 41 * separate collection that can still change, an instance of {@code 209 * {@code elements} is a {@link Collection}, this method behaves exactly as 210 * {@link #copyOf(Collection)}; otherwise, it behaves exactly as {@code 217 return (elements instanceof Collection) 236 * or concurrent collection that is currently being modified by another 241 public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) { 277 Collection<? extends E> collection) { 278 Object[] elements = collection.toArray() [all...] |
ImmutableSet.java | 27 import java.util.Collection; 40 * separate collection that can still change, an instance of this class contains 48 * only immutable objects into this collection. 228 checkArgument(setSize < MAX_TABLE_SIZE, "collection too large"); 271 return (elements instanceof Collection) 314 * or concurrent collection that is currently being modified by another 320 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { 333 Collection<? extends E> collection) { 334 Object[] elements = collection.toArray() [all...] |
Maps.java | 40 import java.util.Collection; 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 764 private final Collection<Entry<K, V>> entries; 766 UnmodifiableEntries(Collection<Entry<K, V>> entries) { 770 @Override protected Collection<Entry<K, V>> delegate() { 798 Collection<? extends Entry<K, V>> collection) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListEqualsTester.java | 26 import java.util.Collection; 66 collection = getSubjectGenerator().create(elements.toArray()); 75 Collection<E> fewerElements = getSampleElements(getNumElements() - 1); 81 Collection<E> moreElements = getSampleElements(getNumElements() + 1);
|
ListSetTester.java | 59 collection = getSubjectGenerator().create(elements); 139 * java.util.Collections#checkedCollection(java.util.Collection, Class)} can
|
/external/stlport/test/unit/ |
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() );
|
/ndk/tests/device/test-gnustl-full/unit/ |
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() );
|
/ndk/tests/device/test-stlport/unit/ |
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() );
|