Home
last modified time | relevance | path

Searched refs:hasElse (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/dports/devel/doctorj/doctorj-5.1.2/net/sourceforge/pmd/ast/
H A DASTIfStatement.java14 private boolean hasElse; field in ASTIfStatement
17 this.hasElse = true; in setHasElse()
20 public boolean hasElse() { in hasElse() method in ASTIfStatement
21 return this.hasElse; in hasElse()
32 System.out.println(toString(prefix) + ":" + (hasElse ? "(has else)" : "")); in dump()
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/utils/funcexp/
H A Dfunc_case.cpp59 uint64_t hasElse = (parm.size() - 1) % 2; // if 1, then ELSE exist in simple_case_cmp() local
60 uint64_t whereCount = hasElse ? (parm.size() - 2) / 2 : (parm.size() - 1) / 2; in simple_case_cmp()
300 if (!foundIt && !hasElse) in simple_case_cmp()
302 else if (!foundIt && hasElse && !isNull) in simple_case_cmp()
306 else if (isNull && hasElse) in simple_case_cmp()
328 uint64_t hasElse = parm.size() % 2; // if 1, then ELSE exist in searched_case_cmp() local
329 uint64_t whereCount = hasElse ? (parm.size() - 1) / 2 : parm.size() / 2; in searched_case_cmp()
344 if (!foundIt && !hasElse) in searched_case_cmp()
346 else if (!foundIt && hasElse) in searched_case_cmp()
365 bool hasElse = (((fp.size()-simple) % 2) != 0); // if 1, then ELSE exist in caseOperationType() local
[all …]
H A Dfunc_decode_oracle.cpp52 uint64_t hasElse = (parm.size() - 1) % 2; // if 1, then ELSE exist in simple_case_cmp() local
53 uint64_t whereCount = hasElse ? (parm.size() - 2) / 2 : (parm.size() - 1) / 2; in simple_case_cmp()
293 if (!foundIt && !hasElse) in simple_case_cmp()
295 else if (!foundIt && hasElse && !isNull) in simple_case_cmp()
299 else if (isNull && hasElse) in simple_case_cmp()
320 bool hasElse = (((fp.size()-simple) % 2) != 0); // if 1, then ELSE exist in caseOperationType() local
322 uint64_t parmCount = hasElse ? (fp.size() - 2) : (fp.size() - 1); in caseOperationType()
323 uint64_t whereCount = hasElse ? (fp.size() - 2 + simple) / 2 : (fp.size() - 1) / 2 + simple; in caseOperationType()
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/utils/funcexp/
H A Dfunc_case.cpp59 uint64_t hasElse = (parm.size() - 1) % 2; // if 1, then ELSE exist in simple_case_cmp() local
60 uint64_t whereCount = hasElse ? (parm.size() - 2) / 2 : (parm.size() - 1) / 2; in simple_case_cmp()
300 if (!foundIt && !hasElse) in simple_case_cmp()
302 else if (!foundIt && hasElse && !isNull) in simple_case_cmp()
306 else if (isNull && hasElse) in simple_case_cmp()
328 uint64_t hasElse = parm.size() % 2; // if 1, then ELSE exist in searched_case_cmp() local
329 uint64_t whereCount = hasElse ? (parm.size() - 1) / 2 : parm.size() / 2; in searched_case_cmp()
344 if (!foundIt && !hasElse) in searched_case_cmp()
346 else if (!foundIt && hasElse) in searched_case_cmp()
365 bool hasElse = (((fp.size()-simple) % 2) != 0); // if 1, then ELSE exist in caseOperationType() local
[all …]
H A Dfunc_decode_oracle.cpp52 uint64_t hasElse = (parm.size() - 1) % 2; // if 1, then ELSE exist in simple_case_cmp() local
53 uint64_t whereCount = hasElse ? (parm.size() - 2) / 2 : (parm.size() - 1) / 2; in simple_case_cmp()
293 if (!foundIt && !hasElse) in simple_case_cmp()
295 else if (!foundIt && hasElse && !isNull) in simple_case_cmp()
299 else if (isNull && hasElse) in simple_case_cmp()
320 bool hasElse = (((fp.size()-simple) % 2) != 0); // if 1, then ELSE exist in caseOperationType() local
322 uint64_t parmCount = hasElse ? (fp.size() - 2) : (fp.size() - 1); in caseOperationType()
323 uint64_t whereCount = hasElse ? (fp.size() - 2 + simple) / 2 : (fp.size() - 1) / 2 + simple; in caseOperationType()
/dports/math/scilab/scilab-6.1.1/scilab/modules/ast/includes/exps/
H A Difexp.hxx70 if (hasElse()) in clone()
131 bool hasElse() in hasElse() function in ast::IfExp
136 bool hasElse() const in hasElse() function in ast::IfExp
/dports/math/scilab/scilab-6.1.1/scilab/modules/ast/src/cpp/analysis/
H A DVisitIfExp.cpp50 else if (e.hasElse()) in visit()
146 else if (e.hasElse()) in visit()
168 dm.addBlock(Block::NORMAL, e.hasElse() ? &e.getElse() : nullptr); in visit()
169 if (e.hasElse()) in visit()
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/tdewolff/minify/v2/js/
H A Dstmtlist.go11 hasElse := !m.isEmptyStmt(ifStmt.Else)
12 if unaryExpr, ok := ifStmt.Cond.(*js.UnaryExpr); ok && unaryExpr.Op == js.NotToken && hasElse {
15 hasIf, hasElse = hasElse, hasIf
17 if !hasIf && !hasElse {
19 } else if hasIf && !hasElse {
31 } else if !hasIf && hasElse {
38 } else if hasIf && hasElse {
/dports/textproc/minify/minify-2.9.22/js/
H A Dstmtlist.go11 hasElse := !m.isEmptyStmt(ifStmt.Else)
12 if unaryExpr, ok := ifStmt.Cond.(*js.UnaryExpr); ok && unaryExpr.Op == js.NotToken && hasElse {
15 hasIf, hasElse = hasElse, hasIf
17 if !hasIf && !hasElse {
19 } else if hasIf && !hasElse {
31 } else if !hasIf && hasElse {
38 } else if hasIf && hasElse {
/dports/www/miniflux/v2-2.0.35/vendor/github.com/tdewolff/minify/v2/js/
H A Dstmtlist.go11 hasElse := !m.isEmptyStmt(ifStmt.Else)
12 if unaryExpr, ok := ifStmt.Cond.(*js.UnaryExpr); ok && unaryExpr.Op == js.NotToken && hasElse {
15 hasIf, hasElse = hasElse, hasIf
17 if !hasIf && !hasElse {
19 } else if hasIf && !hasElse {
31 } else if !hasIf && hasElse {
38 } else if hasIf && hasElse {
/dports/devel/cppcheck-gui/cppcheck-2.6.3/lib/
H A Dreverseanalyzer.cpp209 const bool hasElse = Token::simpleMatch(tok->link()->tokAt(-2), "} else {"); in traverse() local
210 if (hasElse) { in traverse()
218 if (hasElse) { in traverse()
224 analyzer->assume(condTok, hasElse); in traverse()
226 analyzer->assume(condTok, !hasElse); in traverse()
/dports/devel/cppcheck/cppcheck-2.6.3/lib/
H A Dreverseanalyzer.cpp209 const bool hasElse = Token::simpleMatch(tok->link()->tokAt(-2), "} else {"); in traverse() local
210 if (hasElse) { in traverse()
218 if (hasElse) { in traverse()
224 analyzer->assume(condTok, hasElse); in traverse()
226 analyzer->assume(condTok, !hasElse); in traverse()
/dports/lang/spidermonkey78/firefox-78.9.0/build/build-clang/
H A Dbug-1606630-if_constexpr.patch25 - Finder->addMatcher(ifStmt(hasElse(stmt())).bind("if"), this);
27 + ifStmt(allOf(hasElse(stmt()),
H A Dbug-1605181-isConstexpr.patch21 - unless(hasElse(stmt()))),
22 + unless(hasElse(stmt())),
/dports/www/firefox/firefox-99.0/docs/code-quality/static-analysis/writing-new/
H A Dadvanced-check-features.rst34 hasElse(
36 unless(hasElse(anything())),
66 hasElse(
68 unless(hasElse(anything())),
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/lib/Dialect/Affine/Utils/
H A DUtils.cpp30 assert(ifOp.hasElse() && "else block expected"); in promoteIfBlock()
118 if (!ifCloneInElse.hasElse()) in hoistAffineIfOp()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/lib/Dialect/Affine/Utils/
H A DUtils.cpp30 assert(ifOp.hasElse() && "else block expected"); in promoteIfBlock()
118 if (!ifCloneInElse.hasElse()) in hoistAffineIfOp()
/dports/math/scilab/scilab-6.1.1/scilab/modules/ast/includes/ast/
H A Dserializervisitor.hxx423 bool hasElse = e.hasElse(); in visit() local
424 add_bool(hasElse); in visit()
427 if (hasElse) in visit()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clang-tidy/bugprone/
H A DBranchCloneCheck.cpp65 hasParent(stmt(unless(ifStmt(hasElse(equalsBoundNode("if")))))), in registerMatchers()
66 hasElse(stmt().bind("else"))), in registerMatchers()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DBranchCloneCheck.cpp64 hasParent(stmt(unless(ifStmt(hasElse(equalsBoundNode("if")))))), in registerMatchers()
65 hasElse(stmt().bind("else"))), in registerMatchers()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/bugprone/
H A DBranchCloneCheck.cpp65 hasParent(stmt(unless(ifStmt(hasElse(equalsBoundNode("if")))))), in registerMatchers()
66 hasElse(stmt().bind("else"))), in registerMatchers()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/bugprone/
H A DBranchCloneCheck.cpp65 hasParent(stmt(unless(ifStmt(hasElse(equalsBoundNode("if")))))), in registerMatchers()
66 hasElse(stmt().bind("else"))), in registerMatchers()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clang-tidy/bugprone/
H A DBranchCloneCheck.cpp65 hasParent(stmt(unless(ifStmt(hasElse(equalsBoundNode("if")))))), in registerMatchers()
66 hasElse(stmt().bind("else"))), in registerMatchers()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clang-tidy/bugprone/
H A DBranchCloneCheck.cpp65 hasParent(stmt(unless(ifStmt(hasElse(equalsBoundNode("if")))))), in registerMatchers()
66 hasElse(stmt().bind("else"))), in registerMatchers()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/clang-tidy/bugprone/
H A DBranchCloneCheck.cpp63 hasParent(stmt(unless(ifStmt(hasElse(equalsBoundNode("if")))))), in registerMatchers()
64 hasElse(stmt().bind("else"))), in registerMatchers()

12345678910>>...16