/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
D | NamespaceSupportTest.java | 33 NamespaceSupport ns; field in NamespaceSupportTest 42 ns = new NamespaceSupport(); in setUp() 43 ns.pushContext(); in setUp() 45 ns.declarePrefix("ak", marketUri); in setUp() 46 ns.declarePrefix("bk", marketUri); in setUp() 47 ns.declarePrefix("", defaultUri); in setUp() 55 ns = new NamespaceSupport(); in testConstructor() 56 Enumeration<String> prefixes = ns.getDeclaredPrefixes(); in testConstructor() 67 ns.popContext(); in testConstructor() 77 ns = new NamespaceSupport(); in testPush_PopContext() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | Exchanger.java | 334 private final Object arenaExchange(Object item, boolean timed, long ns) { in arenaExchange() argument 351 long end = (timed && m == 0) ? System.nanoTime() + ns : 0L; in arenaExchange() 373 (ns = end - System.nanoTime()) > 0L)) { in arenaExchange() 377 U.park(false, ns); in arenaExchange() 390 if (timed && m == 0 && ns <= 0L) in arenaExchange() 427 private final Object slotExchange(Object item, boolean timed, long ns) { in slotExchange() argument 460 long end = timed ? System.nanoTime() + ns : 0L; in slotExchange() 474 (!timed || (ns = end - System.nanoTime()) > 0L)) { in slotExchange() 478 U.park(false, ns); in slotExchange() 483 v = timed && ns <= 0L && !t.isInterrupted() ? TIMED_OUT : null; in slotExchange() [all …]
|
D | TimeUnit.java | 292 int ns = excessNanos(timeout, ms); in timedWait() local 293 obj.wait(ms, ns); in timedWait() 312 int ns = excessNanos(timeout, ms); in timedJoin() local 313 thread.join(ms, ns); in timedJoin() 330 int ns = excessNanos(timeout, ms); in sleep() local 331 Thread.sleep(ms, ns); in sleep()
|
D | ScheduledThreadPoolExecutor.java | 180 ScheduledFutureTask(Runnable r, V result, long ns) { in ScheduledFutureTask() argument 182 this.time = ns; in ScheduledFutureTask() 190 ScheduledFutureTask(Runnable r, V result, long ns, long period) { in ScheduledFutureTask() argument 192 this.time = ns; in ScheduledFutureTask() 200 ScheduledFutureTask(Callable<V> callable, long ns) { in ScheduledFutureTask() argument 202 this.time = ns; in ScheduledFutureTask()
|
D | ForkJoinTask.java | 990 long ns = unit.toNanos(timeout); in get() local 992 if ((s = status) >= 0 && ns > 0L) { in get() 993 long deadline = System.nanoTime() + ns; in get() 1020 if ((ms = TimeUnit.NANOSECONDS.toMillis(ns)) > 0L && in get() 1036 (ns = deadline - System.nanoTime()) <= 0L) in get()
|
D | ForkJoinPool.java | 1718 int stat, ns; long parkTime, deadline; in awaitWork() local 1727 else if ((ns = w.nsteals) != 0) { // collect steals and retry in awaitWork() 1731 sc = stealCount, sc + ns)); in awaitWork()
|
/libcore/luni/src/main/java/java/awt/font/ |
D | NumericShaper.java | 518 NumericShaper ns = (NumericShaper)obj; in equals() local 519 return (fRanges == ns.fRanges && in equals() 520 fDefaultContextIndex == ns.fDefaultContextIndex && in equals() 521 fContextual == ns.fContextual); in equals()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | SAXParserFactoryTest.java | 47 static HashMap<String, String> ns; field in SAXParserFactoryTest 58 ns = new HashMap<String, String>(); in setUp() 383 ns.put(qName, uri); in startElement()
|
D | SAXParserTest.java | 118 static HashMap<String, String> ns; field in SAXParserTest 188 ns = new HashMap<String, String>(); in setUp()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | BlockingQueueTest.java | 183 final int[] ns = { 0, -1, -42, Integer.MIN_VALUE }; 184 for (int n : ns) 191 for (int n : ns)
|
D | JSR166TestCase.java | 368 long ns = millis * 1000 * 1000; in delay() local 374 long d = ns - (System.nanoTime() - startTime); in delay()
|
/libcore/luni/src/main/files/cacerts/ |
D | 9dbefe7b.0 | 15 CSqGSIb3DQEBBQUAA4IBAQCoh+ns+EBnXcPBZsdAS5f8hxOQWsTvoMpfi7ent/HW
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest1.java | 662 } catch (NotSerializableException ns) { in test_18_11_writeObject() 664 t = ns; in test_18_11_writeObject()
|