HomeSort by relevance Sort by last modified time
    Searched refs:Predicate (Results 1 - 25 of 259) sorted by null

1 2 3 4 5 6 7 8 91011

  /frameworks/base/core/java/com/android/internal/util/
Predicates.java 23 * {@code Predicate} objects.
31 * Returns a Predicate that evaluates to true iff each of its components
35 public static <T> Predicate<T> and(Predicate<? super T>... components) {
40 * Returns a Predicate that evaluates to true iff each of its components
44 * the behavior of this Predicate. If components is empty, the returned
45 * Predicate will always evaluate to true.
47 public static <T> Predicate<T> and(Iterable<? extends Predicate<? super T>> components) {
52 * Returns a Predicate that evaluates to true iff any one of its component
115 private final Predicate<? super T> predicate; field in class:Predicates.NotPredicate
    [all...]
Predicate.java 20 * A Predicate can determine a true or false value for any input of its
22 * {@code Predicate<String>}, and return true for any String that matches its
26 * Implementors of Predicate which may cause side effects upon evaluation are
29 public interface Predicate<T> {
  /external/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCPredicates.h 1 //===-- PPCPredicates.h - PPC Branch Predicate Information ------*- C++ -*-===//
26 /// Predicate - These are "(BI << 5) | BO" for various predicates.
27 enum Predicate {
54 /// Invert the specified predicate. != -> ==, < -> >=.
55 Predicate InvertPredicate(Predicate Opcode);
57 /// Assume the condition register is set by MI(a,b), return the predicate if
59 Predicate getSwappedPredicate(Predicate Opcode);
  /external/llvm/include/llvm/Transforms/Utils/
CmpInstAnalysis.h 24 /// getICmpCode - Encode a icmp predicate into a three bit mask. These bits
51 /// predicate for a new ICmp instruction. The sign is passed in to determine
52 /// which kind of predicate to use in the new icmp instruction.
54 /// NULL return means a new ICmp is needed. The predicate for which is
57 CmpInst::Predicate &NewICmpPred);
61 bool PredicatesFoldable(CmpInst::Predicate p1, CmpInst::Predicate p2);
  /packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
Predicate.java 22 * {@code RegexPredicate} might implement {@code Predicate<String>}, and return
31 public interface Predicate<T> {
39 * Applies this predicate to the given object.
41 * @param input the input that the predicate should act on
42 * @return the value of this predicate when applied to the input {@code t}
47 * Indicates whether some other object is equal to this {@code Predicate}.
49 * also a {@code Predicate} and, for every input object {@code input}, it
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
Predicate.java 22 * {@code RegexPredicate} might implement {@code Predicate<String>}, and return
31 public interface Predicate<T> {
39 * Applies this predicate to the given object.
41 * @param input the input that the predicate should act on
42 * @return the value of this predicate when applied to the input {@code t}
47 * Indicates whether some other object is equal to this {@code Predicate}.
49 * also a {@code Predicate} and, for every input object {@code input}, it
  /external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
Predicates.java 32 * Static utility methods pertaining to {@code Predicate} instances.
48 * Returns a predicate that always evaluates to {@code true}.
51 public static <T> Predicate<T> alwaysTrue() {
56 * Returns a predicate that always evaluates to {@code false}.
59 public static <T> Predicate<T> alwaysFalse() {
64 * Returns a predicate that evaluates to {@code true} if the object reference
68 public static <T> Predicate<T> isNull() {
73 * Returns a predicate that evaluates to {@code true} if the object reference
77 public static <T> Predicate<T> notNull() {
82 * Returns a predicate that evaluates to {@code true} if the given predicat
238 final Predicate<T> predicate; field in class:Predicates.NotPredicate
    [all...]
  /external/chromium_org/cc/base/
scoped_ptr_algorithm.h 12 template <class ForwardIterator, class Predicate, class ScopedContainer>
17 Predicate predicate) {
20 if (!predicate(*first)) {
  /external/chromium_org/third_party/WebKit/Source/wtf/
NonCopyingSort.h 34 template<typename RandomAccessIterator, typename Predicate>
35 inline void siftDown(RandomAccessIterator array, ptrdiff_t start, ptrdiff_t end, Predicate compareLess)
52 template<typename RandomAccessIterator, typename Predicate>
53 inline void heapify(RandomAccessIterator array, ptrdiff_t count, Predicate compareLess)
63 template<typename RandomAccessIterator, typename Predicate>
64 void heapSort(RandomAccessIterator start, RandomAccessIterator end, Predicate compareLess)
77 template<typename RandomAccessIterator, typename Predicate>
78 inline void nonCopyingSort(RandomAccessIterator start, RandomAccessIterator end, Predicate compareLess)
  /frameworks/base/test-runner/src/android/test/suitebuilder/
AssignableFrom.java 19 import com.android.internal.util.Predicate;
21 class AssignableFrom implements Predicate<TestMethod> {
TestPredicates.java 26 import com.android.internal.util.Predicate;
34 public static final Predicate<TestMethod> SELECT_INSTRUMENTATION =
36 public static final Predicate<TestMethod> REJECT_INSTRUMENTATION =
39 public static final Predicate<TestMethod> SELECT_SMOKE = new HasAnnotation(Smoke.class);
40 public static final Predicate<TestMethod> SELECT_SMALL = new HasAnnotation(SmallTest.class);
41 public static final Predicate<TestMethod> SELECT_MEDIUM = new HasAnnotation(MediumTest.class);
42 public static final Predicate<TestMethod> SELECT_LARGE = new HasAnnotation(LargeTest.class);
43 public static final Predicate<TestMethod> REJECT_SUPPRESSED =
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/aux_/
find_if_pred.hpp 19 template< typename Predicate >
25 typedef not_< aux::iter_apply1<Predicate,Iterator> > type;
  /external/guava/guava/src/com/google/common/base/
Predicates.java 35 * Static utility methods pertaining to {@code Predicate} instances.
51 * Returns a predicate that always evaluates to {@code true}.
54 public static <T> Predicate<T> alwaysTrue() {
59 * Returns a predicate that always evaluates to {@code false}.
62 public static <T> Predicate<T> alwaysFalse() {
67 * Returns a predicate that evaluates to {@code true} if the object reference
71 public static <T> Predicate<T> isNull() {
76 * Returns a predicate that evaluates to {@code true} if the object reference
80 public static <T> Predicate<T> notNull() {
85 * Returns a predicate that evaluates to {@code true} if the given predicat
301 final Predicate<T> predicate; field in class:Predicates.NotPredicate
    [all...]
Predicate.java 30 public interface Predicate<T> {
32 * Returns the result of applying this predicate to {@code input}. This method is <i>generally
38 * Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
39 * predicate.apply(b))}.
42 * @throws NullPointerException if {@code input} is null and this predicate does not accept null
48 * Indicates whether another object is equal to this predicate.
52 * {@link Predicate} that it considers <i>interchangeable</i> with this one. "Interchangeable"
  /frameworks/base/test-runner/src/android/test/suitebuilder/annotation/
HasAnnotation.java 20 import com.android.internal.util.Predicate;
26 * A predicate that checks to see if a {@link TestMethod} has a specific annotation, either on the
31 public class HasAnnotation implements Predicate<TestMethod> {
33 private Predicate<TestMethod> hasMethodOrClassAnnotation;
HasClassAnnotation.java 22 import com.android.internal.util.Predicate;
25 * A predicate that checks to see if a {@link android.test.suitebuilder.TestMethod} has a specific annotation on the
30 class HasClassAnnotation implements Predicate<TestMethod> {
HasMethodAnnotation.java 19 import com.android.internal.util.Predicate;
25 * A predicate that checks to see if a the method represented by {@link TestMethod} has a certain
30 class HasMethodAnnotation implements Predicate<TestMethod> {
  /external/chromium_org/third_party/WebKit/Source/core/xml/
XPathPath.h 37 class Predicate;
42 Filter(Expression*, const Vector<Predicate*>& = Vector<Predicate*>());
51 Vector<Predicate*> m_predicates;
XPathStep.h 39 class Predicate;
67 Vector<Predicate*>& mergedPredicates() { return m_mergedPredicates; }
68 const Vector<Predicate*>& mergedPredicates() const { return m_mergedPredicates; }
76 Vector<Predicate*> m_mergedPredicates;
79 Step(Axis, const NodeTest&, const Vector<Predicate*>& predicates = Vector<Predicate*>());
99 Vector<Predicate*> m_predicates;
  /external/guava/guava-tests/test/com/google/common/base/
PredicatesTest.java 46 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue();
47 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse();
48 private static final Predicate<Integer> NEVER_REACHED =
49 new Predicate<Integer>() {
52 fail("This predicate should never have been evaluated");
57 /** Instantiable predicate with reasonable hashCode() and equals() methods. */
58 static class IsOdd implements Predicate<Integer>, Serializable {
76 * Generates a new Predicate per call.
78 * <p>Creating a new Predicate each time helps catch cases where code is
128 * Tests for Predicates.not(predicate)
303 Predicate<Object> predicate = Predicates.and(array); local
312 Predicate<Object> predicate = Predicates.and(list); local
327 Predicate<Object> predicate = Predicates.and(iterable); local
473 Predicate<Object> predicate = Predicates.or(array); local
482 Predicate<Object> predicate = Predicates.or(list); local
497 Predicate<Object> predicate = Predicates.or(iterable); local
643 Predicate<Class<?>> predicate = local
930 assertEvalsLike(isOdd(), predicate); local
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/
find_if.hpp 30 , typename BOOST_MPL_AUX_NA_PARAM(Predicate)
38 , protect< aux::find_if_pred<Predicate> >
43 BOOST_MPL_AUX_LAMBDA_SUPPORT(2,find_if,(Sequence,Predicate))
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/parallel/
algobase.h 61 typename Predicate>
64 Predicate pred, __gnu_parallel::sequential_tag)
69 typename Predicate, typename IteratorTag1, typename IteratorTag2>
72 InputIterator2 begin2, Predicate pred, IteratorTag1,
78 typename Predicate>
81 RandomAccessIterator2 begin2, Predicate pred,
116 typename Predicate>
119 Predicate pred)
139 typename Predicate>
142 Predicate pred, __gnu_parallel::sequential_tag
    [all...]
  /external/chromium_org/chrome/browser/history/
page_usage_data.cc 18 bool PageUsageData::Predicate(const PageUsageData* lhs,
  /external/droiddriver/src/com/google/android/droiddriver/
UiElement.java 27 import com.google.common.base.Predicate;
188 * {@code predicate}. It always filters children that are null.
190 List<UiElement> getChildren(Predicate<? super UiElement> predicate);
195 Predicate<UiElement> VISIBLE = new Predicate<UiElement>() {
  /external/llvm/lib/Transforms/Utils/
CmpInstAnalysis.cpp 21 /// getICmpCode - Encode a icmp predicate into a three bit mask. These bits
45 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate()
61 llvm_unreachable("Invalid ICmp predicate!");
67 /// predicate for a new ICmp instruction. The sign is passed in to determine
68 /// which kind of predicate to use in the new icmp instruction.
70 /// NULL return means a new ICmp is needed. The predicate for which is
73 CmpInst::Predicate &NewICmpPred) {
92 bool llvm::PredicatesFoldable(ICmpInst::Predicate p1, ICmpInst::Predicate p2) {

Completed in 912 milliseconds

1 2 3 4 5 6 7 8 91011