Home
last modified time | relevance | path

Searched refs:isPositive (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/lib/Basic/
DWarnings.cpp99 bool isPositive = true; in ProcessWarningOptions() local
101 isPositive = false; in ProcessWarningOptions()
108 isPositive ? diag::Severity::Warning : diag::Severity::Ignored; in ProcessWarningOptions()
114 Diags.setSuppressSystemWarnings(!isPositive); in ProcessWarningOptions()
122 if (isPositive) { in ProcessWarningOptions()
148 Diags.setWarningsAsErrors(isPositive); in ProcessWarningOptions()
154 Diags.setDiagnosticGroupWarningAsError(Specifier, isPositive); in ProcessWarningOptions()
176 Diags.setErrorsAsFatal(isPositive); in ProcessWarningOptions()
182 Diags.setDiagnosticGroupErrorAsFatal(Specifier, isPositive); in ProcessWarningOptions()
191 EmitUnknownDiagWarning(Diags, Flavor, isPositive ? "-W" : "-Wno-", in ProcessWarningOptions()
/external/llvm-project/clang/lib/Basic/
DWarnings.cpp99 bool isPositive = true; in ProcessWarningOptions() local
101 isPositive = false; in ProcessWarningOptions()
108 isPositive ? diag::Severity::Warning : diag::Severity::Ignored; in ProcessWarningOptions()
114 Diags.setSuppressSystemWarnings(!isPositive); in ProcessWarningOptions()
122 if (isPositive) { in ProcessWarningOptions()
151 Diags.setWarningsAsErrors(isPositive); in ProcessWarningOptions()
157 Diags.setDiagnosticGroupWarningAsError(Specifier, isPositive); in ProcessWarningOptions()
179 Diags.setErrorsAsFatal(isPositive); in ProcessWarningOptions()
185 Diags.setDiagnosticGroupErrorAsFatal(Specifier, isPositive); in ProcessWarningOptions()
194 EmitUnknownDiagWarning(Diags, Flavor, isPositive ? "-W" : "-Wno-", in ProcessWarningOptions()
/external/llvm-project/clang/test/Analysis/
Dtest-after-div-zero.c137 int getValue(bool *isPositive);
140 bool isPositive; in foo() local
141 int x = getValue(&isPositive); in foo()
142 if (isPositive) { in foo()
/external/clang/test/Analysis/
Dtest-after-div-zero.c137 int getValue(bool *isPositive);
140 bool isPositive; in foo() local
141 int x = getValue(&isPositive); in foo()
142 if (isPositive) { in foo()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/javadoc/
DJavadocLexer.java173 if (braceDepth.isPositive()) { in consumeToken()
242 return preDepth.isPositive() || tableDepth.isPositive() || codeDepth.isPositive(); in preserveExistingFormatting()
246 if (braceDepth.isPositive() in checkMatchingTags()
247 || preDepth.isPositive() in checkMatchingTags()
248 || tableDepth.isPositive() in checkMatchingTags()
249 || codeDepth.isPositive()) { in checkMatchingTags()
DNestingCounter.java41 boolean isPositive() { in isPositive() method in NestingCounter
DJavadocWriter.java297 && (postWriteModifiedContinuingListCount.isPositive() || continuingFooterTag)) { in writeToken()
/external/eigen/test/
Dcholesky.cpp375 VERIFY(!ldlt.isPositive()); in cholesky_definiteness()
382 VERIFY(!ldlt.isPositive()); in cholesky_definiteness()
389 VERIFY(ldlt.isPositive()); in cholesky_definiteness()
396 VERIFY(ldlt.isPositive()); in cholesky_definiteness()
403 VERIFY(!ldlt.isPositive()); in cholesky_definiteness()
471 VERIFY_RAISES_ASSERT(ldlt.isPositive()) in cholesky_verify_assert()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dgoogle-objc-function-naming.m23 static bool isPositive(int a) { return a > 0; } function
24 // CHECK-MESSAGES: :[[@LINE-1]]:13: warning: static function named 'isPositive'
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DSlicingCheck.cpp128 if (StateSize.isPositive()) { in check()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckNumbers.java207 boolean isPositive = true; in handleCheck()
209 if (!isPositive in handleCheck()
239 isPositive = false; in handleCheck()
/external/llvm-project/clang/lib/AST/Interp/
DBoolean.h72 constexpr static bool isPositive() { return !isNegative(); } in isPositive() function
DIntegral.h132 bool isPositive() const { return !isNegative(); }
DInterp.h758 if (!Add && Offset.isPositive() && Index < Offset) in OffsetHelper()
763 if (Add && Offset.isPositive() && Offset > MaxOffset) in OffsetHelper()
/external/llvm-project/clang/include/clang/AST/
DCharUnits.h122 bool isPositive() const { return Quantity > 0; } in isPositive() function
/external/clang/include/clang/AST/
DCharUnits.h122 bool isPositive() const { return Quantity > 0; } in isPositive() function
/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/
DConvertStandardToSPIRV.cpp120 Value isPositive; in emulateSignedRemainder() local
122 isPositive = builder.create<spirv::IEqualOp>(loc, lhs, lhsAbs); in emulateSignedRemainder()
124 isPositive = builder.create<spirv::IEqualOp>(loc, rhs, rhsAbs); in emulateSignedRemainder()
126 return builder.create<spirv::SelectOp>(loc, type, isPositive, abs, absNegate); in emulateSignedRemainder()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java235 private GMTOffsetPatternType(String defaultPattern, String required, boolean isPositive) { in GMTOffsetPatternType() argument
238 _isPositive = isPositive; in GMTOffsetPatternType()
249 private boolean isPositive() { in isPositive() method in TimeZoneFormat.GMTOffsetPatternType
2262 sign = gmtPatType.isPositive() ? 1 : -1;
2283 tmpSign = gmtPatType.isPositive() ? 1 : -1;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java263 private GMTOffsetPatternType(String defaultPattern, String required, boolean isPositive) { in GMTOffsetPatternType() argument
266 _isPositive = isPositive; in GMTOffsetPatternType()
277 private boolean isPositive() { in isPositive() method in TimeZoneFormat.GMTOffsetPatternType
2332 sign = gmtPatType.isPositive() ? 1 : -1;
2353 tmpSign = gmtPatType.isPositive() ? 1 : -1;
/external/eigen/doc/
DTemplateKeyword.dox22 bool isPositive(T x)
/external/eigen/Eigen/src/Cholesky/
DLDLT.h170 inline bool isPositive() const in isPositive() function
/external/llvm/test/CodeGen/X86/
Dvector-pcmp.ll7 ; Lower common integer comparisons such as 'isPositive' efficiently:
/external/llvm-project/llvm/test/CodeGen/X86/
Dvector-pcmp.ll7 ; Lower common integer comparisons such as 'isPositive' efficiently:
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp1307 assert(Adjustment.isPositive()); in adjustThisArgumentForVirtualFunctionCall()
1351 assert(StaticOffset.isPositive()); in adjustThisArgumentForVirtualFunctionCall()
1413 assert(Adjustment.isPositive()); in adjustThisParameterInVirtualFunctionPrologue()
/external/llvm-project/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp1421 assert(Adjustment.isPositive()); in adjustThisArgumentForVirtualFunctionCall()
1464 assert(StaticOffset.isPositive()); in adjustThisArgumentForVirtualFunctionCall()
1534 assert(Adjustment.isPositive()); in EmitInstanceFunctionProlog()

12