/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/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
Predicate.java | 18 public interface Predicate {
|
/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/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 { 59 /// Invert the specified predicate. != -> ==, < -> >=. 60 Predicate InvertPredicate(Predicate Opcode); 62 /// Assume the condition register is set by MI(a,b), return the predicate if 64 Predicate getSwappedPredicate(Predicate Opcode);
|
/external/droiddriver/src/com/google/android/droiddriver/finders/ |
Predicates.java | 24 * Static utility methods pertaining to {@code Predicate} instances. 29 private static final Predicate<Object> ANY = new Predicate<Object>() { 42 * Returns a predicate that always evaluates to {@code true}. 45 public static <T> Predicate<T> any() { 46 return (Predicate<T>) ANY; 50 * Returns a predicate that is the negation of the provided {@code predicate}. 52 public static <T> Predicate<T> not(final Predicate<T> predicate) [all...] |
Predicate.java | 33 public interface Predicate<T> { 35 * Returns the result of applying this predicate to {@code input}. 44 * Predicate.
|
/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/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
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>() {
|
/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/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...] |
/external/chromium_org/chrome/test/remoting/ |
waiter.h | 47 typedef base::Callback<bool(void)> Predicate; 51 const Predicate& callback); 65 Predicate callback_;
|
/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))
|
/external/chromium_org/components/history/core/browser/ |
page_usage_data.cc | 18 bool PageUsageData::Predicate(const PageUsageData* lhs,
|
/external/droiddriver/src/com/google/android/droiddriver/ |
UiElement.java | 24 import com.google.android.droiddriver.finders.Predicate; 182 * {@code predicate}. It always filters children that are null. This gives a 201 List<? extends UiElement> getChildren(Predicate<? super UiElement> predicate); 206 Predicate<UiElement> VISIBLE = new Predicate<UiElement>() {
|