Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 31) sorted by relevance

12

/libcore/luni/src/main/java/java/security/spec/
DECPublicKeySpec.java25 private final ECPoint w; field in ECPublicKeySpec
40 public ECPublicKeySpec(ECPoint w, ECParameterSpec params) { in ECPublicKeySpec() argument
41 this.w = w; in ECPublicKeySpec()
44 if (this.w == null) { in ECPublicKeySpec()
51 if (this.w.equals(ECPoint.POINT_INFINITY)) { in ECPublicKeySpec()
71 return w; in getW()
/libcore/luni/src/main/java/java/util/
DIllegalFormatWidthException.java30 private final int w; field in IllegalFormatWidthException
39 public IllegalFormatWidthException(int w) { in IllegalFormatWidthException() argument
40 this.w = w; in IllegalFormatWidthException()
49 return w; in getWidth()
54 return Integer.toString(w); in getMessage()
/libcore/luni/src/test/java/tests/security/spec/
DECPublicKeySpecTest.java29 ECPoint w; field in ECPublicKeySpecTest
42 w = new ECPoint(BigInteger.valueOf(1), BigInteger.valueOf(1)); in setUp()
44 ecpks = new ECPublicKeySpec(w, params); in setUp()
48 w = null; in tearDown()
65 assertEquals("wrong w value", w, ecpks.getW()); in test_constructorLjava_security_spec_ECPointLjava_security_spec_ECParameterSpec()
77 new ECPublicKeySpec(w, null); in test_constructorLjava_security_spec_ECPointLjava_security_spec_ECParameterSpec()
88 assertEquals("wrong w value", w, ecpks.getW()); in testGetW()
/libcore/luni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java709 for (Worker w : workers) in checkShutdownAccess()
710 security.checkAccess(w.thread); in checkShutdownAccess()
725 for (Worker w : workers) in interruptWorkers()
726 w.interruptIfStarted(); in interruptWorkers()
755 for (Worker w : workers) { in interruptIdleWorkers()
756 Thread t = w.thread; in interruptIdleWorkers()
757 if (!t.isInterrupted() && w.tryLock()) { in interruptIdleWorkers()
762 w.unlock(); in interruptIdleWorkers()
893 Worker w = null; in addWorker() local
895 w = new Worker(firstTask); in addWorker()
[all …]
DForkJoinPool.java1336 WorkQueue w = new WorkQueue(this, wt, mode, s); in registerWorker() local
1356 w.poolIndex = (short)r; in registerWorker()
1357 w.eventCount = r; // volatile write orders in registerWorker()
1358 ws[r] = w; in registerWorker()
1364 wt.setName(workerNamePrefix.concat(Integer.toString(w.poolIndex >>> 1))); in registerWorker()
1365 return w; in registerWorker()
1378 WorkQueue w = null; in deregisterWorker() local
1379 if (wt != null && (w = wt.workQueue) != null) { in deregisterWorker()
1381 w.qlock = -1; // ensure set in deregisterWorker()
1384 sc + w.nsteals)); in deregisterWorker()
[all …]
DExchanger.java343 Thread w = q.parked; in arenaExchange() local
344 if (w != null) in arenaExchange()
345 U.unpark(w); in arenaExchange()
438 Thread w = q.parked; in slotExchange() local
439 if (w != null) in slotExchange()
440 U.unpark(w); in slotExchange()
DSynchronousQueue.java231 Thread w = waiter; in tryMatch() local
232 if (w != null) { // waiters need at most one unpark in tryMatch()
234 LockSupport.unpark(w); in tryMatch()
406 Thread w = Thread.currentThread(); in awaitFulfill() local
410 if (w.isInterrupted()) in awaitFulfill()
425 s.waiter = w; // establish waiter so can park next iter in awaitFulfill()
710 Thread w = Thread.currentThread(); in awaitFulfill() local
714 if (w.isInterrupted()) in awaitFulfill()
729 s.waiter = w; in awaitFulfill()
DForkJoinTask.java352 int s; Thread t; ForkJoinWorkerThread wt; ForkJoinPool.WorkQueue w; in doJoin() local
355 (w = (wt = (ForkJoinWorkerThread)t).workQueue). in doJoin()
357 wt.pool.awaitJoin(w, this) : in doJoin()
995 ForkJoinPool.WorkQueue w = null; in get() local
1000 w = wt.workQueue; in get()
1001 p.helpJoinOnce(w, this); // no retries on failure in get()
1013 if (w != null && w.qlock < 0) in get()
DLinkedTransferQueue.java670 Thread w = Thread.currentThread(); in awaitMatch() local
681 if ((w.isInterrupted() || (timed && nanos <= 0)) && in awaitMatch()
697 s.waiter = w; // request unpark then recheck in awaitMatch()
/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidMonitorTest.java340 Worker w[] = new Worker[NUM_WORKERS]; in testNestedMonitors() local
344 w[i] = new Worker(i * 2 - 1, new Object()); in testNestedMonitors()
351 w[i].start(); in testNestedMonitors()
362 synchronized (w[j].lock) { in testNestedMonitors()
363 w[j].lock.notify(); in testNestedMonitors()
371 synchronized (w[i].lock) { in testNestedMonitors()
372 w[i].lock.notifyAll(); in testNestedMonitors()
/libcore/luni/src/main/java/java/math/
DNativeBN.java82 public static native void BN_add_word(long a, int w); in BN_add_word() argument
86 public static native void BN_mul_word(long a, int w); in BN_mul_word() argument
90 public static native int BN_mod_word(long a, int w); in BN_mod_word() argument
DBigInt.java242 void addPositiveInt(int w) { in addPositiveInt() argument
243 NativeBN.BN_add_word(this.bignum, w); in addPositiveInt()
246 void multiplyByPositiveInt(int w) { in multiplyByPositiveInt() argument
247 NativeBN.BN_mul_word(this.bignum, w); in multiplyByPositiveInt()
250 static int remainderByPositiveInt(BigInt a, int w) { in remainderByPositiveInt() argument
251 return NativeBN.BN_mod_word(a.bignum, w); in remainderByPositiveInt()
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSHA1Impl.java232 int w = ((int) byteInput[i] & 0xFF) <<24 ; in updateHash() local
235 w |= ((int) byteInput[i +1] & 0xFF) <<16 ; in updateHash()
237 w |= ((int) byteInput[i +2] & 0xFF) <<8 ; in updateHash()
240 intArray[wordIndex] = w; in updateHash()
/libcore/luni/src/main/java/java/sql/
DSQLWarning.java149 public void setNextWarning(SQLWarning w) { in setNextWarning() argument
150 super.setNextException(w); in setNextWarning()
/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java366 int w = exclusiveCount(c); in tryAcquire() local
369 if (w == 0 || current != getExclusiveOwnerThread()) in tryAcquire()
371 if (w + exclusiveCount(acquires) > MAX_COUNT) in tryAcquire()
531 int w = exclusiveCount(c); in tryWriteLock() local
532 if (w == 0 || current != getExclusiveOwnerThread()) in tryWriteLock()
534 if (w == MAX_COUNT) in tryWriteLock()
1451 int w = Sync.exclusiveCount(c); in toString() local
1455 "[Write locks = " + w + ", Read locks = " + r + "]"; in toString()
DAbstractQueuedSynchronizer.java2177 for (Node w = firstWaiter; w != null; w = w.nextWaiter) { in hasWaiters()
2178 if (w.waitStatus == Node.CONDITION) in hasWaiters()
2197 for (Node w = firstWaiter; w != null; w = w.nextWaiter) { in getWaitQueueLength()
2198 if (w.waitStatus == Node.CONDITION) in getWaitQueueLength()
2217 for (Node w = firstWaiter; w != null; w = w.nextWaiter) { in getWaitingThreads()
2218 if (w.waitStatus == Node.CONDITION) { in getWaitingThreads()
2219 Thread t = w.thread; in getWaitingThreads()
DAbstractQueuedLongSynchronizer.java1949 for (Node w = firstWaiter; w != null; w = w.nextWaiter) { in hasWaiters()
1950 if (w.waitStatus == Node.CONDITION) in hasWaiters()
1969 for (Node w = firstWaiter; w != null; w = w.nextWaiter) { in getWaitQueueLength()
1970 if (w.waitStatus == Node.CONDITION) in getWaitQueueLength()
1989 for (Node w = firstWaiter; w != null; w = w.nextWaiter) { in getWaitingThreads()
1990 if (w.waitStatus == Node.CONDITION) { in getWaitingThreads()
1991 Thread t = w.thread; in getWaitingThreads()
/libcore/luni/src/main/native/
Djava_math_NativeBN.cpp466 static void NativeBN_BN_add_word(JNIEnv* env, jclass, jlong a, BN_ULONG w) { in NativeBN_BN_add_word() argument
468 BN_add_word(toBigNum(a), w); in NativeBN_BN_add_word()
472 static void NativeBN_BN_mul_word(JNIEnv* env, jclass, jlong a, BN_ULONG w) { in NativeBN_BN_mul_word() argument
474 BN_mul_word(toBigNum(a), w); in NativeBN_BN_mul_word()
478 static BN_ULONG NativeBN_BN_mod_word(JNIEnv* env, jclass, jlong a, BN_ULONG w) { in NativeBN_BN_mod_word() argument
480 int result = BN_mod_word(toBigNum(a), w); in NativeBN_BN_mod_word()
/libcore/luni/src/test/java/libcore/java/sql/
DOldConnectionTest.java257 SQLWarning w = conn.getWarnings(); in testClearWarnings() local
258 assertNull(w); in testClearWarnings()
275 w = conn.getWarnings(); in testClearWarnings()
276 assertNull(w); in testClearWarnings()
292 w = conn.getWarnings(); in testClearWarnings()
293 assertNotNull(w); in testClearWarnings()
DOldStatementTest.java93 SQLWarning w = st.getWarnings(); in testClearWarnings() local
94 assertNull(w); in testClearWarnings()
/libcore/jsr166-tests/src/test/java/jsr166/
DAtomicReferenceFieldUpdaterTest.java17 Integer w; field in AtomicReferenceFieldUpdaterTest
DAtomicLongFieldUpdaterTest.java17 long w; field in AtomicLongFieldUpdaterTest
DAtomicIntegerFieldUpdaterTest.java16 int w; field in AtomicIntegerFieldUpdaterTest
DRecursiveActionTest.java752 ForkJoinWorkerThread w = in testWorkerGetPool()
754 assertSame(mainPool, w.getPool()); in testWorkerGetPool()
766 ForkJoinWorkerThread w = in testWorkerGetPoolIndex()
768 assertTrue(w.getPoolIndex() >= 0); in testWorkerGetPoolIndex()
/libcore/luni/src/main/files/cacerts/
De775ed2d.011 c7J2Ha3QsnhnGqQ5HFELZ1aD/ThdDc7d8Lsrlh/eezJS/R27tQahsiFepdaVaH/w

12