/external/droiddriver/src/io/appium/droiddriver/finders/ |
D | Predicates.java | 33 private static final Predicate<Object> ANY = new Predicate<Object>() { 49 public static <T> Predicate<T> any() { in any() 50 return (Predicate<T>) ANY; in any() 56 public static <T> Predicate<T> not(final Predicate<T> predicate) { in not() 57 return new Predicate<T>() { in not() 76 public static <T> Predicate<T> allOf(final Predicate<? super T> first, 77 final Predicate<? super T> second) { 79 return (Predicate<T>) second; 82 return (Predicate<T>) first; 85 return new Predicate<T>() { [all …]
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | deadness_analysis.cc | 111 class Predicate { class 121 virtual absl::Span<Predicate* const> GetOperands() const = 0; 124 virtual ~Predicate() {} in ~Predicate() 130 static void Visit(Predicate* p, const FunctionTy& func); 133 explicit Predicate(int64 id) : id_(id) {} in Predicate() function in tensorflow::__anon9db8ce5c0111::Predicate 138 TF_DISALLOW_COPY_AND_ASSIGN(Predicate); 142 class AndPredicate : public Predicate { 144 explicit AndPredicate(int64 id, std::vector<Predicate*> operands) in AndPredicate() 145 : Predicate(id), operands_(std::move(operands)) {} in AndPredicate() 155 [](Predicate* pred) { return pred->ToString(); }); in ToString() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Predicates.java | 55 public static <T> Predicate<T> alwaysTrue() { in alwaysTrue() 63 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse() 72 public static <T> Predicate<T> isNull() { in isNull() 81 public static <T> Predicate<T> notNull() { in notNull() 89 public static <T> Predicate<T> not(Predicate<T> predicate) { in not() 102 public static <T> Predicate<T> and( in and() 103 Iterable<? extends Predicate<? super T>> components) { in and() 116 public static <T> Predicate<T> and(Predicate<? super T>... components) { in and() 126 public static <T> Predicate<T> and(Predicate<? super T> first, in and() 127 Predicate<? super T> second) { in and() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | Predicates.java | 58 public static <T> Predicate<T> alwaysTrue() { in alwaysTrue() 66 public static <T> Predicate<T> alwaysFalse() { in alwaysFalse() 75 public static <T> Predicate<T> isNull() { in isNull() 84 public static <T> Predicate<T> notNull() { in notNull() 92 public static <T> Predicate<T> not(Predicate<T> predicate) { in not() 105 public static <T> Predicate<T> and( in and() 106 Iterable<? extends Predicate<? super T>> components) { in and() 119 public static <T> Predicate<T> and(Predicate<? super T>... components) { in and() 129 public static <T> Predicate<T> and(Predicate<? super T> first, in and() 130 Predicate<? super T> second) { in and() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | PredicatesTest.java | 49 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue(); 50 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse(); 51 private static final Predicate<Integer> NEVER_REACHED = 52 new Predicate<Integer>() { 61 static class IsOdd implements Predicate<Integer>, Serializable { 278 Collection<Predicate<Integer>> empty = Arrays.asList(); in testAnd_applyIterable() 305 Predicate[] array = {Predicates.alwaysFalse()}; in testAnd_arrayDefensivelyCopied() 306 Predicate<Object> predicate = Predicates.and(array); in testAnd_arrayDefensivelyCopied() 313 List<Predicate<Object>> list = newArrayList(); in testAnd_listDefensivelyCopied() 314 Predicate<Object> predicate = Predicates.and(list); in testAnd_listDefensivelyCopied() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | PredicatesTest.java | 44 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue(); 45 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse(); 46 private static final Predicate<Integer> NEVER_REACHED = 47 new Predicate<Integer>() { 56 static class IsOdd implements Predicate<Integer>, Serializable { 235 Collection<Predicate<Integer>> empty = Arrays.asList(); in testAnd_applyIterable() 256 Predicate[] array = {Predicates.alwaysFalse()}; in testAnd_arrayDefensivelyCopied() 257 Predicate<Object> predicate = Predicates.and(array); in testAnd_arrayDefensivelyCopied() 264 List<Predicate<Object>> list = newArrayList(); in testAnd_listDefensivelyCopied() 265 Predicate<Object> predicate = Predicates.and(list); in testAnd_listDefensivelyCopied() [all …]
|
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/ |
D | remove_if.pass.cpp | 32 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCPredicates.h | 27 enum Predicate { enum 71 Predicate InvertPredicate(Predicate Opcode); 75 Predicate getSwappedPredicate(Predicate Opcode); 78 inline unsigned getPredicateCondition(Predicate Opcode) { in getPredicateCondition() 83 inline unsigned getPredicateHint(Predicate Opcode) { in getPredicateHint() 88 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate() 89 return (Predicate)((Condition & ~BR_HINT_MASK) | in getPredicate()
|
/external/libchrome/base/ |
D | stl_util.h | 32 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/swiftshader/third_party/subzero/src/ |
D | IceInstARM32.h | 516 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerInfo.h | 179 template<typename Predicate> 180 Predicate all(Predicate P0, Predicate P1) { in all() 186 template<typename Predicate, typename... Args> 187 Predicate all(Predicate P0, Predicate P1, Args... args) { in all() 244 LegalityPredicate Predicate; variable 249 LegalizeRule(LegalityPredicate Predicate, LegalizeAction Action, 251 : Predicate(Predicate), Action(Action), Mutation(Mutation) {} in Predicate() argument 255 return Predicate(Query); in match() 313 LegalityPredicate Predicate) { in actionIf() argument 314 add({Predicate, Action}); in actionIf() [all …]
|
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/ |
D | linq.hpp | 261 template <class Predicate> 262 linq_driver< linq_where<Collection, Predicate> > where(Predicate p) const { in where() 263 return linq_where<Collection, Predicate>(c, std::move(p) ); in where() 289 template <class Predicate> 290 bool any(Predicate p) const { in any() 295 template <class Predicate> 296 bool all(Predicate p) const { in all() 324 template <class Predicate> 325 typename std::iterator_traits<iterator>::difference_type count(Predicate p) const { in count() 368 template <class Predicate> [all …]
|
/external/libcxx/test/support/ |
D | counting_predicates.hpp | 15 template <typename Predicate, typename Arg> 21 unary_counting_predicate(Predicate p) : p_(p), count_(0) {} in unary_counting_predicate() 29 Predicate p_; 34 template <typename Predicate, typename Arg1, typename Arg2=Arg1> 41 binary_counting_predicate ( Predicate p ) : p_(p), count_(0) {} in binary_counting_predicate() 49 Predicate p_;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPU.td | 632 // Predicate helper class 635 def isSICI : Predicate< 640 def isVI : Predicate < 644 def isGFX9 : Predicate < 649 def isCIVI : Predicate < 653 def HasFlatAddressSpace : Predicate<"Subtarget->hasFlatAddressSpace()">, 656 def HasFlatGlobalInsts : Predicate<"Subtarget->hasFlatGlobalInsts()">, 658 def HasFlatScratchInsts : Predicate<"Subtarget->hasFlatScratchInsts()">, 660 def HasD16LoadStore : Predicate<"Subtarget->hasD16LoadStore()">, 663 def HasUnpackedD16VMem : Predicate<"Subtarget->hasUnpackedD16VMem()">, [all …]
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/ |
D | rx-all.hpp | 42 template<class T, class Predicate> 46 typedef rxu::decay_t<Predicate> test_type; 138 template<class Observable, class Predicate, 142 class All = rxo::detail::all<SourceValue, rxu::decay_t<Predicate>>, 144 static auto member(Observable&& o, Predicate&& p) in member() 145 -> decltype(o.template lift<Value>(All(std::forward<Predicate>(p)))) { in member() 146 return o.template lift<Value>(All(std::forward<Predicate>(p))); in member() 164 class Predicate = std::function<bool(SourceValue)>, 165 class IsEmpty = rxo::detail::all<SourceValue, rxu::decay_t<Predicate>>,
|
D | rx-any.hpp | 50 template<class T, class Predicate> 55 typedef rxu::decay_t<Predicate> test_type; 167 template<class Observable, class Predicate, 171 class Any = rxo::detail::any<SourceValue, rxu::decay_t<Predicate>>, 173 static auto member(Observable&& o, Predicate&& p) in member() 174 -> decltype(o.template lift<Value>(Any(std::forward<Predicate>(p)))) { in member() 175 return o.template lift<Value>(Any(std::forward<Predicate>(p))); in member() 207 class Predicate = std::function<bool(T)>, 208 class Any = rxo::detail::any<SourceValue, rxu::decay_t<Predicate>>,
|
D | rx-skip_while.hpp | 41 template<class T, class Predicate> 45 typedef rxu::decay_t<Predicate> test_type; 112 template<class Observable, class Predicate, 114 class TakeWhile = rxo::detail::skip_while<SourceValue, rxu::decay_t<Predicate>>> 115 static auto member(Observable&& o, Predicate&& p) in member() 116 -> decltype(o.template lift<SourceValue>(TakeWhile(std::forward<Predicate>(p)))) { in member() 117 return o.template lift<SourceValue>(TakeWhile(std::forward<Predicate>(p))); in member()
|
D | rx-take_while.hpp | 41 template<class T, class Predicate> 45 typedef rxu::decay_t<Predicate> test_type; 110 template<class Observable, class Predicate, 112 class TakeWhile = rxo::detail::take_while<SourceValue, rxu::decay_t<Predicate>>> 113 static auto member(Observable&& o, Predicate&& p) in member() 114 -> decltype(o.template lift<SourceValue>(TakeWhile(std::forward<Predicate>(p)))) { in member() 115 return o.template lift<SourceValue>(TakeWhile(std::forward<Predicate>(p))); in member()
|
D | rx-filter.hpp | 41 template<class T, class Predicate> 45 typedef rxu::decay_t<Predicate> test_type; 116 template<class Observable, class Predicate, 118 class Filter = rxo::detail::filter<SourceValue, rxu::decay_t<Predicate>>> 119 static auto member(Observable&& o, Predicate&& p) in member() 120 -> decltype(o.template lift<SourceValue>(Filter(std::forward<Predicate>(p)))) { in member() 121 return o.template lift<SourceValue>(Filter(std::forward<Predicate>(p))); in member()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | GlobalISelEmitter.cpp | 86 std::string getEnumNameForPredicate(const TreePredicateFn &Predicate) { in getEnumNameForPredicate() argument 87 if (Predicate.hasGISelPredicateCode()) in getEnumNameForPredicate() 88 return "GIPFP_MI_" + Predicate.getFnName(); in getEnumNameForPredicate() 89 return "GIPFP_" + Predicate.getImmTypeIdentifier().str() + "_" + in getEnumNameForPredicate() 90 Predicate.getFnName(); in getEnumNameForPredicate() 94 std::string getMatchOpcodeForPredicate(const TreePredicateFn &Predicate) { in getMatchOpcodeForPredicate() argument 95 return "GIM_Check" + Predicate.getImmTypeIdentifier().str() + "ImmPredicate"; in getMatchOpcodeForPredicate() 287 for (const auto &Predicate : N->getPredicateFns()) { in isTrivialOperatorNode() local 288 if (Predicate.isAlwaysTrue()) in isTrivialOperatorNode() 291 if (Predicate.isImmediatePattern()) in isTrivialOperatorNode() [all …]
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCPredicates.h | 27 enum Predicate { enum 68 Predicate InvertPredicate(Predicate Opcode); 72 Predicate getSwappedPredicate(Predicate Opcode);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | FilteredMultimapTest.java | 20 import com.google.common.base.Predicate; 36 private static final Predicate<Map.Entry<String, Integer>> ENTRY_PREDICATE 37 = new Predicate<Map.Entry<String, Integer>>() { 50 private static final Predicate<String> KEY_PREDICATE 51 = new Predicate<String>() { 66 private static final Predicate<Integer> VALUE_PREDICATE 67 = new Predicate<Integer>() {
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | iterator.h | 176 template <typename SubIterator, typename Predicate> 193 Predicate predicate) in FilterIterator() 202 FilterIterator(const SubIterator& end, Predicate predicate) in FilterIterator() 246 Predicate predicate_; 249 template <typename SubIterator, typename Predicate> 250 FilterIterator<SubIterator, Predicate> MakeFilterIterator( in MakeFilterIterator() 251 const IteratorRange<SubIterator>& sub_iterator_range, Predicate predicate) { in MakeFilterIterator() 252 return FilterIterator<SubIterator, Predicate>(sub_iterator_range, predicate); in MakeFilterIterator() 255 template <typename SubIterator, typename Predicate> 256 FilterIterator<SubIterator, Predicate> MakeFilterIterator( in MakeFilterIterator() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | iterator.h | 176 template <typename SubIterator, typename Predicate> 193 Predicate predicate) in FilterIterator() 202 FilterIterator(const SubIterator& end, Predicate predicate) in FilterIterator() 246 Predicate predicate_; 249 template <typename SubIterator, typename Predicate> 250 FilterIterator<SubIterator, Predicate> MakeFilterIterator( in MakeFilterIterator() 251 const IteratorRange<SubIterator>& sub_iterator_range, Predicate predicate) { in MakeFilterIterator() 252 return FilterIterator<SubIterator, Predicate>(sub_iterator_range, predicate); in MakeFilterIterator() 255 template <typename SubIterator, typename Predicate> 256 FilterIterator<SubIterator, Predicate> MakeFilterIterator( in MakeFilterIterator() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
D | FieldUtil.java | 34 import com.google.common.base.Predicate; 42 public static Predicate<Field> FIELD_IS_STATIC = new Predicate<Field>() { 48 public static Predicate<Field> FIELD_IS_INSTANCE = new Predicate<Field>() {
|