Home
last modified time | relevance | path

Searched refs:IsPositive (Results 1 – 11 of 11) 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/eigen/unsupported/Eigen/src/EulerAngles/
DEulerSystem.h22 template <int Num, bool IsPositive = (Num > 0)>
/external/googletest/googlemock/docs/
DDesignDoc.md275 MATCHER(IsPositive) { return arg > 0; }
278 you can use `IsPositive()` as a matcher that matches a value iff it is
/external/googletest/googletest/docs/
Dfaq.md370 bool IsPositive(int n) {
374 bool IsPositive(double x) {
382 EXPECT_PRED1(IsPositive, 5);
388 EXPECT_PRED1(static_cast<bool (*)(int)>(IsPositive), 5);
392 of the function pointer for the `int`-version of `IsPositive()`.)
/external/google-breakpad/src/testing/gtest/test/
Dgtest_unittest.cc691 static bool IsPositive(int n) { return n > 0; } in IsPositive() function
695 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works for an empty container. in TEST()
699 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works when no value satisfies. in TEST()
704 EXPECT_EQ(2, CountIf(v, IsPositive)); in TEST()
2486 bool IsPositive(double x) { in IsPositive() function
2504 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT in TEST()
2505 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT in TEST()
/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()
2428 bool IsPositive(double x) { in IsPositive() function
2446 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT in TEST()
2447 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT in TEST()
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc2267 int IsPositive(double x) { in IsPositive() function
2295 Matcher<double> m = Truly(IsPositive); in TEST()
2332 Matcher<double> m = Truly(IsPositive); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DIRBuilder.h2183 Value *IsPositive = variable
2188 Value *Mask = CreateSelect(IsPositive, PositiveMask,
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc2890 int IsPositive(double x) { in IsPositive() function
2918 Matcher<double> m = Truly(IsPositive); in TEST()
2955 Matcher<double> m = Truly(IsPositive); 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-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp33489 bool IsPositive[2] = {false, false}; in canReduceVMulWidth() local
33505 IsPositive[i] = true; in canReduceVMulWidth()
33510 IsPositive[i] = true; in canReduceVMulWidth()
33519 IsPositive[i] = false; in canReduceVMulWidth()
33525 IsPositive[i] = true; in canReduceVMulWidth()
33529 bool AllPositive = IsPositive[0] && IsPositive[1]; in canReduceVMulWidth()