/external/cronet/stable/third_party/protobuf/src/google/protobuf/stubs/ |
D | map_util.h | 72 template <class Collection> 73 const typename Collection::value_type::second_type& 74 FindOrDie(const Collection& collection, 75 const typename Collection::value_type::first_type& key) { 76 typename Collection::const_iterator it = collection.find(key); 77 GOOGLE_CHECK(it != collection.end()) << "Map key not found: " << key; 82 template <class Collection> 83 typename Collection::value_type::second_type& 84 FindOrDie(Collection& collection, // NOLINT 85 const typename Collection::value_type::first_type& key) { [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | map_util.h | 72 template <class Collection> 73 const typename Collection::value_type::second_type& 74 FindOrDie(const Collection& collection, 75 const typename Collection::value_type::first_type& key) { 76 typename Collection::const_iterator it = collection.find(key); 77 GOOGLE_CHECK(it != collection.end()) << "Map key not found: " << key; 82 template <class Collection> 83 typename Collection::value_type::second_type& 84 FindOrDie(Collection& collection, // NOLINT 85 const typename Collection::value_type::first_type& key) { [all …]
|
/external/cronet/tot/third_party/protobuf/src/google/protobuf/stubs/ |
D | map_util.h | 72 template <class Collection> 73 const typename Collection::value_type::second_type& 74 FindOrDie(const Collection& collection, 75 const typename Collection::value_type::first_type& key) { 76 typename Collection::const_iterator it = collection.find(key); 77 GOOGLE_CHECK(it != collection.end()) << "Map key not found: " << key; 82 template <class Collection> 83 typename Collection::value_type::second_type& 84 FindOrDie(Collection& collection, // NOLINT 85 const typename Collection::value_type::first_type& key) { [all …]
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | map_util.h | 37 template <class Collection> 38 const typename Collection::value_type::second_type* FindOrNull( in FindOrNull() 39 const Collection& collection, in FindOrNull() argument 40 const typename Collection::value_type::first_type& key) { in FindOrNull() 41 typename Collection::const_iterator it = collection.find(key); in FindOrNull() 42 if (it == collection.end()) { in FindOrNull() 49 template <class Collection> 50 typename Collection::value_type::second_type* FindOrNull( in FindOrNull() 51 Collection& collection, // NOLINT in FindOrNull() argument 52 const typename Collection::value_type::first_type& key) { in FindOrNull() [all …]
|
/external/webrtc/test/pc/e2e/analyzer/video/ |
D | names_collection_test.cc | 27 NamesCollection collection(std::vector<std::string>{"alice", "bob"}); in TEST() local 29 EXPECT_THAT(collection.size(), Eq(static_cast<size_t>(2))); in TEST() 30 EXPECT_TRUE(collection.HasName("alice")); in TEST() 31 EXPECT_THAT(collection.name(collection.index("alice")), Eq("alice")); in TEST() 33 EXPECT_TRUE(collection.HasName("bob")); in TEST() 34 EXPECT_THAT(collection.name(collection.index("bob")), Eq("bob")); in TEST() 36 EXPECT_THAT(collection.index("bob"), Ne(collection.index("alice"))); in TEST() 40 NamesCollection collection(std::vector<std::string>{}); in TEST() local 41 collection.AddIfAbsent("alice"); in TEST() 43 EXPECT_THAT(collection.size(), Eq(static_cast<size_t>(1))); in TEST() [all …]
|
/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202005/MdePkg/Include/Library/ |
D | OrderedCollectionLib.h | 2 An ordered collection library interface. 4 The library class provides a set of APIs to manage an ordered collection of 18 // Opaque structure for a collection. 23 // Opaque structure for collection entries. 25 // Collection entries do not take ownership of the associated user structures, 36 // Altering the key field of an in-collection user structure (ie. the portion 41 // reflected in the collection. 89 // the same collection, then the caller is responsible for implementing locking 90 // for the whole collection. 94 Retrieve the user structure linked by the specified collection entry. [all …]
|
/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Library/ |
D | OrderedCollectionLib.h | 2 An ordered collection library interface. 4 The library class provides a set of APIs to manage an ordered collection of 18 // Opaque structure for a collection. 23 // Opaque structure for collection entries. 25 // Collection entries do not take ownership of the associated user structures, 36 // Altering the key field of an in-collection user structure (ie. the portion 41 // reflected in the collection. 88 // the same collection, then the caller is responsible for implementing locking 89 // for the whole collection. 93 Retrieve the user structure linked by the specified collection entry. [all …]
|
/external/coreboot/src/vendorcode/intel/edk2/UDK2017/MdePkg/Include/Library/ |
D | OrderedCollectionLib.h | 2 An ordered collection library interface. 4 The library class provides a set of APIs to manage an ordered collection of 24 // Opaque structure for a collection. 29 // Opaque structure for collection entries. 31 // Collection entries do not take ownership of the associated user structures, 42 // Altering the key field of an in-collection user structure (ie. the portion 47 // reflected in the collection. 95 // the same collection, then the caller is responsible for implementing locking 96 // for the whole collection. 100 Retrieve the user structure linked by the specified collection entry. [all …]
|
/external/coreboot/src/vendorcode/intel/edk2/edk2-stable202111/MdePkg/Include/Library/ |
D | OrderedCollectionLib.h | 2 An ordered collection library interface. 4 The library class provides a set of APIs to manage an ordered collection of 18 // Opaque structure for a collection. 23 // Opaque structure for collection entries. 25 // Collection entries do not take ownership of the associated user structures, 36 // Altering the key field of an in-collection user structure (ie. the portion 41 // reflected in the collection. 89 // the same collection, then the caller is responsible for implementing locking 90 // for the whole collection. 94 Retrieve the user structure linked by the specified collection entry. [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | AbstractMapBasedMultimap.java | 30 import java.util.Collection; 52 * that associates each key with a collection of values. All methods of {@link Multimap} are 56 * creates an empty collection of values for a key. 60 * AbstractMapBasedMultimap} calls {@link #createCollection()} to create the collection of values 68 * <p>Keys and values may be null, as long as the underlying collection classes support null 72 * collection, such as a {@link Set}, does not support duplicates, an added key-value pair will 74 * like {@link List} that allow duplicates, the collection will keep the existing key-value pairs 95 * The map variable contains the collection of values associated with each 97 * contain any values for that key, a new collection generated by 98 * createCollection is added to the map. That same collection instance [all …]
|
D | FilteredEntryMultimap.java | 29 import java.util.Collection; 89 static <E extends @Nullable Object> Collection<E> filterCollection( in filterCollection() 90 Collection<E> collection, Predicate<? super E> predicate) { in filterCollection() argument 91 if (collection instanceof Set) { in filterCollection() 92 return Sets.filter((Set<E>) collection, predicate); in filterCollection() 94 return Collections2.filter(collection, predicate); in filterCollection() 104 public Collection<V> removeAll(@CheckForNull Object key) { in removeAll() 108 Collection<V> unmodifiableEmptyCollection() { in unmodifiableEmptyCollection() 121 public Collection<V> get(@ParametricNullness K key) { in get() 126 Collection<Entry<K, V>> createEntries() { in createEntries() [all …]
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | AbstractMapBasedMultimap.java | 30 import java.util.Collection; 50 * that associates each key with a collection of values. All methods of {@link Multimap} are 54 * creates an empty collection of values for a key. 58 * AbstractMapBasedMultimap} calls {@link #createCollection()} to create the collection of values 66 * <p>Keys and values may be null, as long as the underlying collection classes support null 70 * collection, such as a {@link Set}, does not support duplicates, an added key-value pair will 72 * like {@link List} that allow duplicates, the collection will keep the existing key-value pairs 93 * The map variable contains the collection of values associated with each 95 * contain any values for that key, a new collection generated by 96 * createCollection is added to the map. That same collection instance [all …]
|
D | FilteredEntryMultimap.java | 29 import java.util.Collection; 89 static <E extends @Nullable Object> Collection<E> filterCollection( in filterCollection() 90 Collection<E> collection, Predicate<? super E> predicate) { in filterCollection() argument 91 if (collection instanceof Set) { in filterCollection() 92 return Sets.filter((Set<E>) collection, predicate); in filterCollection() 94 return Collections2.filter(collection, predicate); in filterCollection() 104 public Collection<V> removeAll(@CheckForNull Object key) { in removeAll() 108 Collection<V> unmodifiableEmptyCollection() { in unmodifiableEmptyCollection() 121 public Collection<V> get(@ParametricNullness K key) { in get() 126 Collection<Entry<K, V>> createEntries() { in createEntries() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | map_util.h | 35 template <class Collection> 36 const typename Collection::value_type::second_type& FindOrDie( in FindOrDie() 37 const Collection& collection, in FindOrDie() argument 38 const typename Collection::value_type::first_type& key) { in FindOrDie() 39 typename Collection::const_iterator it = collection.find(key); in FindOrDie() 40 CHECK(it != collection.end()) << "Map key not found: " << key; in FindOrDie() 45 template <class Collection> 46 typename Collection::value_type::second_type& FindOrDie( in FindOrDie() 47 Collection& collection, // NOLINT in FindOrDie() argument 48 const typename Collection::value_type::first_type& key) { in FindOrDie() [all …]
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | FieldType.java | 42 DOUBLE(0, Collection.SCALAR, JavaType.DOUBLE), 43 FLOAT(1, Collection.SCALAR, JavaType.FLOAT), 44 INT64(2, Collection.SCALAR, JavaType.LONG), 45 UINT64(3, Collection.SCALAR, JavaType.LONG), 46 INT32(4, Collection.SCALAR, JavaType.INT), 47 FIXED64(5, Collection.SCALAR, JavaType.LONG), 48 FIXED32(6, Collection.SCALAR, JavaType.INT), 49 BOOL(7, Collection.SCALAR, JavaType.BOOLEAN), 50 STRING(8, Collection.SCALAR, JavaType.STRING), 51 MESSAGE(9, Collection.SCALAR, JavaType.MESSAGE), [all …]
|
/external/cronet/tot/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | FieldType.java | 42 DOUBLE(0, Collection.SCALAR, JavaType.DOUBLE), 43 FLOAT(1, Collection.SCALAR, JavaType.FLOAT), 44 INT64(2, Collection.SCALAR, JavaType.LONG), 45 UINT64(3, Collection.SCALAR, JavaType.LONG), 46 INT32(4, Collection.SCALAR, JavaType.INT), 47 FIXED64(5, Collection.SCALAR, JavaType.LONG), 48 FIXED32(6, Collection.SCALAR, JavaType.INT), 49 BOOL(7, Collection.SCALAR, JavaType.BOOLEAN), 50 STRING(8, Collection.SCALAR, JavaType.STRING), 51 MESSAGE(9, Collection.SCALAR, JavaType.MESSAGE), [all …]
|
/external/cronet/stable/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | FieldType.java | 42 DOUBLE(0, Collection.SCALAR, JavaType.DOUBLE), 43 FLOAT(1, Collection.SCALAR, JavaType.FLOAT), 44 INT64(2, Collection.SCALAR, JavaType.LONG), 45 UINT64(3, Collection.SCALAR, JavaType.LONG), 46 INT32(4, Collection.SCALAR, JavaType.INT), 47 FIXED64(5, Collection.SCALAR, JavaType.LONG), 48 FIXED32(6, Collection.SCALAR, JavaType.INT), 49 BOOL(7, Collection.SCALAR, JavaType.BOOLEAN), 50 STRING(8, Collection.SCALAR, JavaType.STRING), 51 MESSAGE(9, Collection.SCALAR, JavaType.MESSAGE), [all …]
|
/external/python/mako/test/ |
D | test_namespace.py | 91 collection = lookup.TemplateLookup() 93 collection.put_string( 102 collection.put_string( 110 flatten_result(collection.get_template("a").render(b_def="b")), 115 collection = lookup.TemplateLookup() 117 collection.put_string( 127 collection.put_string( 141 flatten_result(collection.get_template("main.html").render()) 146 collection = lookup.TemplateLookup() 148 collection.put_string( [all …]
|
D | test_inheritance.py | 7 collection = lookup.TemplateLookup() 9 collection.put_string( 22 collection.put_string( 39 assert result_lines(collection.get_template("main").render()) == [ 51 collection = lookup.TemplateLookup() 53 collection.put_string( 65 collection.put_string( 78 collection.put_string( 89 collection.put_string( 102 assert result_lines(collection.get_template("main").render()) == [ [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | X509CollectionStoreParameters.java | 4 import java.util.Collection; 7 * This class contains a collection for collection based <code>X509Store</code>s. 15 private Collection collection; field in 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) in X509CollectionStoreParameters() argument 29 if (collection == null) in X509CollectionStoreParameters() 31 throw new NullPointerException("collection cannot be null"); in X509CollectionStoreParameters() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/ |
D | X509CollectionStoreParameters.java | 5 import java.util.Collection; 8 * This class contains a collection for collection based <code>X509Store</code>s. 17 private Collection collection; field in X509CollectionStoreParameters 22 * The collection is copied. 25 * @param collection 26 * The collection containing X.509 object types. 27 * @throws NullPointerException if <code>collection</code> is <code>null</code>. 29 public X509CollectionStoreParameters(Collection collection) in X509CollectionStoreParameters() argument 31 if (collection == null) in X509CollectionStoreParameters() 33 throw new NullPointerException("collection cannot be null"); in X509CollectionStoreParameters() [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/ |
D | X509CollectionStoreParameters.java | 5 import java.util.Collection; 8 * This class contains a collection for collection based <code>X509Store</code>s. 17 private Collection collection; field in X509CollectionStoreParameters 22 * The collection is copied. 25 * @param collection 26 * The collection containing X.509 object types. 27 * @throws NullPointerException if <code>collection</code> is <code>null</code>. 29 public X509CollectionStoreParameters(Collection collection) in X509CollectionStoreParameters() argument 31 if (collection == null) in X509CollectionStoreParameters() 33 throw new NullPointerException("collection cannot be null"); in X509CollectionStoreParameters() [all …]
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | Builder.java | 5 import java.util.Collection; 36 * Operations: A is current contents, B is new collection, x indicates the results 74 public static <E, C extends Collection<E>> CBuilder<E, C> with(C collection, EqualAction ea) { in with() argument 75 return new CBuilder<>(collection, ea); in with() 78 public static <E, C extends Collection<E>> CBuilder<E, C> with(C collection) { in with() argument 79 return new CBuilder<>(collection, EqualAction.NATIVE); in with() 92 public static final class CBuilder<E, U extends Collection<E>> { 103 collection.clear(); in clear() 112 collection.remove(e); in add() 115 if (collection.contains(e)) { in add() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ForwardingCollectionTest.java | 28 import java.util.Collection; 42 private final Collection<T> backingCollection; 44 StandardImplForwardingCollection(Collection<T> backingCollection) { in StandardImplForwardingCollection() 49 protected Collection<T> delegate() { in delegate() 54 public boolean addAll(Collection<? extends T> collection) { in addAll() argument 55 return standardAddAll(collection); in addAll() 69 public boolean containsAll(Collection<?> collection) { in containsAll() argument 70 return standardContainsAll(collection); in containsAll() 79 public boolean removeAll(Collection<?> collection) { in removeAll() argument 80 return standardRemoveAll(collection); in removeAll() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | ForwardingCollectionTest.java | 28 import java.util.Collection; 42 private final Collection<T> backingCollection; 44 StandardImplForwardingCollection(Collection<T> backingCollection) { in StandardImplForwardingCollection() 49 protected Collection<T> delegate() { in delegate() 54 public boolean addAll(Collection<? extends T> collection) { in addAll() argument 55 return standardAddAll(collection); in addAll() 69 public boolean containsAll(Collection<?> collection) { in containsAll() argument 70 return standardContainsAll(collection); in containsAll() 79 public boolean removeAll(Collection<?> collection) { in removeAll() argument 80 return standardRemoveAll(collection); in removeAll() [all …]
|