Home
last modified time | relevance | path

Searched refs:any_of (Results 1 – 25 of 572) sorted by relevance

12345678910>>...23

/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/
Dany_of.pass.cpp34 return std::any_of(std::begin(ia), std::end(ia), test1()) in test_constexpr()
35 && !std::any_of(std::begin(ib), std::end(ib), test1()) in test_constexpr()
45 assert(std::any_of(input_iterator<const int*>(ia), in main()
47 assert(std::any_of(input_iterator<const int*>(ia), in main()
53 assert(std::any_of(input_iterator<const int*>(ia), in main()
55 assert(std::any_of(input_iterator<const int*>(ia), in main()
61 assert(std::any_of(input_iterator<const int*>(ia), in main()
63 assert(std::any_of(input_iterator<const int*>(ia), in main()
/external/llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/
Dany_of.pass.cpp33 return std::any_of(std::begin(ia), std::end(ia), test1()) in test_constexpr()
34 && !std::any_of(std::begin(ib), std::end(ib), test1()) in test_constexpr()
44 assert(std::any_of(input_iterator<const int*>(ia), in main()
46 assert(std::any_of(input_iterator<const int*>(ia), in main()
52 assert(std::any_of(input_iterator<const int*>(ia), in main()
54 assert(std::any_of(input_iterator<const int*>(ia), in main()
60 assert(std::any_of(input_iterator<const int*>(ia), in main()
62 assert(std::any_of(input_iterator<const int*>(ia), in main()
/external/llvm-project/clang/unittests/StaticAnalyzer/
DAnalyzerOptionsTest.cpp25 EXPECT_FALSE(llvm::any_of(AllCheckers, IsDebugChecker)); in TEST()
26 EXPECT_TRUE(llvm::any_of(AllCheckers, IsAlphaChecker)); in TEST()
29 EXPECT_FALSE(llvm::any_of(StableCheckers, IsDebugChecker)); in TEST()
30 EXPECT_FALSE(llvm::any_of(StableCheckers, IsAlphaChecker)); in TEST()
/external/mesa3d/src/gallium/frontends/clover/api/
Dprogram.cpp69 if (any_of([&](const device &dev) { in validate_build_common()
84 any_of(is_zero(), range(strings, count))) in clCreateProgramWithSource()
114 if (any_of([&](const device &dev) { in clCreateProgramWithBinary()
142 if (any_of(key_equals(CL_INVALID_VALUE), result)) in clCreateProgramWithBinary()
145 if (any_of(key_equals(CL_INVALID_BINARY), result)) in clCreateProgramWithBinary()
165 if (any_of([&](const device &dev) { in clCreateProgramWithBuiltInKernels()
216 } else if (any_of([&](const device &dev){ in clBuildProgram()
258 if (!any_of(key_equals(name), headers)) in clCompileProgram()
321 if (create_library && any_of([&](const program &prog) { in validate_link_devices()
336 else if (any_of(has_binary, progs)) in validate_link_devices()
[all …]
Dkernel.cpp249 any_of([&](const event &ev) { in validate_common()
254 if (any_of([](kernel::argument &arg) { in validate_common()
262 if (!any_of(type_equals(module::section::text_executable), m.secs)) in validate_common()
274 if (!d_grid_size || any_of(is_zero(), grid_size)) in validate_grid_size()
298 if (any_of(is_zero(), block_size) || in validate_block_size()
299 any_of(greater(), block_size, q.device().max_block_size())) in validate_block_size()
302 if (any_of(modulus(), grid_size, block_size)) in validate_block_size()
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dvalidators.cc35 std::any_of(elements.begin(), elements.end(), in TFIntListIs1XY1()
54 std::any_of(elements.begin(), elements.end(), in TFIntListIs1XY1()
75 std::any_of(elements.begin(), elements.end(), in TFIntListIs1XYZ1()
96 return !std::any_of(elements.begin(), elements.end(), [](Attribute e) { in TFIntListIsAllOnes()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMagicNumbersCheck.cpp40 return llvm::any_of(Result.Context->getParents(Node), in isUsedToInitializeAConstant()
52 return llvm::any_of(Result.Context->getParents(Node), in isUsedToDefineABitField()
138 return llvm::any_of( in isConstant()
147 llvm::any_of( in isConstant()
221 llvm::any_of(Result.Context->getParents(Literal), in isBitFieldWidth()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_types.cc102 if (llvm::any_of(func.getType().getInputs(), isIllegalType) || in isDynamicallyLegal()
103 llvm::any_of(func.getType().getResults(), isIllegalType)) in isDynamicallyLegal()
106 if (llvm::any_of(op->getOperandTypes(), isIllegalType) || in isDynamicallyLegal()
107 llvm::any_of(op->getResultTypes(), isIllegalType)) in isDynamicallyLegal()
/external/mesa3d/src/gallium/frontends/clover/core/
Dprogram.cpp108 if (any_of(type_equals(module::section::text_intermediate), binary.secs)) in binary_type()
110 else if (any_of(type_equals(module::section::text_library), binary.secs)) in binary_type()
112 else if (any_of(type_equals(module::section::text_executable), binary.secs)) in binary_type()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dreadability-use-anyofallof.rst6 Finds range-based for loops that can be replaced by a call to ``std::any_of`` or
7 ``std::all_of``. In C++ 20 mode, suggests ``std::ranges::any_of`` or
/external/openscreen/util/crypto/
Drandom_bytes_unittest.cc27 ASSERT_TRUE(std::any_of(bytes.begin(), bytes.end(), pred)); in TEST()
34 ASSERT_TRUE(std::any_of(bytes.begin(), bytes.end(), pred)); in TEST()
/external/llvm-project/lldb/source/Utility/
DTildeExpressionResolver.cpp36 assert(!llvm::any_of(Expr, [](char c) { return path::is_separator(c); })); in ResolveExact()
46 assert(!llvm::any_of(Expr, [](char c) { return path::is_separator(c); })); in ResolvePartial()
/external/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp215 llvm::any_of(Used, [](GlobalValue *V) { return V->hasLocalLinkage(); }); in moduleCanBeRenamedForThinLTO()
220 auto HasInlineAsm = llvm::any_of(M, [](const Function &F) { in moduleCanBeRenamedForThinLTO()
221 return llvm::any_of(instructions(F), [](const Instruction &I) { in moduleCanBeRenamedForThinLTO()
/external/llvm-project/lldb/unittests/TestingSupport/
DMockTildeExpressionResolver.cpp41 assert(!llvm::any_of( in ResolveExact()
64 assert(!llvm::any_of( in ResolvePartial()
/external/llvm-project/llvm/lib/CodeGen/
DMultiHazardRecognizer.cpp28 return std::any_of(Recognizers.begin(), Recognizers.end(), in atIssueLimit()
75 return std::any_of(Recognizers.begin(), Recognizers.end(), SPA); in ShouldPreferAnother()
/external/llvm-project/pstl/test/std/algorithms/alg.nonmodifying/
Dany_of.pass.cpp37 auto actualr = std::any_of(exec, begin, end, pred); in operator ()()
85 any_of(exec, iter, iter, non_const(is_even)); in operator ()()
/external/llvm-project/clang/include/clang/AST/
DOSLog.h128 return llvm::any_of( in hasPrivateItems()
133 return llvm::any_of(Items, [](const OSLogBufferItem &Item) { in hasNonScalarOrMask()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DMCInstrDescView.cpp201 return any_of(Operands, [](const Operand &Op) { in hasMemoryOperands()
236 return any_of(Variables, in hasTiedRegisters()
342 return any_of(Defs, HasImplicit) && any_of(Uses, HasImplicit); in hasImplicitAliasing()
348 return any_of(Configurations, [](const AliasingRegisterOperands &ARO) { in hasImplicitAliasing()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_function.cpp164 bool foundAliased = std::any_of( in ValidateFunctionParameter()
169 bool foundRestrict = std::any_of( in ValidateFunctionParameter()
196 bool foundAliased = std::any_of( in ValidateFunctionParameter()
201 bool foundRestrict = std::any_of( in ValidateFunctionParameter()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dvalidate_function.cpp164 bool foundAliased = std::any_of( in ValidateFunctionParameter()
169 bool foundRestrict = std::any_of( in ValidateFunctionParameter()
196 bool foundAliased = std::any_of( in ValidateFunctionParameter()
201 bool foundRestrict = std::any_of( in ValidateFunctionParameter()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_function.cpp164 bool foundAliased = std::any_of( in ValidateFunctionParameter()
169 bool foundRestrict = std::any_of( in ValidateFunctionParameter()
196 bool foundAliased = std::any_of( in ValidateFunctionParameter()
201 bool foundRestrict = std::any_of( in ValidateFunctionParameter()
/external/llvm/tools/llvm-pdbdump/
DLinePrinter.cpp33 if (!IncludeFilters.empty() && !any_of(IncludeFilters, match_pred)) in IsItemExcluded()
36 if (any_of(ExcludeFilters, match_pred)) in IsItemExcluded()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.cpp282 return !any_of(LIS.getInterval(DstReg), HasCall) && in shouldCoalesce()
283 !any_of(LIS.getInterval(SrcReg), HasCall); in shouldCoalesce()
291 return any_of(LIS.getInterval(LargeReg), HasCall) || in shouldCoalesce()
292 !any_of(LIS.getInterval(SmallReg), HasCall); in shouldCoalesce()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonRegisterInfo.cpp275 return !any_of(LIS.getInterval(DstReg), HasCall) && in shouldCoalesce()
276 !any_of(LIS.getInterval(SrcReg), HasCall); in shouldCoalesce()
284 return any_of(LIS.getInterval(LargeReg), HasCall) || in shouldCoalesce()
285 !any_of(LIS.getInterval(SmallReg), HasCall); in shouldCoalesce()
/external/openscreen/platform/base/
Dip_address.cc73 if (std::any_of(s.begin(), s.end(), [](char c) { return std::isspace(c); }) || in ParseV4()
77 std::any_of(std::begin(octets), std::end(octets), in ParseV4()
127 if (std::any_of(s.begin(), s.end(), [](char c) { return std::isspace(c); }) || in ParseV6()

12345678910>>...23