HomeSort by relevance Sort by last modified time
    Searched refs:Predicate (Results 76 - 100 of 774) sorted by null

1 2 34 5 6 7 8 91011>>

  /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...]
Iterables.java 27 import com.google.common.base.Predicate;
161 * predicate.
164 * @param predicate a predicate that determines whether an element should
173 Iterable<T> removeFrom, Predicate<? super T> predicate) {
176 (List<T>) removeFrom, checkNotNull(predicate));
178 return Iterators.removeIf(removeFrom.iterator(), predicate);
182 List<T> list, 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/llvm/include/llvm/Analysis/
ScalarEvolution.h 195 /// \brief Returns the estimated complexity of this predicate.
199 /// \brief Returns true if the predicate is always true. This means that no
203 /// \brief Returns true if this predicate implies \p N.
206 /// \brief Prints a textual representation of this predicate with an
210 /// \brief Returns the SCEV to which this predicate applies, or nullptr
292 /// \brief Adds a predicate to this union.
305 /// \brief We estimate the complexity of a union predicate as the size
395 /// Mark predicate values currently being processed by isImpliedCond.
403 /// predicate by splitting it into a set of independent predicates.
631 ICmpInst::Predicate p)
    [all...]
ConstantFolding.h 65 ConstantFoldCompareInstOperands(unsigned Predicate, Constant *LHS,
  /external/owasp/sanitizer/src/main/org/owasp/html/examples/
EbayPolicyExample.java 42 import com.google.common.base.Predicate;
102 private static final Predicate<String> COLOR_NAME_OR_COLOR_CODE
103 = new Predicate<String>() {
110 private static final Predicate<String> ONSITE_OR_OFFSITE_URL
111 = new Predicate<String>() {
  /external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/
SmalideaClassDef.java 35 import com.google.common.base.Predicate;
135 Iterables.filter(Arrays.asList(psiClass.getFields()), new Predicate<PsiField>() {
153 Iterables.filter(Arrays.asList(psiClass.getFields()), new Predicate<PsiField>() {
179 new Predicate<PsiMethod>() {
196 Iterables.filter(Arrays.asList(psiClass.getMethods()), new Predicate<PsiMethod>() {
  /libcore/ojluni/src/main/java/java/util/stream/
Stream.java 43 import java.util.function.Predicate;
78 * stream into another stream, such as {@link Stream#filter(Predicate)}), and a
155 * the given predicate.
160 * @param predicate a <a href="package-summary.html#NonInterference">non-interfering</a>,
162 * predicate to apply to each element to determine if it
166 Stream<T> filter(Predicate<? super T> predicate);
    [all...]
  /external/llvm/include/llvm/IR/
InstrTypes.h     [all...]
ConstantRange.h 64 /// predicate with any value contained within Other is contained in the
71 static ConstantRange makeAllowedICmpRegion(CmpInst::Predicate Pred,
75 /// satisfy the given predicate with all values contained within Other.
82 static ConstantRange makeSatisfyingICmpRegion(CmpInst::Predicate Pred,
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
SemanticContext.java 40 * an NFA configuration is valid. It's either a single predicate or
52 * I have scoped the AND, NOT, OR, and Predicate subclasses of
65 public static final SemanticContext EMPTY_SEMANTIC_CONTEXT = new Predicate(Predicate.INVALID_PRED_VALUE);
87 public static class Predicate extends SemanticContext {
88 /** The AST node in tree created from the grammar holding the predicate */
91 /** Is this a {...}?=> gating predicate or a normal disambiguating {..}?
92 * If any predicate in expression is gated, then expression is considered
95 * The simple Predicate object's predicate AST's type is used to se
309 CommutativePredicate predicate = (CommutativePredicate)a; local
316 CommutativePredicate predicate = (CommutativePredicate)b; local
328 CommutativePredicate predicate = (CommutativePredicate)context; local
    [all...]
  /external/guava/guava/src/com/google/common/collect/
Iterables.java 28 import com.google.common.base.Predicate;
163 * predicate.
166 * @param predicate a predicate that determines whether an element should
175 Iterable<T> removeFrom, Predicate<? super T> predicate) {
178 (List<T>) removeFrom, checkNotNull(predicate));
180 return Iterators.removeIf(removeFrom.iterator(), predicate);
184 List<T> list, Predicate<? super T> predicate) {
    [all...]
FilteredMultimapValues.java 21 import com.google.common.base.Predicate;
62 Predicate<? super Entry<K, V>> entryPredicate = multimap.entryPredicate();
FilteredKeyMultimap.java 21 import com.google.common.base.Predicate;
34 * Implementation of {@link Multimaps#filterKeys(Multimap, Predicate)}.
41 final Predicate<? super K> keyPredicate;
43 FilteredKeyMultimap(Multimap<K, V> unfiltered, Predicate<? super K> keyPredicate) {
54 public Predicate<? super Entry<K, V>> entryPredicate() {
120 throw new IllegalArgumentException("Key does not satisfy predicate: " + key);
126 throw new IllegalArgumentException("Key does not satisfy predicate: " + key);
157 throw new IllegalArgumentException("Key does not satisfy predicate: " + key);
164 throw new IllegalArgumentException("Key does not satisfy predicate: " + key);
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
ComponentWriter.java 18 import com.google.common.base.Predicate;
111 new Predicate<TypeElement>() {
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
TypeVariableName.java 20 import com.google.common.base.Predicate;
107 .filter(new Predicate<TypeMirror>() {
  /libcore/luni/src/main/java/java/util/concurrent/
CopyOnWriteArraySet.java 17 import java.util.function.Predicate;
386 public boolean removeIf(Predicate<? super E> filter) {
  /libcore/ojluni/src/main/java/java/util/
Optional.java 29 import java.util.function.Predicate;
158 * If a value is present, and the value matches the given predicate,
162 * @param predicate a predicate to apply to the value, if present
164 * if a value is present and the value matches the given predicate,
166 * @throws NullPointerException if the predicate is null
168 public Optional<T> filter(Predicate<? super T> predicate) {
169 Objects.requireNonNull(predicate);
173 return predicate.test(value) ? this : empty()
    [all...]
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_dump.c 499 if (inst->Instruction.Predicate) {
502 if (inst->Predicate.Negate)
506 SID( inst->Predicate.Index );
509 if (inst->Predicate.SwizzleX != TGSI_SWIZZLE_X ||
510 inst->Predicate.SwizzleY != TGSI_SWIZZLE_Y ||
511 inst->Predicate.SwizzleZ != TGSI_SWIZZLE_Z ||
512 inst->Predicate.SwizzleW != TGSI_SWIZZLE_W) {
514 ENM( inst->Predicate.SwizzleX, tgsi_swizzle_names );
515 ENM( inst->Predicate.SwizzleY, tgsi_swizzle_names );
516 ENM( inst->Predicate.SwizzleZ, tgsi_swizzle_names )
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/memory/
ObjectExplorer.java 20 import com.google.common.base.Predicate;
173 * A stateful predicate that allows exploring an object (the tail of the chain) only once.
175 static class AtMostOncePredicate implements Predicate<Chain> {
184 static final Predicate<Chain> notEnumFieldsOrClasses = new Predicate<Chain>() {
  /external/opencv3/modules/core/include/opencv2/core/cuda/
functional.hpp 633 template <typename Predicate> struct unary_negate : unary_function<typename Predicate::argument_type, bool>
635 explicit __host__ __device__ __forceinline__ unary_negate(const Predicate& p) : pred(p) {}
637 __device__ __forceinline__ bool operator()(typename TypeTraits<typename Predicate::argument_type>::ParameterType x) const
645 Predicate pred;
648 template <typename Predicate> __host__ __device__ __forceinline__ unary_negate<Predicate> not1(const Predicate& pred)
650 return unary_negate<Predicate>(pred);
653 template <typename Predicate> struct binary_negate : binary_function<typename Predicate::first_argument_type, typename Predicat (…)
    [all...]
  /frameworks/base/test-runner/src/android/test/suitebuilder/
TestGrouping.java 23 import com.android.internal.util.Predicate;
169 private <T> List<T> select(Collection<T> items, Predicate<T> predicate) {
172 if (predicate.apply(item)) {
213 private static class TestCasePredicate implements Predicate<Class<?>> {
247 private static class TestMethodPredicate implements Predicate<Method> {
  /system/security/keystore/
auth_token_table.cpp 32 template <typename Container, typename Predicate>
33 typename Container::iterator find_if(Container& container, Predicate pred) {
37 template <typename Container, typename Predicate>
38 typename Container::iterator remove_if(Container& container, Predicate pred) {
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
Collections2Test.java 27 import com.google.common.base.Predicate;
46 static final Predicate<String> NOT_YYY_ZZZ = new Predicate<String>() {
53 static final Predicate<String> LENGTH_1 = new Predicate<String>() {
60 static final Predicate<String> STARTS_WITH_VOWEL = new Predicate<String>() {
  /external/guava/guava-tests/test/com/google/common/collect/
FilteredCollectionsTest.java 21 import com.google.common.base.Predicate;
42 private static final Predicate<Integer> EVEN = new Predicate<Integer>() {
49 private static final Predicate<Integer> PRIME_DIGIT =
72 abstract C filter(C elements, Predicate<? super Integer> predicate);
379 Iterable<Integer> filter(Iterable<Integer> elements, Predicate<? super Integer> predicate) {
380 return Iterables.filter(elements, predicate);
392 Collection<Integer> filter(Collection<Integer> elements, Predicate<? super Integer> predicate)
    [all...]

Completed in 829 milliseconds

1 2 34 5 6 7 8 91011>>