/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/ |
H A D | FormatUtil.cpp | 22 if (MaxLen == 0 || S.size() <= MaxLen || S.size() <= 3) in truncateStringBack() 25 assert(MaxLen >= 3); in truncateStringBack() 32 if (MaxLen == 0 || S.size() <= MaxLen || S.size() <= 3) in truncateStringMiddle() 35 assert(MaxLen >= 3); in truncateStringMiddle() 43 if (MaxLen == 0 || S.size() <= MaxLen || S.size() <= 3) in truncateStringFront() 46 assert(MaxLen >= 3); in truncateStringFront() 47 S = S.take_back(MaxLen - 3); in truncateStringFront() 54 if (MaxLen == 0 || RequiredExtraChars + Name.size() <= MaxLen) in truncateQuotedNameFront() 57 assert(MaxLen >= RequiredExtraChars); in truncateQuotedNameFront() 65 if (MaxLen == 0 || RequiredExtraChars + Name.size() <= MaxLen) in truncateQuotedNameBack() [all …]
|
H A D | FormatUtil.h | 25 std::string truncateStringBack(StringRef S, uint32_t MaxLen); 26 std::string truncateStringMiddle(StringRef S, uint32_t MaxLen); 27 std::string truncateStringFront(StringRef S, uint32_t MaxLen); 29 uint32_t MaxLen); 31 uint32_t MaxLen);
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/ |
H A D | NVPTXTargetStreamer.cpp | 114 const unsigned MaxLen = 40; in emitRawBytes() 115 unsigned NumChunks = 1 + ((NumElements - 1) / MaxLen); in emitRawBytes() 123 for (auto It = std::next(Data.bytes_begin(), I * MaxLen), in emitRawBytes() 126 : std::next(Data.bytes_begin(), (I + 1) * MaxLen); in emitRawBytes()
|
/netbsd/sys/external/bsd/compiler_rt/dist/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() 713 RunOneTest(F, Path.c_str(), Options.MaxLen); in FuzzerDriver() 736 if (Options.MaxLen == 0) in FuzzerDriver() 744 size_t MaxLen = INT_MAX; // Large max length. in FuzzerDriver() local 749 MaxLen, /*ExitOnError=*/false); in FuzzerDriver()
|
H A D | FuzzerOptions.h | 20 size_t MaxLen = 0; member
|
H A D | FuzzerTracePC.cpp | 456 static size_t InternalStrnlen(const char *S, size_t MaxLen) { in InternalStrnlen() argument 458 for (; Len < MaxLen && S[Len]; Len++) {} in InternalStrnlen()
|
H A D | FuzzerLoop.cpp | 159 MaxInputLen = MaxMutationLen = Options.MaxLen; in Fuzzer() 755 if (Options.MaxLen == 0) in ReadAndExecuteSeedCorpora()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/MC/ |
H A D | MCSubtargetInfo.cpp | 89 size_t MaxLen = 0; in getLongestEntryLength() local 91 MaxLen = std::max(MaxLen, std::strlen(I.Key)); in getLongestEntryLength() 92 return MaxLen; in getLongestEntryLength()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | HeaderMap.cpp | 157 unsigned MaxLen = FileBuffer->getBufferSize() - StrTabIdx; in getString() local 158 unsigned Len = strnlen(Data, MaxLen); in getString() 161 if (Len == MaxLen && Data[Len - 1]) in getString()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64O0PreLegalizerCombiner.cpp | 92 unsigned MaxLen = 32; in combine() local 94 if (Helper.tryCombineMemCpyFamily(MI, MaxLen)) in combine()
|
H A D | AArch64PreLegalizerCombiner.cpp | 280 unsigned MaxLen = EnableOpt ? 0 : 32; in combine() local 282 if (Helper.tryCombineMemCpyFamily(MI, MaxLen)) in combine()
|
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-objdump/ |
H A D | ELFDump.cpp | 178 size_t MaxLen = 0; in printDynamicSection() local 180 MaxLen = std::max(MaxLen, Elf.getDynamicTagAsString(Dyn.d_tag).size()); in printDynamicSection() 181 std::string TagFmt = " %-" + std::to_string(MaxLen) + "s "; in printDynamicSection()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/ |
H A D | TypeRecordMapping.cpp | 219 Optional<uint32_t> MaxLen; in visitTypeBegin() local 222 MaxLen = MaxRecordLength - sizeof(RecordPrefix); in visitTypeBegin() 223 error(IO.beginRecord(MaxLen)); in visitTypeBegin()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | MachineTraceMetrics.cpp | 766 unsigned MaxLen = 0; in computeCrossBlockCriticalPath() local 776 MaxLen = std::max(MaxLen, Len); in computeCrossBlockCriticalPath() 778 return MaxLen; in computeCrossBlockCriticalPath()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | BuildLibCalls.h | 60 Value *emitStrNLen(Value *Ptr, Value *MaxLen, IRBuilderBase &B,
|
/netbsd/external/apache2/llvm/dist/clang/utils/TableGen/ |
H A D | ClangDiagnosticsEmitter.cpp | 1485 unsigned MaxLen = 0; in emitDiagTable() local 1488 MaxLen = std::max(MaxLen, (unsigned)I.first.size()); in emitDiagTable() 1501 OS << I.first << " */ " << std::string(MaxLen - I.first.size(), ' '); in emitDiagTable()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | CombinerHelper.h | 239 bool tryCombineMemCpyFamily(MachineInstr &MI, unsigned MaxLen = 0);
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelDAGToDAGHVX.cpp | 892 unsigned MaxLen) { in findStrip() argument 893 assert(A.size() > 0 && A.size() >= MaxLen); in findStrip() 896 for (unsigned I = 1; I != MaxLen; ++I) { in findStrip() 901 return { F, MaxLen }; in findStrip()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 1544 bool CombinerHelper::tryCombineMemCpyFamily(MachineInstr &MI, unsigned MaxLen) { in tryCombineMemCpyFamily() argument 1581 if (MaxLen && KnownLen > MaxLen) in tryCombineMemCpyFamily()
|