Home
last modified time | relevance | path

Searched refs:LineLen (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/LineEditor/
H A DLineEditor.cpp259 int LineLen = 0; in readLine() local
260 const char *Line = ::el_gets(Data->EL, &LineLen); in readLine()
263 if (!Line || LineLen == 0) in readLine()
267 while (LineLen > 0 && in readLine()
268 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r')) in readLine()
269 --LineLen; in readLine()
272 if (LineLen > 0) in readLine()
275 return std::string(Line, LineLen); in readLine()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/
H A DHTMLRewrite.cpp605 unsigned LineLen = Expansion.size(); in HighlightMacros() local
618 if (LineLen > 60) { in HighlightMacros()
620 LineLen = 0; in HighlightMacros()
623 LineLen -= Expansion.size(); in HighlightMacros()
633 LineLen += Expansion.size(); in HighlightMacros()
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBTFDebug.cpp590 uint32_t FuncLen = 4, LineLen = 4; in emitBTFExtSection() local
596 LineLen += BTF::SecLineInfoSize; in emitBTFExtSection()
597 LineLen += LineSec.second.size() * BTF::BPFLineInfoSize; in emitBTFExtSection()
603 OS.EmitIntValue(LineLen, 4); in emitBTFExtSection()