• Home
  • Raw
  • Download

Lines Matching refs:testIter

1755         auto testIter = std::prev(wordIter);  in findComments()  local
1756 if (Definition::Type::kWord != testIter->fType in findComments()
1757 && Definition::Type::kKeyWord != testIter->fType in findComments()
1758 && (Definition::Type::kBracket != testIter->fType in findComments()
1759 || Bracket::kAngle != testIter->fBracket) in findComments()
1760 && (Definition::Type::kPunctuation != testIter->fType in findComments()
1761 || Punctuation::kAsterisk != testIter->fPunctuation)) { in findComments()
1764 wordIter = testIter; in findComments()
1768 auto testIter = std::prev(commentIter); in findComments() local
1769 bool isComment = Definition::Type::kBracket == testIter->fType in findComments()
1770 && (Bracket::kSlashSlash == testIter->fBracket in findComments()
1771 || Bracket::kSlashStar == testIter->fBracket); in findComments()
1775 commentIter = testIter; in findComments()
2561 auto testIter = std::prev(tokenIter); in parseMethod() local
2562 switch (testIter->fType) { in parseMethod()
2564 if (testIter == child->fParent->fTokens.begin() && in parseMethod()
2573 KeyProperty keyProperty = kKeyWords[(int) testIter->fKeyWord].fProperty; in parseMethod()
2579 if (Bracket::kAngle == testIter->fBracket) { in parseMethod()
2584 if (Punctuation::kSemicolon == testIter->fPunctuation in parseMethod()
2585 || Punctuation::kLeftBrace == testIter->fPunctuation in parseMethod()
2586 || Punctuation::kColon == testIter->fPunctuation) { in parseMethod()
2590 tokenIter = testIter; in parseMethod()
2602 auto testIter = child->fParent->fTokens.begin(); in parseMethod() local
2604 std::advance(testIter, child->fParentIndex - 1); in parseMethod()
2614 std::advance(testIter, 1); in parseMethod()
2615 start = testIter->fContentStart + 1; in parseMethod()
2616 end = testIter->fContentEnd - 1; in parseMethod()
2618 end = testIter->fContentEnd; in parseMethod()
2620 std::advance(testIter, 1); in parseMethod()
2621 if (testIter == child->fParent->fTokens.end()) { in parseMethod()
2624 switch (testIter->fType) { in parseMethod()
2626 SkASSERT(Punctuation::kSemicolon == testIter->fPunctuation in parseMethod()
2627 || Punctuation::kLeftBrace == testIter->fPunctuation in parseMethod()
2628 || Punctuation::kColon == testIter->fPunctuation); in parseMethod()
2629 end = testIter->fStart; in parseMethod()
2632 KeyProperty keyProperty = kKeyWords[(int) testIter->fKeyWord].fProperty; in parseMethod()