/third_party/protobuf/csharp/src/Google.Protobuf/Collections/ |
H A D | MapField.cs | 80 private readonly Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>> map =
81 new Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>>(KeyEqualityComparer);
82 private readonly LinkedList<KeyValuePair<TKey, TValue>> list = new LinkedList<KeyValuePair<TKey, TValue>>();
150 LinkedListNode<KeyValuePair<TKey, TValue>> node;
in Remove() 173 LinkedListNode<KeyValuePair<TKey, TValue>> node;
in TryGetValue() 213 LinkedListNode<KeyValuePair<TKey, TValue>> node;
214 var pair = new KeyValuePair<TKey, TValue>(key, value);
256 public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
in GetEnumerator() 276 void ICollection<KeyValuePair<TKe [all...] |
H A D | ReadOnlyDictionary.cs | 87 public void Add(KeyValuePair<TKey, TValue> item)
in Add() 97 public bool Contains(KeyValuePair<TKey, TValue> item)
in Contains() 102 public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
in CopyTo() 117 public bool Remove(KeyValuePair<TKey, TValue> item)
in Remove() 122 public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
in GetEnumerator()
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/ |
H A D | MapFieldTest.cs | 194 ICollection<KeyValuePair<string, string>> collection = map; in Add_Pair() 204 ICollection<KeyValuePair<string, string>> collection = map; in Contains_Pair() 228 ICollection<KeyValuePair<string, string>> collection = map; in Remove_Pair() 236 Assert.Throws<ArgumentException>(() => collection.Remove(new KeyValuePair<string, string>(null, ""))); in Remove_Pair() 244 ICollection<KeyValuePair<string, string>> collection = map; in CopyTo_Pair() 245 KeyValuePair<string, string>[] array = new KeyValuePair<string, string>[3]; in CopyTo_Pair() 283 CollectionAssert.AreEqual(new[] { new KeyValuePair<string, string>("x", "y") }, in GetEnumerator_NonGeneric() 527 private static KeyValuePair<TKey, TValue> NewKeyValuePair<TKey, TValue>(TKey key, TValue value) in NewKeyValuePair() 529 return new KeyValuePair<TKe in NewKeyValuePair() [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | UnknownFieldSet.cs | 92 foreach (KeyValuePair<int, UnknownField> entry in fields) in WriteTo() 104 foreach (KeyValuePair<int, UnknownField> entry in fields) in CalculateSize() 126 foreach (KeyValuePair<int, UnknownField> leftEntry in fields) in Equals() 147 foreach (KeyValuePair<int, UnknownField> field in fields) in GetHashCode() 327 foreach (KeyValuePair<int, UnknownField> entry in other.fields) in MergeFrom()
|
H A D | ExtensionSet.cs | 292 foreach (KeyValuePair<int, IExtensionValue> field in ValuesByNumber)
in GetHashCode()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/ |
H A D | MapFieldTest.cs | 195 ICollection<KeyValuePair<string, string>> collection = map; in Add_Pair() 205 ICollection<KeyValuePair<string, string>> collection = map; in Contains_Pair() 229 ICollection<KeyValuePair<string, string>> collection = map; in Remove_Pair() 237 Assert.Throws<ArgumentException>(() => collection.Remove(new KeyValuePair<string, string>(null, ""))); in Remove_Pair() 245 ICollection<KeyValuePair<string, string>> collection = map; in CopyTo_Pair() 246 KeyValuePair<string, string>[] array = new KeyValuePair<string, string>[3]; in CopyTo_Pair() 284 CollectionAssert.AreEqual(new[] { new KeyValuePair<string, string>("x", "y") }, in GetEnumerator_NonGeneric() 630 private static KeyValuePair<TKey, TValue> NewKeyValuePair<TKey, TValue>(TKey key, TValue value) in NewKeyValuePair() 632 return new KeyValuePair<TKe in NewKeyValuePair() [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | FastVector_unittest.cpp | 350 using KeyValuePair = std::pair<int, std::string>; in TEST() 351 std::set<KeyValuePair> entries = {KeyValuePair(17, "testing"), KeyValuePair(63, "fast"), in TEST() 352 KeyValuePair(97, "integer"), KeyValuePair(256, "map")}; in TEST() 371 for (KeyValuePair entry : entries) in TEST() 377 for (KeyValuePair entry : entries) in TEST()
|
/third_party/python/Parser/ |
H A D | action_helpers.c | 387 /* Constructs a KeyValuePair that is used when parsing a dict's key value pairs */ 388 KeyValuePair * 391 KeyValuePair *a = _PyArena_Malloc(p->arena, sizeof(KeyValuePair)); in _PyPegen_key_value_pair() 400 /* Extracts all keys from an asdl_seq* of KeyValuePair*'s */ 410 KeyValuePair *pair = asdl_seq_GET_UNTYPED(seq, i); in _PyPegen_get_keys() 416 /* Extracts all values from an asdl_seq* of KeyValuePair*'s */ 426 KeyValuePair *pair = asdl_seq_GET_UNTYPED(seq, i); in _PyPegen_get_values()
|
H A D | pegen.h | 91 } KeyValuePair; typedef 298 KeyValuePair *_PyPegen_key_value_pair(Parser *, expr_ty, expr_ty);
|
H A D | parser.c | 712 static KeyValuePair* double_starred_kvpair_rule(Parser *p); 713 static KeyValuePair* kvpair_rule(Parser *p); 15846 static KeyValuePair* 15857 KeyValuePair* _res = NULL; in double_starred_kvpair_rule() 15892 KeyValuePair* kvpair_var; in double_starred_kvpair_rule() 15912 static KeyValuePair* 15923 KeyValuePair* _res = NULL; in kvpair_rule() 16439 KeyValuePair* a; in dictcomp_rule() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | PassManager.h | 1179 for (auto &KeyValuePair : OuterAnalysisInvalidationMap) { in invalidate() 1180 AnalysisKey *OuterID = KeyValuePair.first; in invalidate() 1181 auto &InnerIDs = KeyValuePair.second; in invalidate()
|