Home
last modified time | relevance | path

Searched refs:DictionaryEntry (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Fuzzer/
DFuzzerInternal.h154 class DictionaryEntry {
156 DictionaryEntry() {} in DictionaryEntry() function
157 DictionaryEntry(Word W) : W(W) {} in DictionaryEntry() function
158 DictionaryEntry(Word W, size_t PositionHint) : W(W), PositionHint(PositionHint) {} in DictionaryEntry() function
183 return std::any_of(begin(), end(), [&](const DictionaryEntry &DE) { in ContainsWord()
187 const DictionaryEntry *begin() const { return &DE[0]; } in begin()
188 const DictionaryEntry *end() const { return begin() + Size; } in end()
189 DictionaryEntry & operator[] (size_t Idx) {
193 void push_back(DictionaryEntry DE) { in push_back()
202 DictionaryEntry DE[kMaxDictSize];
[all …]
DFuzzerMutate.cpp159 DictionaryEntry &DE = D[Rand(D.size())]; in AddWordFromDictionary()
245 std::vector<DictionaryEntry> V; in PrintRecommendedDictionary()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Collections/
DHashList.cs44 using DictionaryEntry = System.Collections.DictionaryEntry; typedef
118 public DictionaryEntry Entry
126 return new DictionaryEntry(_key, _value);
159 return new DictionaryEntry(_key, _value);
461DictionaryEntry e = new DictionaryEntry(_insertionOrderList[i], _dictionary[_insertionOrderList[i]… in CopyTo()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs301 Assert.AreEqual(new DictionaryEntry("x", "y"), enumerator.Current); in IDictionary_GetEnumerator()
302 Assert.AreEqual(new DictionaryEntry("x", "y"), enumerator.Entry); in IDictionary_GetEnumerator()
332 Assert.IsFalse(dictionary.Contains(new DictionaryEntry("x", "y"))); in IDictionary_Contains()
345 dictionary.Remove(new DictionaryEntry("x", "y")); in IDictionary_Remove()
357 var array = new DictionaryEntry[3]; in IDictionary_CopyTo()
359 …llectionAssert.AreEqual(new[] { default(DictionaryEntry), new DictionaryEntry("x", "y"), default(D… in IDictionary_CopyTo()
363 CollectionAssert.AreEqual(new object[] { null, new DictionaryEntry("x", "y"), null }, in IDictionary_CopyTo()
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs516 … ICollection temp = this.Select(pair => new DictionaryEntry(pair.Key, pair.Value)).ToList(); in ICollection.CopyTo()
571 public DictionaryEntry Entry { get { return new DictionaryEntry(Key, Value); } }
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs618 foreach (DictionaryEntry entry in fields) in WriteStruct()
691 foreach (DictionaryEntry pair in dictionary) in WriteDictionary()