Home
last modified time | relevance | path

Searched refs:NestingLevel (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Format/
DWhitespaceManager.cpp203 unsigned NestingLevel = 0; in AlignTokens() local
248 --NestingLevel; in AlignTokens()
254 NestingLevelOfLastMatch = std::min(NestingLevelOfLastMatch, NestingLevel); in AlignTokens()
255 ++NestingLevel; in AlignTokens()
265 NestingLevel != NestingLevelOfLastMatch) in AlignTokens()
269 NestingLevelOfLastMatch = NestingLevel; in AlignTokens()
DContinuationIndenter.cpp114 State.LowestLevelOnLine < Current.NestingLevel) in canBreak()
178 Previous.is(tok::comma) || Current.NestingLevel < 2) && in mustBreak()
218 if (Current.NestingLevel == 0 && !Current.isTrailingComment()) { in mustBreak()
296 (State.Line->First->is(tok::kw_for) || Current.NestingLevel == 0) && in addTokenOnCurrentLine()
448 Current.NestingLevel != 0 || !PreviousNonComment->is(tok::equal) || in addTokenOnNewLine()
493 Current.NestingLevel == 0) in addTokenOnNewLine()
511 State.StartOfLineLevel = Current.NestingLevel; in addTokenOnNewLine()
512 State.LowestLevelOnLine = Current.NestingLevel; in addTokenOnNewLine()
527 Current.NestingLevel != 0) && in addTokenOnNewLine()
575 return Current.NestingLevel == 0 ? State.FirstIndent in getNewLineColumn()
[all …]
DFormatToken.h220 unsigned NestingLevel = 0; member
419 (!Style.Cpp11BracedListStyle && NestingLevel == 0))); in opensBlockOrBlockTypeList()
DTokenAnnotator.cpp782 CurrentToken->NestingLevel = Contexts.size() - 1; in next()
905 (!Line.MightBeFunctionDecl || Current.NestingLevel != 0)) { in determineTokenType()
914 Current.NestingLevel == 0) { in determineTokenType()
1526 if (!Current.is(TT_StartOfName) || Current.NestingLevel != 0) in isFunctionDeclarationName()
1712 if (Left.is(tok::comma) && Left.NestingLevel == 0) in splitPenalty()
1741 if (InFunctionDecl && Right.NestingLevel == 0) in splitPenalty()
2153 (Left.NestingLevel == 0 && Line.Level == 0 && in mustBreakBefore()
2194 Right.Previous->MatchingParen->NestingLevel == 0 && in mustBreakBefore()
2206 if (Right.Previous->is(tok::l_brace) && Right.NestingLevel == 1 && in mustBreakBefore()
2304 Line.Type == LT_VirtualFunctionDecl && Left.NestingLevel == 0) in canBreakBefore()
DFormatToken.cpp216 if (Token->NestingLevel != 0 || Commas.size() < 5 || HasSeparatingComment) in precomputeFormattingInfos()
/external/jhead/
Dexif.c544 unsigned ExifLength, int NestingLevel) in ProcessExifDir() argument
554 if (NestingLevel > 4){ in ProcessExifDir()
560 IndentString[NestingLevel * 4] = '\0'; in ProcessExifDir()
975 ProcessExifDir(SubdirStart, OffsetBase, ExifLength, NestingLevel+1); in ProcessExifDir()
1037 ProcessExifDir(SubdirStart, OffsetBase, ExifLength, NestingLevel+1); in ProcessExifDir()