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.cpp253 int LineLen = 0; in readLine() local
254 const char *Line = ::el_gets(Data->EL, &LineLen); in readLine()
257 if (!Line || LineLen == 0) in readLine()
261 while (LineLen > 0 && in readLine()
262 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r')) in readLine()
263 --LineLen; in readLine()
266 if (LineLen > 0) in readLine()
269 return std::string(Line, LineLen); in readLine()
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp687 unsigned LineLen = Expansion.size(); in HighlightMacrosImpl() local
700 if (LineLen > 60) { in HighlightMacrosImpl()
702 LineLen = 0; in HighlightMacrosImpl()
705 LineLen -= Expansion.size(); in HighlightMacrosImpl()
715 LineLen += Expansion.size(); in HighlightMacrosImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1087 uint32_t FuncLen = 4, LineLen = 4; in emitBTFExtSection() local
1095 LineLen += BTF::SecLineInfoSize; in emitBTFExtSection()
1096 LineLen += LineSec.second.size() * BTF::BPFLineInfoSize; in emitBTFExtSection()
1109 OS.emitInt32(LineLen); in emitBTFExtSection()
1110 OS.emitInt32(FuncLen + LineLen); in emitBTFExtSection()