Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerDictionary.h49 class DictionaryEntry {
51 DictionaryEntry() {} in DictionaryEntry() function
52 DictionaryEntry(Word W) : W(W) {} in DictionaryEntry() function
53 DictionaryEntry(Word W, size_t PositionHint) : W(W), PositionHint(PositionHint) {} in DictionaryEntry() function
85 return std::any_of(begin(), end(), [&](const DictionaryEntry &DE) { in ContainsWord()
89 const DictionaryEntry *begin() const { return &DE[0]; } in begin()
90 const DictionaryEntry *end() const { return begin() + Size; } in end()
91 DictionaryEntry & operator[] (size_t Idx) {
95 void push_back(DictionaryEntry DE) { in push_back()
104 DictionaryEntry DE[kMaxDictSize];
DFuzzerMutate.h114 DictionaryEntry &DE);
117 DictionaryEntry MakeDictionaryEntryFromCMP(T Arg1, T Arg2,
119 DictionaryEntry MakeDictionaryEntryFromCMP(const Word &Arg1, const Word &Arg2,
121 DictionaryEntry MakeDictionaryEntryFromCMP(const void *Arg1, const void *Arg2,
136 Vector<DictionaryEntry *> CurrentDictionaryEntrySequence;
139 DictionaryEntry CmpDictionaryEntriesDeque[kCmpDictionaryEntriesDequeSize];
DFuzzerMutate.cpp168 DictionaryEntry &DE) { in ApplyDictionaryEntry()
193 DictionaryEntry MutationDispatcher::MakeDictionaryEntryFromCMP( in MakeDictionaryEntryFromCMP()
218 return DictionaryEntry(W, Positions[Rand(NumPositions)]); in MakeDictionaryEntryFromCMP()
220 DictionaryEntry DE(W); in MakeDictionaryEntryFromCMP()
226 DictionaryEntry MutationDispatcher::MakeDictionaryEntryFromCMP( in MakeDictionaryEntryFromCMP()
236 DictionaryEntry MutationDispatcher::MakeDictionaryEntryFromCMP( in MakeDictionaryEntryFromCMP()
245 DictionaryEntry DE; in Mutate_AddWordFromTORC()
264 DE = DictionaryEntry(X); in Mutate_AddWordFromTORC()
272 DictionaryEntry &DERef = in Mutate_AddWordFromTORC()
289 DictionaryEntry &DE = D[Rand(D.size())]; in AddWordFromDictionary()
[all …]
DFuzzerDefs.h31 class DictionaryEntry; variable
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerDictionary.h49 class DictionaryEntry {
51 DictionaryEntry() {} in DictionaryEntry() function
52 DictionaryEntry(Word W) : W(W) {} in DictionaryEntry() function
53 DictionaryEntry(Word W, size_t PositionHint) : W(W), PositionHint(PositionHint) {} in DictionaryEntry() function
85 return std::any_of(begin(), end(), [&](const DictionaryEntry &DE) { in ContainsWord()
89 const DictionaryEntry *begin() const { return &DE[0]; } in begin()
90 const DictionaryEntry *end() const { return begin() + Size; } in end()
91 DictionaryEntry & operator[] (size_t Idx) {
95 void push_back(DictionaryEntry DE) { in push_back()
104 DictionaryEntry DE[kMaxDictSize];
DFuzzerMutate.h114 DictionaryEntry &DE);
117 DictionaryEntry MakeDictionaryEntryFromCMP(T Arg1, T Arg2,
119 DictionaryEntry MakeDictionaryEntryFromCMP(const Word &Arg1, const Word &Arg2,
121 DictionaryEntry MakeDictionaryEntryFromCMP(const void *Arg1, const void *Arg2,
136 Vector<DictionaryEntry *> CurrentDictionaryEntrySequence;
139 DictionaryEntry CmpDictionaryEntriesDeque[kCmpDictionaryEntriesDequeSize];
DFuzzerMutate.cpp168 DictionaryEntry &DE) { in ApplyDictionaryEntry()
193 DictionaryEntry MutationDispatcher::MakeDictionaryEntryFromCMP( in MakeDictionaryEntryFromCMP()
218 return DictionaryEntry(W, Positions[Rand(NumPositions)]); in MakeDictionaryEntryFromCMP()
220 DictionaryEntry DE(W); in MakeDictionaryEntryFromCMP()
226 DictionaryEntry MutationDispatcher::MakeDictionaryEntryFromCMP( in MakeDictionaryEntryFromCMP()
236 DictionaryEntry MutationDispatcher::MakeDictionaryEntryFromCMP( in MakeDictionaryEntryFromCMP()
245 DictionaryEntry DE; in Mutate_AddWordFromTORC()
264 DE = DictionaryEntry(X); in Mutate_AddWordFromTORC()
272 DictionaryEntry &DERef = in Mutate_AddWordFromTORC()
289 DictionaryEntry &DE = D[Rand(D.size())]; in AddWordFromDictionary()
[all …]
DFuzzerDefs.h31 class DictionaryEntry; variable
/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/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/compatibility_tests/v3.0.0/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.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.cs519 … ICollection temp = this.Select(pair => new DictionaryEntry(pair.Key, pair.Value)).ToList(); in ICollection.CopyTo()
582 public DictionaryEntry Entry { get { return new DictionaryEntry(Key, Value); } }
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs589 foreach (DictionaryEntry entry in fields) in WriteStruct()
662 foreach (DictionaryEntry pair in dictionary) in WriteDictionary()