Home
last modified time | relevance | path

Searched refs:alwaysTrue (Results 1 – 25 of 36) sorted by relevance

12

/external/guava/android/guava-tests/test/com/google/common/base/
DPredicatesTest.java47 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue();
97 assertEvalsToTrue(Predicates.alwaysTrue()); in testAlwaysTrue_apply()
102 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testAlwaysTrue_equality()
110 checkSerialization(Predicates.alwaysTrue()); in testAlwaysTrue_serialization()
125 .addEqualityGroup(Predicates.alwaysTrue()) in testAlwaysFalse_equality()
154 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testNot_equalityForNotOfKnownValues()
309 array[0] = Predicates.alwaysTrue(); in testAnd_arrayDefensivelyCopied()
473 array[0] = Predicates.alwaysTrue(); in testOr_arrayDefensivelyCopied()
481 list.add(Predicates.alwaysTrue()); in testOr_listDefensivelyCopied()
496 list.add(Predicates.alwaysTrue()); in testOr_iterableDefensivelyCopied()
[all …]
DFunctionsTest.java322 Function<Object, Boolean> alwaysTrue = Functions.forPredicate(Predicates.alwaysTrue()); in testForPredicate() local
325 assertTrue(alwaysTrue.apply(0)); in testForPredicate()
329 .addEqualityGroup(alwaysTrue, Functions.forPredicate(Predicates.alwaysTrue())) in testForPredicate()
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java47 private static final Predicate<Integer> TRUE = Predicates.alwaysTrue();
97 assertEvalsToTrue(Predicates.alwaysTrue()); in testAlwaysTrue_apply()
102 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testAlwaysTrue_equality()
110 checkSerialization(Predicates.alwaysTrue()); in testAlwaysTrue_serialization()
125 .addEqualityGroup(Predicates.alwaysTrue()) in testAlwaysFalse_equality()
154 .addEqualityGroup(TRUE, Predicates.alwaysTrue()) in testNot_equalityForNotOfKnownValues()
309 array[0] = Predicates.alwaysTrue(); in testAnd_arrayDefensivelyCopied()
473 array[0] = Predicates.alwaysTrue(); in testOr_arrayDefensivelyCopied()
481 list.add(Predicates.alwaysTrue()); in testOr_listDefensivelyCopied()
496 list.add(Predicates.alwaysTrue()); in testOr_iterableDefensivelyCopied()
[all …]
DFunctionsTest.java322 Function<Object, Boolean> alwaysTrue = Functions.forPredicate(Predicates.alwaysTrue()); in testForPredicate() local
325 assertTrue(alwaysTrue.apply(0)); in testForPredicate()
329 .addEqualityGroup(alwaysTrue, Functions.forPredicate(Predicates.alwaysTrue())) in testForPredicate()
/external/guava/android/guava-tests/test/com/google/common/io/
DCharStreamsTest.java76 LineProcessor<Integer> alwaysTrue = in testReadLines_withLineProcessor() local
94 CharStreams.readLines(r, alwaysTrue).intValue()); in testReadLines_withLineProcessor()
/external/guava/guava-tests/test/com/google/common/io/
DCharStreamsTest.java76 LineProcessor<Integer> alwaysTrue = in testReadLines_withLineProcessor() local
94 CharStreams.readLines(r, alwaysTrue).intValue()); in testReadLines_withLineProcessor()
/external/libbackup/src/com/google/android/libraries/backup/
DBackupKeyPredicates.java161 public static BackupKeyPredicate alwaysTrue() {
/external/caliper/caliper/src/main/java/com/google/caliper/memory/
DObjectGraphMeasurer.java155 return measure(rootObject, Predicates.alwaysTrue()); in measure()
/external/catch2/projects/SelfTest/UsageTests/
DMatchers.tests.cpp35 inline bool alwaysTrue(int) { return true; } in alwaysTrue() function
484 REQUIRE_THAT(1, Predicate<int>(alwaysTrue, "always true"));
/external/guava/android/guava-tests/test/com/google/common/collect/
DFluentIterableTest.java169 Predicate<X> xPredicate = Predicates.alwaysTrue(); in testConcatIntersectionType()
170 Predicate<Y> yPredicate = Predicates.alwaysTrue(); in testConcatIntersectionType()
402 assertThat(iterable.firstMatch(Predicates.alwaysTrue())).hasValue("cool"); in testFirstMatch()
DIteratorsTest.java290 Iterator<String> filtered = Iterators.filter(unfiltered, Predicates.alwaysTrue()); in testFilterMatchAll()
382 assertEquals("cool", Iterators.find(iterator, Predicates.alwaysTrue())); in testFind_matchAlways()
416 assertEquals("cool", Iterators.find(iterator, Predicates.alwaysTrue(), "woot")); in testFind_withDefault_matchAlways()
435 assertThat(Iterators.tryFind(iterator, Predicates.alwaysTrue())).hasValue("cool"); in testTryFind_alwaysTrue()
DIterablesTest.java244 assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue()));
254 assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue(), "woot"));
262 assertThat(Iterables.tryFind(list, Predicates.alwaysTrue())).hasValue("cool");
/external/guava/guava-tests/test/com/google/common/collect/
DFluentIterableTest.java173 Predicate<X> xPredicate = Predicates.alwaysTrue(); in testConcatIntersectionType()
174 Predicate<Y> yPredicate = Predicates.alwaysTrue(); in testConcatIntersectionType()
406 assertThat(iterable.firstMatch(Predicates.alwaysTrue())).hasValue("cool"); in testFirstMatch()
DIteratorsTest.java290 Iterator<String> filtered = Iterators.filter(unfiltered, Predicates.alwaysTrue()); in testFilterMatchAll()
382 assertEquals("cool", Iterators.find(iterator, Predicates.alwaysTrue())); in testFind_matchAlways()
416 assertEquals("cool", Iterators.find(iterator, Predicates.alwaysTrue(), "woot")); in testFind_withDefault_matchAlways()
435 assertThat(Iterators.tryFind(iterator, Predicates.alwaysTrue())).hasValue("cool"); in testTryFind_alwaysTrue()
DIterablesTest.java244 assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue()));
254 assertEquals("cool", Iterables.find(list, Predicates.alwaysTrue(), "woot"));
262 assertThat(Iterables.tryFind(list, Predicates.alwaysTrue())).hasValue("cool");
/external/guava/guava/src/com/google/common/collect/
DStandardTable.java20 import static com.google.common.base.Predicates.alwaysTrue;
502 removeFromColumnIf(alwaysTrue());
/external/guava/android/guava/src/com/google/common/collect/
DStandardTable.java20 import static com.google.common.base.Predicates.alwaysTrue;
477 removeFromColumnIf(alwaysTrue());
/external/guava/android/guava/src/com/google/common/base/
DPredicates.java50 public static <T> Predicate<T> alwaysTrue() { in alwaysTrue() method in Predicates
/external/guava/guava/src/com/google/common/base/
DPredicates.java50 public static <T> Predicate<T> alwaysTrue() { in alwaysTrue() method in Predicates
/external/guava/android/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java215 .put(Predicate.class, Predicates.alwaysTrue())
/external/guava/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java224 .put(Predicate.class, Predicates.alwaysTrue())
/external/bcc/tests/cc/
Dcatch.hpp400 inline bool alwaysTrue() { return true; } in alwaysTrue() function
2032 #define CATCH_BREAK_INTO_DEBUGGER() Catch::alwaysTrue();
5763 if( Catch::alwaysTrue() ) // avoids "no return" warnings in fatal()
7827 if( alwaysTrue() ) in throwLogicError()
/external/catch2/projects/SelfTest/Baselines/
Dcompact.sw.approved.txt236 Matchers.tests.cpp:<line number>: passed: 1, Predicate<int>(alwaysTrue, "always true") for: 1 match…
Dconsole.sw.approved.txt1856 REQUIRE_THAT( 1, Predicate<int>(alwaysTrue, "always true") )
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12