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

/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
H A DMediaConstraints.java39 public static class KeyValuePair { class in class:MediaConstraints
43 public KeyValuePair(String key, String value) { method in class:MediaConstraints.KeyValuePair
68 KeyValuePair that = (KeyValuePair)other;
78 public final List<KeyValuePair> mandatory;
79 public final List<KeyValuePair> optional;
82 mandatory = new LinkedList<KeyValuePair>();
83 optional = new LinkedList<KeyValuePair>();
86 private static String stringifyKeyValuePairList(List<KeyValuePair> list) {
88 for (KeyValuePair pai
[all...]
/external/protobuf/csharp/src/Google.Protobuf/Collections/
H A DReadOnlyDictionary.cs87 public void Add(KeyValuePair<TKey, TValue> item)
97 public bool Contains(KeyValuePair<TKey, TValue> item)
102 public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
117 public bool Remove(KeyValuePair<TKey, TValue> item)
122 public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
H A DMapField.cs72 private readonly Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>> map =
73 new Dictionary<TKey, LinkedListNode<KeyValuePair<TKey, TValue>>>();
74 private readonly LinkedList<KeyValuePair<TKey, TValue>> list = new LinkedList<KeyValuePair<TKey, TValue>>();
145 LinkedListNode<KeyValuePair<TKey, TValue>> node;
168 LinkedListNode<KeyValuePair<TKey, TValue>> node;
208 LinkedListNode<KeyValuePair<TKey, TValue>> node;
209 var pair = new KeyValuePair<TKey, TValue>(key, value);
251 public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
271 void ICollection<KeyValuePair<TKe
[all...]
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
H A DMapFieldTest.cs194 ICollection<KeyValuePair<string, string>> collection = map;
204 ICollection<KeyValuePair<string, string>> collection = map;
228 ICollection<KeyValuePair<string, string>> collection = map;
236 Assert.Throws<ArgumentException>(() => collection.Remove(new KeyValuePair<string, string>(null, "")));
244 ICollection<KeyValuePair<string, string>> collection = map;
245 KeyValuePair<string, string>[] array = new KeyValuePair<string, string>[3];
283 CollectionAssert.AreEqual(new[] { new KeyValuePair<string, string>("x", "y") },
527 private static KeyValuePair<TKey, TValue> NewKeyValuePair<TKey, TValue>(TKey key, TValue value)
529 return new KeyValuePair<TKe
[all...]
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
H A DPeerConnectionClient.java27 import org.webrtc.MediaConstraints.KeyValuePair;
354 new MediaConstraints.KeyValuePair(DTLS_SRTP_KEY_AGREEMENT_CONSTRAINT, "false"));
357 new MediaConstraints.KeyValuePair(DTLS_SRTP_KEY_AGREEMENT_CONSTRAINT, "true"));
385 videoConstraints.mandatory.add(new KeyValuePair(
387 videoConstraints.mandatory.add(new KeyValuePair(
389 videoConstraints.mandatory.add(new KeyValuePair(
391 videoConstraints.mandatory.add(new KeyValuePair(
399 videoConstraints.mandatory.add(new KeyValuePair(
401 videoConstraints.mandatory.add(new KeyValuePair(
411 audioConstraints.mandatory.add(new MediaConstraints.KeyValuePair(
[all...]
/external/clang/lib/AST/
H A DExprObjC.cpp61 KeyValuePair *KeyValues = getTrailingObjects<KeyValuePair>();
93 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>(
101 void *Mem = C.Allocate(totalSizeToAlloc<KeyValuePair, ExpansionData>(
/external/clang/include/clang/AST/
H A DExprObjC.h277 typedef ObjCDictionaryLiteral_KeyValuePair KeyValuePair; typedef in class:clang::final
280 size_t numTrailingObjects(OverloadToken<KeyValuePair>) const {
311 const KeyValuePair &KV = getTrailingObjects<KeyValuePair>()[Index];
336 // Note: we're taking advantage of the layout of the KeyValuePair struct
338 static_assert(sizeof(KeyValuePair) == sizeof(Stmt *) * 2,
339 "KeyValuePair is expected size");
341 reinterpret_cast<Stmt **>(getTrailingObjects<KeyValuePair>()),
342 reinterpret_cast<Stmt **>(getTrailingObjects<KeyValuePair>()) +
/external/protobuf/src/google/protobuf/
H A Dmap.h665 class KeyValuePair { class in class:google::protobuf::Map
667 KeyValuePair(const Key& k, value_type* v) : k_(k), v_(v) {} function in class:google::protobuf::Map::KeyValuePair
679 typedef MapAllocator<KeyValuePair> Allocator;
737 KeyValuePair kv;
897 typedef iterator_base<KeyValuePair> iterator;
898 typedef iterator_base<const KeyValuePair> const_iterator;
948 std::pair<iterator, bool> insert(const KeyValuePair& kv) {
986 KeyValuePair kv(k, Value());
/external/webrtc/talk/app/webrtc/java/testcommon/src/org/webrtc/
H A DPeerConnectionTest.java536 new MediaConstraints.KeyValuePair("DtlsSrtpKeyAgreement", "true"));
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp993 ObjCDictionaryLiteral::KeyValuePair *KeyValues =
994 E->getTrailingObjects<ObjCDictionaryLiteral::KeyValuePair>();

Completed in 402 milliseconds