Home
last modified time | relevance | path

Searched refs:elems (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS9Attribute.java496 DerValue[] elems = new DerInputStream(content).getSet(1); in PKCS9Attribute() local
508 if (SINGLE_VALUED[index] && elems.length > 1) in PKCS9Attribute()
513 for (int i=0; i < elems.length; i++) { in PKCS9Attribute()
514 tag = new Byte(elems[i].tag); in PKCS9Attribute()
525 String[] values = new String[elems.length]; in PKCS9Attribute()
527 for (int i=0; i < elems.length; i++) in PKCS9Attribute()
528 values[i] = elems[i].getAsString(); in PKCS9Attribute()
534 value = elems[0].getOID(); in PKCS9Attribute()
538 value = elems[0].getOctetString(); in PKCS9Attribute()
542 value = (new DerInputStream(elems[0].toByteArray())).getUTCTime(); in PKCS9Attribute()
[all …]
/libcore/ojluni/src/test/java/util/Properties/
DCheckUnsynchronized.java47 Enumeration<Object> elems = in main() local
49 System.out.println("first value from elements(): " + elems.nextElement()); in main()
/libcore/jsr166-tests/src/test/java/jsr166/
DDelayQueueTest.java745 PDelay[] elems = new PDelay[SIZE]; in testDrainTo() local
747 elems[i] = new PDelay(i); in testDrainTo()
748 q.add(elems[i]); in testDrainTo()
754 assertEquals(elems[i], l.get(i)); in testDrainTo()
755 q.add(elems[0]); in testDrainTo()
756 q.add(elems[1]); in testDrainTo()
758 assertTrue(q.contains(elems[0])); in testDrainTo()
759 assertTrue(q.contains(elems[1])); in testDrainTo()
765 assertEquals(elems[i], l.get(i)); in testDrainTo()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DDelayQueueTest.java753 PDelay[] elems = new PDelay[SIZE]; in testDrainTo() local
755 elems[i] = new PDelay(i); in testDrainTo()
756 q.add(elems[i]); in testDrainTo()
762 assertEquals(elems[i], l.get(i)); in testDrainTo()
763 q.add(elems[0]); in testDrainTo()
764 q.add(elems[1]); in testDrainTo()
766 assertTrue(q.contains(elems[0])); in testDrainTo()
767 assertTrue(q.contains(elems[1])); in testDrainTo()
773 assertEquals(elems[i], l.get(i)); in testDrainTo()