Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DUnicode.cpp344 unsigned ColumnWidth = 0; in columnWidthUTF8() local
359 ColumnWidth += Width; in columnWidthUTF8()
361 return ColumnWidth; in columnWidthUTF8()
/external/clang/lib/Format/
DFormatTokenLexer.cpp109 First[0]->ColumnWidth += 1; in tryMergeLessLess()
134 First[0]->ColumnWidth += AddLength; in tryMergeTokens()
226 RegexToken->ColumnWidth = RegexToken->TokenText.size(); in tryParseJSRegexLiteral()
254 BacktickToken->ColumnWidth = encoding::columnWidthWithTabs( in tryParseTemplateString()
293 String->ColumnWidth = encoding::columnWidthWithTabs( in tryMerge_TMacro()
380 FormatTok->ColumnWidth = 1; in getStashedToken()
517 FormatTok->ColumnWidth = in getNextToken()
519 Column += FormatTok->ColumnWidth; in getNextToken()
524 FormatTok->ColumnWidth = encoding::columnWidthWithTabs( in getNextToken()
DContinuationIndenter.cpp322 while (Tok && State.Stack.back().VariablePos >= Tok->ColumnWidth) { in addTokenOnCurrentLine()
323 State.Stack.back().VariablePos -= Tok->ColumnWidth; in addTokenOnCurrentLine()
343 unsigned FirstColonPos = State.Column + Spaces + Current.ColumnWidth; in addTokenOnCurrentLine()
504 State.Stack.back().ColonPos <= NextNonComment->ColumnWidth) { in addTokenOnNewLine()
505 State.Stack.back().ColonPos = State.Column + NextNonComment->ColumnWidth; in addTokenOnNewLine()
667 NextNonComment->ColumnWidth; in getNewLineColumn()
671 if (State.Stack.back().ColonPos > NextNonComment->ColumnWidth) in getNewLineColumn()
672 return State.Stack.back().ColonPos - NextNonComment->ColumnWidth; in getNewLineColumn()
764 State.Column + Current.ColumnWidth + 1; in moveStateToNextToken()
804 State.Column += Current.ColumnWidth; in moveStateToNextToken()
[all …]
DFormatToken.cpp92 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken()
143 return End->TotalLength - Begin->TotalLength + Begin->ColumnWidth; in CodePointsBetween()
DFormat.cpp866 size_t ColumnWidth = FormatTok->TokenText.size(); in requoteJSStringLiteral() local
876 ColumnWidth--; in requoteJSStringLiteral()
887 ColumnWidth++; in requoteJSStringLiteral()
902 FormatTok->ColumnWidth = ColumnWidth; in requoteJSStringLiteral()
DFormatToken.h139 unsigned ColumnWidth = 0; member
DTokenAnnotator.cpp512 if (Tok->Previous->ColumnWidth > in consumeToken()
514 Contexts.back().LongestObjCSelectorName = Tok->Previous->ColumnWidth; in consumeToken()
1696 Line.First->IsMultiline ? Style.ColumnLimit : Line.First->ColumnWidth; in calculateFormattingInformation()
1758 Current->TotalLength = Prev->TotalLength + Current->ColumnWidth + in calculateFormattingInformation()
1792 Current->ColumnWidth + Current->SpacesRequiredBefore; in calculateUnbreakableTailLengths()