Home
last modified time | relevance | path

Searched refs:KeyValuePair (Results 1 - 11 of 11) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
H A DMapField.cs80 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 DReadOnlyDictionary.cs87 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 DMapFieldTest.cs194 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 DUnknownFieldSet.cs92 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 DExtensionSet.cs292 foreach (KeyValuePair<int, IExtensionValue> field in ValuesByNumber) in GetHashCode()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
H A DMapFieldTest.cs195 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 DFastVector_unittest.cpp350 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 Daction_helpers.c387 /* 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 Dpegen.h91 } KeyValuePair; typedef
298 KeyValuePair *_PyPegen_key_value_pair(Parser *, expr_ty, expr_ty);
H A Dparser.c712 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 DPassManager.h1179 for (auto &KeyValuePair : OuterAnalysisInvalidationMap) { in invalidate()
1180 AnalysisKey *OuterID = KeyValuePair.first; in invalidate()
1181 auto &InnerIDs = KeyValuePair.second; in invalidate()

Completed in 49 milliseconds