Searched refs:ns (Results 1 - 9 of 9) sorted by relevance

/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
H A DNamespaceSupportTest.java33 NamespaceSupport ns; field in class:NamespaceSupportTest
42 ns = new NamespaceSupport();
43 ns.pushContext();
45 ns.declarePrefix("ak", marketUri);
46 ns.declarePrefix("bk", marketUri);
47 ns.declarePrefix("", defaultUri);
55 ns = new NamespaceSupport();
56 Enumeration<String> prefixes = ns.getDeclaredPrefixes();
67 ns.popContext();
77 ns
[all...]
/libcore/luni/src/main/java/java/util/concurrent/
H A DExchanger.java330 * @param ns if timed, the maximum wait time, else 0L
334 private final Object arenaExchange(Object item, boolean timed, long ns) { argument
351 long end = (timed && m == 0) ? System.nanoTime() + ns : 0L;
373 (ns = end - System.nanoTime()) > 0L)) {
377 U.park(false, ns);
390 if (timed && m == 0 && ns <= 0L)
422 * @param ns if timed, the maximum wait time, else 0L
427 private final Object slotExchange(Object item, boolean timed, long ns) { argument
460 long end = timed ? System.nanoTime() + ns : 0L;
474 (!timed || (ns
[all...]
H A DTimeUnit.java292 int ns = excessNanos(timeout, ms);
293 obj.wait(ms, ns);
312 int ns = excessNanos(timeout, ms);
313 thread.join(ms, ns);
330 int ns = excessNanos(timeout, ms);
331 Thread.sleep(ms, ns);
H A DScheduledThreadPoolExecutor.java180 ScheduledFutureTask(Runnable r, V result, long ns) { argument
182 this.time = ns;
190 ScheduledFutureTask(Runnable r, V result, long ns, long period) { argument
192 this.time = ns;
200 ScheduledFutureTask(Callable<V> callable, long ns) { argument
202 this.time = ns;
H A DForkJoinTask.java986 long ns = unit.toNanos(timeout);
987 if ((s = status) >= 0 && ns > 0L) {
988 long deadline = System.nanoTime() + ns;
1011 if ((ms = TimeUnit.NANOSECONDS.toMillis(ns)) > 0L &&
1027 (ns = deadline - System.nanoTime()) <= 0L)
H A DForkJoinPool.java1432 long ns = w.nsteals, sc; // collect steal count
1434 sc = stealCount, sc + ns));
1710 int h, e, ns; long c, sc; WorkQueue q;
1711 if ((ns = w.nsteals) != 0) {
1713 sc = stealCount, sc + ns))
/libcore/luni/src/main/java/java/awt/font/
H A DNumericShaper.java518 NumericShaper ns = (NumericShaper)obj;
519 return (fRanges == ns.fRanges &&
520 fDefaultContextIndex == ns.fDefaultContextIndex &&
521 fContextual == ns.fContextual);
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/
H A DSAXParserFactoryTest.java47 static HashMap<String, String> ns; field in class:SAXParserFactoryTest
58 ns = new HashMap<String, String>();
383 ns.put(qName, uri);
H A DSAXParserTest.java118 static HashMap<String, String> ns; field in class:SAXParserTest
188 ns = new HashMap<String, String>();

Completed in 169 milliseconds