/external/llvm/test/Transforms/IndVarSimplify/ |
D | backedge-on-min-max.ll | 14 %idx = phi i32 [ 0, %entry ], [ %idx.inc, %latch ] 17 br i1 %in.bounds, label %ok, label %latch 18 ; CHECK: br i1 true, label %ok, label %latch 23 br label %latch 25 latch: 42 %idx = phi i32 [ 0, %entry ], [ %idx.inc, %latch ] 45 br i1 %in.bounds, label %ok, label %latch 46 ; CHECK: br i1 true, label %ok, label %latch 51 br label %latch 53 latch: [all …]
|
D | lcssa-preservation.ll | 14 %outer.iv = phi i32 [ 0, %entry ], [ %x, %outer.latch ] 21 %inner.iv = phi i32 [ undef, %outer.header ], [ %inc, %inner.latch ] 23 br i1 %cmp1, label %inner.latch, label %outer.latch 24 ; CHECK: br i1 {{.*}}, label %inner.latch, label %outer.latch 26 inner.latch: 27 ; CHECK: inner.latch: 33 outer.latch: 34 ; CHECK: outer.latch: 39 ; CHECK-NEXT: %[[LCSSA:.*]] = phi i32 [ %[[SCEV_EXPANDED]], %inner.latch ] 47 %exit.phi = phi i32 [ %inc, %inner.latch ], [ undef, %outer.latch ]
|
D | strengthen-overflow.ll | 11 %civ = phi i32 [ %init, %entry ], [ %civ.inc, %latch ] 15 br i1 %cmp, label %latch, label %break 17 latch: 37 %civ = phi i32 [ %init, %entry ], [ %civ.inc, %latch ] 41 br i1 %cmp, label %latch, label %break 43 latch: 63 %civ = phi i32 [ %init, %entry ], [ %civ.inc, %latch ] 67 br i1 %cmp, label %latch, label %break 69 latch: 89 %civ = phi i32 [ %init, %entry ], [ %civ.inc, %latch ] [all …]
|
/external/llvm/test/Transforms/LoopUnroll/ |
D | pr18861.ll | 18 ; ( inner.latch ) ( outer.latch ) 23 ; When the inner loop is unrolled, we inner.latch block has only one 33 outer.header: ; preds = %outer.latch, %entry 34 %storemerge1 = phi i32 [ 0, %entry ], [ %inc9, %outer.latch ] 37 inner.header: ; preds = %inner.latch, %outer.header 38 %storemerge = phi i32 [ %add, %inner.latch ], [ 0, %outer.header ] 40 br i1 %cmp, label %inner.latch, label %outer.latch 42 inner.latch: ; preds = %inner.header 47 exit: ; preds = %inner.latch 48 %storemerge1.lcssa = phi i32 [ %storemerge1, %inner.latch ] [all …]
|
D | update-loop-info-in-subloops.ll | 8 ; CHECK: L.inner.latch: 9 ; CHECK: L.latch: 11 ; CHECK: L.inner.latch.1: 12 ; CHECK: L.latch.1: 19 %0 = phi i64 [ 1, %entry ], [ %1, %L.latch ] 23 br label %L.inner.latch 25 L.inner.latch: 26 br i1 false, label %L.latch, label %L.inner 28 L.latch:
|
D | runtime-loop4.ll | 17 %iv1 = phi i32 [ 0, %entry ], [ %inc1, %loop1.latch ] 35 br label %loop1.latch 37 loop1.latch:
|
/external/llvm/test/Transforms/LICM/ |
D | lcssa-ssa-promoter.ll | 25 br i1 undef, label %outer.latch, label %inner.preheader 27 ; CHECK-NEXT: br i1 undef, label %outer.latch, label %inner.preheader 35 br i1 undef, label %inner.body.rhs, label %inner.latch 37 ; CHECK-NEXT: %[[PHI0:[^,]+]] = phi i32 [ %{{[^,]+}}, %inner.latch ], [ 0, %inner.preheader ] 38 ; CHECK-NEXT: br i1 undef, label %inner.body.rhs, label %inner.latch 42 br label %inner.latch 44 ; CHECK-NEXT: br label %inner.latch 46 inner.latch: 50 ; CHECK: inner.latch: 55 br label %outer.latch [all …]
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | AutobahnTester.java | 66 final CountDownLatch latch = new CountDownLatch(1); in runTest() local 99 latch.countDown(); in runTest() 103 latch.countDown(); in runTest() 107 if (!latch.await(10, TimeUnit.SECONDS)) { in runTest() 116 final CountDownLatch latch = new CountDownLatch(1); in getTestCount() local 133 latch.countDown(); in getTestCount() 138 latch.countDown(); in getTestCount() 142 if (!latch.await(10, TimeUnit.SECONDS)) { in getTestCount() 156 final CountDownLatch latch = new CountDownLatch(1); in updateReports() local 169 latch.countDown(); in updateReports() [all …]
|
/external/dagger2/core/src/test/java/dagger/internal/ |
D | DoubleCheckLazyTest.java | 45 final CountDownLatch latch = new CountDownLatch(numThreads); in get() local 46 LatchedProvider provider = new LatchedProvider(latch); in get() 53 latch.countDown(); in get() 84 final CountDownLatch latch; field in DoubleCheckLazyTest.LatchedProvider 86 LatchedProvider(CountDownLatch latch) { in LatchedProvider() argument 87 this.latch = latch; in LatchedProvider() 93 if (latch != null) { in get() 94 Uninterruptibles.awaitUninterruptibly(latch); in get()
|
/external/llvm/test/Transforms/LoopRotate/ |
D | preserve-loop-simplify.ll | 25 ; Now the latch! 33 br i1 undef, label %outer.latch, label %inner.latch 36 inner.latch: 42 br label %outer.latch 43 ; CHECK-NEXT: br label %outer.latch 47 ; CHECK-NEXT: br label %outer.latch 49 outer.latch: 50 ; CHECK: outer.latch:
|
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
D | AbstractListenableFutureTest.java | 43 protected CountDownLatch latch; field in AbstractListenableFutureTest 50 latch = new CountDownLatch(1); in setUp() 51 future = createListenableFuture(Boolean.TRUE, null, latch); in setUp() 58 latch.countDown(); in tearDown() 94 latch.countDown(); in testGetBlocksUntilValueAvailable() 120 latch.countDown(); in testTimeoutOnGetWorksCorrectly() 160 latch.countDown(); in testCanceledFutureThrowsCancellation() 197 latch.countDown(); in testListenersNotifiedOnError() 226 latch.countDown(); in testAllListenersCompleteSuccessfully()
|
D | AbstractCheckedFutureTest.java | 71 createCheckedFuture(Boolean.TRUE, null, latch); in testCheckedGetThrowsApplicationExceptionOnCancellation() 98 createCheckedFuture(Boolean.TRUE, null, latch); in testCheckedGetThrowsApplicationExceptionOnInterruption() 135 createCheckedFuture(Boolean.TRUE, new Exception("Error"), latch); in testCheckedGetThrowsApplicationExceptionOnError() 143 latch.countDown(); in testCheckedGetThrowsApplicationExceptionOnError()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ListenableFutureTester.java | 43 private final CountDownLatch latch; field in ListenableFutureTester 48 this.latch = new CountDownLatch(1); in ListenableFutureTester() 54 latch.countDown(); in setUp() 58 assertEquals(1, latch.getCount()); in setUp() 72 assertTrue(latch.await(5, TimeUnit.SECONDS)); in testCompletedFuture() 84 assertTrue(latch.await(5, TimeUnit.SECONDS)); in testCancelledFuture() 99 assertTrue(latch.await(5, TimeUnit.SECONDS)); in testFailedFuture()
|
D | ListenerCallQueueTest.java | 81 final CountDownLatch latch = new CountDownLatch(1); in testAddAndExecute_multithreaded() local 87 queue.add(countDownCallback(latch)); in testAddAndExecute_multithreaded() 90 latch.await(); in testAddAndExecute_multithreaded() 103 final CountDownLatch latch = new CountDownLatch(1); in testAddAndExecute_multithreaded_withThrowingRunnable() local 113 queue.add(countDownCallback(latch)); in testAddAndExecute_multithreaded_withThrowingRunnable() 116 latch.await(); in testAddAndExecute_multithreaded_withThrowingRunnable() 131 private Callback<Object> countDownCallback(final CountDownLatch latch) { 134 latch.countDown();
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | Ping.java | 25 private final CountDownLatch latch = new CountDownLatch(1); field in Ping 40 latch.countDown(); in receive() 46 latch.countDown(); in cancel() 55 latch.await(); in roundTripTime() 65 if (latch.await(timeout, unit)) { in roundTripTime()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | GcFinalization.java | 165 public static void await(CountDownLatch latch) { in await() argument 166 if (latch.getCount() == 0) { in await() 173 if (latch.getCount() == 0) { in await() 178 if (latch.await(1L, SECONDS)) { in await() 193 private static void createUnreachableLatchFinalizer(final CountDownLatch latch) { in createUnreachableLatchFinalizer() argument 194 new Object() { @Override protected void finalize() { latch.countDown(); }}; in createUnreachableLatchFinalizer()
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
D | GcFinalizationTest.java | 43 final CountDownLatch latch = new CountDownLatch(1); in testAwait_CountDownLatch() local 45 @Override protected void finalize() { latch.countDown(); } in testAwait_CountDownLatch() 48 GcFinalization.await(latch); in testAwait_CountDownLatch() 49 assertEquals(0, latch.getCount()); in testAwait_CountDownLatch() 128 final CountDownLatch latch = new CountDownLatch(1); in testAwait_CountDownLatch_Interrupted() local 130 GcFinalization.await(latch); in testAwait_CountDownLatch_Interrupted()
|
/external/jetty/src/java/org/eclipse/jetty/server/ |
D | LocalConnector.java | 62 CountDownLatch latch = new CountDownLatch(1); in getResponses() local 63 Request request = new Request(requestsBuffer, keepOpen, latch); in getResponses() 65 latch.await(getMaxIdleTime(),TimeUnit.MILLISECONDS); in getResponses() 102 private Request(ByteArrayBuffer requestsBuffer, boolean keepOpen, CountDownLatch latch) in Request() argument 106 _latch = latch; in Request()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | CameraFacade.java | 161 final CountDownLatch latch = new CountDownLatch(1); in takePicture() local 183 latch.countDown(); in takePicture() 187 latch.await(); in takePicture() 192 final CountDownLatch latch = new CountDownLatch(1); in autoFocus() local 198 latch.countDown(); in autoFocus() 201 latch.await(); in autoFocus()
|
/external/autotest/client/cros/ |
D | httpd_unittest.py | 81 latch = test_server.add_wait_url('/quitquitquit') 84 while not latch.is_set(): 86 latch.wait(1)
|
/external/autotest/client/site_tests/login_ChromeProfileSanitary/ |
D | login_ChromeProfileSanitary.py | 70 latch = self._testServer.add_wait_url(self._wait_path) 74 latch.wait(timeout) 75 if not latch.is_set():
|
/external/droiddriver/src/io/appium/droiddriver/actions/view/ |
D | CloseKeyboardAction.java | 61 final CountDownLatch latch = new CountDownLatch(1); in perform() local 67 latch.countDown(); in perform() 78 if (!latch.await(getTimeoutMillis(), TimeUnit.MILLISECONDS)) { in perform()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | Uninterruptibles.java | 52 public static void awaitUninterruptibly(CountDownLatch latch) { in awaitUninterruptibly() argument 57 latch.await(); in awaitUninterruptibly() 75 public static boolean awaitUninterruptibly(CountDownLatch latch, in awaitUninterruptibly() argument 85 return latch.await(remainingNanos, NANOSECONDS); in awaitUninterruptibly()
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | CustomDispatcherTest.java | 62 final CountDownLatch latch = new CountDownLatch(1); in testOutOfOrderResponses() local 67 latch.await(); in testOutOfOrderResponses() 80 latch.countDown(); in testOutOfOrderResponses()
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | CustomDispatcherTest.java | 62 final CountDownLatch latch = new CountDownLatch(1); in outOfOrderResponses() local 67 latch.await(); in outOfOrderResponses() 80 latch.countDown(); in outOfOrderResponses()
|