Home
last modified time | relevance | path

Searched refs:Predicate (Results 1 – 25 of 1251) sorted by relevance

12345678910>>...51

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMPredicates.td9 def HasV4T : Predicate<"Subtarget->hasV4TOps()">,
11 def NoV4T : Predicate<"!Subtarget->hasV4TOps()">;
12 def HasV5T : Predicate<"Subtarget->hasV5TOps()">,
14 def NoV5T : Predicate<"!Subtarget->hasV5TOps()">;
15 def HasV5TE : Predicate<"Subtarget->hasV5TEOps()">,
17 def HasV6 : Predicate<"Subtarget->hasV6Ops()">,
19 def NoV6 : Predicate<"!Subtarget->hasV6Ops()">;
20 def HasV6M : Predicate<"Subtarget->hasV6MOps()">,
23 def HasV8MBaseline : Predicate<"Subtarget->hasV8MBaselineOps()">,
26 def HasV8MMainline : Predicate<"Subtarget->hasV8MMainlineOps()">,
[all …]
/external/llvm-project/llvm/lib/Target/ARM/
DARMPredicates.td9 def HasV4T : Predicate<"Subtarget->hasV4TOps()">,
11 def NoV4T : Predicate<"!Subtarget->hasV4TOps()">;
12 def HasV5T : Predicate<"Subtarget->hasV5TOps()">,
14 def NoV5T : Predicate<"!Subtarget->hasV5TOps()">;
15 def HasV5TE : Predicate<"Subtarget->hasV5TEOps()">,
17 def HasV6 : Predicate<"Subtarget->hasV6Ops()">,
19 def NoV6 : Predicate<"!Subtarget->hasV6Ops()">;
20 def HasV6M : Predicate<"Subtarget->hasV6MOps()">,
23 def HasV8MBaseline : Predicate<"Subtarget->hasV8MBaselineOps()">,
26 def HasV8MMainline : Predicate<"Subtarget->hasV8MMainlineOps()">,
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Ddeadness_analysis.cc122 class Predicate { class
132 virtual absl::Span<Predicate* const> GetOperands() const = 0;
135 virtual ~Predicate() {} in ~Predicate()
141 static void Visit(Predicate* p, const FunctionTy& func);
144 explicit Predicate(int64 id) : id_(id) {} in Predicate() function in tensorflow::__anonaeebdbfa0111::Predicate
149 TF_DISALLOW_COPY_AND_ASSIGN(Predicate);
153 class AndPredicate : public Predicate {
155 explicit AndPredicate(int64 id, std::vector<Predicate*> operands) in AndPredicate()
156 : Predicate(id), operands_(std::move(operands)) {} in AndPredicate()
166 [](Predicate* pred) { return pred->ToString(); }); in ToString()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DObjectMatcherFactory.java6 import java.util.function.Predicate;
26 public static Predicate<String> createRegexMatcher(String pattern) { in createRegexMatcher()
37 public static Predicate<String> createRegexMatcher(String pattern, in createRegexMatcher()
48 public static Predicate<String> createCollectionMatcher( in createCollectionMatcher()
53 public static Predicate<String> createOrMatcher( in createOrMatcher()
54 Predicate<String> m1, Predicate<String> m2) { in createOrMatcher()
58 public static Predicate<String> createListMatcher( in createListMatcher()
59 Predicate<String> matcher) { in createListMatcher()
68 public static Predicate<String> createDefaultingMatcher(boolean retVal) { in createDefaultingMatcher()
81 public static Predicate<String> createNullHandlingMatcher( in createNullHandlingMatcher()
[all …]
/external/guava/android/guava/src/com/google/common/base/
DPredicates.java50 public static <T> Predicate<T> alwaysTrue() { in alwaysTrue()
56 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse()
65 public static <T> Predicate<T> isNull() { in isNull()
74 public static <T> Predicate<T> notNull() { in notNull()
82 public static <T> Predicate<T> not(Predicate<T> predicate) { in not()
93 public static <T> Predicate<T> and(Iterable<? extends Predicate<? super T>> components) { in and()
105 public static <T> Predicate<T> and(Predicate<? super T>... components) { in and()
114 public static <T> Predicate<T> and(Predicate<? super T> first, Predicate<? super T> second) { in and()
125 public static <T> Predicate<T> or(Iterable<? extends Predicate<? super T>> components) { in or()
137 public static <T> Predicate<T> or(Predicate<? super T>... components) { in or()
[all …]
/external/guava/guava/src/com/google/common/base/
DPredicates.java50 public static <T> Predicate<T> alwaysTrue() { in alwaysTrue()
56 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse()
65 public static <T> Predicate<T> isNull() { in isNull()
74 public static <T> Predicate<T> notNull() { in notNull()
82 public static <T> Predicate<T> not(Predicate<T> predicate) { in not()
93 public static <T> Predicate<T> and(Iterable<? extends Predicate<? super T>> components) { in and()
105 public static <T> Predicate<T> and(Predicate<? super T>... components) { in and()
114 public static <T> Predicate<T> and(Predicate<? super T> first, Predicate<? super T> second) { in and()
125 public static <T> Predicate<T> or(Iterable<? extends Predicate<? super T>> components) { in or()
137 public static <T> Predicate<T> or(Predicate<? super T>... components) { in or()
[all …]
/external/webrtc/sdk/android/api/org/webrtc/
DPredicate.java16 public interface Predicate<T> { interface
34 default Predicate<T> or(Predicate<? super T> other) { in or()
35 return new Predicate<T>() { in or()
38 return Predicate.this.test(arg) || other.test(arg); in or()
51 default Predicate<T> and(Predicate<? super T> other) {
52 return new Predicate<T>() {
55 return Predicate.this.test(arg) && other.test(arg);
65 default Predicate<T> negate() {
66 return new Predicate<T>() {
69 return !Predicate.this.test(arg);
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java47 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue();
48 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse();
49 private static final Predicate<Integer> NEVER_REACHED =
50 new Predicate<Integer>() {
58 static class IsOdd implements Predicate<Integer>, Serializable {
279 Collection<Predicate<Integer>> empty = Arrays.asList(); in testAnd_applyIterable()
306 Predicate[] array = {Predicates.alwaysFalse()}; in testAnd_arrayDefensivelyCopied()
307 Predicate<Object> predicate = Predicates.and(array); in testAnd_arrayDefensivelyCopied()
314 List<Predicate<Object>> list = newArrayList(); in testAnd_listDefensivelyCopied()
315 Predicate<Object> predicate = Predicates.and(list); in testAnd_listDefensivelyCopied()
[all …]
/external/guava/android/guava-tests/test/com/google/common/base/
DPredicatesTest.java47 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue();
48 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse();
49 private static final Predicate<Integer> NEVER_REACHED =
50 new Predicate<Integer>() {
58 static class IsOdd implements Predicate<Integer>, Serializable {
279 Collection<Predicate<Integer>> empty = Arrays.asList(); in testAnd_applyIterable()
306 Predicate[] array = {Predicates.alwaysFalse()}; in testAnd_arrayDefensivelyCopied()
307 Predicate<Object> predicate = Predicates.and(array); in testAnd_arrayDefensivelyCopied()
314 List<Predicate<Object>> list = newArrayList(); in testAnd_listDefensivelyCopied()
315 Predicate<Object> predicate = Predicates.and(list); in testAnd_listDefensivelyCopied()
[all …]
/external/swiftshader/third_party/marl/include/marl/
Dmutex.h45 template <typename Predicate>
47 Predicate&& p) REQUIRES(this) { in wait_locked()
49 cv.wait(lock, std::forward<Predicate>(p)); in wait_locked()
54 template <typename Predicate, typename Time>
57 Predicate&& p) REQUIRES(this) { in wait_until_locked()
60 std::forward<Predicate>(p)); in wait_until_locked()
79 template <typename Predicate>
80 inline void wait(std::condition_variable& cv, Predicate&& p) { in wait()
81 cv.wait(_, std::forward<Predicate>(p)); in wait()
85 template <typename Predicate, typename Time>
[all …]
Dconditionvariable.h50 template <typename Predicate>
51 MARL_NO_EXPORT inline void wait(marl::lock& lock, Predicate&& pred);
57 template <typename Rep, typename Period, typename Predicate>
61 Predicate&& pred);
67 template <typename Clock, typename Duration, typename Predicate>
71 Predicate&& pred);
120 template <typename Predicate>
121 void ConditionVariable::wait(marl::lock& lock, Predicate&& pred) { in wait()
148 template <typename Rep, typename Period, typename Predicate>
152 Predicate&& pred) { in wait_for()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCPredicates.h26 enum Predicate { enum
70 Predicate InvertPredicate(Predicate Opcode);
74 Predicate getSwappedPredicate(Predicate Opcode);
77 inline unsigned getPredicateCondition(Predicate Opcode) { in getPredicateCondition()
82 inline unsigned getPredicateHint(Predicate Opcode) { in getPredicateHint()
87 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate()
88 return (Predicate)((Condition & ~BR_HINT_MASK) | in getPredicate()
/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCPredicates.h26 enum Predicate { enum
70 Predicate InvertPredicate(Predicate Opcode);
74 Predicate getSwappedPredicate(Predicate Opcode);
77 inline unsigned getPredicateCondition(Predicate Opcode) { in getPredicateCondition()
82 inline unsigned getPredicateHint(Predicate Opcode) { in getPredicateHint()
87 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate()
88 return (Predicate)((Condition & ~BR_HINT_MASK) | in getPredicate()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.h34 struct Predicate struct
56 Predicate::Func splitMatrixColumns = Predicate::False; argument
59 Predicate::Func inlineArray = Predicate::False;
62 Predicate::Func inlineStruct = Predicate::False;
65 Predicate::Func recurseStruct = Predicate::False;
68 Predicate::Func promoteBoolToUint = Predicate::False;
/external/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/
Dremove_if.pass.cpp24 template <class L, class Predicate>
25 void do_remove_if(L &l, Predicate pred, typename L::size_type expected) in do_remove_if()
56 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
62 Predicate cp(g); in main()
69 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
74 Predicate cp(g); in main()
81 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
87 Predicate cp(g); in main()
94 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
98 Predicate cp(g); in main()
[all …]
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/
Dremove_if.pass.cpp32 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
38 Predicate cp(g); in main()
45 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
50 Predicate cp(g); in main()
57 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
63 Predicate cp(g); in main()
70 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
74 Predicate cp(g); in main()
81 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
87 Predicate cp(g); in main()
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/
DCombinedTypeSolver.java21 import java.util.function.Predicate;
51 private Predicate<Exception> exceptionHandler;
58 public CombinedTypeSolver(Predicate<Exception> exceptionHandler, TypeSolver... elements) { in CombinedTypeSolver()
67 public void setExceptionHandler(Predicate<Exception> exceptionHandler) { in setExceptionHandler()
120 public static final Predicate<Exception> IGNORE_NONE = e -> false;
123 public static final Predicate<Exception> IGNORE_ALL = e -> true;
131 … public static final Predicate<Exception> IGNORE_UNSUPPORTED_OPERATION = getTypeBasedWhitelist(
140 public static final Predicate<Exception> IGNORE_UNSOLVED_SYMBOL = getTypeBasedWhitelist(
151 … public static final Predicate<Exception> IGNORE_UNSUPPORTED_AND_UNSOLVED = getTypeBasedWhitelist(
162 …public static Predicate<Exception> getTypeBasedBlacklist(Class<? extends Exception>... blacklist) { in getTypeBasedBlacklist()
[all …]
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCV.td18 def HasStdExtM : Predicate<"Subtarget->hasStdExtM()">,
25 def HasStdExtA : Predicate<"Subtarget->hasStdExtA()">,
32 def HasStdExtF : Predicate<"Subtarget->hasStdExtF()">,
40 def HasStdExtD : Predicate<"Subtarget->hasStdExtD()">,
48 def HasStdExtZfh : Predicate<"Subtarget->hasStdExtZfh()">,
55 def HasStdExtC : Predicate<"Subtarget->hasStdExtC()">,
62 def HasStdExtZbb : Predicate<"Subtarget->hasStdExtZbb()">,
69 def HasStdExtZbc : Predicate<"Subtarget->hasStdExtZbc()">,
76 def HasStdExtZbe : Predicate<"Subtarget->hasStdExtZbe()">,
83 def HasStdExtZbf : Predicate<"Subtarget->hasStdExtZbf()">,
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPU.td1065 // Predicate helper class
1069 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS">,
1073 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1078 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1084 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">,
1088 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1093 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1098 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1104 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1111 Predicate<"Subtarget->getGeneration() >= AMDGPUSubtarget::SEA_ISLANDS">,
[all …]
/external/libchrome/base/
Dstl_util.h32 template <typename Container, typename Predicate>
33 void IterateAndEraseIf(Container& container, Predicate pred) { in IterateAndEraseIf()
246 template <typename CharT, typename Traits, typename Allocator, class Predicate>
248 Predicate pred) { in EraseIf()
259 template <class T, class Allocator, class Predicate>
260 void EraseIf(std::deque<T, Allocator>& container, Predicate pred) { in EraseIf()
271 template <class T, class Allocator, class Predicate>
272 void EraseIf(std::vector<T, Allocator>& container, Predicate pred) { in EraseIf()
285 template <class T, class Allocator, class Predicate>
286 void EraseIf(std::forward_list<T, Allocator>& container, Predicate pred) { in EraseIf()
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h196 template<typename Predicate>
197 Predicate all(Predicate P0, Predicate P1) { in all()
203 template<typename Predicate, typename... Args>
204 Predicate all(Predicate P0, Predicate P1, Args... args) { in all()
209 template<typename Predicate>
210 Predicate any(Predicate P0, Predicate P1) { in any()
216 template<typename Predicate, typename... Args>
217 Predicate any(Predicate P0, Predicate P1, Args... args) { in any()
340 LegalityPredicate Predicate; variable
345 LegalizeRule(LegalityPredicate Predicate, LegalizeAction Action,
[all …]
/external/llvm-project/llvm/test/TableGen/
Dfilter.td8 class Predicate;
9 def pred1 : Predicate;
10 def pred2 : Predicate;
11 def pred3 : Predicate;
12 def pred4 : Predicate;
13 def pred5 : Predicate;
15 class DeduplicatePredList<list<Predicate> predlist, Predicate pred> {
16 list<Predicate> ret =
63 list<Predicate> duplist = [pred1, pred2, pred1, pred3, pred4, pred1, pred5];
64 list<Predicate> deduplist = DeduplicatePredList<duplist, pred1>.ret;
/external/dagger2/javatests/dagger/functional/producers/cancellation/
DProducerTester.java27 import java.util.function.Predicate;
100 private Only assertAboutNodes(Predicate<? super TestFuture> assertion, String... nodes) { in assertAboutNodes()
117 private final Predicate<? super TestFuture> assertion;
119 Only(ImmutableSet<TestFuture> expected, Predicate<? super TestFuture> assertion) { in Only()
172 private static final Predicate<TestFuture> STARTED =
173 new Predicate<TestFuture>() {
185 private static final Predicate<TestFuture> CANCELLED =
186 new Predicate<TestFuture>() {
199 private static <T> Predicate<T> not(final Predicate<T> predicate) { in not()
200 return new Predicate<T>() { in not()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPU.td971 // Predicate helper class
975 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS">,
979 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
984 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
990 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">,
994 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
999 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1005 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1012 Predicate<"Subtarget->getGeneration() >= AMDGPUSubtarget::SEA_ISLANDS">,
1016 Predicate<"Subtarget->getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS">,
[all …]
/external/swiftshader/third_party/subzero/src/
DIceInstARM32.h516 CondARM32::Cond Predicate) in InstARM32Pred() argument
517 : InstARM32(Func, Kind, Maxsrcs, Dest), Predicate(Predicate) {} in InstARM32Pred()
519 CondARM32::Cond getPredicate() const { return Predicate; } in getPredicate()
520 void setPredicate(CondARM32::Cond Pred) { Predicate = Pred; } in setPredicate()
522 static const char *predString(CondARM32::Cond Predicate);
540 CondARM32::Cond Predicate;
544 inline StreamType &operator<<(StreamType &Stream, CondARM32::Cond Predicate) {
545 Stream << InstARM32Pred::predString(Predicate);
558 CondARM32::Cond Predicate) { in create() argument
560 InstARM32UnaryopGPR(Func, Dest, Src, Predicate); in create()
[all …]

12345678910>>...51