/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
FluentIterable.java | 26 import com.google.common.base.Predicate; 193 * Returns the elements from this fluent iterable that satisfy a predicate. The 197 public final FluentIterable<E> filter(Predicate<? super E> predicate) { 198 return from(Iterables.filter(iterable, predicate)); 202 * Returns {@code true} if any element in this fluent iterable satisfies the predicate. 204 public final boolean anyMatch(Predicate<? super E> predicate) { 205 return Iterables.any(iterable, predicate); 209 * Returns {@code true} if every element in this fluent iterable satisfies the predicate [all...] |
Iterators.java | 33 import com.google.common.base.Predicate; 218 * Removes every element that satisfies the provided predicate from the 223 * @param predicate a predicate that determines whether an element should 229 Iterator<T> removeFrom, Predicate<? super T> predicate) { 230 checkNotNull(predicate); 233 if (predicate.apply(removeFrom.next())) { 624 * Returns the elements of {@code unfiltered} that satisfy a predicate. 627 final Iterator<T> unfiltered, final Predicate<? super T> predicate) [all...] |
Platform.java | 22 import com.google.common.base.Predicate; 135 SortedSet<E> unfiltered, Predicate<? super E> predicate) { 136 return Sets.filterSortedIgnoreNavigable(unfiltered, predicate); 140 SortedMap<K, V> unfiltered, Predicate<? super Map.Entry<K, V>> predicate) { 141 return Maps.filterSortedIgnoreNavigable(unfiltered, predicate);
|
/external/v8/tools/clang/rewrite_to_chrome_style/tests/ |
macros-expected.cc | 5 #define DEFINE_TYPE_CASTS(thisType, argumentType, argumentName, predicate) \ 7 if (!predicate) \
|
macros-original.cc | 5 #define DEFINE_TYPE_CASTS(thisType, argumentType, argumentName, predicate) \ 7 if (!predicate) \
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
StateController.java | 27 import java.util.function.Predicate; 73 Predicate<JobStatus> predicate); 75 Predicate<JobStatus> predicate);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
PropertyChangeTransform.java | 23 * single GL State variable. An optional predicate provides the ability to perform 24 * the change only if the predicate succeeds. 42 * check if the predicate function accepts the current value, and if so modify its 46 IPredicate predicate) { 49 mPredicate = predicate; 60 // if predicate is not null, then first check if the current value 61 // passes the predicate function. 95 // if the value doesn't match the predicate, then this property
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
CompilationUnit.kt | 21 import java.util.function.Predicate 34 open fun getImportStatements(predicate: Predicate<Item>): Collection<Item> = emptyList()
|
ClassItem.kt | 31 import java.util.function.Predicate 491 * Return superclass matching the given predicate. When a superclass doesn't 494 fun filteredSuperclass(predicate: Predicate<Item>): ClassItem? { 496 return if (predicate.test(superClass)) { 499 superClass.filteredSuperclass(predicate) 503 fun filteredSuperClassType(predicate: Predicate<Item>): TypeItem? { 508 if (predicate.test(superClass)) { 529 * Return methods matching the given predicate. Forcibly includes loca [all...] |
MethodItem.kt | 22 import java.util.function.Predicate 100 fun filteredThrowsTypes(predicate: Predicate<Item>): Collection<ClassItem> { 104 return filteredThrowsTypes(predicate, LinkedHashSet()) 108 predicate: Predicate<Item>, 113 if (predicate.test(cls)) { 119 if (predicate.test(curr)) { 146 fun findPredicateSuperMethod(predicate: Predicate<Item>): MethodItem? [all...] |
/external/guava/guava/src/com/google/common/collect/ |
FilteredEntryMultimap.java | 26 import com.google.common.base.Predicate; 40 * Implementation of {@link Multimaps#filterEntries(Multimap, Predicate)}. 48 final Predicate<? super Entry<K, V>> predicate; field in class:FilteredEntryMultimap 50 FilteredEntryMultimap(Multimap<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) { 52 this.predicate = checkNotNull(predicate); 61 public Predicate<? super Entry<K, V>> entryPredicate() { 62 return predicate; [all...] |
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
PsiCompilationUnit.kt | 36 import java.util.function.Predicate 66 override fun getImportStatements(predicate: Predicate<Item>): Collection<Item> { 77 if (predicate.test(classItem)) { 86 if (predicate.test(classItem)) { 94 if (predicate.test(classItem)) { 118 for (cls in classes(predicate)) { 154 private fun classes(predicate: Predicate<Item>): List<ClassItem> { 159 if (predicate.test(classItem)) [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
ObjectGraphMeasurer.java | 23 import com.google.common.base.Predicate; 164 * graph), and any object for which the user-provided predicate returns 168 * @param objectAcceptor a predicate that returns {@code true} for objects 173 public static Footprint measure(Object rootObject, Predicate<Object> objectAcceptor) { 174 Preconditions.checkNotNull(objectAcceptor, "predicate"); 176 Predicate<Chain> completePredicate = Predicates.and(ImmutableList.of( 192 private final Predicate<Chain> predicate; field in class:ObjectGraphMeasurer.ObjectGraphVisitor 194 ObjectGraphVisitor(Predicate<Chain> predicate) { [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
Dbg.stg | 42 -(BOOL) evalPredicate:(NSString *)predicate matched:(BOOL)result;<\n> 90 - (BOOL) evalPredicate:(BOOL)result Pred:(NSString *)predicate 92 [dbg semanticPredicate:result Pred:predicate]; 106 -(BOOL) evalPredicate:(NSString *)predicate matched:(BOOL)result 108 [debugListener semanticPredicate:predicate matched:result]; 225 /** Force predicate validation to trigger an event */
|
/external/guava/guava/src/com/google/common/base/ |
Predicates.java | 35 * Static utility methods pertaining to {@code Predicate} instances. 42 * use of {@code Predicate}</a>. 55 * Returns a predicate that always evaluates to {@code true}. 58 public static <T> Predicate<T> alwaysTrue() { 63 * Returns a predicate that always evaluates to {@code false}. 66 public static <T> Predicate<T> alwaysFalse() { 71 * Returns a predicate that evaluates to {@code true} if the object reference 75 public static <T> Predicate<T> isNull() { 80 * Returns a predicate that evaluates to {@code true} if the object reference 84 public static <T> Predicate<T> notNull() 321 final Predicate<T> predicate; field in class:Predicates.NotPredicate [all...] |
/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...] |
/libcore/ojluni/src/main/java/java/util/ |
Optional.java | 29 import java.util.function.Predicate; 159 * If a value is present, and the value matches the given predicate, 163 * @param predicate a predicate to apply to the value, if present 165 * if a value is present and the value matches the given predicate, 167 * @throws NullPointerException if the predicate is null 169 public Optional<T> filter(Predicate<? super T> predicate) { 170 Objects.requireNonNull(predicate); 174 return predicate.test(value) ? this : empty() [all...] |
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
file_utils.h | 31 // Invokes predicate(pid) for each folder in |proc_path|/[0-9]+ which has 34 std::function<void(int)> predicate);
|
/external/libbackup/src/com/google/android/libraries/backup/ |
BackupKeyPredicates.java | 19 * Returns a predicate that determines whether a key was defined as a field with the given 32 * Returns a predicate that determines whether a key matches a regex that was defined as a field 78 * Returns a predicate that determines whether a key is a member of the given collection. Changes 79 * to the given collection will change the returned predicate. 94 * Returns a predicate that determines whether a key contains any match for the given regular 108 * Returns a predicate that determines whether a key passes any of the given predicates. Each 109 * predicate is evaluated in the order given, and the evaluation process stops as soon as an 110 * accepting predicate is found. Changes to the given iterable will not change the returned 111 * predicate. The returned predicate returns {@code false} for any key if the given iterable i [all...] |
/frameworks/base/core/java/android/widget/ |
DayPickerViewPager.java | 27 import java.util.function.Predicate; 140 protected <T extends View> T findViewByPredicateTraversal(Predicate<View> predicate, 142 if (predicate.test(this)) { 150 final View v = current.findViewByPredicate(predicate); 161 final View v = child.findViewByPredicate(predicate);
|
/libcore/ojluni/src/main/java/java/util/stream/ |
DoubleStream.java | 79 * the given predicate. 84 * @param predicate a <a href="package-summary.html#NonInterference">non-interfering</a>, 86 * predicate to apply to each element to determine if it 90 DoubleStream filter(DoublePredicate predicate); 595 * predicate. May not evaluate the predicate on all elements if not 597 * {@code false} is returned and the predicate is not evaluated. 604 * predicate over the elements of the stream (for some x P(x)). 606 * @param predicate a <a href="package-summary.html#NonInterference">non-interfering</a>, 608 * predicate to apply to elements of this strea [all...] |
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
DialerFutures.java | 19 import com.google.common.base.Predicate; 35 * predicate, cancelling all inputs upon completion. If none match, {@code defaultValue} is 46 Predicate<T> predicate, 48 return firstMatchingImpl(futures, predicate, defaultValue); 53 Predicate<T> predicate, 75 if (!predicate.apply(value)) {
|
/external/parameter-framework/upstream/test/functional-tests/include/ |
StoreLogger.hpp | 85 template <class Predicate> 86 Logs filter(Predicate predicate) const 89 std::copy_if(logs.begin(), logs.end(), std::back_inserter(filtered), predicate);
|
/external/kotlinc/lib/ |
kotlin-runtime.jar | |
kotlin-stdlib.jar | |