/external/guava/guava-tests/test/com/google/common/base/ |
H A D | PredicatesTest.java | 40 * Unit test for {@link Predicates}. 46 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue(); 47 private static final Predicate<Integer> FALSE = Predicates.alwaysFalse(); 86 * Tests for Predicates.alwaysTrue(). 90 assertEvalsToTrue(Predicates.alwaysTrue()); 95 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) 97 .addEqualityGroup(Predicates.alwaysFalse()) 103 checkSerialization(Predicates.alwaysTrue()); 107 * Tests for Predicates.alwaysFalse(). 111 assertEvalsToFalse(Predicates [all...] |
H A D | FunctionsTest.java | 316 Predicate<? super Integer> h = Predicates.equalTo(42); 320 Predicate<Float> p1 = Predicates.compose(Predicates.compose(h, g), f); 321 Predicate<Float> p2 = Predicates.compose(h, Functions.compose(g, f)); 335 Functions.forPredicate(Predicates.alwaysTrue()); 337 Functions.forPredicate(Predicates.alwaysFalse()); 344 alwaysTrue, Functions.forPredicate(Predicates.alwaysTrue())) 352 checkCanReserialize(Functions.forPredicate(Predicates.equalTo(5)));
|
H A D | CharMatcherTest.java | 108 doTestEmpty(forPredicate(Predicates.equalTo('c'))); 123 doTestNull(forPredicate(Predicates.equalTo('c'))); 172 doTestNoMatches(forPredicate(Predicates.equalTo('c')), "abe"); 200 doTestAllMatches(forPredicate(Predicates.equalTo('c')), "ccc");
|
/external/droiddriver/src/com/google/android/droiddriver/finders/ |
H A D | By.java | 37 return new MatchFinder(Predicates.attributeTrue(attribute)); 44 return new MatchFinder(Predicates.attributeFalse(attribute)); 49 return new MatchFinder(Predicates.attributeEquals(Attribute.RESOURCE_ID, resourceId)); 54 return new MatchFinder(Predicates.attributeEquals(Attribute.PACKAGE, name)); 59 return new MatchFinder(Predicates.attributeEquals(Attribute.TEXT, text)); 64 return new MatchFinder(Predicates.attributeMatches(Attribute.TEXT, regex)); 69 return new MatchFinder(Predicates.attributeContains(Attribute.TEXT, substring)); 74 return new MatchFinder(Predicates.attributeEquals(Attribute.CONTENT_DESC, contentDescription)); 79 return new MatchFinder(Predicates.attributeContains(Attribute.CONTENT_DESC, substring)); 84 return new MatchFinder(Predicates [all...] |
H A D | MatchFinder.java | 34 this.predicate = Predicates.any();
|
H A D | Predicates.java | 26 public final class Predicates { class 27 private Predicates() {} method in class:Predicates
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
H A D | Predicates.java | 41 public final class Predicates { class 42 private Predicates() {} method in class:Predicates 124 return new AndPredicate<T>(Predicates.<T>asList( 163 return new OrPredicate<T>(Predicates.<T>asList( 173 ? Predicates.<T>isNull() 186 * Predicates.<Object>in()}. 236 /** @see Predicates#not(Predicate) */ 265 /** @see Predicates#and(Iterable) */ 298 /** @see Predicates#or(Iterable) */ 331 /** @see Predicates#equalT [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | IterablesTest.java | 33 import com.google.common.base.Predicates; 216 Predicates.equalTo("foo")); 227 Predicate<String> predicate = Predicates.equalTo("pants"); 238 Predicate<String> predicate = Predicates.equalTo("cool"); 249 assertEquals("cool", Iterables.find(list, Predicates.equalTo("cool"))); 250 assertEquals("pants", Iterables.find(list, Predicates.equalTo("pants"))); 252 Iterables.find(list, Predicates.alwaysFalse()); 256 assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue())); 263 Iterables.find(list, Predicates.equalTo("cool"), "woot")); 265 Iterables.find(list, Predicates [all...] |
H A D | IteratorsTest.java | 33 import com.google.common.base.Predicates; 230 Predicates.equalTo("foo")); 239 Predicates.alwaysFalse()); 248 Predicates.alwaysTrue()); 289 Predicate<String> predicate = Predicates.equalTo("pants"); 300 Predicate<String> predicate = Predicates.equalTo("cool"); 312 assertEquals("cool", Iterators.find(iterator, Predicates.equalTo("cool"))); 320 Predicates.equalTo("pants"))); 328 Iterators.find(iterator, Predicates.alwaysFalse()); 338 assertEquals("cool", Iterators.find(iterator, Predicates [all...] |
/external/droiddriver/src/com/google/android/droiddriver/scroll/ |
H A D | SentinelStrategy.java | 26 import com.google.android.droiddriver.finders.Predicates; 149 super(Predicates.allOf(original.predicate, extraPredicate));
|
/external/guava/guava/src/com/google/common/base/ |
H A D | Predicates.java | 44 public final class Predicates { class 45 private Predicates() {} method in class:Predicates 127 return new AndPredicate<T>(Predicates.<T>asList( 166 return new OrPredicate<T>(Predicates.<T>asList( 176 ? Predicates.<T>isNull() 222 * Predicates.<Object>in()}. 299 /** @see Predicates#not(Predicate) */ 328 /** @see Predicates#and(Iterable) */ 361 /** @see Predicates#or(Iterable) */ 394 /** @see Predicates#equalT [all...] |
/external/llvm/utils/TableGen/ |
H A D | FixedLenDecoderEmitter.cpp | 72 PredicateSet Predicates; member in struct:__anon26592::DecoderTableInfo 103 PredicateSet &Predicates, 435 // Emits code to check the Predicates member of an instruction are true. 874 emitPredicateFunction(formatted_raw_ostream &OS, PredicateSet &Predicates, 881 if (!Predicates.empty()) { 885 for (PredicateSet::const_iterator I = Predicates.begin(), E = Predicates.end(); 1149 ListInit *Predicates = 1150 AllInstructions[Opc]->TheDef->getValueAsListInit("Predicates"); 1151 for (unsigned i = 0; i < Predicates [all...] |
H A D | X86RecognizableInstr.cpp | 220 std::vector<Record*> Predicates = Rec->getValueAsListOfDefs("Predicates"); local 221 for (unsigned i = 0, e = Predicates.size(); i != e; ++i) { 222 if (Predicates[i]->getName().find("Not64Bit") != Name.npos || 223 Predicates[i]->getName().find("In32Bit") != Name.npos) { 227 if (Predicates[i]->getName().find("In64Bit") != Name.npos) {
|
/external/droiddriver/src/com/google/android/droiddriver/base/ |
H A D | BaseUiElement.java | 28 import com.google.android.droiddriver.finders.Predicates; 243 if (predicate == null || predicate.equals(Predicates.any())) {
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | Collections2.java | 26 import com.google.common.base.Predicates; 72 * as {@code Predicates.instanceOf(ArrayList.class)}, which is inconsistent 114 Predicates.<E>and(predicate, newPredicate));
|
H A D | SortedMaps.java | 33 import com.google.common.base.Predicates; 215 * predicate such as {@code Predicates.instanceOf(ArrayList.class)}, which is 259 * predicate such as {@code Predicates.instanceOf(ArrayList.class)}, which is 323 = Predicates.and(map.predicate, entryPredicate);
|
H A D | Sets.java | 29 import com.google.common.base.Predicates; 646 final Predicate<Object> inSet2 = Predicates.in(set2); 683 final Predicate<Object> notInSet2 = Predicates.not(Predicates.in(set2)); 743 * as {@code Predicates.instanceOf(ArrayList.class)}, which is inconsistent 758 = Predicates.<E>and(filtered.predicate, predicate); 805 * {@code Predicates.instanceOf(ArrayList.class)}, which is inconsistent with 820 = Predicates.<E>and(filtered.predicate, predicate);
|
H A D | StandardTable.java | 25 import com.google.common.base.Predicates; 582 Predicate<Entry<R, V>> predicate = Predicates.alwaysTrue(); 611 return removePredicate(Predicates.not(Predicates.in(c)));
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | StructurizeCFG.cpp | 176 PredMap Predicates; member in class:__anon26341::StructurizeCFG 365 BBPredicates &Pred = Predicates[BB]; 428 Predicates.clear(); 468 BBPredicates &Preds = Loops ? LoopPreds[SuccFalse] : Predicates[SuccTrue]; 685 BBPredicates &Preds = Predicates[Node->getEntry()]; 697 BBPredicates &Preds = Predicates[Node->getEntry()]; 879 Predicates.clear();
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
H A D | NullPointerTester.java | 23 import com.google.common.base.Predicates; 88 setDefault(Predicate.class, Predicates.alwaysTrue());
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | Sets.java | 28 import com.google.common.base.Predicates; 634 final Predicate<Object> inSet2 = Predicates.in(set2); 671 final Predicate<Object> notInSet2 = Predicates.not(Predicates.in(set2)); 731 * as {@code Predicates.instanceOf(ArrayList.class)}, which is inconsistent 746 = Predicates.<E>and(filtered.predicate, predicate); 793 * {@code Predicates.instanceOf(ArrayList.class)}, which is inconsistent with 808 = Predicates.<E>and(filtered.predicate, predicate);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_exec.h | 262 struct tgsi_exec_vector *Predicates; member in struct:tgsi_exec_machine
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_exec.h | 262 struct tgsi_exec_vector *Predicates; member in struct:tgsi_exec_machine
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
H A D | ClassProto.java | 34 import com.google.common.base.Predicates; 196 Iterables.filter(getInterfaces().values(), Predicates.notNull());
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/ |
H A D | template-output.rb | 207 grammar Predicates;
|