/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
TabulatorsTest.java | 45 import java.util.function.Predicate; 144 private final Predicate<T> predicate; field in class:TabulatorsTest.PartitionAssertion 147 protected PartitionAssertion(Predicate<T> predicate, 149 this.predicate = predicate; 159 downstream.assertValue(map.get(true), () -> source.get().filter(predicate), ordered); 160 downstream.assertValue(map.get(false), () -> source.get().filter(predicate.negate()), ordered); 577 Predicate<Integer> classifier = i -> i % 3 == 0 [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
MapsTest.java | 29 import com.google.common.base.Predicate; 1191 Predicate<Object> predicate = Predicates.alwaysFalse(); local 1202 Predicate<Entry<?, ?>> predicate = new Predicate<Entry<?, ?>>() { local [all...] |
/prebuilts/misc/common/droiddriver/ |
droiddriver-0.9.jar | |
/external/guava/guava-tests/test/com/google/common/collect/ |
MultimapsCollectionTest.java | 32 import com.google.common.base.Predicate; 222 private static final Predicate<Map.Entry<Integer, String>> FILTER_GET_PREDICATE 223 = new Predicate<Map.Entry<Integer, String>>() { 229 private static final Predicate<Map.Entry<String, Integer>> FILTER_KEYSET_PREDICATE 230 = new Predicate<Map.Entry<String, Integer>>() { 568 .named("Multimaps.filterKeys[SetMultimap, Predicate]") 588 .named("Multimaps.filterKeys[ListMultimap, Predicate]") 607 .named("Multimaps.filterKeys[Multimaps.filterKeys[ListMultimap], Predicate]") 626 .named("Multimaps.filterValues[SetMultimap, Predicate]") 644 .named("Multimaps.filterEntries[SetMultimap, Predicate]") [all...] |
IteratorsTest.java | 32 import com.google.common.base.Predicate; 306 new Predicate<String>() { 321 final Predicate<Integer> isEven = new Predicate<Integer>() { 337 Predicate<String> predicate = Predicates.equalTo("pants"); local 339 assertFalse(Iterators.any(list.iterator(), predicate)); local 341 assertFalse(Iterators.any(list.iterator(), predicate)); local 343 assertTrue(Iterators.any(list.iterator(), predicate)); local 348 Predicate<String> predicate = Predicates.equalTo("cool") local 350 assertTrue(Iterators.all(list.iterator(), predicate)); local 352 assertTrue(Iterators.all(list.iterator(), predicate)); local 354 assertFalse(Iterators.all(list.iterator(), predicate)); local [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineAndOrXor.cpp | 40 /// Similar to getICmpCode but for FCmpInst. This encodes a fcmp predicate into 41 /// a three bit mask. It also returns whether it is an ordered predicate by 43 static unsigned getFCmpCode(FCmpInst::Predicate CC, bool &isOrdered) { 63 llvm_unreachable("Unexpected FCmp predicate!"); 69 /// instruction. The sign is passed in to determine which kind of predicate to 73 ICmpInst::Predicate NewPred; 81 /// which kind of predicate to use in the new fcmp instruction. 85 CmpInst::Predicate Pred; 312 ICmpInst::Predicate pred = (isSigned ? 330 ICmpInst::Predicate pred = (isSigned [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
BasicCallTests.java | 56 import com.google.common.base.Predicate; 290 assertTrueWithTimeout(new Predicate<Void>() { 296 assertTrueWithTimeout(new Predicate<Void>() { 335 assertTrueWithTimeout(new Predicate<Void>() { 375 assertTrueWithTimeout(new Predicate<Void>() { [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64FastISel.cpp | [all...] |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
ComponentDescriptor.java | 22 import com.google.common.base.Predicate; 209 * A predicate that passes for {@link ComponentMethodDescriptor}s of a given kind. 211 static Predicate<ComponentMethodDescriptor> isOfKind(final ComponentMethodKind kind) { 212 return new Predicate<ComponentMethodDescriptor>() {
|
/external/guava/guava-tests/test/com/google/common/base/ |
FunctionsTest.java | 317 Predicate<? super Integer> h = Predicates.equalTo(42); 321 Predicate<Float> p1 = Predicates.compose(Predicates.compose(h, g), f); 322 Predicate<Float> p2 = Predicates.compose(h, Functions.compose(g, f));
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
Array.java | 38 private Predicate.PredicateIterable<T> predicateIterable;
422 * that the same iterable instance is returned each time this method is called. Use the {@link Predicate.PredicateIterable}
424 public Iterable<T> select (Predicate<T> predicate) {
426 predicateIterable = new Predicate.PredicateIterable<T>(this, predicate);
428 predicateIterable.set(this, predicate);
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_text.c | 875 /* Parse predicate. 884 inst.Instruction.Predicate = 1; 889 inst.Predicate.Negate = 1; 897 inst.Predicate.SwizzleX = swizzle[0]; 898 inst.Predicate.SwizzleY = swizzle[1]; 899 inst.Predicate.SwizzleZ = swizzle[2]; 900 inst.Predicate.SwizzleW = swizzle[3]; [all...] |
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
ShortcutManagerTestUtils.java | 82 import java.util.function.Predicate; 163 Predicate<List<String>> resultAsserter) { 183 Predicate<List<String>> resultAsserter) { 376 public static List<ShortcutInfo> filter(List<ShortcutInfo> list, Predicate<ShortcutInfo> p) { 644 public static <T> T checkArgument(Predicate<T> checker, String description, 909 public ShortcutListAsserter forShortcut(Predicate<ShortcutInfo> p, [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Range.java | 24 import com.google.common.base.Predicate; 96 * <li>When evaluated as a {@link Predicate}, a range yields the same result as invoking {@link 115 public final class Range<C extends Comparable> implements Predicate<C>, Serializable { 450 * @deprecated Provided only to satisfy the {@link Predicate} interface; use {@link #contains}
|
/external/guava/guava-tests/test/com/google/common/net/ |
MediaTypeTest.java | 40 import com.google.common.base.Predicate; 89 .filter(new Predicate<Field>() {
|
/external/llvm/include/llvm/IR/ |
NoFolder.h | 254 Instruction *CreateICmp(CmpInst::Predicate P, 258 Instruction *CreateFCmp(CmpInst::Predicate P,
|
Instructions.h | [all...] |
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
HexagonMCCompound.cpp | 153 // that predicate register will match. Nevertheless, 181 const MCOperand &Predicate = HMCI.getOperand(0); 182 unsigned PredReg = Predicate.getReg();
|
/external/llvm/lib/Target/PowerPC/InstPrinter/ |
PPCInstPrinter.cpp | 162 switch ((PPC::Predicate)Code) { 205 llvm_unreachable("Invalid use of bit predicate code"); 207 llvm_unreachable("Invalid predicate code"); 211 switch ((PPC::Predicate)Code) { 243 llvm_unreachable("Invalid use of bit predicate code"); 245 llvm_unreachable("Invalid predicate code"); 249 "Need to specify 'cc', 'pm' or 'reg' as predicate op modifier!");
|
/external/llvm/utils/TableGen/ |
DAGISelMatcher.cpp | 152 OS.indent(indent) << "CheckPatternPredicate " << Predicate << '\n'; 291 return HashString(Predicate);
|
DAGISelMatcher.h | 57 // Predicate checking. 61 CheckPredicate, // Fail if node predicate fails. 121 /// isSimplePredicateNode - Return true if this is a simple predicate that 146 /// a simple predicate. 169 // Since this predicate is reflexive, we canonicalize the ordering so that 428 /// CheckPatternPredicateMatcher - This checks the target-specific predicate 429 /// to see if the entire pattern is capable of matching. This predicate does 432 std::string Predicate; 434 CheckPatternPredicateMatcher(StringRef predicate) 435 : Matcher(CheckPatternPredicate), Predicate(predicate) { [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlPolicyBuilder.java | 39 import com.google.common.base.Predicate; 671 * matching the given predicate. 676 final Predicate<? super String> filter) {
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
ApiBrowser.java | 39 import com.google.common.base.Predicate; 105 new Predicate<MethodDescriptor>() {
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/numeric/conversion/detail/ |
converter.hpp | 72 // Each predicate is encapsulated in a template class and exposes 79 // tags are used to allow the predicate applier to receive 2 preds, but optimize away 206 // Predicate Combiner. 288 typedef typename combine<IsNegOverflow,IsPosOverflow>::type Predicate ; 290 return Predicate::apply(s);
|
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | [all...] |