• Home
  • Raw
  • Download

Lines Matching refs:fCheck

253     if (!i.skipWhiteSpace(&fCheck.fIndent, &fCheck.fWriteReturn)) {  in advanceInclude()
256 if (fCheck.fPrivateBrace) { in advanceInclude()
258 if (fCheck.fPrivateBrace == fCheck.fBraceCount) { in advanceInclude()
259 fCheck.fPrivateBrace = 0; in advanceInclude()
260 fCheck.fDoubleReturn = true; in advanceInclude()
263 fCheck.fBraceCount -= 1; in advanceInclude()
268 if (fCheck.fBraceCount <= fCheck.fPrivateBrace) { in advanceInclude()
269 fCheck.fPrivateBrace = 0; in advanceInclude()
270 if (fCheck.fPrivateProtected) { in advanceInclude()
277 fCheck.fBraceCount += i.skipToLineBalance('{', '}'); in advanceInclude()
281 fCheck.fDoubleReturn = 2; in advanceInclude()
284 fCheck.fSkipInline = true; in advanceInclude()
288 fCheck.fSkipAPI = true; in advanceInclude()
292 fCheck.fSkipWarnUnused = true; in advanceInclude()
296 i.skipToLineStart(&fCheck.fIndent, &fCheck.fWriteReturn); in advanceInclude()
306 fCheck.fInDebugCode = i.fChar - 1; in advanceInclude()
312 fCheck.fState = CheckCode::State::kMethod; in advanceInclude()
322 i.skipToLineStart(&fCheck.fIndent, &fCheck.fWriteReturn); in advanceInclude()
326 fCheck.fState = CheckCode::State::kClassDeclaration; in advanceInclude()
327 fCheck.fPrivateBrace = fCheck.fBraceCount + 1; in advanceInclude()
328 fCheck.fPrivateProtected = false; in advanceInclude()
332 fCheck.fState = CheckCode::State::kConstructor; in advanceInclude()
337 i.skipToLineStart(&fCheck.fIndent, &fCheck.fWriteReturn); in advanceInclude()
341 i.skipToLineStart(&fCheck.fIndent, &fCheck.fWriteReturn); in advanceInclude()
346 i.skipToLineStart(&fCheck.fIndent, &fCheck.fWriteReturn); in advanceInclude()
350 fCheck.fState = CheckCode::State::kForwardDeclaration; in advanceInclude()
351 i.skipToLineStart(&fCheck.fIndent, &fCheck.fWriteReturn); in advanceInclude()
355 if (!fCheck.fBraceCount) { in advanceInclude()
358 fCheck.fPrivateBrace = fCheck.fBraceCount; in advanceInclude()
359 fCheck.fPrivateProtected = true; in advanceInclude()
378 fCheck.fState = CheckCode::State::kNone; in advanceInclude()
391 if (Elided::kYes == fElided && fCheck.fBraceCount) { in codeBlockAppend()
401 if (Elided::kYes == fElided && fCheck.fBraceCount) { in codeBlockSpaces()
500 fCheck.reset(); in writeCodeBlock()
513 if (fCheck.fInDebugCode == i.fChar) { in writeCodeBlock()
514 fCheck.fInDebugCode = nullptr; in writeCodeBlock()
518 if (CheckCode::State::kMethod == fCheck.fState) { in writeCodeBlock()
520 fCheck.fState = CheckCode::State::kNone; in writeCodeBlock()
522 if (fCheck.fWriteReturn) { in writeCodeBlock()
526 if ((!--fCheck.fDoubleReturn && !i.startsWith("};")) || i.startsWith("enum ") in writeCodeBlock()
527 || i.startsWith("typedef ") || doubleMeUp || fCheck.fTypedefReturn in writeCodeBlock()
528 … || (fCheck.fIndent && (i.startsWith("class ") || i.startsWith("struct ")))) { in writeCodeBlock()
532 fCheck.fTypedefReturn = false; in writeCodeBlock()
536 fCheck.fTypedefReturn = true; in writeCodeBlock()
538 lastIndent = fCheck.fIndent; in writeCodeBlock()
540 if (fCheck.fIndent) { in writeCodeBlock()
541 size_t indent = fCheck.fIndent; in writeCodeBlock()
542 if (fCheck.fSkipInline && indent > sizeof(kInline)) { in writeCodeBlock()
545 if (fCheck.fSkipAPI && indent > sizeof(kSK_API)) { in writeCodeBlock()
548 if (fCheck.fSkipWarnUnused && indent > sizeof(kSK_WARN_UNUSED_RESULT)) { in writeCodeBlock()
555 fCheck.fWriteReturn = false; in writeCodeBlock()
556 fCheck.fIndent = 0; in writeCodeBlock()
557 fCheck.fBraceCount += '{' == last; in writeCodeBlock()
558 fCheck.fBraceCount -= '}' == last; in writeCodeBlock()
560 fCheck.fSkipInline = false; in writeCodeBlock()
561 fCheck.fSkipAPI = false; in writeCodeBlock()
562 fCheck.fSkipWarnUnused = false; in writeCodeBlock()
564 if (fCheck.fBraceCount < 0) { in writeCodeBlock()
571 if (CheckCode::State::kMethod == fCheck.fState) { in writeCodeBlock()
580 if (fCheck.fWriteReturn || elidedTClass) { in writeCodeBlock()