/frameworks/base/services/core/java/com/android/server/job/controllers/ |
IdleController.java | 37 import java.util.function.Predicate; 225 Predicate<JobStatus> predicate) { 231 if (!predicate.test(js)) { 244 Predicate<JobStatus> predicate) { 252 if (!predicate.test(js)) {
|
StorageController.java | 37 import java.util.function.Predicate; 159 Predicate<JobStatus> predicate) { 166 if (!predicate.test(js)) { 179 Predicate<JobStatus> predicate) { 190 if (!predicate.test(js)) {
|
/libcore/ojluni/src/main/java/java/util/stream/ |
IntStream.java | 77 * the given predicate. 82 * @param predicate a <a href="package-summary.html#NonInterference">non-interfering</a>, 84 * predicate to apply to each element to determine if it 88 IntStream filter(IntPredicate predicate); 540 * predicate. May not evaluate the predicate on all elements if not 542 * {@code false} is returned and the predicate is not evaluated. 549 * predicate over the elements of the stream (for some x P(x)). 551 * @param predicate a <a href="package-summary.html#NonInterference">non-interfering</a>, 553 * predicate to apply to elements of this strea [all...] |
LongStream.java | 81 * the given predicate. 86 * @param predicate a <a href="package-summary.html#NonInterference">non-interfering</a>, 88 * predicate to apply to each element to determine if it 92 LongStream filter(LongPredicate predicate); 544 * predicate. May not evaluate the predicate on all elements if not 546 * {@code false} is returned and the predicate is not evaluated. 553 * predicate over the elements of the stream (for some x P(x)). 555 * @param predicate a <a href="package-summary.html#NonInterference">non-interfering</a>, 557 * predicate to apply to elements of this strea [all...] |
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...] |
IntPipeline.java | 330 public final IntStream filter(IntPredicate predicate) { 331 Objects.requireNonNull(predicate); 344 if (predicate.test(t)) 477 public final boolean anyMatch(IntPredicate predicate) { 478 return evaluate(MatchOps.makeInt(predicate, MatchOps.MatchKind.ANY)); 482 public final boolean allMatch(IntPredicate predicate) { 483 return evaluate(MatchOps.makeInt(predicate, MatchOps.MatchKind.ALL)); 487 public final boolean noneMatch(IntPredicate predicate) { 488 return evaluate(MatchOps.makeInt(predicate, MatchOps.MatchKind.NONE));
|
ReferencePipeline.java | 42 import java.util.function.Predicate; 161 public final Stream<P_OUT> filter(Predicate<? super P_OUT> predicate) { 162 Objects.requireNonNull(predicate); 175 if (predicate.test(u)) 450 public final boolean anyMatch(Predicate<? super P_OUT> predicate) { 451 return evaluate(MatchOps.makeRef(predicate, MatchOps.MatchKind.ANY)); 455 public final boolean allMatch(Predicate<? super P_OUT> predicate) { [all...] |
/tools/metalava/src/main/java/com/android/tools/metalava/ |
AnnotationsDiffer.kt | 28 import java.util.function.Predicate 65 private val predicate = object : Predicate<Item> { 109 val apiEmit = apiFilter.and(predicate)
|
/external/mesa3d/src/util/ |
hash_table.c | 429 * implementation. @predicate may be used to filter entries, or may 434 bool (*predicate)(struct hash_entry *entry)) 444 (!predicate || predicate(entry))) { 451 (!predicate || predicate(entry))) {
|
/packages/experimental/FillService/src/foo/bar/fill/ |
FillService.java | 47 import java.util.function.Predicate; 256 Predicate<ViewNode> predicate) { 264 ViewNode node = findByPredicate(root, predicate); 272 private static ViewNode findByPredicate(ViewNode root, Predicate<ViewNode> predicate) { 276 if (predicate.test(root)) { 282 ViewNode node = findByPredicate(child, predicate);
|
/external/guava/guava/src/com/google/common/collect/ |
Multisets.java | 27 import com.google.common.base.Predicate; 240 * Returns a view of the elements of {@code unfiltered} that satisfy a predicate. The returned 246 * that doesn't satisfy the predicate, the multiset's {@code add()} and {@code addAll()} methods 258 * <p><b>Warning:</b> {@code predicate} must be <i>consistent with equals</i>, as documented at 259 * {@link Predicate#apply}. Do not provide a predicate such as 266 public static <E> Multiset<E> filter(Multiset<E> unfiltered, Predicate<? super E> predicate) { 271 Predicate<E> combinedPredicate 272 = Predicates.<E>and(filtered.predicate, predicate) 280 final Predicate<? super E> predicate; field in class:Multisets.FilteredMultiset 331 "Element %s does not match predicate %s", element, predicate); local [all...] |
/cts/tests/signature/src/android/signature/cts/ |
InterfaceChecker.java | 27 import java.util.function.Predicate; 91 private static <T> Predicate<T> not(Predicate<T> predicate) { 92 return predicate.negate();
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
DebugEventRepeater.cs | 113 public virtual void SemanticPredicate(bool result, string predicate) { 114 _listener.SemanticPredicate(result, predicate);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
DebugEventRepeater.cs | 136 public virtual void SemanticPredicate( bool result, string predicate ) 138 _listener.SemanticPredicate( result, predicate );
|
/external/autotest/client/cros/netprotos/ |
interface_host.py | 53 def run_until(self, predicate, timeout_seconds): 54 """Handle traffic from our socket until |predicate|() is true. 56 @param predicate: function without arguments that returns True or False. 57 @param timeout_seconds: number of seconds to wait for predicate to 59 @return: tuple(success, duration) where success is True iff predicate() 66 if predicate():
|
/external/google-breakpad/src/testing/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 116 // predicate, and its stderr output matches a user-supplied regular 118 // The user-supplied predicate may be a macro expression rather 185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ 199 if (!gtest_dt->Passed(predicate(gtest_dt->Wait()))) { \
|
/external/googletest/googletest/include/gtest/internal/ |
gtest-death-test-internal.h | 116 // predicate, and its stderr output matches a user-supplied regular 118 // The user-supplied predicate may be a macro expression rather 185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ 199 if (!gtest_dt->Passed(predicate(gtest_dt->Wait()))) { \
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
gtest-death-test-internal.h | 116 // predicate, and its stderr output matches a user-supplied regular 118 // The user-supplied predicate may be a macro expression rather 185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ 199 if (!gtest_dt->Passed(predicate(gtest_dt->Wait()))) { \
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-death-test-internal.h | 116 // predicate, and its stderr output matches a user-supplied regular 118 // The user-supplied predicate may be a macro expression rather 185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ 199 if (!gtest_dt->Passed(predicate(gtest_dt->Wait()))) { \
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
s-c.c | 110 int *predicate; member in struct:__anon28617 274 while ((ret == 0) && (*(dt->predicate) == 0)); 311 int predicate; local 320 td.predicate = &predicate; 399 predicate = 0; 422 predicate = 1; 491 predicate = 1;
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 116 // predicate, and its stderr output matches a user-supplied regular 118 // The user-supplied predicate may be a macro expression rather 185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ 199 if (!gtest_dt->Passed(predicate(gtest_dt->Wait()))) { \
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_vec4_dead_code_eliminate.cpp | 112 if (inst->dst.file == VGRF && !inst->predicate && 124 if (inst->writes_flag() && !inst->predicate) {
|
/external/protobuf/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 110 // predicate, and its stderr output matches a user-supplied regular 112 // The user-supplied predicate may be a macro expression rather 154 #define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ 168 if (!gtest_dt->Passed(predicate(gtest_dt->Wait()))) { \
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
InstrTypes.h | 645 /// predicate values are not overlapping between the classes. 646 enum Predicate { 686 /// Construct a compare instruction, given the opcode, the predicate and 692 unsigned short predicate, Value *S1, 696 /// Construct a compare instruction, given the opcode, the predicate and the 700 static CmpInst *Create(OtherOps Op, unsigned short predicate, Value *S1, 708 /// @brief Return the predicate for this instruction. 709 Predicate getPredicate() const { 710 return Predicate(getSubclassDataFromInstruction()); 713 /// @brief Set the predicate for this instruction to the specified value [all...] |
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/ |
gtest-death-test-internal.h | 116 // predicate, and its stderr output matches a user-supplied regular 118 // The user-supplied predicate may be a macro expression rather 185 # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ 199 if (!gtest_dt->Passed(predicate(gtest_dt->Wait()))) { \
|