/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/cpptools/ |
H A D | cppselectionchanger.cpp | 169 const Token token = m_unit->tokenAt(tokenIndex); in printTokenDebugInfo() 442 Token firstParenToken = m_unit->tokenAt(firstParenTokenIndex); in fineTuneForStatementPositions() 443 Token lastParenToken = m_unit->tokenAt(lastParenTokenIndex); in fineTuneForStatementPositions() 520 Token lastParenToken = m_unit->tokenAt(lastParenTokenIndex); in fineTuneASTNodePositions() 610 Token lastBraceToken = m_unit->tokenAt(lastBraceTokenIndex); in fineTuneASTNodePositions() 689 Token namespaceToken = m_unit->tokenAt(namespaceTokenIndex); in fineTuneASTNodePositions() 736 Token lastParenToken = m_unit->tokenAt(lastParenTokenIndex); in fineTuneASTNodePositions() 762 Token lastParenToken = m_unit->tokenAt(lastParenTokenIndex); in fineTuneASTNodePositions() 798 Token specifierToken = m_unit->tokenAt(specifierTokenIndex); in fineTuneASTNodePositions() 839 Token firstCVToken = m_unit->tokenAt(firstCVTokenIndex); in fineTuneASTNodePositions() [all …]
|
H A D | cpprefactoringchanges.cpp | 212 const Token &token = tokenAt(tokenIndex); in range() 227 cppDocument()->translationUnit()->getPosition(tokenAt(index).utf16charsBegin(), &line, &column); in startOf() 235 while (tokenAt(firstToken).generated() && firstToken < lastToken) in startOf() 243 cppDocument()->translationUnit()->getPosition(tokenAt(index).utf16charsEnd(), &line, &column); in endOf() 252 while (tokenAt(lastToken).generated() && lastToken > firstToken) in endOf() 260 Token token(tokenAt(index)); in startAndEndOf() 271 const Token &CppRefactoringFile::tokenAt(unsigned index) const in tokenAt() function in CppTools::CppRefactoringFile 273 return cppDocument()->translationUnit()->tokenAt(index); in tokenAt()
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/libs/3rdparty/cplusplus/ |
H A D | ASTVisitor.cpp | 55 const Token &ASTVisitor::tokenAt(int index) const in tokenAt() function in ASTVisitor 56 { return translationUnit()->tokenAt(index); } in tokenAt() 85 { getPosition(tokenAt(index).utf16charsBegin(), line, column); } in getTokenStartPosition() 88 { getPosition(tokenAt(index).utf16charsEnd(), line, column); } in getTokenEndPosition()
|
H A D | TranslationUnit.cpp | 96 return tokenAt(index).spell(); in spell() 106 { return tokenAt(index).identifier; } in identifier() 109 { return tokenAt(index).literal; } in literal() 112 { return tokenAt(index).string; } in stringLiteral() 115 { return tokenAt(index).number; } in numericLiteral() 118 { return tokenAt(index).close_brace; } in matchingBrace() 383 { return getPosition(tokenAt(index).utf16charsBegin(), line, column, fileName); } in getTokenPosition() 388 { return getPosition(tokenAt(index).utf16charsBegin(), line, column, fileName); } in getTokenStartPosition() 393 { return getPosition(tokenAt(index).utf16charsEnd(), line, column, fileName); } in getTokenEndPosition() 492 int lineOffset = _lineOffsets[findLineNumber(tokenAt(tokenIndex).utf16charsBegin())]; in findPreviousLineOffset()
|
H A D | Bind.cpp | 1257 const auto token = tokenAt(ast->firstToken()); in asStringLiteral() 1279 const Token &tk = tokenAt(index); in asStringLiteral() 2054 const Token &tk = tokenAt(semicolon_token); in visit() 2535 return tokenAt(pos).utf16charsEnd(); in calculateScopeStart() 2539 return tokenAt(pos - 1).utf16charsEnd(); in calculateScopeStart() 2543 return tokenAt(pos - 1).utf16charsEnd(); in calculateScopeStart() 2553 return tokenAt(pos - 1).utf16charsEnd(); in calculateScopeStart() 2560 return tokenAt(pos - 1).utf16charsEnd(); in calculateScopeStart() 2562 return tokenAt(ast->firstToken()).utf16charsBegin(); in calculateScopeStart() 2639 return tokenAt(pos - 1).utf16charsEnd(); in calculateScopeStart() [all …]
|
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/lib/Format/ |
H A D | BreakableToken.cpp | 291 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 294 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 581 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 624 tokenAt(LineIndex).TokenText.data() - in reflow() 627 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 675 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 706 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 829 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 869 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 886 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/lib/Format/ |
H A D | BreakableToken.cpp | 275 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 278 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 565 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 608 tokenAt(LineIndex).TokenText.data() - in reflow() 611 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 657 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 688 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 811 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 851 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 868 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/lib/Format/ |
H A D | BreakableToken.cpp | 325 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 328 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 626 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 668 tokenAt(LineIndex).TokenText.data() - in reflow() 671 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 719 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 750 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 898 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 939 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 954 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/lib/Format/ |
H A D | BreakableToken.cpp | 323 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 326 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 624 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 666 tokenAt(LineIndex).TokenText.data() - in reflow() 669 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 717 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 748 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 871 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 912 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 927 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/lib/Format/ |
H A D | BreakableToken.cpp | 325 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 328 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 626 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 668 tokenAt(LineIndex).TokenText.data() - in reflow() 671 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 719 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 750 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 898 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 939 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 954 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/lib/Format/ |
H A D | BreakableToken.cpp | 325 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 328 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 626 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 668 tokenAt(LineIndex).TokenText.data() - in reflow() 671 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 719 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 750 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 874 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 915 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 930 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/lib/Format/ |
H A D | BreakableToken.cpp | 292 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 295 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 593 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 635 tokenAt(LineIndex).TokenText.data() - in reflow() 638 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 686 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 717 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 840 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 881 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 896 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/lib/Format/ |
H A D | BreakableToken.cpp | 292 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 295 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 593 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 635 tokenAt(LineIndex).TokenText.data() - in reflow() 638 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 686 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 717 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 840 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 881 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 896 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/lib/Format/ |
H A D | BreakableToken.cpp | 292 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 295 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 594 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 636 tokenAt(LineIndex).TokenText.data() - in reflow() 639 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 687 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 718 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 841 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 881 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 896 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/lib/Format/ |
H A D | BreakableToken.cpp | 325 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 328 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 626 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 668 tokenAt(LineIndex).TokenText.data() - in reflow() 671 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 719 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 750 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 898 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 939 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 954 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/lib/Format/ |
H A D | BreakableToken.cpp | 292 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 295 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 595 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 638 tokenAt(LineIndex).TokenText.data() - in reflow() 641 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 689 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 720 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 843 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 883 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 898 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/lib/Format/ |
H A D | BreakableToken.cpp | 325 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 328 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 626 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 668 tokenAt(LineIndex).TokenText.data() - in reflow() 671 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 719 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 750 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 898 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 939 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 954 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/lib/Format/ |
H A D | BreakableToken.cpp | 292 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 295 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 594 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 636 tokenAt(LineIndex).TokenText.data() - in reflow() 639 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 687 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 718 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 841 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 881 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 896 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang/lib/Format/ |
H A D | BreakableToken.cpp | 325 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 328 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 626 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 668 tokenAt(LineIndex).TokenText.data() - in reflow() 671 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 719 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 750 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 874 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 915 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 930 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang/lib/Format/ |
H A D | BreakableToken.cpp | 325 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 328 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 626 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 668 tokenAt(LineIndex).TokenText.data() - in reflow() 671 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 719 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 750 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 898 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 939 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 954 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/lang/clang-mesa/clang-13.0.1.src/lib/Format/ |
H A D | BreakableToken.cpp | 325 Text.data() - tokenAt(LineIndex).TokenText.data() + Split.first; in compressWhitespace() 328 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", "", in compressWhitespace() 626 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 668 tokenAt(LineIndex).TokenText.data() - in reflow() 671 tokenAt(LineIndex), WhitespaceOffsetInToken, in reflow() 719 tokenAt(LineIndex).TokenText.data() - in adaptStartOfLine() 750 !switchesFormatting(tokenAt(LineIndex)); in mayReflow() 898 tokenAt(LineIndex), BreakOffsetInToken, CharsToRemove, "", in insertBreak() 939 tokenAt(LineIndex - 1).TokenText.data(); in reflow() 954 Lines[LineIndex].data() - tokenAt(LineIndex).TokenText.data(); in reflow() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima4/map/ |
H A D | dungeon.cpp | 176 return tokenAt(g_context->_location->_coords); in currentToken() 183 DungeonToken Dungeon::tokenAt(MapCoords coords) { in tokenAt() function in Ultima::Ultima4::Dungeon 380 if (tokenAt(coords) == DUNGEON_LADDER_UP || in ladderUpAt() 381 tokenAt(coords) == DUNGEON_LADDER_UPDOWN) in ladderUpAt() 397 if (tokenAt(coords) == DUNGEON_LADDER_DOWN || in ladderDownAt() 398 tokenAt(coords) == DUNGEON_LADDER_UPDOWN) in ladderDownAt()
|
/dports/devel/liteide/liteide-x37.4/liteidex/src/3rdparty/cplusplus/ |
H A D | SimpleLexer.cpp | 114 int SimpleLexer::tokenAt(const QList<Token> &tokens, unsigned offset) in tokenAt() function in SimpleLexer 125 Token SimpleLexer::tokenAt(const QString &text, in tokenAt() function in SimpleLexer 138 const int tokenIdx = tokenAt(tokens, offset); in tokenAt()
|
H A D | SimpleLexer.h | 61 static int tokenAt(const QList<Token> &tokens, unsigned offset); 62 static Token tokenAt(const QString &text,
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/libs/cplusplus/ |
H A D | SimpleLexer.cpp | 114 int SimpleLexer::tokenAt(const Tokens &tokens, int utf16charsOffset) in tokenAt() function in SimpleLexer 125 Token SimpleLexer::tokenAt(const QString &text, in tokenAt() function in SimpleLexer 133 const int tokenIdx = tokenAt(tokens, utf16charsOffset); in tokenAt()
|