Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp686 unsigned LineLen = Expansion.size(); in HighlightMacrosImpl() local
699 if (LineLen > 60) { in HighlightMacrosImpl()
701 LineLen = 0; in HighlightMacrosImpl()
704 LineLen -= Expansion.size(); in HighlightMacrosImpl()
714 LineLen += Expansion.size(); in HighlightMacrosImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1206 uint32_t FuncLen = 4, LineLen = 4; in emitBTFExtSection() local
1214 LineLen += BTF::SecLineInfoSize; in emitBTFExtSection()
1215 LineLen += LineSec.second.size() * BTF::BPFLineInfoSize; in emitBTFExtSection()
1228 OS.emitInt32(LineLen); in emitBTFExtSection()
1229 OS.emitInt32(FuncLen + LineLen); in emitBTFExtSection()