Home
last modified time | relevance | path

Searched refs:MaxLength (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_symbolize.cpp54 char *Buffer, int MaxLength) { in __sanitizer_symbolize_code() argument
78 return __sanitizer::internal_snprintf(Buffer, MaxLength, "%s", in __sanitizer_symbolize_code()
79 Result.c_str()) < MaxLength; in __sanitizer_symbolize_code()
83 char *Buffer, int MaxLength) { in __sanitizer_symbolize_data() argument
99 return __sanitizer::internal_snprintf(Buffer, MaxLength, "%s", in __sanitizer_symbolize_data()
100 Result.c_str()) < MaxLength; in __sanitizer_symbolize_data()
109 int MaxLength) { in __sanitizer_symbolize_demangle() argument
112 return __sanitizer::internal_snprintf(Buffer, MaxLength, "%s", in __sanitizer_symbolize_demangle()
113 Result.c_str()) < MaxLength in __sanitizer_symbolize_demangle()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dlinux.cpp186 constexpr uptr MaxLength = 1024U; in outputRaw() local
187 char LocalBuffer[MaxLength]; in outputRaw()
188 while (strlen(Buffer) > MaxLength) { in outputRaw()
190 for (P = MaxLength - 1; P > 0; P--) { in outputRaw()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h66 Error beginRecord(Optional<uint32_t> MaxLength);
248 Optional<uint32_t> MaxLength; member
251 if (!MaxLength) in bytesRemaining()
256 if (BytesUsed >= *MaxLength) in bytesRemaining()
258 return *MaxLength - BytesUsed; in bytesRemaining()
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DArchiveYAML.h29 : DefaultValue(Default), MaxLength(Length) {} in Field()
32 unsigned MaxLength; member
/llvm-project-15.0.7/llvm/lib/Support/
H A DBinaryStreamRef.cpp97 uint64_t MaxLength = getLength() - Offset; in readLongestContiguousChunk() local
98 if (Buffer.size() > MaxLength) in readLongestContiguousChunk()
99 Buffer = Buffer.slice(0, MaxLength); in readLongestContiguousChunk()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DArchiveYAML.cpp49 if (P.second.Value.size() > P.second.MaxLength) in validate()
51 Twine(P.second.MaxLength)) in validate()
H A DArchiveEmitter.cpp39 WriteField(P.second.Value, P.second.MaxLength); in yaml2archive()
/llvm-project-15.0.7/clang-tools-extra/clang-query/
H A DQuery.cpp209 unsigned MaxLength = FirstLine.size(); in run() local
215 MaxLength = std::max<int>(MaxLength, Line.rtrim().size()); in run()
219 << " " << std::string(PrefixText.size() + MaxLength, '=') << "\n\n"; in run()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp264 SDValue MaxLength, MachinePointerInfo SrcPtrInfo) const { in EmitTargetCodeForStrnlen() argument
266 MaxLength = DAG.getZExtOrTrunc(MaxLength, DL, PtrVT); in EmitTargetCodeForStrnlen()
267 SDValue Limit = DAG.getNode(ISD::ADD, DL, PtrVT, Src, MaxLength); in EmitTargetCodeForStrnlen()
H A DSystemZSelectionDAGInfo.h66 SDValue Src, SDValue MaxLength,
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_posix_libcdep.cpp323 char *Buffer, int MaxLength);
326 char *Buffer, int MaxLength);
330 __sanitizer_symbolize_demangle(const char *Name, char *Buffer, int MaxLength);
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp20 Error CodeViewRecordIO::beginRecord(Optional<uint32_t> MaxLength) { in beginRecord() argument
22 Limit.MaxLength = MaxLength; in beginRecord()
/llvm-project-15.0.7/lldb/source/DataFormatters/
H A DStringPrinter.cpp39 if (size > MaxLength) in DecodedCharBuffer()
52 static constexpr unsigned MaxLength = 16; member in DecodedCharBuffer
55 uint8_t m_data[MaxLength] = {0};
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DSuspiciousCallArgumentCheck.cpp179 std::size_t MaxLength = 0; in applySubstringHeuristic() local
193 MaxLength = std::max(MaxLength, Current[J]); in applySubstringHeuristic()
202 return percentage(MaxLength, LongerLength) > Threshold; in applySubstringHeuristic()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DSelectionDAGTargetInfo.h147 SDValue Src, SDValue MaxLength, in EmitTargetCodeForStrnlen() argument
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp9231 uint64_t MaxLength = uint64_t(-1); in VisitBuiltinCallExpr() local
9239 MaxLength = N.getExtValue(); in VisitBuiltinCallExpr()
9242 if (MaxLength == 0u) in VisitBuiltinCallExpr()
9302 for (; MaxLength; --MaxLength) { in VisitBuiltinCallExpr()
12148 uint64_t MaxLength = uint64_t(-1); in VisitBuiltinCallExpr() local
12156 MaxLength = N.getExtValue(); in VisitBuiltinCallExpr()
12160 if (MaxLength == 0u) in VisitBuiltinCallExpr()
12215 for (; MaxLength; --MaxLength) { in VisitBuiltinCallExpr()