Searched refs:IsPositive (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | Warnings.cpp | 204 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()
|
| /freebsd-12.1/contrib/googletest/googlemock/docs/ |
| H A D | DesignDoc.md | 273 MATCHER(IsPositive) { return arg > 0; } 276 you can use `IsPositive()` as a matcher that matches a value iff it is
|
| /freebsd-12.1/contrib/googletest/googletest/docs/ |
| H A D | faq.md | 370 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()`.)
|
| /freebsd-12.1/contrib/googletest/googletest/test/ |
| H A D | gtest_unittest.cc | 779 static bool IsPositive(int n) { return n > 0; } in IsPositive() function 783 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works for an empty container. in TEST() 787 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works when no value satisfies. in TEST() 792 EXPECT_EQ(2, CountIf(v, IsPositive)); in TEST() 2369 bool IsPositive(double x) { in IsPositive() function 2387 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT in TEST() 2388 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT in TEST()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 2315 Value *IsPositive = variable 2320 Value *Mask = CreateSelect(IsPositive, PositiveMask,
|
| /freebsd-12.1/contrib/googletest/googlemock/test/ |
| H A D | gmock-matchers_test.cc | 2918 int IsPositive(double x) { in IsPositive() function 2946 Matcher<double> m = Truly(IsPositive); in TEST() 2983 Matcher<double> m = Truly(IsPositive); in TEST()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 34992 bool IsPositive[2] = {false, false}; in canReduceVMulWidth() local 34997 IsPositive[i] = DAG.SignBitIsZero(Opd); in canReduceVMulWidth() 35000 bool AllPositive = IsPositive[0] && IsPositive[1]; in canReduceVMulWidth()
|