/external/guava/guava-tests/test/com/google/common/base/ |
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>() { 56 "This predicate should never have been evaluated"); 60 /** Instantiable predicate with reasonable hashCode() and equals() methods. */ 61 static class IsOdd implements Predicate<Integer>, Serializable { 79 * Generates a new Predicate per call. 81 * <p>Creating a new Predicate each time helps catch cases where code is 131 * Tests for Predicates.not(predicate) 306 Predicate<Object> predicate = Predicates.and(array); local 314 Predicate<Object> predicate = Predicates.and(list); local 328 Predicate<Object> predicate = Predicates.and(iterable); local 474 Predicate<Object> predicate = Predicates.or(array); local 482 Predicate<Object> predicate = Predicates.or(list); local 496 Predicate<Object> predicate = Predicates.or(iterable); local 642 Predicate<Class<?>> predicate = local 938 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))
|
remove_if.hpp | 45 , typename Predicate 53 typename lambda<Predicate>::type 62 , typename Predicate 70 typename lambda<Predicate>::type
|
/external/droiddriver/src/io/appium/droiddriver/ |
UiElement.java | 26 import io.appium.droiddriver.finders.Predicate; 189 * {@code predicate}. It always filters children that are null. This gives a 208 List<? extends UiElement> getChildren(Predicate<? super UiElement> predicate); 213 Predicate<UiElement> VISIBLE = new Predicate<UiElement>() {
|
/external/guava/guava/src/com/google/common/base/ |
Predicate.java | 30 * Predicate}</a>. 36 public interface Predicate<T> { 38 * Returns the result of applying this predicate to {@code input}. This method is <i>generally 44 * Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) == 45 * predicate.apply(b))}. 48 * @throws NullPointerException if {@code input} is null and this predicate does not accept null 54 * Indicates whether another object is equal to this predicate. 58 * {@link Predicate} that it considers <i>interchangeable</i> with this one. "Interchangeable"
|
/external/libcxx/test/std/containers/sequences/list/list.ops/ |
remove_if.pass.cpp | 31 typedef unary_counting_predicate<bool(*)(int), int> Predicate; 39 Predicate cp(g); 48 Predicate cp(even); 58 Predicate cp(g);
|
/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/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
DuplicatesPredicate.java | 21 public class DuplicatesPredicate implements Predicate {
|
NamingPolicy.java | 30 * @param names a predicate that returns true if the given classname has already been used in the same ClassLoader. 33 String getClassName(String prefix, String source, Object key, Predicate names);
|
RejectModifierPredicate.java | 20 public class RejectModifierPredicate implements Predicate {
|
DefaultNamingPolicy.java | 33 public String getClassName(String prefix, String source, Object key, Predicate names) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
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>() {
|
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);
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
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>() { 51 "This predicate should never have been evaluated"); 55 /** Instantiable predicate with reasonable hashCode() and equals() methods. */ 56 static class IsOdd implements Predicate<Integer>, Serializable { 74 * Generates a new Predicate per call. 76 * <p>Creating a new Predicate each time helps catch cases where code is 116 * Tests for Predicates.not(predicate) 257 Predicate<Object> predicate = Predicates.and(array); local 265 Predicate<Object> predicate = Predicates.and(list); local 279 Predicate<Object> predicate = Predicates.and(iterable); local 394 Predicate<Object> predicate = Predicates.or(array); local 402 Predicate<Object> predicate = Predicates.or(list); local 416 Predicate<Object> predicate = Predicates.or(iterable); local 620 assertEvalsLike(isOdd(), predicate); local [all...] |
/external/droiddriver/src/io/appium/droiddriver/finders/ |
MatchFinder.java | 27 * {@link #predicate}. 30 protected final Predicate<? super UiElement> predicate; field in class:MatchFinder 32 public MatchFinder(Predicate<? super UiElement> predicate) { 33 if (predicate == null) { 34 this.predicate = Predicates.any(); 36 this.predicate = predicate; 42 return predicate.toString() [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/ |
algorithm.hpp | 54 /// uses supplied predicate for collection elements comparison 60 /// @param pred - predicate to be used for search 61 template <class InputIter1, class InputIter2, class Predicate> 65 Predicate pred ) 100 /// predicate in conjunction will any element in second collection 106 /// @param pred - predicate to be used for search 107 template<class ForwardIterator1, class ForwardIterator2, class Predicate> 111 Predicate pred ) 147 /// predicate in conjunction will at least one element in second collection 153 /// @param pred - predicate to be used for searc [all...] |
/frameworks/base/core/tests/utiltests/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/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
MethodUtil.java | 34 import com.google.common.base.Predicate; 48 public static Predicate<Method> METHOD_IS_DIRECT = new Predicate<Method>() { 54 public static Predicate<Method> METHOD_IS_VIRTUAL = new Predicate<Method>() {
|
/libcore/luni/src/test/java/libcore/java/util/ |
RemoveIfTester.java | 21 import java.util.function.Predicate; 28 * Tests behavior common to all implementations of {@link Collection#removeIf(Predicate)}. 32 private static final Predicate<Integer> isEven = x -> x % 2 == 0; 33 private static final Predicate<Integer> isOdd = isEven.negate();
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
PPCPredicates.cpp | 1 //===-- PPCPredicates.cpp - PPC Branch Predicate Information --------------===// 19 PPC::Predicate PPC::InvertPredicate(PPC::Predicate Opcode) { 53 PPC::Predicate PPC::getSwappedPredicate(PPC::Predicate Opcode) { 82 llvm_unreachable("Invalid use of bit predicate code");
|
/libcore/ojluni/src/main/java/java/util/stream/ |
BaseStream.java | 33 import java.util.function.Predicate;
|
/external/caliper/caliper/src/main/java/com/google/caliper/platform/ |
Platform.java | 21 import com.google.common.base.Predicate; 105 public abstract Predicate<String> vmPropertiesToRetain();
|
/external/guava/guava/src/com/google/common/collect/ |
FilteredEntrySetMultimap.java | 20 import com.google.common.base.Predicate; 26 * Implementation of {@link Multimaps#filterEntries(SetMultimap, Predicate)}. 34 FilteredEntrySetMultimap(SetMultimap<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) { 35 super(unfiltered, predicate);
|
FilteredKeyListMultimap.java | 20 import com.google.common.base.Predicate; 27 * Implementation of {@link Multimaps#filterKeys(ListMultimap, Predicate)}. 34 FilteredKeyListMultimap(ListMultimap<K, V> unfiltered, Predicate<? super K> keyPredicate) {
|
FilteredKeySetMultimap.java | 20 import com.google.common.base.Predicate; 28 * Implementation of {@link Multimaps#filterKeys(SetMultimap, Predicate)}. 36 FilteredKeySetMultimap(SetMultimap<K, V> unfiltered, Predicate<? super K> keyPredicate) {
|