Lines Matching refs:j

540         j = self._index
547 param = self.tokens[j:k]
551 j = self._index + 1
1229 j = i + 3
1230 while j < num_tokens - 1:
1231 if (b.tokens[j].kind == TokenKind.PUNCTUATION and
1232 b.tokens[j].id == "}" and
1233 b.tokens[j + 1].kind == TokenKind.PUNCTUATION and
1234 b.tokens[j + 1].id == ";"):
1235 b.tokens = b.tokens[0:i] + b.tokens[j + 2:num_tokens]
1237 j = i
1239 j += 1
1240 i = j
1555 j = i
1556 if j + 1 >= len(tokens):
1558 directive = tokens[j+1].id
1700 j = i
1701 while j < n and not blocks[j].isIf():
1702 j += 1
1703 if j > i:
1705 blocks[j-1].lineno)
1706 result += blocks[i:j]
1707 if j >= n:
1709 expr = blocks[j].expr
1712 result.append(blocks[j])
1713 i = j + 1
1718 start_dir = blocks[j].directive
1719 j = find_matching_endif(blocks, j + 1)
1720 if j >= n:
1723 dir_ = blocks[j].directive
1726 blocks[i].lineno, blocks[j].lineno)
1729 result += blocks[j:j+1]
1730 i = j + 1
1734 "to %d)", blocks[i].lineno, blocks[j-1].lineno)
1736 blocks[j].directive = "elif"
1738 blocks[j].directive = "if"
1739 blocks[j].expr = CppExpr(CppStringTokenizer("1").tokens)
1740 i = j
1745 blocks[j].directive = "elif"
1747 blocks[j].directive = "if"
1748 i = j
1752 k = find_matching_endif(blocks, j + 1)
1756 result += blocks[j+1:k]
1759 start_dir = blocks[j].directive
1763 blocks[j].lineno, blocks[k].lineno)
1766 blocks[j].tokens = CppStringTokenizer("1").tokens
1767 result += blocks[j:j+1]
1768 result += optimize_if01(blocks[j+1:k])
1776 blocks[j].lineno, blocks[k].lineno)
1779 blocks[j].tokens = CppStringTokenizer("1").tokens
1780 result += blocks[j:j+1]
1781 result += optimize_if01(blocks[j+1:k])
1791 blocks[j].lineno, blocks[k].lineno)
1792 result += optimize_if01(blocks[j+1:k])