Home
last modified time | relevance | path

Searched refs:isInLineComment (Results 1 – 25 of 50) sorted by relevance

12

/dports/devel/covtool/covtool-2.1_10/tests/astyle/
H A DASFormatter.cpp247 isInLineComment = false; in init()
324 if (isInLineComment) in nextLine()
332 isInLineComment = false; in nextLine()
394 isInLineComment = true; in nextLine()
1216 if (shouldPadOperators && !isInComment && !isInLineComment in getNextChar()
1229 if (!isInComment && !isInLineComment && !isInQuote in getNextChar()
1238 && (!isWhiteSpace(peekNextChar()) || isInComment || isInLineComment)) in getNextChar()
1267 if (isInLineComment) in getNextChar()
1269 isInLineComment = false; in getNextChar()
H A DASBeautifier.cpp590 bool isInLineComment = false; in beautify() local
868 if (!(isInComment || isInLineComment) && line.COMPARE(i, 2, string("\\\\")) == 0) in beautify()
874 if (!(isInComment || isInLineComment) && ch=='\\') in beautify()
881 if (!(isInComment || isInLineComment) && (ch=='"' || ch=='\'')) in beautify()
898 if ( !(isInComment || isInLineComment) && line.COMPARE(i, 2, AS_OPEN_LINE_COMMENT) == 0 ) in beautify()
900 isInLineComment = true; in beautify()
905 else if ( !(isInComment || isInLineComment) && line.COMPARE(i, 2, AS_OPEN_COMMENT) == 0 ) in beautify()
912 else if ( (isInComment || isInLineComment) && line.COMPARE(i, 2, AS_CLOSE_COMMENT) == 0 ) in beautify()
920 if (isInComment||isInLineComment) in beautify()
H A DASFormatter.cpp.expect247 + isInLineComment = false;
324 - if (isInLineComment)
332 - isInLineComment = false;
394 - isInLineComment = true;
1216 - if (shouldPadOperators && !isInComment && !isInLineComment
1229 - if (!isInComment && !isInLineComment && !isInQuote
1238 && (!isWhiteSpace(peekNextChar()) || isInComment || isInLineComment))
1267 - if (isInLineComment)
1269 - isInLineComment = false;
H A DASBeautifier.cpp.expect590 + bool isInLineComment = false;
868 + if (!(isInComment || isInLineComment) && line.COMPARE(i, 2, string("\\\\")) == 0)
874 + if (!(isInComment || isInLineComment) && ch=='\\')
881 + if (!(isInComment || isInLineComment) && (ch=='"' || ch=='\''))
898 + if ( !(isInComment || isInLineComment) && line.COMPARE(i, 2, AS_OPEN_LINE_COMMENT) == 0 )
900 + isInLineComment = true;
905 + else if ( !(isInComment || isInLineComment) && line.COMPARE(i, 2, AS_OPEN_COMMENT) == 0 )
912 + else if ( (isInComment || isInLineComment) && line.COMPARE(i, 2, AS_CLOSE_COMMENT) == 0 )
920 + if (isInComment||isInLineComment)
H A Dtest.expect590 bool isInLineComment = false;
874 if (!(isInComment || isInLineComment) && ch=='\\')
900 isInLineComment = true;
920 if (isInComment||isInLineComment)
2169 isInLineComment = false;
2246 if (isInLineComment)
2254 isInLineComment = false;
2316 isInLineComment = true;
3189 if (isInLineComment)
3191 isInLineComment = false;
[all …]
/dports/devel/covtool/covtool-2.1_10/html/coverage_html/home/lboggs/covtool/tests/astyle/
H A DASFormatter.cpp247 + isInLineComment = false;
324 - if (isInLineComment)
332 - isInLineComment = false;
394 - isInLineComment = true;
1216 - if (shouldPadOperators && !isInComment && !isInLineComment
1229 - if (!isInComment && !isInLineComment && !isInQuote
1238 && (!isWhiteSpace(peekNextChar()) || isInComment || isInLineComment))
1267 - if (isInLineComment)
1269 - isInLineComment = false;
H A DASBeautifier.cpp590 + bool isInLineComment = false;
868 + if (!(isInComment || isInLineComment) && line.COMPARE(i, 2, string("\\\\")) == 0)
874 + if (!(isInComment || isInLineComment) && ch=='\\')
881 + if (!(isInComment || isInLineComment) && (ch=='"' || ch=='\''))
898 + if ( !(isInComment || isInLineComment) && line.COMPARE(i, 2, AS_OPEN_LINE_COMMENT) == 0 )
900 + isInLineComment = true;
905 + else if ( !(isInComment || isInLineComment) && line.COMPARE(i, 2, AS_OPEN_COMMENT) == 0 )
912 + else if ( (isInComment || isInLineComment) && line.COMPARE(i, 2, AS_CLOSE_COMMENT) == 0 )
920 + if (isInComment||isInLineComment)
/dports/devel/upp/upp/uppsrc/plugin/astyle/
H A DASFormatter.cpp240 isInLineComment = false; in init()
328 if (isInLineComment) in nextLine()
336 isInLineComment = false; in nextLine()
397 isInLineComment = true; in nextLine()
416 isInLineComment = false; in nextLine()
1226 if (!isInComment && !isInLineComment && !isInQuote in getNextChar()
1237 && (!isWhiteSpace(peekNextChar()) || isInComment || isInLineComment)) in getNextChar()
1266 if (isInLineComment) in getNextChar()
1268 isInLineComment = false; in getNextChar()
H A DASBeautifier.cpp660 bool isInLineComment = false; in beautify() local
981 if (!(isInComment || isInLineComment) && line.Mid(i, 2) == WString("\\\\")) in beautify()
987 if (!(isInComment || isInLineComment) && ch == '\\') in beautify()
994 if (!(isInComment || isInLineComment) && (ch == '"' || ch == '\'')) { in beautify()
1012 if (!(isInComment || isInLineComment) && line.Mid(i, 2) == WString("//")) in beautify()
1014 isInLineComment = true; in beautify()
1019 else if (!(isInComment || isInLineComment) && line.Mid(i, 2) == WString("/*")) in beautify()
1029 else if ((isInComment || isInLineComment) && line.Mid(i, 2) == WString("*/")) in beautify()
1038 if (isInComment || isInLineComment) in beautify()
/dports/textproc/py-pygments-25/Pygments-2.5.2/tests/examplefiles/
H A Dexample.cpp763 bool isInLineComment = false; in beautify() local
1043 if (!(isInComment || isInLineComment) && line.COMPARE(i, 2, string("\\\\")) == 0) in beautify()
1049 if (!(isInComment || isInLineComment) && ch=='\\') in beautify()
1056 if (!(isInComment || isInLineComment) && (ch=='"' || ch=='\'')) in beautify()
1073 if ( !(isInComment || isInLineComment) && line.COMPARE(i, 2, AS_OPEN_LINE_COMMENT) == 0 ) in beautify()
1075 isInLineComment = true; in beautify()
1080 else if ( !(isInComment || isInLineComment) && line.COMPARE(i, 2, AS_OPEN_COMMENT) == 0 ) in beautify()
1087 else if ( (isInComment || isInLineComment) && line.COMPARE(i, 2, AS_CLOSE_COMMENT) == 0 ) in beautify()
1095 if (isInComment||isInLineComment) in beautify()
/dports/textproc/py-pygments/Pygments-2.7.2/tests/examplefiles/
H A Dexample.cpp763 bool isInLineComment = false; in beautify() local
1043 if (!(isInComment || isInLineComment) && line.COMPARE(i, 2, string("\\\\")) == 0) in beautify()
1049 if (!(isInComment || isInLineComment) && ch=='\\') in beautify()
1056 if (!(isInComment || isInLineComment) && (ch=='"' || ch=='\'')) in beautify()
1073 if ( !(isInComment || isInLineComment) && line.COMPARE(i, 2, AS_OPEN_LINE_COMMENT) == 0 ) in beautify()
1075 isInLineComment = true; in beautify()
1080 else if ( !(isInComment || isInLineComment) && line.COMPARE(i, 2, AS_OPEN_COMMENT) == 0 ) in beautify()
1087 else if ( (isInComment || isInLineComment) && line.COMPARE(i, 2, AS_CLOSE_COMMENT) == 0 ) in beautify()
1095 if (isInComment||isInLineComment) in beautify()
/dports/devel/kdevelop-pg-qt/kdevelop-pg-qt-2.2.1/kdev-pg/
H A DASBeautifier.cpp724 bool isInLineComment = false; in beautify() local
1106 if (!(isInComment || isInLineComment) && (ch == '"' || ch == '\'')) in beautify()
1140 if (!(isInComment || isInLineComment) && line.compare(i, 2, "//") == 0) in beautify()
1142 isInLineComment = true; in beautify()
1147 else if (!(isInComment || isInLineComment) && line.compare(i, 2, "/*") == 0) in beautify()
1156 else if ((isInComment || isInLineComment) && line.compare(i, 2, "*/") == 0) in beautify()
1168 isInLineComment = true; in beautify()
1171 if (isInComment || isInLineComment) in beautify()
H A DASFormatter.cpp178 isInLineComment = false; in init()
458 if (isInLineComment) in nextLine()
506 isInLineComment = true; in nextLine()
1701 if (!isInComment && !isInLineComment && !isInQuote in getNextChar()
1711 && (!isWhiteSpace(peekNextChar()) || isInComment || isInLineComment)) in getNextChar()
3898 assert(isInLineComment); in formatLineCommentBody()
3914 isInLineComment = false; in formatLineCommentBody()
3932 isInLineComment = true; in formatLineCommentOpener()
4019 isInLineComment = false; in formatLineCommentOpener()
/dports/devel/kdevelop/kdevelop-21.12.3/plugins/astyle/3rdparty/libastyle/
H A DASBeautifier.cpp2524 bool isInLineComment = false; in parseCurrentLine() local
2581 if (!(isInComment || isInLineComment) in parseCurrentLine()
2641 if (!(isInComment || isInLineComment) && line.compare(i, 2, "//") == 0) in parseCurrentLine()
2650 isInLineComment = true; in parseCurrentLine()
2654 else if (!(isInComment || isInLineComment) && line.compare(i, 2, "/*") == 0) in parseCurrentLine()
2669 else if ((isInComment || isInLineComment) && line.compare(i, 2, "*/") == 0) in parseCurrentLine()
2692 isInLineComment = true; in parseCurrentLine()
2695 if (isInLineComment) in parseCurrentLine()
H A DASFormatter.cpp205 isInLineComment = false; in init()
553 if (isInLineComment) in nextLine()
613 isInLineComment = true; in nextLine()
2585 if (!isInComment && !isInLineComment && !isInQuote in getNextChar()
3520 assert(isInLineComment || isInComment); in isInSwitchStatement()
5569 assert(isInComment || isInLineComment); in checkForHeaderFollowingComment()
5918 assert(isInLineComment); in formatLineCommentBody()
5935 isInLineComment = false; in formatLineCommentBody()
5954 isInLineComment = true; in formatLineCommentOpener()
6065 isInLineComment = false; in formatLineCommentOpener()
[all …]
/dports/devel/astyle/astyle/src/
H A DASBeautifier.cpp2524 bool isInLineComment = false; in parseCurrentLine() local
2581 if (!(isInComment || isInLineComment) in parseCurrentLine()
2641 if (!(isInComment || isInLineComment) && line.compare(i, 2, "//") == 0) in parseCurrentLine()
2650 isInLineComment = true; in parseCurrentLine()
2654 else if (!(isInComment || isInLineComment) && line.compare(i, 2, "/*") == 0) in parseCurrentLine()
2669 else if ((isInComment || isInLineComment) && line.compare(i, 2, "*/") == 0) in parseCurrentLine()
2692 isInLineComment = true; in parseCurrentLine()
2695 if (isInLineComment) in parseCurrentLine()
/dports/devel/codeblocks/codeblocks-20.03/src/plugins/astyle/astyle/
H A DASBeautifier.cpp2524 bool isInLineComment = false; in parseCurrentLine() local
2581 if (!(isInComment || isInLineComment) in parseCurrentLine()
2641 if (!(isInComment || isInLineComment) && line.compare(i, 2, "//") == 0) in parseCurrentLine()
2650 isInLineComment = true; in parseCurrentLine()
2654 else if (!(isInComment || isInLineComment) && line.compare(i, 2, "/*") == 0) in parseCurrentLine()
2669 else if ((isInComment || isInLineComment) && line.compare(i, 2, "*/") == 0) in parseCurrentLine()
2692 isInLineComment = true; in parseCurrentLine()
2695 if (isInLineComment) in parseCurrentLine()
/dports/science/plumed/plumed2-2.7.2/astyle/src/
H A DASBeautifier.cpp2524 bool isInLineComment = false; in parseCurrentLine() local
2581 if (!(isInComment || isInLineComment) in parseCurrentLine()
2641 if (!(isInComment || isInLineComment) && line.compare(i, 2, "//") == 0) in parseCurrentLine()
2650 isInLineComment = true; in parseCurrentLine()
2654 else if (!(isInComment || isInLineComment) && line.compare(i, 2, "/*") == 0) in parseCurrentLine()
2669 else if ((isInComment || isInLineComment) && line.compare(i, 2, "*/") == 0) in parseCurrentLine()
2692 isInLineComment = true; in parseCurrentLine()
2695 if (isInLineComment) in parseCurrentLine()
/dports/devel/libastylej/astyle/src/
H A DASBeautifier.cpp2452 bool isInLineComment = false; in parseCurrentLine() local
2509 if (!(isInComment || isInLineComment) in parseCurrentLine()
2569 if (!(isInComment || isInLineComment) && line.compare(i, 2, "//") == 0) in parseCurrentLine()
2578 isInLineComment = true; in parseCurrentLine()
2582 else if (!(isInComment || isInLineComment) && line.compare(i, 2, "/*") == 0) in parseCurrentLine()
2597 else if ((isInComment || isInLineComment) && line.compare(i, 2, "*/") == 0) in parseCurrentLine()
2620 isInLineComment = true; in parseCurrentLine()
2623 if (isInLineComment) in parseCurrentLine()
/dports/devel/libastylej-arduino/astyle/src/
H A DASBeautifier.cpp2452 bool isInLineComment = false; in parseCurrentLine() local
2509 if (!(isInComment || isInLineComment) in parseCurrentLine()
2569 if (!(isInComment || isInLineComment) && line.compare(i, 2, "//") == 0) in parseCurrentLine()
2578 isInLineComment = true; in parseCurrentLine()
2582 else if (!(isInComment || isInLineComment) && line.compare(i, 2, "/*") == 0) in parseCurrentLine()
2597 else if ((isInComment || isInLineComment) && line.compare(i, 2, "*/") == 0) in parseCurrentLine()
2620 isInLineComment = true; in parseCurrentLine()
2623 if (isInLineComment) in parseCurrentLine()
/dports/graphics/openjpeg/openjpeg-2.4.0/thirdparty/astyle/
H A DASBeautifier.cpp2452 bool isInLineComment = false; in parseCurrentLine() local
2509 if (!(isInComment || isInLineComment) in parseCurrentLine()
2569 if (!(isInComment || isInLineComment) && line.compare(i, 2, "//") == 0) in parseCurrentLine()
2578 isInLineComment = true; in parseCurrentLine()
2582 else if (!(isInComment || isInLineComment) && line.compare(i, 2, "/*") == 0) in parseCurrentLine()
2597 else if ((isInComment || isInLineComment) && line.compare(i, 2, "*/") == 0) in parseCurrentLine()
2620 isInLineComment = true; in parseCurrentLine()
2623 if (isInLineComment) in parseCurrentLine()
/dports/textproc/highlight/highlight-4.1/src/core/astyle/
H A DASBeautifier.cpp2522 bool isInLineComment = false; in parseCurrentLine() local
2579 if (!(isInComment || isInLineComment) in parseCurrentLine()
2639 if (!(isInComment || isInLineComment) && line.compare(i, 2, "//") == 0) in parseCurrentLine()
2648 isInLineComment = true; in parseCurrentLine()
2652 if (!(isInComment || isInLineComment) && line.compare(i, 2, "/*") == 0) in parseCurrentLine()
2667 if ((isInComment || isInLineComment) && line.compare(i, 2, "*/") == 0) in parseCurrentLine()
2690 isInLineComment = true; in parseCurrentLine()
2693 if (isInLineComment) in parseCurrentLine()
/dports/graphics/geos/geos-3.9.1/tools/astyle/
H A DASBeautifier.cpp2524 bool isInLineComment = false; in parseCurrentLine() local
2581 if (!(isInComment || isInLineComment) in parseCurrentLine()
2641 if (!(isInComment || isInLineComment) && line.compare(i, 2, "//") == 0) in parseCurrentLine()
2650 isInLineComment = true; in parseCurrentLine()
2654 else if (!(isInComment || isInLineComment) && line.compare(i, 2, "/*") == 0) in parseCurrentLine()
2669 else if ((isInComment || isInLineComment) && line.compare(i, 2, "*/") == 0) in parseCurrentLine()
2692 isInLineComment = true; in parseCurrentLine()
2695 if (isInLineComment) in parseCurrentLine()
/dports/graphics/qgis/qgis-3.22.3/external/astyle/
H A DASBeautifier.cpp2524 bool isInLineComment = false; in parseCurrentLine() local
2581 if (!(isInComment || isInLineComment) in parseCurrentLine()
2641 if (!(isInComment || isInLineComment) && line.compare(i, 2, "//") == 0) in parseCurrentLine()
2650 isInLineComment = true; in parseCurrentLine()
2654 else if (!(isInComment || isInLineComment) && line.compare(i, 2, "/*") == 0) in parseCurrentLine()
2669 else if ((isInComment || isInLineComment) && line.compare(i, 2, "*/") == 0) in parseCurrentLine()
2692 isInLineComment = true; in parseCurrentLine()
2695 if (isInLineComment) in parseCurrentLine()
/dports/graphics/qgis-ltr/qgis-3.16.16/external/astyle/
H A DASBeautifier.cpp2524 bool isInLineComment = false; in parseCurrentLine() local
2581 if (!(isInComment || isInLineComment) in parseCurrentLine()
2641 if (!(isInComment || isInLineComment) && line.compare(i, 2, "//") == 0) in parseCurrentLine()
2650 isInLineComment = true; in parseCurrentLine()
2654 else if (!(isInComment || isInLineComment) && line.compare(i, 2, "/*") == 0) in parseCurrentLine()
2669 else if ((isInComment || isInLineComment) && line.compare(i, 2, "*/") == 0) in parseCurrentLine()
2692 isInLineComment = true; in parseCurrentLine()
2695 if (isInLineComment) in parseCurrentLine()

12