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

1 2 3 4 5

  /external/llvm/lib/Target/PowerPC/
PPCPredicates.h 1 //===-- PPCPredicates.h - PPC Branch Predicate Information ------*- C++ -*-===//
21 /// Predicate - These are "(BI << 5) | BO" for various predicates.
22 enum Predicate {
34 /// Invert the specified predicate. != -> ==, < -> >=.
35 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/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 =
TestSuiteBuilder.java 23 import com.android.internal.util.Predicate;
48 private final Set<Predicate<TestMethod>> predicates = new HashSet<Predicate<TestMethod>>();
123 public TestSuiteBuilder addRequirements(List<Predicate<TestMethod>> predicates) {
159 * call {@link #addRequirements(com.android.internal.util.Predicate[])} to make it clear which
219 public final TestSuiteBuilder addRequirements(Predicate<TestMethod>... predicates) {
220 ArrayList<Predicate<TestMethod>> list = new ArrayList<Predicate<TestMethod>>();
252 for (Predicate<TestMethod> predicate : predicates)
    [all...]
  /external/guava/src/com/google/common/base/
Predicates.java 33 * Contains static factory methods for creating {@code Predicate} instances.
49 * Returns a predicate that always evaluates to {@code true}.
53 public static <T> Predicate<T> alwaysTrue() {
54 return (Predicate<T>) AlwaysTruePredicate.INSTANCE;
58 * Returns a predicate that always evaluates to {@code false}.
62 public static <T> Predicate<T> alwaysFalse() {
63 return (Predicate<T>) AlwaysFalsePredicate.INSTANCE;
67 * Returns a predicate that evaluates to {@code true} if the object reference
71 public static <T> Predicate<T> isNull() {
72 return (Predicate<T>) IsNullPredicate.INSTANCE
251 private final Predicate<T> predicate; field in class:Predicates.NotPredicate
    [all...]
Predicate.java 25 * {@code RegexPredicate} might implement {@code Predicate<String>}, and return
35 public interface Predicate<T> {
43 * Applies this predicate to the given object.
45 * @param input the input that the predicate should act on
46 * @return the value of this predicate when applied to the input {@code t}
51 * Indicates whether some other object is equal to this {@code Predicate}.
53 * also a {@code Predicate} and, for every input object {@code input}, it
  /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();
XPathParser.h 45 class Predicate;
82 void registerPredicateVector(Vector<Predicate*>*);
83 void deletePredicateVector(Vector<Predicate*>*);
122 HashSet<Vector<Predicate*>*> m_predicateVectors;
  /prebuilt/linux-x86/toolchain/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/Target/PTX/
PTX.h 34 enum Predicate {
  /external/llvm/include/llvm/CodeGen/
Analysis.h 71 ISD::CondCode getFCmpCondCode(FCmpInst::Predicate Pred);
76 ISD::CondCode getICmpCondCode(ICmpInst::Predicate Pred);
  /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/chromium/chrome/browser/history/
page_usage_data.cc 43 bool PageUsageData::Predicate(const PageUsageData* lhs,
  /external/guava/src/com/google/common/collect/
Collections2.java 22 import com.google.common.base.Predicate;
81 * Returns the elements of {@code unfiltered} that satisfy a predicate. The
89 * predicate is provided. When methods such as {@code removeAll()} and
99 * it may be faster to copy {@code Iterables.filter(unfiltered, predicate)}
103 Collection<E> unfiltered, Predicate<? super E> predicate) {
107 return ((FilteredCollection<E>) unfiltered).createCombined(predicate);
111 checkNotNull(unfiltered), checkNotNull(predicate));
128 final Predicate<? super E> predicate; field in class:Collections2.FilteredCollection
    [all...]
  /sdk/monkeyrunner/src/com/android/monkeyrunner/
MonkeyRunnerStarter.java 18 import com.google.common.base.Predicate;
71 Map<String, Predicate<PythonInterpreter>> plugins = handlePlugins();
84 private Predicate<PythonInterpreter> handlePlugin(File f) {
138 return new Predicate<PythonInterpreter>() {
144 } else if (loadedObject instanceof Predicate<?>) {
145 return (Predicate<PythonInterpreter>) loadedObject;
152 private Map<String, Predicate<PythonInterpreter>> handlePlugins() {
153 ImmutableMap.Builder<String, Predicate<PythonInterpreter>> builder = ImmutableMap.builder();

Completed in 852 milliseconds

1 2 3 4 5