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

1 2 3 4 5 6 7

  /external/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCPredicates.h 1 //===-- PPCPredicates.h - PPC Branch Predicate Information ------*- C++ -*-===//
19 /// Predicate - These are "(BI << 5) | BO" for various predicates.
20 enum Predicate {
32 /// Invert the specified predicate. != -> ==, < -> >=.
33 Predicate InvertPredicate(Predicate Opcode);
PPCPredicates.cpp 1 //===-- PPCPredicates.cpp - PPC Branch Predicate Information --------------===//
19 PPC::Predicate PPC::InvertPredicate(PPC::Predicate Opcode) {
  /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/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);
  /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/webkit/Source/JavaScriptCore/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)
MessageQueue.h 63 template<typename Predicate>
64 PassOwnPtr<DataType> waitForMessageFilteredWithTimeout(MessageQueueWaitResult&, Predicate&, double absoluteTime);
66 template<typename Predicate>
67 void removeIf(Predicate&);
129 template<typename Predicate>
130 inline PassOwnPtr<DataType> MessageQueue<DataType>::waitForMessageFilteredWithTimeout(MessageQueueWaitResult& result, Predicate& predicate, double absoluteTime)
136 while (!m_killed && !timedOut && (found = m_queue.findIf(predicate)) == m_queue.end())
171 template<typename Predicate>
172 inline void MessageQueue<DataType>::removeIf(Predicate& predicate
    [all...]
  /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 =
  /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/webkit/Source/WebCore/xml/
XPathPath.h 39 class Predicate;
44 Filter(Expression*, const Vector<Predicate*>& = Vector<Predicate*>());
53 Vector<Predicate*> m_predicates;
XPathStep.h 40 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& nodeTest, const Vector<Predicate*>& predicates = Vector<Predicate*>());
99 Vector<Predicate*> m_predicates;
XPathPredicate.h 108 class Predicate {
109 WTF_MAKE_NONCOPYABLE(Predicate); WTF_MAKE_FAST_ALLOCATED;
111 Predicate(Expression*);
112 ~Predicate();
  /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...]
  /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/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) {
  /external/guava/guava-tests/test/com/google/common/collect/
FilteredMultimapTest.java 20 import com.google.common.base.Predicate;
34 private static final Predicate<Map.Entry<String, Integer>> ENTRY_PREDICATE
35 = new Predicate<Map.Entry<String, Integer>>() {
61 private static final Predicate<String> KEY_PREDICATE
62 = new Predicate<String>() {
77 private static final Predicate<Integer> VALUE_PREDICATE
78 = new Predicate<Integer>() {
MultimapsFilterEntriesAsMapTest.java 20 import com.google.common.base.Predicate;
34 private static final Predicate<Map.Entry<String, Integer>> PREDICATE
35 = new Predicate<Map.Entry<String, Integer>>() {
50 return Multimaps.filterEntries(unfiltered, PREDICATE);
  /frameworks/base/core/tests/coretests/src/com/android/internal/util/
PredicatesTest.java 26 private static final Predicate<Object> TRUE = new Predicate<Object>() {
32 private static final Predicate<Object> FALSE = new Predicate<Object>() {
  /external/guava/guava/src/com/google/common/collect/
SortedMaps.java 32 import com.google.common.base.Predicate;
192 * keys satisfy a predicate. The returned map is a live view of {@code
198 * doesn't satisfy the predicate, the map's {@code put()} and {@code putAll()}
214 * equals</i>, as documented at {@link Predicate#apply}. Do not provide a
215 * predicate such as {@code Predicates.instanceOf(ArrayList.class)}, which is
220 SortedMap<K, V> unfiltered, final Predicate<? super K> keyPredicate) {
224 Predicate<Entry<K, V>> entryPredicate = new Predicate<Entry<K, V>>() {
235 * values satisfy a predicate. The returned map is a live view of {@code
241 * that doesn't satisfy the predicate, the map's {@code put()}, {@cod
322 Predicate<Entry<K, V>> predicate local
    [all...]

Completed in 397 milliseconds

1 2 3 4 5 6 7