Home
last modified time | relevance | path

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

123

/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/syslinux/gnu-efi/gnu-efi-3.0/lib/
Dcrc.c121 IN UINTN MaxSize, in CheckCrc() argument
140 return CheckCrcAltSize (MaxSize, Hdr->HeaderSize, Hdr); in CheckCrc()
148 IN UINTN MaxSize, in CheckCrcAltSize() argument
178 if (MaxSize && Size > MaxSize) { in CheckCrcAltSize()
/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/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/mesa3d/src/egl/main/
Deglarray.c45 new_size = array->MaxSize; in _eglGrowArray()
57 array->MaxSize = new_size; in _eglGrowArray()
74 array->MaxSize = (init_size > 0) ? init_size : 1; in _eglCreateArray()
107 if (array->Size >= array->MaxSize && !_eglGrowArray(array)) in _eglAppendArray()
Deglarray.h46 EGLint MaxSize; member
/external/freetype/src/tools/ftfuzzer/
Dftmutator.cc161 size_t MaxSize ) in Mutate() argument
167 return fuzzer::UserSuppliedFuzzer::Mutate( Data, Size, MaxSize ); in Mutate()
176 size_t max_blocks = MaxSize / 512; in Mutate()
208 MaxSize ); in Mutate()
246 MaxSize, in Mutate()
/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/mesa3d/src/mesa/main/
Dpoints.c143 if (ctx->Point.MaxSize == params[0]) in _mesa_PointParameterfv()
146 ctx->Point.MaxSize = params[0]; in _mesa_PointParameterfv()
235 ctx->Point.MaxSize in _mesa_init_point()
/external/llvm/lib/TableGen/
DSetTheory.cpp153 unsigned MaxSize = 0; in apply() local
156 MaxSize = std::max(MaxSize, unsigned(Args[i].size())); in apply()
159 for (unsigned n = 0; n != MaxSize; ++n) in apply()
/external/llvm/lib/Target/Hexagon/
DHexagonStoreWidening.cpp95 InstrGroup &OG, unsigned &TotalSize, unsigned MaxSize);
310 unsigned MaxSize) { in selectStores() argument
328 if (SizeAccum >= MaxSize) in selectStores()
365 if (SizeAccum + S2Size > std::min(MaxSize, Alignment)) in selectStores()
/external/clang/test/CXX/temp/temp.spec/temp.inst/
Dp11.cpp6 return T::MaxSize; // expected-error {{'int' cannot be used prior to '::'}} in f0()
/external/honggfuzz/libhfuzz/
Dlibhfuzz.h32 size_t LLVMFuzzerMutate(uint8_t* Data, size_t Size, size_t MaxSize);
Dpersistent.c26 uint8_t* Data UNUSED, size_t Size UNUSED, size_t MaxSize UNUSED) { in LLVMFuzzerMutate()

123