reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
63 if (Rand.RandBool()) return Rand(256); 65 return Special[Rand(sizeof(Special) - 1)]; 97 size_t ShuffleStart = Rand(Size - ShuffleAmount); 106 size_t N = Rand(Size / 2) + 1; 108 size_t Idx = Rand(Size - N + 1); 118 size_t Idx = Rand(Size + 1); 131 size_t N = Rand(MaxBytesToInsert - kMinBytesToInsert + 1) + kMinBytesToInsert; 133 size_t Idx = Rand(Size + 1); 137 uint8_t Byte = Rand.RandBool() ? Rand(256) : (Rand.RandBool() ? 0 : 255); 146 size_t Idx = Rand(Size); 154 size_t Idx = Rand(Size); 155 Data[Idx] ^= 1 << Rand(8); 174 size_t Idx = UsePositionHint ? DE.GetPositionHint() : Rand(Size + 1); 245 switch (Rand(4)) { 288 DictionaryEntry &DE = D[Rand(D.size())]; 301 size_t ToBeg = Rand(ToSize); 302 size_t CopySize = Rand(ToSize - ToBeg) + 1; 305 size_t FromBeg = Rand(FromSize - CopySize + 1); 319 size_t CopySize = Rand(MaxCopySize) + 1; 320 size_t FromBeg = Rand(FromSize - CopySize + 1); 322 size_t ToInsertPos = Rand(ToSize + 1); 351 size_t B = Rand(Size); 364 switch(Rand(5)) { 369 case 4: Val = Rand(Val * Val); break; 385 size_t Off = Rand(Size - sizeof(T) + 1); 388 if (Off < 64 && !Rand(4)) { 394 T Add = Rand(21); 411 switch (Rand(4)) { 431 switch(Rand(3)) {projects/compiler-rt/lib/fuzzer/FuzzerRandom.h
24 size_t T = this->operator()(n * n); 32 return operator()(RangeSize) + From;