Home
last modified time | relevance | path

Searched refs:IsPositive (Results 1 – 13 of 13) 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.md273 MATCHER(IsPositive) { return arg > 0; }
276 you can use `IsPositive()` as a matcher that matches a value iff it is
/external/protobuf/gtest/test/
Dgtest_unittest.cc557 static bool IsPositive(int n) { return n > 0; } in IsPositive() function
561 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works for an empty container. in TEST()
565 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works when no value satisfies. in TEST()
570 EXPECT_EQ(2, CountIf(v, IsPositive)); in TEST()
2319 bool IsPositive(double x) { in IsPositive() function
2337 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT in TEST()
2338 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT in TEST()
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest_unittest.cc764 static bool IsPositive(int n) { return n > 0; } in IsPositive() function
768 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works for an empty container. in TEST()
772 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works when no value satisfies. in TEST()
777 EXPECT_EQ(2, CountIf(v, IsPositive)); in TEST()
2341 bool IsPositive(double x) { in IsPositive() function
2359 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT in TEST()
2360 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT in TEST()
/external/googletest/googletest/test/
Dgtest_unittest.cc757 static bool IsPositive(int n) { return n > 0; } in IsPositive() function
761 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works for an empty container. in TEST()
765 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works when no value satisfies. in TEST()
770 EXPECT_EQ(2, CountIf(v, IsPositive)); in TEST()
2348 bool IsPositive(double x) { in IsPositive() function
2366 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT in TEST()
2367 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT in TEST()
/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/v8/testing/gtest/test/
Dgtest_unittest.cc757 static bool IsPositive(int n) { return n > 0; } in IsPositive() function
761 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works for an empty container. in TEST()
765 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works when no value satisfies. in TEST()
770 EXPECT_EQ(2, CountIf(v, IsPositive)); in TEST()
2348 bool IsPositive(double x) { in IsPositive() function
2366 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT in TEST()
2367 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT in TEST()
/external/googletest/googletest/docs/
DFAQ.md480 bool IsPositive(int n) {
483 bool IsPositive(double x) {
491 EXPECT_PRED1(IsPositive, 5);
497 EXPECT_PRED1(static_cast<bool (*)(int)>(IsPositive), 5);
501 type of the function pointer for the `int`-version of `IsPositive()`.)
/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/googletest/googlemock/test/
Dgmock-matchers_test.cc2440 int IsPositive(double x) { in IsPositive() function
2468 Matcher<double> m = Truly(IsPositive); in TEST()
2505 Matcher<double> m = Truly(IsPositive); in TEST()
/external/v8/testing/gmock/test/
Dgmock-matchers_test.cc2431 int IsPositive(double x) { in IsPositive() function
2459 Matcher<double> m = Truly(IsPositive); in TEST()
2496 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()