Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 13 of 13) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DNamespaceSupportTest.java33 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/
DExchanger.java334 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 …]
DTimeUnit.java292 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()
DScheduledThreadPoolExecutor.java180 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()
DForkJoinTask.java990 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()
DForkJoinPool.java1718 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/
DNumericShaper.java518 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/
DSAXParserFactoryTest.java47 static HashMap<String, String> ns; field in SAXParserFactoryTest
58 ns = new HashMap<String, String>(); in setUp()
383 ns.put(qName, uri); in startElement()
DSAXParserTest.java118 static HashMap<String, String> ns; field in SAXParserTest
188 ns = new HashMap<String, String>(); in setUp()
/libcore/jsr166-tests/src/test/java/jsr166/
DBlockingQueueTest.java183 final int[] ns = { 0, -1, -42, Integer.MIN_VALUE };
184 for (int n : ns)
191 for (int n : ns)
DJSR166TestCase.java368 long ns = millis * 1000 * 1000; in delay() local
374 long d = ns - (System.nanoTime() - startTime); in delay()
/libcore/luni/src/main/files/cacerts/
D9dbefe7b.015 CSqGSIb3DQEBBQUAA4IBAQCoh+ns+EBnXcPBZsdAS5f8hxOQWsTvoMpfi7ent/HW
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest1.java662 } catch (NotSerializableException ns) { in test_18_11_writeObject()
664 t = ns; in test_18_11_writeObject()