| /freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/ |
| H A D | FormatUtil.cpp | 23 if (MaxLen == 0 || S.size() <= MaxLen || S.size() <= 3) in truncateStringBack() 26 assert(MaxLen >= 3); in truncateStringBack() 33 if (MaxLen == 0 || S.size() <= MaxLen || S.size() <= 3) in truncateStringMiddle() 36 assert(MaxLen >= 3); in truncateStringMiddle() 44 if (MaxLen == 0 || S.size() <= MaxLen || S.size() <= 3) in truncateStringFront() 47 assert(MaxLen >= 3); in truncateStringFront() 48 S = S.take_back(MaxLen - 3); in truncateStringFront() 55 if (MaxLen == 0 || RequiredExtraChars + Name.size() <= MaxLen) in truncateQuotedNameFront() 58 assert(MaxLen >= RequiredExtraChars); in truncateQuotedNameFront() 66 if (MaxLen == 0 || RequiredExtraChars + Name.size() <= MaxLen) in truncateQuotedNameBack() [all …]
|
| H A D | FormatUtil.h | 26 std::string truncateStringBack(StringRef S, uint32_t MaxLen); 27 std::string truncateStringMiddle(StringRef S, uint32_t MaxLen); 28 std::string truncateStringFront(StringRef S, uint32_t MaxLen); 30 uint32_t MaxLen); 32 uint32_t MaxLen);
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/MCTargetDesc/ |
| H A D | NVPTXTargetStreamer.cpp | 104 const unsigned MaxLen = 40; in emitRawBytes() local 105 unsigned NumChunks = 1 + ((NumElements - 1) / MaxLen); in emitRawBytes() 113 for (auto It = std::next(Data.bytes_begin(), I * MaxLen), in emitRawBytes() 116 : std::next(Data.bytes_begin(), (I + 1) * MaxLen); in emitRawBytes()
|
| /freebsd-12.1/contrib/llvm/lib/MC/ |
| H A D | SubtargetFeature.cpp | 86 size_t MaxLen = 0; in getLongestEntryLength() local 88 MaxLen = std::max(MaxLen, std::strlen(I.Key)); in getLongestEntryLength() 89 return MaxLen; in getLongestEntryLength()
|
| /freebsd-12.1/contrib/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerDriver.cpp | 276 int RunOneTest(Fuzzer *F, const char *InputFilePath, size_t MaxLen) { in RunOneTest() argument 278 if (MaxLen && MaxLen < U.size()) in RunOneTest() 279 U.resize(MaxLen); in RunOneTest() 571 Options.MaxLen = Flags.max_len; in FuzzerDriver() 709 RunOneTest(F, Path.c_str(), Options.MaxLen); in FuzzerDriver() 732 if (Options.MaxLen == 0) in FuzzerDriver() 740 size_t MaxLen = INT_MAX; // Large max length. in FuzzerDriver() local 745 MaxLen, /*ExitOnError=*/false); in FuzzerDriver()
|
| H A D | FuzzerOptions.h | 20 size_t MaxLen = 0; member
|
| H A D | FuzzerTracePC.cpp | 388 static size_t InternalStrnlen(const char *S, size_t MaxLen) { in InternalStrnlen() argument 390 for (; Len < MaxLen && S[Len]; Len++) {} in InternalStrnlen()
|
| H A D | FuzzerLoop.cpp | 159 MaxInputLen = MaxMutationLen = Options.MaxLen; in Fuzzer() 717 if (Options.MaxLen == 0) in ReadAndExecuteSeedCorpora()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | HeaderMap.cpp | 158 unsigned MaxLen = FileBuffer->getBufferSize() - StrTabIdx; in getString() local 159 unsigned Len = strnlen(Data, MaxLen); in getString() 162 if (Len == MaxLen && Data[Len - 1]) in getString()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeRecordMapping.cpp | 91 Optional<uint32_t> MaxLen; in visitTypeBegin() local 94 MaxLen = MaxRecordLength - sizeof(RecordPrefix); in visitTypeBegin() 95 error(IO.beginRecord(MaxLen)); in visitTypeBegin()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/ |
| H A D | BuildLibCalls.h | 58 Value *emitStrNLen(Value *Ptr, Value *MaxLen, IRBuilder<> &B,
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | MachineTraceMetrics.cpp | 767 unsigned MaxLen = 0; in computeCrossBlockCriticalPath() local 777 MaxLen = std::max(MaxLen, Len); in computeCrossBlockCriticalPath() 779 return MaxLen; in computeCrossBlockCriticalPath()
|
| /freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/ |
| H A D | ClangDiagnosticsEmitter.cpp | 1455 unsigned MaxLen = 0; in emitDiagTable() local 1458 MaxLen = std::max(MaxLen, (unsigned)I.first.size()); in emitDiagTable() 1471 OS << I.first << " */ " << std::string(MaxLen - I.first.size(), ' '); in emitDiagTable()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelDAGToDAGHVX.cpp | 885 unsigned MaxLen) { in findStrip() argument 886 assert(A.size() > 0 && A.size() >= MaxLen); in findStrip() 889 for (unsigned I = 1; I != MaxLen; ++I) { in findStrip() 894 return { F, MaxLen }; in findStrip()
|