HomeSort by: relevance | last modified time | path
    Searched refs:MaxLen (Results 1 - 19 of 19) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
FormatUtil.cpp 21 std::string llvm::pdb::truncateStringBack(StringRef S, uint32_t MaxLen) {
22 if (MaxLen == 0 || S.size() <= MaxLen || S.size() <= 3)
25 assert(MaxLen >= 3);
26 uint32_t FinalLen = std::min<size_t>(S.size(), MaxLen - 3);
31 std::string llvm::pdb::truncateStringMiddle(StringRef S, uint32_t MaxLen) {
32 if (MaxLen == 0 || S.size() <= MaxLen || S.size() <= 3)
35 assert(MaxLen >= 3);
36 uint32_t FinalLen = std::min<size_t>(S.size(), MaxLen - 3)
    [all...]
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);
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerOptions.h 20 size_t MaxLen = 0;
FuzzerDriver.cpp 276 int RunOneTest(Fuzzer *F, const char *InputFilePath, size_t MaxLen) {
278 if (MaxLen && MaxLen < U.size())
279 U.resize(MaxLen);
571 Options.MaxLen = Flags.max_len;
713 RunOneTest(F, Path.c_str(), Options.MaxLen);
736 if (Options.MaxLen == 0)
744 size_t MaxLen = INT_MAX; // Large max length.
749 MaxLen, /*ExitOnError=*/false);
FuzzerLoop.cpp 159 MaxInputLen = MaxMutationLen = Options.MaxLen;
755 if (Options.MaxLen == 0)
FuzzerTracePC.cpp 456 static size_t InternalStrnlen(const char *S, size_t MaxLen) {
458 for (; Len < MaxLen && S[Len]; Len++) {}
  /src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/
NVPTXTargetStreamer.cpp 114 const unsigned MaxLen = 40;
115 unsigned NumChunks = 1 + ((NumElements - 1) / MaxLen);
123 for (auto It = std::next(Data.bytes_begin(), I * MaxLen),
126 : std::next(Data.bytes_begin(), (I + 1) * MaxLen);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
AArch64O0PreLegalizerCombiner.cpp 91 // At -O0 set a maxlen of 32 to inline;
92 unsigned MaxLen = 32;
94 if (Helper.tryCombineMemCpyFamily(MI, MaxLen))
AArch64PreLegalizerCombiner.cpp 278 // If we're at -O0 set a maxlen of 32 to inline, otherwise let the other
280 unsigned MaxLen = EnableOpt ? 0 : 32;
282 if (Helper.tryCombineMemCpyFamily(MI, MaxLen))
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCSubtargetInfo.cpp 89 size_t MaxLen = 0;
91 MaxLen = std::max(MaxLen, std::strlen(I.Key));
92 return MaxLen;
  /src/external/apache2/llvm/dist/clang/lib/Lex/
HeaderMap.cpp 157 unsigned MaxLen = FileBuffer->getBufferSize() - StrTabIdx;
158 unsigned Len = strnlen(Data, MaxLen);
161 if (Len == MaxLen && Data[Len - 1])
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
ELFDump.cpp 178 size_t MaxLen = 0;
180 MaxLen = std::max(MaxLen, Elf.getDynamicTagAsString(Dyn.d_tag).size());
181 std::string TagFmt = " %-" + std::to_string(MaxLen) + "s ";
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
BuildLibCalls.h 58 /// pointer. Ptr is required to be some pointer type, MaxLen must be of size_t
60 Value *emitStrNLen(Value *Ptr, Value *MaxLen, IRBuilderBase &B,
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachineTraceMetrics.cpp 766 unsigned MaxLen = 0;
776 MaxLen = std::max(MaxLen, Len);
778 return MaxLen;
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
TypeRecordMapping.cpp 219 Optional<uint32_t> MaxLen;
222 MaxLen = MaxRecordLength - sizeof(RecordPrefix);
223 error(IO.beginRecord(MaxLen));
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
ClangDiagnosticsEmitter.cpp 1485 unsigned MaxLen = 0;
1488 MaxLen = std::max(MaxLen, (unsigned)I.first.size());
1501 OS << I.first << " */ " << std::string(MaxLen - I.first.size(), ' ');
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
CombinerHelper.h 210 /// /p MaxLen if non-zero specifies the max length of a mem libcall to inline.
239 bool tryCombineMemCpyFamily(MachineInstr &MI, unsigned MaxLen = 0);
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonISelDAGToDAGHVX.cpp 892 unsigned MaxLen) {
893 assert(A.size() > 0 && A.size() >= MaxLen);
896 for (unsigned I = 1; I != MaxLen; ++I) {
901 return { F, MaxLen };
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
CombinerHelper.cpp 1544 bool CombinerHelper::tryCombineMemCpyFamily(MachineInstr &MI, unsigned MaxLen) {
1581 if (MaxLen && KnownLen > MaxLen)

Completed in 32 milliseconds