Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS9Attribute.java495 DerValue[] elems = new DerInputStream(content).getSet(1); in PKCS9Attribute() local
507 if (SINGLE_VALUED[index] && elems.length > 1) in PKCS9Attribute()
512 for (int i=0; i < elems.length; i++) { in PKCS9Attribute()
513 tag = new Byte(elems[i].tag); in PKCS9Attribute()
524 String[] values = new String[elems.length]; in PKCS9Attribute()
526 for (int i=0; i < elems.length; i++) in PKCS9Attribute()
527 values[i] = elems[i].getAsString(); in PKCS9Attribute()
533 value = elems[0].getOID(); in PKCS9Attribute()
537 value = elems[0].getOctetString(); in PKCS9Attribute()
541 value = (new DerInputStream(elems[0].toByteArray())).getUTCTime(); in PKCS9Attribute()
[all …]
/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()