Searched refs:collection (Results 1 - 25 of 367) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DEnumerableExtensions.cs85 var collection = source as ICollection<TSource>;
86 if (collection != null)
87 return collection.Contains(value);
212 foreach (TCollection collection in collectionSelector(element, counter++))
213 yield return selector(element, collection);
274 var collection = source as ICollection<TSource>;
275 if (collection != null) {
276 var array = new TSource[collection.Count];
277 collection.CopyTo(array, 0);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DListExtensions.cs188 public static int size( this ICollection collection )
190 return collection.Count;
194 public static int size<T>( this ICollection<T> collection )
196 return collection.Count;
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.Collections.pas138 /// The string representation is a list of the collection's elements in the order
150 /// The string representation is a list of the collection's elements in the order
155 /// <returns>A string representation of the specified collection or "null"</returns>
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/
H A DScala.stg1147 val <scope.name>_stack = new collection.mutable.Stack[<scope.name>_scope]<\n>
1156 val <scope.name>_stack = new collection.mutable.Stack[<scope.name>_scope]<\n>
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
H A DCertStore_ImplTest.java88 Collection collection = certS.getCertificates(certSelector);
89 assertNull("Not null collection", collection);
90 collection = certS.getCRLs(crlSelector);
91 assertNull("Not null collection", collection);
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/jcajce/
H A DJcaCertStore.java26 * @param collection - initial contents for the store, this is copied.
28 public JcaCertStore(Collection collection) argument
31 super(convertCerts(collection));
34 private static Collection convertCerts(Collection collection) argument
37 List list = new ArrayList(collection.size());
39 for (Iterator it = collection.iterator(); it.hasNext();)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DCollectionStore.java9 * A simple collection backed store.
19 * @param collection - initial contents for the store, this is copied.
22 Collection collection)
24 _local = new ArrayList(collection);
28 * Return the matches in the collection for the passed in selector.
31 * @return a possibly empty collection of matching objects.
21 CollectionStore( Collection collection) argument
/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/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-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/chromium_org/android_webview/renderer/
H A Daw_render_view_ext.cc61 blink::WebElementCollection collection = local
63 DCHECK(!collection.isNull());
64 return collection.firstItem();
/external/chromium_org/base/
H A Dstl_util.h193 // Returns true if the key is in the collection.
195 bool ContainsKey(const Collection& collection, const Key& key) { argument
196 return collection.find(key) != collection.end();
/external/chromium_org/chrome/browser/browsing_data/
H A Dbrowsing_data_appcache_helper_unittest.cc61 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/chromium_org/chrome/browser/extensions/api/web_request/
H A Dweb_request_api_unittest.cc99 // Searches |key| in |collection| by iterating over its elements and returns
102 bool Contains(const Collection& collection, const Key& key) { argument
103 return std::find(collection.begin(), collection.end(), key) !=
104 collection.end();
/external/chromium_org/chrome/browser/
H A Djumplist_updater_win.cc24 bool AddShellLink(base::win::ScopedComPtr<IObjectCollection> collection, argument
75 // Add this IShellLink object to the given collection.
76 return SUCCEEDED(collection->AddObject(link));
173 base::win::ScopedComPtr<IObjectCollection> collection;
174 HRESULT result = collection.CreateInstance(CLSID_EnumerableObjectCollection,
182 AddShellLink(collection, application_path.value(), *it);
190 result = collection.QueryInterface(object_array.Receive());
215 // We once add the given items to this collection object and add this
216 // collection to the JumpList.
217 base::win::ScopedComPtr<IObjectCollection> collection;
[all...]
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Diphoto_file_util.cc40 bool ContainsElement(const std::vector<T>& collection, const T& key) { argument
41 typename std::vector<T>::const_iterator it = collection.begin();
42 while (it != collection.end()) {
/external/chromium_org/chrome/browser/resources/extensions/
H A Dextensions.css317 .error-collection-control {
322 #extension-settings.dev-mode .error-collection-control {
/external/chromium_org/chrome/browser/ui/panels/
H A Dbase_panel_browser_test.cc422 EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type());
433 EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type());
452 EXPECT_EQ(PanelCollection::STACKED, panel->collection()->type());
H A Ddetached_panel_collection.cc85 DCHECK_NE(this, panel->collection());
96 DCHECK_EQ(this, panel->collection());
111 DCHECK_EQ(this, panel->collection());
117 DCHECK_EQ(this, panel->collection());
125 DCHECK_EQ(this, panel->collection());
147 DCHECK_EQ(this, panel->collection());
152 DCHECK_EQ(this, panel->collection());
154 // regardless of which collection the panel is in. So we just quietly return.
158 DCHECK_EQ(this, panel->collection());
160 // regardless of which collection th
[all...]
H A Ddetached_panel_drag_handler.cc16 DCHECK_EQ(PanelCollection::DETACHED, panel->collection()->type());
H A Ddocked_panel_collection.cc24 // Width of spacing around panel collection and the left/right edges of the
88 DCHECK_NE(this, panel->collection());
150 DCHECK_EQ(this, panel->collection());
242 DCHECK_EQ(this, panel->collection());
290 DCHECK_EQ(this, panel->collection());
323 DCHECK_EQ(this, panel->collection());
334 DCHECK_EQ(this, panel->collection());
345 DCHECK_EQ(this, panel->collection());
355 DCHECK_EQ(this, panel->collection());
441 DCHECK_EQ(this, panel->collection());
[all...]
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 Dpanel.h182 PanelCollection* collection() const { return collection_; } function in class:Panel
184 // Sets the current panel collection that contains this panel.
206 // in the docked collection and squeezing mode is not on.
360 // Current collection of panels to which this panel belongs. This determines
367 // been minimized or squeezed due to lack of space in the collection.
384 // controller to add a panel to the collection without causing its bounds to
H A Dpanel_drag_browsertest.cc964 EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type());
976 EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type());
987 EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type());
1026 EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type());
1038 EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type());
1049 EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type());
1071 EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type());
1089 EXPECT_EQ(PanelCollection::DETACHED, panel->collection()->type());
1102 EXPECT_EQ(PanelCollection::DOCKED, panel->collection()->type());
1111 EXPECT_EQ(PanelCollection::DOCKED, panel->collection()
[all...]

Completed in 811 milliseconds

1234567891011>>