/external/rust/crates/libfuzzer-sys/libfuzzer/ |
D | FuzzerMutate.h | 35 size_t Mutate_Custom(uint8_t *Data, size_t Size, size_t MaxSize); 37 size_t Mutate_CustomCrossOver(uint8_t *Data, size_t Size, size_t MaxSize); 39 size_t Mutate_ShuffleBytes(uint8_t *Data, size_t Size, size_t MaxSize); 41 size_t Mutate_EraseBytes(uint8_t *Data, size_t Size, size_t MaxSize); 43 size_t Mutate_InsertByte(uint8_t *Data, size_t Size, size_t MaxSize); 45 size_t Mutate_InsertRepeatedBytes(uint8_t *Data, size_t Size, size_t MaxSize); 47 size_t Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize); 49 size_t Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize); 51 size_t Mutate_CopyPart(uint8_t *Data, size_t Size, size_t MaxSize); 55 size_t MaxSize); [all …]
|
D | FuzzerMutate.cpp | 70 size_t MaxSize) { in Mutate_Custom() argument 71 return EF->LLVMFuzzerCustomMutator(Data, Size, MaxSize, Rand.Rand()); in Mutate_Custom() 75 size_t MaxSize) { in Mutate_CustomCrossOver() argument 82 CustomCrossOverInPlaceHere.resize(MaxSize); in Mutate_CustomCrossOver() 88 assert(NewSize <= MaxSize && "CustomCrossOver returned overisized unit"); in Mutate_CustomCrossOver() 94 size_t MaxSize) { in Mutate_ShuffleBytes() argument 95 if (Size > MaxSize || Size == 0) return 0; in Mutate_ShuffleBytes() 105 size_t MaxSize) { in Mutate_EraseBytes() argument 117 size_t MaxSize) { in Mutate_InsertByte() argument 118 if (Size >= MaxSize) return 0; in Mutate_InsertByte() [all …]
|
/external/llvm-project/compiler-rt/lib/fuzzer/ |
D | FuzzerMutate.h | 35 size_t Mutate_Custom(uint8_t *Data, size_t Size, size_t MaxSize); 37 size_t Mutate_CustomCrossOver(uint8_t *Data, size_t Size, size_t MaxSize); 39 size_t Mutate_ShuffleBytes(uint8_t *Data, size_t Size, size_t MaxSize); 41 size_t Mutate_EraseBytes(uint8_t *Data, size_t Size, size_t MaxSize); 43 size_t Mutate_InsertByte(uint8_t *Data, size_t Size, size_t MaxSize); 45 size_t Mutate_InsertRepeatedBytes(uint8_t *Data, size_t Size, size_t MaxSize); 47 size_t Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize); 49 size_t Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize); 51 size_t Mutate_CopyPart(uint8_t *Data, size_t Size, size_t MaxSize); 55 size_t MaxSize); [all …]
|
D | FuzzerMutate.cpp | 70 size_t MaxSize) { in Mutate_Custom() argument 71 return EF->LLVMFuzzerCustomMutator(Data, Size, MaxSize, Rand.Rand()); in Mutate_Custom() 75 size_t MaxSize) { in Mutate_CustomCrossOver() argument 82 CustomCrossOverInPlaceHere.resize(MaxSize); in Mutate_CustomCrossOver() 88 assert(NewSize <= MaxSize && "CustomCrossOver returned overisized unit"); in Mutate_CustomCrossOver() 94 size_t MaxSize) { in Mutate_ShuffleBytes() argument 95 if (Size > MaxSize || Size == 0) return 0; in Mutate_ShuffleBytes() 105 size_t MaxSize) { in Mutate_EraseBytes() argument 117 size_t MaxSize) { in Mutate_InsertByte() argument 118 if (Size >= MaxSize) return 0; in Mutate_InsertByte() [all …]
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerMutate.cpp | 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 [all …]
|
D | FuzzerInternal.h | 87 Unit FileToVector(const std::string &Path, size_t MaxSize = 0); 89 long *Epoch, size_t MaxSize); 251 size_t Mutate_Custom(uint8_t *Data, size_t Size, size_t MaxSize); 253 size_t Mutate_CustomCrossOver(uint8_t *Data, size_t Size, size_t MaxSize); 255 size_t Mutate_ShuffleBytes(uint8_t *Data, size_t Size, size_t MaxSize); 257 size_t Mutate_EraseByte(uint8_t *Data, size_t Size, size_t MaxSize); 259 size_t Mutate_InsertByte(uint8_t *Data, size_t Size, size_t MaxSize); 261 size_t Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize); 263 size_t Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize); 267 size_t MaxSize); [all …]
|
D | FuzzerIO.cpp | 63 Unit FileToVector(const std::string &Path, size_t MaxSize) { in FileToVector() argument 72 if (MaxSize) in FileToVector() 73 FileLen = std::min(FileLen, MaxSize); in FileToVector() 100 long *Epoch, size_t MaxSize) { in ReadDirToVectorOfUnits() argument 111 V->push_back(FileToVector(X, MaxSize)); in ReadDirToVectorOfUnits()
|
/external/compiler-rt/test/profile/Inputs/ |
D | instrprof-merge-match.c | 19 extern uint64_t libEntry(char *Buffer, uint64_t MaxSize); 22 const uint64_t MaxSize = 10000; in main() local 23 static char Buffer[MaxSize]; in main() 26 if (Size > MaxSize) in main() 40 memset(Buffer, 0, MaxSize); in main() 43 Size = libEntry(Buffer, MaxSize); in main()
|
/external/llvm-project/compiler-rt/test/profile/Inputs/ |
D | instrprof-merge-match.c | 20 extern uint64_t libEntry(char *Buffer, uint64_t MaxSize); 23 const uint64_t MaxSize = 10000; in main() local 24 static char ALIGNED(sizeof(uint64_t)) Buffer[MaxSize]; in main() 27 if (Size > MaxSize) in main() 41 memset(Buffer, 0, MaxSize); in main() 44 Size = libEntry(Buffer, MaxSize); in main()
|
/external/llvm-project/llvm/utils/TableGen/ |
D | Types.cpp | 18 const char *llvm::getMinimalTypeForRange(uint64_t Range, unsigned MaxSize LLVM_ATTRIBUTE_UNUSED) { in getMinimalTypeForRange() 23 assert((MaxSize == 32 || MaxSize == 64) && "Unexpected size"); in getMinimalTypeForRange() 24 assert(MaxSize <= 64 && "Unexpected size"); in getMinimalTypeForRange() 25 assert(((MaxSize > 32) ? Range <= 0xFFFFFFFFFFFFFFFFULL in getMinimalTypeForRange()
|
/external/llvm-project/compiler-rt/test/fuzzer/ |
D | CustomMutatorWithLongSequencesTest.cpp | 34 size_t MaxSize, unsigned int Seed) { in LLVMFuzzerCustomMutator() argument 37 LLVMFuzzerMutate(Data, Size, MaxSize); in LLVMFuzzerCustomMutator() 39 return LLVMFuzzerMutate(Data, Size, MaxSize); in LLVMFuzzerCustomMutator()
|
D | ReloadTest.cpp | 13 size_t MaxSize, unsigned int Seed) { in LLVMFuzzerCustomMutator() argument 15 std::generate(Data, Data + MaxSize, std::rand); in LLVMFuzzerCustomMutator() 16 return MaxSize; in LLVMFuzzerCustomMutator()
|
D | CompressedTest.cpp | 31 LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize); 39 size_t MaxSize, unsigned int Seed) { in LLVMFuzzerCustomMutator() argument 42 size_t CompressedLen = MaxSize; in LLVMFuzzerCustomMutator()
|
/external/compiler-rt/test/profile/ |
D | instrprof-without-libc.c | 27 const uint64_t MaxSize = 10000; in main() local 28 static char Buffer[MaxSize]; in main() 31 if (Size > MaxSize) in main()
|
D | instrprof-merge.c | 40 const uint64_t MaxSize = 10000; in main() local 41 static char Buffer[MaxSize]; in main() 44 if (Size > MaxSize) in main()
|
/external/llvm-project/compiler-rt/test/profile/ |
D | instrprof-without-libc.c | 31 const uint64_t MaxSize = 10000; in main() local 32 static char Buffer[MaxSize]; in main() 35 if (Size > MaxSize) in main()
|
D | instrprof-merge.c | 44 const uint64_t MaxSize = 10000; in main() local 45 static ALIGNED(sizeof(uint64_t)) char Buffer[MaxSize]; in main() 48 if (Size > MaxSize) in main()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceThreading.h | 58 BoundedProducerConsumerQueue(bool Sequential, size_t MaxSize = MaxStaticSize) 59 : MaxSize(std::min(MaxSize, MaxStaticSize)), Sequential(Sequential) {} in MaxSize() argument 65 Shrunk.wait(L, [this] { return size() < MaxSize || Sequential; }); in blockingPush() 128 const size_t MaxSize; variable
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | size_class_map.h | 72 static const uptr MaxSize = (1UL << Config::MaxSizeLog) + SizeDelta; variable 92 DCHECK_LE(Size, MaxSize); in getClassIdBySize() 99 DCHECK_LE(Size, MaxSize); in getMaxCachedHint() 149 static const uptr MaxSize = Config::Classes[LargestClassId - 1]; variable 159 DCHECK_LE(Size, MaxSize); in getClassIdBySize() 166 DCHECK_LE(Size, MaxSize); in getMaxCachedHint() 279 if (SCMap::MaxSize > (1 << 19)) in validateMap() 281 for (uptr S = 1; S <= SCMap::MaxSize; S++) { in validateMap()
|
/external/llvm-project/llvm/include/llvm/FuzzMutate/ |
D | IRMutator.h | 42 virtual uint64_t getWeight(size_t CurrentSize, size_t MaxSize, 70 void mutateModule(Module &M, int Seed, size_t CurSize, size_t MaxSize); 85 uint64_t getWeight(size_t CurrentSize, size_t MaxSize, in getWeight() argument 97 uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/ |
D | IRMutator.h | 42 virtual uint64_t getWeight(size_t CurrentSize, size_t MaxSize, 70 void mutateModule(Module &M, int Seed, size_t CurSize, size_t MaxSize); 85 uint64_t getWeight(size_t CurrentSize, size_t MaxSize, in getWeight() argument 97 uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
|
/external/scudo/standalone/ |
D | size_class_map.h | 72 static const uptr MaxSize = (1UL << Config::MaxSizeLog) + SizeDelta; variable 100 DCHECK_LE(Size, MaxSize); in getClassIdBySize() 107 DCHECK_LE(Size, MaxSize); in getMaxCachedHint() 191 static const uptr MaxSize = Config::Classes[LargestClassId - 1]; variable 213 DCHECK_LE(Size, MaxSize); in getClassIdBySize() 220 DCHECK_LE(Size, MaxSize); in getMaxCachedHint() 337 if (SCMap::MaxSize > (1 << 19)) in validateMap() 339 for (uptr S = 1; S <= SCMap::MaxSize; S++) { in validateMap()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/benchmarks/ |
D | malloc_benchmark.cpp | 43 static const size_t MaxSize = 128 * 1024; variable 48 ->Range(MinSize, MaxSize); 50 ->Range(MinSize, MaxSize); 53 ->Range(MinSize, MaxSize);
|
/external/scudo/standalone/benchmarks/ |
D | malloc_benchmark.cpp | 50 static const size_t MaxSize = 128 * 1024; variable 55 ->Range(MinSize, MaxSize); 57 ->Range(MinSize, MaxSize); 60 ->Range(MinSize, MaxSize);
|
/external/mesa3d/src/egl/main/ |
D | eglarray.c | 46 new_size = array->MaxSize; in _eglGrowArray() 58 array->MaxSize = new_size; in _eglGrowArray() 75 array->MaxSize = (init_size > 0) ? init_size : 1; in _eglCreateArray() 108 if (array->Size >= array->MaxSize && !_eglGrowArray(array)) in _eglAppendArray()
|