Searched refs:MaxSize (Results 1 - 25 of 49) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DTypes.cpp18 const char *llvm::getMinimalTypeForRange(uint64_t Range, unsigned MaxSize LLVM_ATTRIBUTE_UNUSED) {
23 assert((MaxSize == 32 || MaxSize == 64) && "Unexpected size");
24 assert(MaxSize <= 64 && "Unexpected size");
25 assert(((MaxSize > 32) ? Range <= 0xFFFFFFFFFFFFFFFFULL
H A DTypes.h16 /// MaxSize indicates the largest size of integer to consider (in bits) and only
18 const char *getMinimalTypeForRange(uint64_t Range, unsigned MaxSize = 64);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerMutate.h32 size_t Mutate_Custom(uint8_t *Data, size_t Size, size_t MaxSize);
34 size_t Mutate_CustomCrossOver(uint8_t *Data, size_t Size, size_t MaxSize);
36 size_t Mutate_ShuffleBytes(uint8_t *Data, size_t Size, size_t MaxSize);
38 size_t Mutate_EraseBytes(uint8_t *Data, size_t Size, size_t MaxSize);
40 size_t Mutate_InsertByte(uint8_t *Data, size_t Size, size_t MaxSize);
42 size_t Mutate_InsertRepeatedBytes(uint8_t *Data, size_t Size, size_t MaxSize);
44 size_t Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize);
46 size_t Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize);
48 size_t Mutate_CopyPart(uint8_t *Data, size_t Size, size_t MaxSize);
52 size_t MaxSize);
[all...]
H A DFuzzerMutate.cpp69 size_t MaxSize) {
70 return EF->LLVMFuzzerCustomMutator(Data, Size, MaxSize, Rand.Rand());
74 size_t MaxSize) {
81 CustomCrossOverInPlaceHere.resize(MaxSize);
87 assert(NewSize <= MaxSize && "CustomCrossOver returned overisized unit");
93 size_t MaxSize) {
94 if (Size > MaxSize || Size == 0) return 0;
104 size_t MaxSize) {
116 size_t MaxSize) {
117 if (Size >= MaxSize) retur
68 Mutate_Custom(uint8_t *Data, size_t Size, size_t MaxSize) argument
73 Mutate_CustomCrossOver(uint8_t *Data, size_t Size, size_t MaxSize) argument
92 Mutate_ShuffleBytes(uint8_t *Data, size_t Size, size_t MaxSize) argument
103 Mutate_EraseBytes(uint8_t *Data, size_t Size, size_t MaxSize) argument
125 Mutate_InsertRepeatedBytes(uint8_t *Data, size_t Size, size_t MaxSize) argument
143 Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize) argument
151 Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize) argument
159 Mutate_AddWordFromManualDictionary(uint8_t *Data, size_t Size, size_t MaxSize) argument
165 ApplyDictionaryEntry(uint8_t *Data, size_t Size, size_t MaxSize, DictionaryEntry &DE) argument
241 Mutate_AddWordFromTORC( uint8_t *Data, size_t Size, size_t MaxSize) argument
279 Mutate_AddWordFromPersistentAutoDictionary( uint8_t *Data, size_t Size, size_t MaxSize) argument
284 AddWordFromDictionary(Dictionary &D, uint8_t *Data, size_t Size, size_t MaxSize) argument
337 Mutate_CopyPart(uint8_t *Data, size_t Size, size_t MaxSize) argument
348 Mutate_ChangeASCIIInteger(uint8_t *Data, size_t Size, size_t MaxSize) argument
[all...]
H A DFuzzerInterface.h51 // Returns the new size, which is not greater than MaxSize.
54 LLVMFuzzerCustomMutator(uint8_t *Data, size_t Size, size_t MaxSize,
69 // Returns the new size, which is not greater than MaxSize.
71 LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize);
H A DFuzzerIO.cpp33 Unit FileToVector(const std::string &Path, size_t MaxSize, bool ExitOnError) { argument
44 if (MaxSize)
45 FileLen = std::min(FileLen, MaxSize);
81 long *Epoch, size_t MaxSize, bool ExitOnError) {
92 auto S = FileToVector(X, MaxSize, ExitOnError);
80 ReadDirToVectorOfUnits(const char *Path, Vector<Unit> *V, long *Epoch, size_t MaxSize, bool ExitOnError) argument
H A DFuzzerIO.h20 Unit FileToVector(const std::string &Path, size_t MaxSize = 0,
33 long *Epoch, size_t MaxSize, bool ExitOnError);
H A DFuzzerLoop.cpp410 void Fuzzer::RereadOutputCorpus(size_t MaxSize) { argument
415 &EpochOfLastReadOfOutputCorpus, MaxSize,
421 if (U.size() > MaxSize)
422 U.resize(MaxSize);
729 size_t MaxSize = 0; local
733 MaxSize = Max(File.Size, MaxSize);
738 SetMaxInputLen(std::min(std::max(kMinDefaultLen, MaxSize), kMaxSaneLen));
752 CorporaFiles.size(), MinSize, MaxSize, TotalSize, GetPeakRSSMb());
861 LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize) { argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_errors.cpp61 uptr MaxSize) {
64 MaxSize);
60 reportAllocationSizeTooBig(uptr UserSize, uptr TotalSize, uptr MaxSize) argument
H A Dscudo_errors.h28 uptr MaxSize);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DIRMutator.h41 /// we start getting close to \c MaxSize.
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,
97 uint64_t getWeight(size_t CurrentSize, size_t MaxSize,
H A DFuzzerCLI.h65 /// \param MaxSize Size of the destination buffer
66 /// \return Number of bytes that were written. When module size exceeds MaxSize
68 size_t writeModule(const Module &M, uint8_t *Dest, size_t MaxSize);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCBranchFinalize.cpp148 unsigned MaxSize = 0; local
161 MaxSize += Size;
172 isInt<9>(MaxSize) ? replaceWithBRcc(P.first) : replaceWithCmpBcc(P.first);
176 << MaxSize << "\n");
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dsize_class_map.h49 static const uptr MaxSize = 1UL << MaxSizeLog; member in class:scudo::SizeClassMap
66 DCHECK_LE(Size, MaxSize);
77 DCHECK_LE(Size, MaxSize);
129 for (uptr S = 1; S <= MaxSize; S++) {
H A Dreport.h34 uptr MaxSize);
H A Dreport.cpp96 uptr MaxSize) {
100 UserSize, TotalSize, MaxSize);
95 reportAllocationSizeTooBig(uptr UserSize, uptr TotalSize, uptr MaxSize) argument
H A Dquarantine.h183 atomic_store_relaxed(&MaxSize, Size);
194 uptr getMaxSize() const { return atomic_load_relaxed(&MaxSize); }
245 atomic_uptr MaxSize; member in class:scudo::GlobalQuarantine
/freebsd-11-stable/lib/libefivar/
H A Duefi-dputil.c134 @param MaxSize The maximum size of the device path data structure.
139 @retval FALSE If MaxSize is not zero, the size of the DevicePath
140 exceeds MaxSize.
148 IN UINTN MaxSize
157 if (MaxSize == 0) {
158 MaxSize = MAX_UINTN;
164 if (MaxSize < sizeof (EFI_DEVICE_PATH_PROTOCOL)) {
182 if (Size > MaxSize - END_DEVICE_PATH_LENGTH ) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp55 size_t MaxSize) {
64 Strategy->getWeight(CurSize, MaxSize, RS.totalWeight()));
139 uint64_t InstDeleterIRStrategy::getWeight(size_t CurrentSize, size_t MaxSize, argument
142 if (CurrentSize > MaxSize - 200)
146 int Line = (-2 * CurrentWeight) * (MaxSize - CurrentSize + 1000);
54 mutateModule(Module &M, int Seed, size_t CurSize, size_t MaxSize) argument
H A DFuzzerCLI.cpp189 size_t llvm::writeModule(const Module &M, uint8_t *Dest, size_t MaxSize) { argument
195 if (Buf.size() > MaxSize)
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h113 int MaxSize = 100; member in struct:clang::diff::ComparisonOptions
/freebsd-11-stable/sys/contrib/edk2/Include/Library/
H A DDevicePathLib.h28 @param MaxSize The maximum size of the device path data structure.
33 @retval FALSE If MaxSize is not zero, the size of the DevicePath
34 exceeds MaxSize.
42 IN UINTN MaxSize
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DSetTheory.cpp163 unsigned MaxSize = 0; variable
166 MaxSize = std::max(MaxSize, unsigned(Args[i].size()));
169 for (unsigned n = 0; n != MaxSize; ++n)
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonStoreWidening.cpp105 InstrGroup &OG, unsigned &TotalSize, unsigned MaxSize);
301 /// of size not exceeding MaxSize. The selected sequence will be recorded
307 unsigned MaxSize) {
325 if (SizeAccum >= MaxSize)
350 // does not exceed the limit (MaxSize).
361 if (SizeAccum + S2Size > std::min(MaxSize, Alignment))
305 selectStores(InstrGroup::iterator Begin, InstrGroup::iterator End, InstrGroup &OG, unsigned &TotalSize, unsigned MaxSize) argument
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_profile_collector.cpp249 auto MaxSize = profilingFlags()->global_allocator_max; variable
250 auto ProfileArena = allocateBuffer(MaxSize);
255 [&]() XRAY_NEVER_INSTRUMENT { deallocateBuffer(ProfileArena, MaxSize); });
262 [&]() XRAY_NEVER_INSTRUMENT { deallocateBuffer(PathArena, MaxSize); });

Completed in 220 milliseconds

12