/external/clang/lib/Basic/ |
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()
|
/external/llvm-project/clang/lib/Basic/ |
D | Warnings.cpp | 207 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/ |
D | google-objc-function-naming.m | 21 // 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/ |
D | GlobList.cpp | 49 Item.IsPositive = !ConsumeNegativeIndicator(Globs); in GlobList() 60 return Item.IsPositive; in contains()
|
D | GlobList.h | 41 bool IsPositive; member
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | google-objc-function-naming.rst | 26 static bool IsPositive(int i) { return i > 0; }
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | ConfigCompile.cpp | 351 const Located<std::string> &Arg, bool IsPositive) { in appendTidyCheckSpec() 360 if (!IsPositive) in appendTidyCheckSpec()
|
/external/eigen/unsupported/Eigen/src/EulerAngles/ |
D | EulerSystem.h | 22 template <int Num, bool IsPositive = (Num > 0)>
|
/external/googletest/docs/ |
D | faq.md | 369 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/ |
D | gtest_unittest.cc | 827 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/ |
D | gtest_unittest.cc | 827 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/ |
D | algebraic_simplifier.cc | 94 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/ |
D | gmock-matchers_test.cc | 2913 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/ |
D | X86ISelLowering.cpp | 27402 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/ |
D | X86ISelLowering.cpp | 38896 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/ |
D | X86ISelLowering.cpp | 41924 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()
|