Home
last modified time | relevance | path

Searched refs:run (Results 1 – 25 of 270) sorted by relevance

1234567891011

/libcore/ojluni/src/main/java/java/text/
DBidi.java322 public int getRunLevel(int run) { in getRunLevel() argument
324 if (run == getRunCount()) { in getRunLevel()
328 return (bidiBase.countRuns() == 0 ? bidiBase.getBaseLevel() : bidiBase.getRunLevel(run)); in getRunLevel()
337 public int getRunStart(int run) { in getRunStart() argument
339 if (run == getRunCount()) { in getRunStart()
343 return (bidiBase.countRuns() == 0 ? 0 : bidiBase.getRunStart(run)); in getRunStart()
353 public int getRunLimit(int run) { in getRunLimit() argument
355 if (run == getRunCount()) { in getRunLimit()
359 return (bidiBase.countRuns() == 0 ? bidiBase.getLength() : bidiBase.getRunLimit(run)); in getRunLimit()
/libcore/metrictests/memory/apps/src/libcore/heapdumper/
DActions.java35 public void run() { in run() method
45 public void run() { in run() method
55 public void run() { in run() method
65 public void run() { in run() method
72 public void run() { in run() method
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DProxyTest.java126 instance.run(new EOFException()); in testDeclaredExceptionIntersectionIsSubtype()
131 instance.run(new IOException()); in testDeclaredExceptionIntersectionIsSubtype()
136 instance.run(new Exception()); in testDeclaredExceptionIntersectionIsSubtype()
147 instance.run(new EOFException()); in testDeclaredExceptionIntersectionIsEmpty()
152 instance.run(new SocketException()); in testDeclaredExceptionIntersectionIsEmpty()
163 instance.run(new EOFException()); in testDeclaredExceptionIntersectionIsSubset()
168 instance.run(new SocketException()); in testDeclaredExceptionIntersectionIsSubset()
173 instance.run(new IOException()); in testDeclaredExceptionIntersectionIsSubset()
184 instance.run(new EOFException()); in testDeclaredExceptionIntersectedByExactReturnTypes()
189 instance.run(new IOException()); in testDeclaredExceptionIntersectedByExactReturnTypes()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java31 public void run() { in run() method in OldThreadTest.SimpleThread
107 public void run() { in test_joinWithSpuriousInterruption()
116 public void run() { in test_joinWithSpuriousInterruption()
159 public void run() { in launchFiveSecondDummyThread()
195 public void run() { in test_sleepJ()
242 public void run() { in test_sleepJI()
296 public void run() { in run() method in OldThreadTest.Counter
311 run = true; in test_getState()
316 public void run() { in test_getState()
321 while (run) {} in test_getState()
[all …]
DThreadTest.java156 @Override public void run() { try { latch.await(); } catch (Exception e) { } } in testSetPriority_starting()
173 @Override public void run() { try { latch.await(); } catch (Exception e) { } } in testSetPriority_started()
271 @Override public void run() { in testGetStackTrace()
374 @Override public void run() { in testGetAllStackTracesIncludesAllGroups()
402 @Override public void run() { in testParkUntilWithUnderflowValue()
434 public void run() { in testThreadDoubleStart()
494 public void run() { in run() method in WakeupTestThread
/libcore/ojluni/src/main/java/java/security/
DAccessController.java43 return action.run(); in doPrivileged()
50 return action.run(); in doPrivilegedWithCombiner()
59 return action.run(); in doPrivileged()
69 return action.run(); in doPrivileged()
/libcore/ojluni/src/main/java/java/util/
DDualPivotQuicksort.java119 int[] run = new int[MAX_RUN_COUNT + 1]; in sort() local
120 int count = 0; run[0] = left; in sort()
123 for (int k = left; k < right; run[count] = k) { in sort()
128 for (int lo = run[count] - 1, hi = k; ++lo < --hi; ) { in sort()
152 if (run[count] == right++) { // The last run contains one element in sort()
153 run[++count] = right; in sort()
185 int hi = run[k], mi = run[k - 1]; in sort()
186 for (int i = run[k - 2], p = i, q = mi; i < hi; ++i) { in sort()
193 run[++last] = hi; in sort()
196 for (int i = right, lo = run[count - 1]; --i >= lo; in sort()
[all …]
/libcore/luni/src/test/java/libcore/libcore/util/
DNativeAllocationRegistryTest.java139 public void run() { in testBadSize()
161 cleaner.run(); in testEarlyFree()
166 cleaner.run(); in testEarlyFree()
182 public void run() { in testNullArguments()
189 public void run() { in testNullArguments()
197 runnable.run(); in assertThrowsIllegalArgumentException()
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousChannelGroupImpl.java110 public void run() { in bindToGroup()
112 task.run(); in bindToGroup()
120 public Void run() {
250 public Void run() {
325 public void run() {
328 public Void run() {
329 delegate.run();
/libcore/benchmarks/src/benchmarks/regression/
DDoPrivilegedBenchmark.java36 public String run() { in timeFastAndSlow()
47 public String run() { in timeNewAction()
68 public String run() { in run() method in DoPrivilegedBenchmark.ReusableAction
/libcore/jsr166-tests/src/test/java/jsr166/
DFutureTaskTest.java66 pf.run(); in checkIsDone()
98 ft.run(); in checkIsRunning()
102 pf.run(); in checkIsRunning()
190 public void run() { in PublicFutureTask()
192 runnable.run(); in PublicFutureTask()
261 task.run(); in testIsDone()
354 task.run(); in testCancelBeforeRun()
371 task.run(); in testCancelBeforeRun2()
387 task.run(); in testCancelAfterRun()
402 task.run(); in testCancelAfterRun2()
[all …]
DJSR166TestCase.java222 Runnable checkForWedgedTest = new Runnable() { public void run() {
381 public Double run() {
385 public String run() {
871 releaser.run(); in close()
891 return new Runnable() { public void run() { in releaser()
902 return new Runnable() { public void run() { flag.set(true); }};
929 interface Action { public void run() throws Throwable; }
942 public void realRun() throws Throwable { action.run();}}));
1098 r.run();
1134 r.run();
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java411 public Object call() { return action.run(); }}; in callable()
426 public Object call() throws Exception { return action.run(); }};
462 task.run();
483 public T run() throws Exception {
527 public T run() throws Exception {
606 public void run() {
608 public Void run() {
610 r.run();
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DPrivilegedActionTest.java17 public String run() { in run() method in PrivilegedActionTest.MyPrivilegedAction
26 public String run() { in run() method in PrivilegedActionTest.MyPrivilegedAction2
/libcore/ojluni/src/main/java/sun/security/util/
DResourcesMgr.java45 public java.util.ResourceBundle run() { in getString()
62 public java.util.ResourceBundle run() { in getString()
/libcore/luni/src/test/java/tests/java/sql/
DMultiThreadAccessTest.java240 public void run() { in createTask1()
272 public void run() {
323 public void run() {
351 public void run() {
371 public void run() {
396 public void run() {
420 public void run() {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java28 public void run() { in run() method in ThreadTest.SimpleThread
49 public void run() { in run() method in ThreadTest.YieldThread
67 public void run() { in run() method in ThreadTest.ResSupThread
191 public void run() { in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_String()
300 public void run() { in test_enumerate$Ljava_lang_Thread() method in ThreadTest.MyThread
429 public void run() { in test_getThreadGroup()
461 public void run() { in test_interrupt() method in ThreadTest.ChildThread1
570 public void run() { in test_isInterrupted() method in ThreadTest.SpinThread
664 public void run() { in test_joinJ()
717 public void run() { in test_joinJI()
[all …]
DThreadLocalTest.java81 public void run() { in test_get()
131 public void run() { in test_setLjava_lang_Object()
174 public void run() { in test_withInitial()
DObjectTest.java93 public void run() { in test_notify() method in ObjectTest.TestThread
163 public void run() { in test_notifyAll() method in ObjectTest.TestThread
244 public void run() { in test_wait() method in ObjectTest.TestThread
347 public void run() { in test_waitJI() method in ObjectTest.TestThread
/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java98 public Void run() { in setupUserRoot()
159 public Void run() { in setupSystemRoot()
424 public void run() {
508 public Void run() { in FileSystemPreferences()
615 public Void run() throws BackingStoreException { in writeBackCache()
647 public String[] run() { in childrenNamesSpi()
686 public Void run() throws BackingStoreException {
733 public Long run() {
748 public Void run() {
/libcore/luni/src/test/java/libcore/java/security/
DAccessControllerTest.java53 public Void run() { in testDoPrivilegedWithCombiner()
60 public Void run() { in testDoPrivilegedWithCombiner()
/libcore/luni/src/test/java/libcore/java/lang/ref/
DReferenceQueueTest.java49 @Override public void run() { in testRemoveWithSpuriousNotify()
101 public void run() { in testCleanersCleaned()
131 @Override public void run() { in enqueueLater()
/libcore/luni/src/test/java/libcore/java/util/
DAbstractCollectionTest.java34 @Override public void run() { in test_toArray()
43 @Override public void run() { in test_toArray()
/libcore/luni/src/test/java/tests/support/
DThreadPool.java96 public void run() { in run() method in ThreadPool.PooledThread
112 task.run(); in run()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPipedWriterTest.java43 public void run() { in run() method in PipedWriterTest.PReader
327 public void run() { in test_write_I_MultiThread() method in PipedWriterTest.WriteRunnable
350 public void run() { in test_write_I_MultiThread() method in PipedWriterTest.ReadRunnable
390 public void run() { in test_write_$CII_MultiThread() method in PipedWriterTest.WriteRunnable
414 public void run() { in test_write_$CII_MultiThread() method in PipedWriterTest.ReadRunnable

1234567891011