Home
last modified time | relevance | path

Searched refs:IsPositive (Results 1 – 16 of 16) sorted by relevance

/external/clang/lib/Basic/
DWarnings.cpp204 bool IsPositive = !Opt.startswith("no-"); in ProcessWarningOptions() local
205 if (!IsPositive) Opt = Opt.substr(3); in ProcessWarningOptions()
207 auto Severity = IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
221 EmitUnknownDiagWarning(Diags, Flavor, IsPositive ? "-R" : "-Rno-", in ProcessWarningOptions()
225 IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
/external/llvm-project/clang/lib/Basic/
DWarnings.cpp207 bool IsPositive = !Opt.startswith("no-"); in ProcessWarningOptions() local
208 if (!IsPositive) Opt = Opt.substr(3); in ProcessWarningOptions()
210 auto Severity = IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
224 EmitUnknownDiagWarning(Diags, Flavor, IsPositive ? "-R" : "-Rno-", in ProcessWarningOptions()
228 IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dgoogle-objc-function-naming.m21 // CHECK-FIXES: static bool IsPositive(int a) { return a > 0; }
26 // CHECK-FIXES: static bool IsPositive(int a) { return a > 0; }
31 // CHECK-FIXES: static bool IsPositive(int a) { return a > 0; }
33 static bool IsPositive(int a) { return a > 0; } function
/external/llvm-project/clang-tools-extra/clang-tidy/
DGlobList.cpp49 Item.IsPositive = !ConsumeNegativeIndicator(Globs); in GlobList()
60 return Item.IsPositive; in contains()
DGlobList.h41 bool IsPositive; member
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dgoogle-objc-function-naming.rst26 static bool IsPositive(int i) { return i > 0; }
/external/llvm-project/clang-tools-extra/clangd/
DConfigCompile.cpp351 const Located<std::string> &Arg, bool IsPositive) { in appendTidyCheckSpec()
360 if (!IsPositive) in appendTidyCheckSpec()
/external/eigen/unsupported/Eigen/src/EulerAngles/
DEulerSystem.h22 template <int Num, bool IsPositive = (Num > 0)>
/external/googletest/docs/
Dfaq.md369 bool IsPositive(int n) {
373 bool IsPositive(double x) {
381 EXPECT_PRED1(IsPositive, 5);
387 EXPECT_PRED1(static_cast<bool (*)(int)>(IsPositive), 5);
391 of the function pointer for the `int`-version of `IsPositive()`.)
/external/googletest/googletest/test/
Dgtest_unittest.cc827 static bool IsPositive(int n) { return n > 0; } in IsPositive() function
831 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works for an empty container. in TEST()
835 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works when no value satisfies. in TEST()
840 EXPECT_EQ(2, CountIf(v, IsPositive)); in TEST()
2427 bool IsPositive(double x) { in IsPositive() function
2445 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT in TEST()
2446 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT in TEST()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgtest_unittest.cc827 static bool IsPositive(int n) { return n > 0; } in IsPositive() function
831 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works for an empty container. in TEST()
835 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works when no value satisfies. in TEST()
840 EXPECT_EQ(2, CountIf(v, IsPositive)); in TEST()
2415 bool IsPositive(double x) { in IsPositive() function
2433 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT in TEST()
2434 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/
Dalgebraic_simplifier.cc94 bool IsPositive(const HloInstruction* hlo, in IsPositive() function
118 return IsPositive(hlo->operand(0), options); in IsPositive()
122 IsPositive(hlo->operand(0), options); in IsPositive()
143 return IsPositive(hlo, options); in IsNonNegative()
2870 IsPositive(b, options_)) { in HandleMultiply()
4322 IsPositive(rsqrt_operand, options_)) { in HandleRsqrt()
4332 IsPositive(rsqrt_operand->operand(1), options_)) { in HandleRsqrt()
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc2913 int IsPositive(double x) { in TEST() function
2941 Matcher<double> m = Truly(IsPositive); in TEST()
2978 Matcher<double> m = Truly(IsPositive); in TEST()
2995 EXPECT_FALSE(ExplainMatchResult(Truly(IsPositive), -1, &listener)); in TEST()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp27402 bool IsPositive[2] = {false, false}; in canReduceVMulWidth() local
27418 IsPositive[i] = true; in canReduceVMulWidth()
27423 IsPositive[i] = true; in canReduceVMulWidth()
27432 IsPositive[i] = false; in canReduceVMulWidth()
27438 IsPositive[i] = true; in canReduceVMulWidth()
27442 bool AllPositive = IsPositive[0] && IsPositive[1]; in canReduceVMulWidth()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp38896 bool IsPositive[2] = {false, false}; in canReduceVMulWidth() local
38901 IsPositive[i] = DAG.SignBitIsZero(Opd); in canReduceVMulWidth()
38904 bool AllPositive = IsPositive[0] && IsPositive[1]; in canReduceVMulWidth()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp41924 bool IsPositive[2] = {false, false}; in canReduceVMulWidth() local
41929 IsPositive[i] = DAG.SignBitIsZero(Opd); in canReduceVMulWidth()
41932 bool AllPositive = IsPositive[0] && IsPositive[1]; in canReduceVMulWidth()