Home
last modified time | relevance | path

Searched refs:MaxSize (Results 1 – 25 of 76) sorted by relevance

1234

/external/llvm/lib/Fuzzer/
DFuzzerMutate.cpp71 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 …]
DFuzzerInternal.h87 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 …]
DFuzzerIO.cpp63 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()
DFuzzerInterface.h45 size_t LLVMFuzzerCustomMutator(uint8_t *Data, size_t Size, size_t MaxSize,
61 size_t LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize);
DFuzzerLoop.cpp317 void Fuzzer::RereadOutputCorpus(size_t MaxSize) { in RereadOutputCorpus() argument
322 &EpochOfLastReadOfOutputCorpus, MaxSize); in RereadOutputCorpus()
332 if (X.size() > MaxSize) in RereadOutputCorpus()
333 X.resize(MaxSize); in RereadOutputCorpus()
769 size_t LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize) { in LLVMFuzzerMutate() argument
771 return fuzzer::F->GetMD().DefaultMutate(Data, Size, MaxSize); in LLVMFuzzerMutate()
/external/compiler-rt/test/profile/Inputs/
Dinstrprof-merge-match.c19 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()
Dinstrprof-merge-match-lib.c20 uint64_t libEntry(char *Buffer, uint64_t MaxSize) { in libEntry() argument
23 if (Size > MaxSize) in libEntry()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DTypes.cpp19 const char *llvm::getMinimalTypeForRange(uint64_t Range, unsigned MaxSize LLVM_ATTRIBUTE_UNUSED) { in getMinimalTypeForRange()
24 assert((MaxSize == 32 || MaxSize == 64) && "Unexpected size"); in getMinimalTypeForRange()
25 assert(MaxSize <= 64 && "Unexpected size"); in getMinimalTypeForRange()
26 assert(((MaxSize > 32) ? Range <= 0xFFFFFFFFFFFFFFFFULL in getMinimalTypeForRange()
/external/swiftshader/third_party/subzero/src/
DIceThreading.h58 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/compiler-rt/test/profile/
Dinstrprof-without-libc.c27 const uint64_t MaxSize = 10000; in main() local
28 static char Buffer[MaxSize]; in main()
31 if (Size > MaxSize) in main()
Dinstrprof-merge.c40 const uint64_t MaxSize = 10000; in main() local
41 static char Buffer[MaxSize]; in main()
44 if (Size > MaxSize) in main()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/
DIRMutator.h43 virtual uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
71 void mutateModule(Module &M, int Seed, size_t CurSize, size_t MaxSize);
86 uint64_t getWeight(size_t CurrentSize, size_t MaxSize, in getWeight() argument
98 uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
/external/mesa3d/src/egl/main/
Deglarray.c46 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()
/external/eigen/Eigen/src/Core/
DGeneralProduct.h25 template<int Size, int MaxSize> struct product_size_category
27 enum { is_large = MaxSize == Dynamic ||
29 (Size==Dynamic && MaxSize>=EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD),
146 template<typename Scalar,int Size,int MaxSize,bool Cond> struct gemv_static_vector_if;
148 template<typename Scalar,int Size,int MaxSize>
149 struct gemv_static_vector_if<Scalar,Size,MaxSize,false>
160 template<typename Scalar,int Size,int MaxSize>
161 struct gemv_static_vector_if<Scalar,Size,MaxSize,true>
168 …internal::plain_array<Scalar,EIGEN_SIZE_MIN_PREFER_FIXED(Size,MaxSize),0,EIGEN_PLAIN_ENUM_MIN(Alig…
173 …internal::plain_array<Scalar,EIGEN_SIZE_MIN_PREFER_FIXED(Size,MaxSize)+(ForceAlignment?EIGEN_MAX_A…
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/
DARCBranchFinalize.cpp148 unsigned MaxSize = 0; in runOnMachineFunction() local
161 MaxSize += Size; in runOnMachineFunction()
172 isInt<9>(MaxSize) ? replaceWithBRcc(P.first) : replaceWithCmpBcc(P.first); in runOnMachineFunction()
176 << MaxSize << "\n"); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DIRMutator.cpp56 size_t MaxSize) { in mutateModule() argument
65 Strategy->getWeight(CurSize, MaxSize, RS.totalWeight())); in mutateModule()
139 uint64_t InstDeleterIRStrategy::getWeight(size_t CurrentSize, size_t MaxSize, in getWeight() argument
142 if (CurrentSize > MaxSize - 200) in getWeight()
146 int Line = (-2 * CurrentWeight) * (MaxSize - CurrentSize + 1000); in getWeight()
/external/eigen/Eigen/src/Eigenvalues/
DHessenbergDecomposition.h68 MaxSize = MatrixType::MaxRowsAtCompileTime,
69 MaxSizeMinusOne = MaxSize == Dynamic ? Dynamic : MaxSize - 1
270 typedef Matrix<Scalar, 1, Size, Options | RowMajor, 1, MaxSize> VectorType;
DTridiagonalization.h78 MaxSize = MatrixType::MaxRowsAtCompileTime,
79 MaxSizeMinusOne = MaxSize == Dynamic ? Dynamic : (MaxSize > 1 ? MaxSize - 1 : 1)
/external/llvm/lib/Fuzzer/test/
DCustomMutatorTest.cpp31 size_t MaxSize, unsigned int Seed) { in LLVMFuzzerCustomMutator() argument
37 return LLVMFuzzerMutate(Data, Size, MaxSize); in LLVMFuzzerCustomMutator()
/external/giflib/
Dquantize.c201 int MaxSize; in SubdivColorMap() local
208 MaxSize = -1; in SubdivColorMap()
211 if ((((int)NewColorSubdiv[i].RGBWidth[j]) > MaxSize) && in SubdivColorMap()
213 MaxSize = NewColorSubdiv[i].RGBWidth[j]; in SubdivColorMap()
220 if (MaxSize == -1) in SubdivColorMap()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-isel-fuzzer/
Dllvm-isel-fuzzer.cpp67 uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed) { in LLVMFuzzerCustomMutator() argument
76 Mutator->mutateModule(*M, Seed, Size, MaxSize); in LLVMFuzzerCustomMutator()
78 return writeModule(*M, Data, MaxSize); in LLVMFuzzerCustomMutator()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-opt-fuzzer/
Dllvm-opt-fuzzer.cpp54 uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed) { in LLVMFuzzerCustomMutator() argument
66 Mutator->mutateModule(*M, Seed, Size, MaxSize); in LLVMFuzzerCustomMutator()
82 if (Buf.size() > MaxSize) in LLVMFuzzerCustomMutator()
/external/mesa3d/src/mesa/main/
Dpoints.c157 if (ctx->Point.MaxSize == params[0]) in _mesa_PointParameterfv()
160 ctx->Point.MaxSize = params[0]; in _mesa_PointParameterfv()
249 ctx->Point.MaxSize in _mesa_init_point()
/external/syzkaller/vendor/google.golang.org/api/iterator/
Diterator.go51 MaxSize int member
122 if err := pi.fill(pi.MaxSize); err != nil {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp350 unsigned MaxSize = getFlatWorkGroupSizes(*Kernel).second; in makeLIDRangeMetadata() local
386 MinSize = MaxSize = mdconst::extract<ConstantInt>( in makeLIDRangeMetadata()
392 if (!MaxSize) in makeLIDRangeMetadata()
400 ++MaxSize; in makeLIDRangeMetadata()
404 APInt(32, MaxSize)); in makeLIDRangeMetadata()

1234