Home
last modified time | relevance | path

Searched refs:ColumnWidth (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DUnicode.cpp482 unsigned ColumnWidth = 0; in columnWidthUTF8() local
491 ColumnWidth += 1; in columnWidthUTF8()
506 ColumnWidth += Width; in columnWidthUTF8()
508 return ColumnWidth; in columnWidthUTF8()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.cpp337 At->ColumnWidth += String->ColumnWidth; in tryMergeNSStringLiteral()
356 Hash->ColumnWidth += Identifier->ColumnWidth; in tryMergeJSPrivateIdentifier()
385 Tok->ColumnWidth += Prefix->ColumnWidth; in tryMergeCSharpStringLiteral()
396 Prefix->ColumnWidth += String->ColumnWidth; in tryMergeCSharpStringLiteral()
422 NullishCoalescing->ColumnWidth += Equal->ColumnWidth; in tryMergeNullishCoalescingEqual()
443 At->ColumnWidth += Keyword->ColumnWidth; in tryMergeCSharpKeywordVariables()
481 For->ColumnWidth += Each->ColumnWidth; in tryMergeForEach()
529 First[0]->ColumnWidth += 1; in tryMergeLessLess()
553 First[0]->ColumnWidth += 1; in tryMergeGreaterGreater()
589 First[0]->ColumnWidth += AddLength; in tryMergeTokens()
[all …]
H A DContinuationIndenter.cpp728 while (Tok && CurrentState.VariablePos >= Tok->ColumnWidth) { in addTokenOnCurrentLine()
729 CurrentState.VariablePos -= Tok->ColumnWidth; in addTokenOnCurrentLine()
777 unsigned FirstColonPos = State.Column + Spaces + Current.ColumnWidth; in addTokenOnCurrentLine()
1022 NextNonComment->ColumnWidth); in addTokenOnNewLine()
1025 CurrentState.ColonPos <= NextNonComment->ColumnWidth) { in addTokenOnNewLine()
1026 CurrentState.ColonPos = State.Column + NextNonComment->ColumnWidth; in addTokenOnNewLine()
1403 NextNonComment->ColumnWidth) - in getNewLineColumn()
1404 NextNonComment->ColumnWidth; in getNewLineColumn()
1408 if (CurrentState.ColonPos > NextNonComment->ColumnWidth) in getNewLineColumn()
1409 return CurrentState.ColonPos - NextNonComment->ColumnWidth; in getNewLineColumn()
[all …]
H A DFormatToken.cpp109 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken()
163 return End->TotalLength - Begin->TotalLength + Begin->ColumnWidth; in CodePointsBetween()
H A DTokenAnnotator.cpp1402 } else if (Tok->Previous->ColumnWidth > in consumeToken()
1405 Tok->Previous->ColumnWidth; in consumeToken()
3871 : Line.FirstStartColumn + First->ColumnWidth; in calculateFormattingInformation()
4039 Current->TotalLength = Prev->TotalLength + Current->ColumnWidth + in calculateFormattingInformation()
4096 Current->ColumnWidth + Current->SpacesRequiredBefore; in calculateUnbreakableTailLengths()
H A DWhitespaceManager.cpp178 PrevTokLength = std::min(PrevTokLength, P.Tok->ColumnWidth); in calculateLineBreakInformation()
H A DFormatToken.h482 unsigned ColumnWidth = 0; member
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DEditline.cpp87 static size_t ColumnWidth(llvm::StringRef str) { in ColumnWidth() function
319 const size_t prompt_width = ColumnWidth(prompt); in PromptForIndex()
320 const size_t cont_prompt_width = ColumnWidth(continuation_prompt); in PromptForIndex()
345 size_t Editline::GetPromptWidth() { return ColumnWidth(PromptForIndex(0)); } in GetPromptWidth()
431 int line_length = (int)(content.length() + ColumnWidth(prompt)); in CountRowsForLine()