• Home
  • Raw
  • Download

Lines Matching refs:MaxSize

71                                          size_t MaxSize) {  in Mutate_Custom()  argument
72 return EF->LLVMFuzzerCustomMutator(Data, Size, MaxSize, Rand.Rand()); in Mutate_Custom()
76 size_t MaxSize) { in Mutate_CustomCrossOver() argument
83 MutateInPlaceHere.resize(MaxSize); in Mutate_CustomCrossOver()
89 assert(NewSize <= MaxSize && "CustomCrossOver returned overisized unit"); in Mutate_CustomCrossOver()
95 size_t MaxSize) { in Mutate_ShuffleBytes() argument
107 size_t MaxSize) { in Mutate_EraseByte() argument
117 size_t MaxSize) { in Mutate_InsertByte() argument
118 if (Size == MaxSize) return 0; in Mutate_InsertByte()
127 size_t MaxSize) { in Mutate_ChangeByte() argument
134 size_t MaxSize) { in Mutate_ChangeBit() argument
142 size_t MaxSize) { in Mutate_AddWordFromManualDictionary() argument
143 return AddWordFromDictionary(ManualDictionary, Data, Size, MaxSize); in Mutate_AddWordFromManualDictionary()
147 uint8_t *Data, size_t Size, size_t MaxSize) { in Mutate_AddWordFromTemporaryAutoDictionary() argument
148 return AddWordFromDictionary(TempAutoDictionary, Data, Size, MaxSize); in Mutate_AddWordFromTemporaryAutoDictionary()
152 uint8_t *Data, size_t Size, size_t MaxSize) { in Mutate_AddWordFromPersistentAutoDictionary() argument
153 return AddWordFromDictionary(PersistentAutoDictionary, Data, Size, MaxSize); in Mutate_AddWordFromPersistentAutoDictionary()
157 size_t Size, size_t MaxSize) { in AddWordFromDictionary() argument
164 if (Size + W.size() > MaxSize) return 0; in AddWordFromDictionary()
180 size_t MaxSize) { in Mutate_ChangeASCIIInteger() argument
213 size_t MaxSize) { in Mutate_CrossOver() argument
218 MutateInPlaceHere.resize(MaxSize); in Mutate_CrossOver()
223 assert(NewSize <= MaxSize && "CrossOver returned overisized unit"); in Mutate_CrossOver()
272 size_t MutationDispatcher::Mutate(uint8_t *Data, size_t Size, size_t MaxSize) { in Mutate() argument
273 return MutateImpl(Data, Size, MaxSize, Mutators); in Mutate()
277 size_t MaxSize) { in DefaultMutate() argument
278 return MutateImpl(Data, Size, MaxSize, DefaultMutators); in DefaultMutate()
283 size_t MaxSize, in MutateImpl() argument
285 assert(MaxSize > 0); in MutateImpl()
286 assert(Size <= MaxSize); in MutateImpl()
288 for (size_t i = 0; i < MaxSize; i++) in MutateImpl()
291 ToASCII(Data, MaxSize); in MutateImpl()
292 return MaxSize; in MutateImpl()
300 size_t NewSize = (this->*(M.Fn))(Data, Size, MaxSize); in MutateImpl()