Home
last modified time | relevance | path

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

12

/external/llvm/lib/Fuzzer/
DFuzzerInterface.h79 size_t Mutate_ShuffleBytes(uint8_t *Data, size_t Size, size_t MaxSize);
81 size_t Mutate_EraseByte(uint8_t *Data, size_t Size, size_t MaxSize);
83 size_t Mutate_InsertByte(uint8_t *Data, size_t Size, size_t MaxSize);
85 size_t Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize);
87 size_t Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize);
91 size_t MaxSize);
94 size_t Mutate_ChangeASCIIInteger(uint8_t *Data, size_t Size, size_t MaxSize);
97 size_t Mutate_CrossOver(uint8_t *Data, size_t Size, size_t MaxSize);
101 size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize);
117 static inline size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize, in Mutate() argument
[all …]
DFuzzerMutate.cpp69 size_t MaxSize) { in Mutate_ShuffleBytes() argument
80 size_t MaxSize) { in Mutate_EraseByte() argument
90 size_t MaxSize) { in Mutate_InsertByte() argument
91 if (Size == MaxSize) return 0; in Mutate_InsertByte()
100 size_t MaxSize) { in Mutate_ChangeByte() argument
107 size_t MaxSize) { in Mutate_ChangeBit() argument
115 size_t MaxSize) { in Mutate_AddWordFromDictionary() argument
120 if (Size + Word.size() > MaxSize) return 0; in Mutate_AddWordFromDictionary()
128 size_t MaxSize) { in Mutate_ChangeASCIIInteger() argument
161 size_t MaxSize) { in Mutate_CrossOver() argument
[all …]
/external/llvm/lib/Fuzzer/test/
DUserSuppliedFuzzerTest.cpp35 virtual size_t Mutate(uint8_t *Data, size_t Size, size_t MaxSize) { in Mutate() argument
36 assert(MaxSize > sizeof(kMagic)); in Mutate()
40 memcpy(Data, &kMagic, std::min(MaxSize, sizeof(kMagic))); in Mutate()
42 Data + sizeof(kMagic), Size - sizeof(kMagic), MaxSize - sizeof(kMagic)); in Mutate()
/external/compiler-rt/test/profile/
Dinstrprof-without-libc.c25 const uint64_t MaxSize = 10000; in main() local
26 static char Buffer[MaxSize]; in main()
29 if (Size > MaxSize) in main()
/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.h41 EGLint MaxSize; member
/external/eigen/Eigen/src/Eigenvalues/
DHessenbergDecomposition.h68 MaxSize = MatrixType::MaxRowsAtCompileTime,
69 MaxSizeMinusOne = MaxSize == Dynamic ? Dynamic : MaxSize - 1
268 typedef Matrix<Scalar, 1, Size, Options | RowMajor, 1, MaxSize> VectorType;
DTridiagonalization.h76 MaxSize = MatrixType::MaxRowsAtCompileTime,
77 MaxSizeMinusOne = MaxSize == Dynamic ? Dynamic : (MaxSize > 1 ? MaxSize - 1 : 1)
/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.c153 if (ctx->Point.MaxSize == params[0]) in _mesa_PointParameterfv()
156 ctx->Point.MaxSize = params[0]; in _mesa_PointParameterfv()
248 ctx->Point.MaxSize in _mesa_init_point()
/external/eigen/Eigen/src/Core/
DGeneralProduct.h47 template<int Size, int MaxSize> struct product_size_category
49 enum { is_large = MaxSize == Dynamic ||
370 template<typename Scalar,int Size,int MaxSize,bool Cond> struct gemv_static_vector_if;
372 template<typename Scalar,int Size,int MaxSize>
373 struct gemv_static_vector_if<Scalar,Size,MaxSize,false>
384 template<typename Scalar,int Size,int MaxSize>
385 struct gemv_static_vector_if<Scalar,Size,MaxSize,true>
388 internal::plain_array<Scalar,EIGEN_SIZE_MIN_PREFER_FIXED(Size,MaxSize),0> m_data;
397 …internal::plain_array<Scalar,EIGEN_SIZE_MIN_PREFER_FIXED(Size,MaxSize)+(ForceAlignment?PacketSize:…
/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/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/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp130 unsigned MaxSize; member in __anond1bcc7090111::LUAnalysisCache
135 MaxSize(Threshold) {} in LUAnalysisCache()
297 Props.CanBeUnswitchedCount = MaxSize / (Props.SizeEstimation); in countLoop()
299 MaxSize -= Props.SizeEstimation * Props.CanBeUnswitchedCount; in countLoop()
323 MaxSize += (Props.CanBeUnswitchedCount + Props.WasUnswitchedCount) * in forgetLoop()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c210 GLsizei MaxSize; /**< Max possible texture size */ member
1177 tex->MaxSize = ctx->Const.MaxTextureRectSize; in init_temp_texture()
1183 tex->MaxSize = 1 << (ctx->Const.MaxTextureLevels - 1); in init_temp_texture()
1187 assert(tex->MaxSize > 0); in init_temp_texture()
1252 ASSERT(width <= tex->MaxSize); in alloc_texture()
1253 ASSERT(height <= tex->MaxSize); in alloc_texture()
1581 const GLsizei maxTexSize = tex->MaxSize; in _mesa_meta_BlitFramebuffer()
2117 width > tex->MaxSize || in _mesa_meta_CopyPixels()
2118 height > tex->MaxSize) { in _mesa_meta_CopyPixels()
2440 if (width > tex->MaxSize || height > tex->MaxSize) { in _mesa_meta_DrawPixels()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c210 ctx->Point.MaxSize); in update_raster_state()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp488 APInt MaxSize = Arg->getValue().zextOrSelf(IntTyBits); in visitCallSite() local
489 if (Size.ugt(MaxSize)) in visitCallSite()
490 Size = MaxSize + 1; in visitCallSite()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen7_sf_state.c278 point_size = CLAMP(ctx->Point.Size, ctx->Point.MinSize, ctx->Point.MaxSize); in upload_sf_state()
Dgen6_sf_state.c243 point_size = CLAMP(ctx->Point.Size, ctx->Point.MinSize, ctx->Point.MaxSize); in upload_sf_state()
Dbrw_sf_state.c276 ctx->Point.MaxSize)), 1, 255) * (1<<3); in upload_sf_unit()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c270 value[2] = ctx->Point.MaxSize; in _mesa_fetch_state()
495 value[2] = ctx->Point.MaxSize <= maxImplSize ? ctx->Point.MaxSize : maxImplSize; in _mesa_fetch_state()
/external/mesa3d/src/mesa/swrast/
Ds_points.c68 size = CLAMP(size, ctx->Point.MinSize, ctx->Point.MaxSize); in get_size()
547 ctx->Point.MaxSize); in _swrast_choose_point()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp585 static bool isObjectSizeLessThanOrEq(Value *V, uint64_t MaxSize, in isObjectSizeLessThanOrEq() argument
629 if ((CS->getValue().zextOrSelf(128)*APInt(128, TypeSize)).ugt(MaxSize)) in isObjectSizeLessThanOrEq()
639 if (InitSize > MaxSize) in isObjectSizeLessThanOrEq()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_context.c336 ctx->Point.MaxSize = ctx->Const.MaxPointSize; in r200CreateContext()

12