Home
last modified time | relevance | path

Searched refs:MaxLen (Results 1 – 17 of 17) sorted by relevance

/external/llvm/lib/Fuzzer/
DFuzzerMutate.cpp35 void Mutate(Unit *U, size_t MaxLen) { in Mutate() argument
36 assert(MaxLen > 0); in Mutate()
37 assert(U->size() <= MaxLen); in Mutate()
39 for (size_t i = 0; i < MaxLen; i++) in Mutate()
52 if (U->size() < MaxLen) { in Mutate()
DFuzzerInternal.h35 void Mutate(Unit *U, size_t MaxLen);
37 void CrossOver(const Unit &A, const Unit &B, Unit *U, size_t MaxLen);
48 int MaxLen = 0; member
DFuzzerCrossOver.cpp18 void CrossOver(const Unit &A, const Unit &B, Unit *U, size_t MaxLen) { in CrossOver() argument
19 size_t Size = rand() % MaxLen + 1; in CrossOver()
DFuzzerLoop.cpp107 size_t Last = std::min(First + Options.MaxLen, C.size()); in ShuffleAndMinimize()
266 Mutate(U, Options.MaxLen); in MutateAndTestOne()
302 CrossOver(Corpus[J1], Corpus[J2], &CurrentUnit, Options.MaxLen); in Loop()
DFuzzerDFSan.cpp254 CurrentUnit.resize(Options.MaxLen); in InitializeDFSan()
255 for (size_t i = 0; i < static_cast<size_t>(Options.MaxLen); i++) { in InitializeDFSan()
DFuzzerDriver.cpp199 Options.MaxLen = Flags.max_len; in FuzzerDriver()
/external/llvm/lib/MC/
DSubtargetFeature.cpp106 size_t MaxLen = 0; in getLongestEntryLength() local
108 MaxLen = std::max(MaxLen, std::strlen(I.Key)); in getLongestEntryLength()
109 return MaxLen; in getLongestEntryLength()
/external/lzma/CS/7zip/Common/
DCommandLineParser.cs23 public int MaxLen; field in SevenZip.CommandLineParser.SwitchForm
33 MaxLen = maxLen; in SwitchForm()
155 for (int i = minLen; i < switchForm.MaxLen && pos < len; i++, pos++) in ParseString()
/external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
DSkPdfTextFieldDictionary_autogen.cpp11 int64_t SkPdfTextFieldDictionary::MaxLen(SkPdfNativeDoc* doc) { in MaxLen() function in SkPdfTextFieldDictionary
DSkPdfTextFieldDictionary_autogen.h521 int64_t MaxLen(SkPdfNativeDoc* doc);
/external/lzma/CPP/Common/
DCommandLineParser.h30 int MaxLen; member
DCommandLineParser.cpp177 int maxLen = switchForm.MaxLen; in ParseString()
/external/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h37 Value *EmitStrNLen(Value *Ptr, Value *MaxLen, IRBuilder<> &B,
/external/clang/utils/TableGen/
DClangDiagnosticsEmitter.cpp747 unsigned MaxLen = 0; in emitDiagTable() local
750 MaxLen = std::max(MaxLen, (unsigned)I.first.size()); in emitDiagTable()
763 OS << I.first << " */ " << std::string(MaxLen - I.first.size(), ' '); in emitDiagTable()
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmscgats.c416 … BuildAbsolutePath(const char *relPath, const char *basePath, char *buffer, cmsUInt32Number MaxLen) in BuildAbsolutePath() argument
424 strncpy(buffer, relPath, MaxLen); in BuildAbsolutePath()
425 buffer[MaxLen-1] = 0; in BuildAbsolutePath()
430 strncpy(buffer, basePath, MaxLen); in BuildAbsolutePath()
431 buffer[MaxLen-1] = 0; in BuildAbsolutePath()
437 if (len >= MaxLen) return FALSE; in BuildAbsolutePath()
440 strncpy(tail + 1, relPath, MaxLen - len); in BuildAbsolutePath()
/external/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp756 unsigned MaxLen = 0; in computeCrossBlockCriticalPath() local
767 MaxLen = std::max(MaxLen, Len); in computeCrossBlockCriticalPath()
769 return MaxLen; in computeCrossBlockCriticalPath()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp61 Value *llvm::EmitStrNLen(Value *Ptr, Value *MaxLen, IRBuilder<> &B, in EmitStrNLen() argument
77 CallInst *CI = B.CreateCall2(StrNLen, CastToCStr(Ptr, B), MaxLen, "strnlen"); in EmitStrNLen()