/libcore/ojluni/src/main/java/java/security/ |
D | MessageDigest.java | 186 Object[] objs = Security.getImpl(algorithm, "MessageDigest", in getInstance() local 188 if (objs[0] instanceof MessageDigest) { in getInstance() 189 MessageDigest md = (MessageDigest)objs[0]; in getInstance() 190 md.provider = (Provider)objs[1]; in getInstance() 194 new Delegate((MessageDigestSpi)objs[0], algorithm); in getInstance() 195 delegate.provider = (Provider)objs[1]; in getInstance() 242 Object[] objs = Security.getImpl(algorithm, "MessageDigest", provider); in getInstance() local 243 if (objs[0] instanceof MessageDigest) { in getInstance() 244 MessageDigest md = (MessageDigest)objs[0]; in getInstance() 245 md.provider = (Provider)objs[1]; in getInstance() [all …]
|
D | AlgorithmParameterGenerator.java | 182 Object[] objs = Security.getImpl(algorithm, in getInstance() local 186 ((AlgorithmParameterGeneratorSpi)objs[0], in getInstance() 187 (Provider)objs[1], in getInstance() 235 Object[] objs = Security.getImpl(algorithm, in getInstance() local 239 ((AlgorithmParameterGeneratorSpi)objs[0], (Provider)objs[1], in getInstance() 279 Object[] objs = Security.getImpl(algorithm, in getInstance() local 283 ((AlgorithmParameterGeneratorSpi)objs[0], (Provider)objs[1], in getInstance()
|
D | AlgorithmParameters.java | 191 Object[] objs = Security.getImpl(algorithm, "AlgorithmParameters", in getInstance() local 193 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance() 194 (Provider)objs[1], in getInstance() 244 Object[] objs = Security.getImpl(algorithm, "AlgorithmParameters", in getInstance() local 246 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance() 247 (Provider)objs[1], in getInstance() 289 Object[] objs = Security.getImpl(algorithm, "AlgorithmParameters", in getInstance() local 291 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance() 292 (Provider)objs[1], in getInstance()
|
D | KeyStore.java | 646 Object[] objs = Security.getImpl(type, "KeyStore", (String)null); in getInstance() local 647 return new KeyStore((KeyStoreSpi)objs[0], (Provider)objs[1], type); in getInstance() 694 Object[] objs = Security.getImpl(type, "KeyStore", provider); in getInstance() local 695 return new KeyStore((KeyStoreSpi)objs[0], (Provider)objs[1], type); in getInstance() 735 Object[] objs = Security.getImpl(type, "KeyStore", provider); in getInstance() local 736 return new KeyStore((KeyStoreSpi)objs[0], (Provider)objs[1], type); in getInstance()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | CRLExtensions.java | 150 Object[] objs = allExts.toArray(); in encode() local 152 for (int i = 0; i < objs.length; i++) { in encode() 153 if (objs[i] instanceof CertAttrSet) in encode() 154 ((CertAttrSet)objs[i]).encode(extOut); in encode() 155 else if (objs[i] instanceof Extension) in encode() 156 ((Extension)objs[i]).encode(extOut); in encode() 257 Object[] objs = otherC.toArray(); in equals() local 259 int len = objs.length; in equals() 266 if (objs[i] instanceof CertAttrSet) in equals() 267 key = ((CertAttrSet)objs[i]).getName(); in equals() [all …]
|
D | CertificateExtensions.java | 170 Object[] objs = allExts.toArray(); in encode() local 172 for (int i = 0; i < objs.length; i++) { in encode() 173 if (objs[i] instanceof CertAttrSet) in encode() 174 ((CertAttrSet)objs[i]).encode(extOut); in encode() 175 else if (objs[i] instanceof Extension) in encode() 176 ((Extension)objs[i]).encode(extOut); in encode() 307 Object[] objs = otherC.toArray(); in equals() local 309 int len = objs.length; in equals() 316 if (objs[i] instanceof CertAttrSet) in equals() 317 key = ((CertAttrSet)objs[i]).getName(); in equals() [all …]
|
D | X509CRLEntryImpl.java | 303 Object[] objs = allEntryExts.toArray(); in toString() local 305 sb.append("\n CRL Entry Extensions: " + objs.length); in toString() 306 for (int i = 0; i < objs.length; i++) { in toString() 308 Extension ext = (Extension)objs[i]; in toString()
|
D | X509CRLImpl.java | 506 Object[] objs = allExts.toArray(); in toString() local 507 sb.append("\nCRL Extensions: " + objs.length); in toString() 508 for (int i = 0; i < objs.length; i++) { in toString() 510 Extension ext = (Extension)objs[i]; in toString()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | PKCS9Attributes.java | 356 static DerEncoder[] castToDerEncoder(Object[] objs) { in castToDerEncoder() argument 358 DerEncoder[] encoders = new DerEncoder[objs.length]; in castToDerEncoder() 361 encoders[i] = (DerEncoder) objs[i]; in castToDerEncoder()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
D | ObjectInputStreamTest.java | 1362 private ObjectStreamClass[] objs; field in ObjectInputStreamTest.TestObjectOutputStream 1365 … public TestObjectOutputStream(OutputStream out, ObjectStreamClass[] objs) throws IOException { in TestObjectOutputStream() argument 1367 this.objs = objs; in TestObjectOutputStream() 1372 objs[pos++] = osc; in writeClassDescriptor() 1377 private ObjectStreamClass[] objs; field in ObjectInputStreamTest.TestObjectInputStream 1380 public TestObjectInputStream(InputStream in, ObjectStreamClass[] objs) throws IOException { in TestObjectInputStream() argument 1382 this.objs = objs; in TestObjectInputStream() 1387 return objs[pos++]; in readClassDescriptor() 1393 ObjectStreamClass[] objs = new ObjectStreamClass[1000]; in test_readObject_replacedClassDescriptor() local 1396 ObjectOutputStream oout = new TestObjectOutputStream(pout, objs); in test_readObject_replacedClassDescriptor() [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 1403 Object[] objs = (Object[]) array; in writeArray() local 1404 int len = objs.length; in writeArray() 1418 writeObject0(objs[i], false); in writeArray() 2327 private Object[] objs; field in ObjectOutputStream.HandleTable 2336 objs = new Object[initialCapacity]; in HandleTable() 2366 if (objs[i] == obj) { in lookup() 2378 Arrays.fill(objs, 0, size, null); in clear() 2395 objs[handle] = obj; in insert() 2409 insert(objs[i], i); in growSpine() 2423 System.arraycopy(objs, 0, newObjs, 0, size); in growEntries() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 156 Object[] objs = { new Double(3.1415) }; in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition() local 157 String result = mf.format(objs); in test_parseObjectLjava_lang_StringLjavajava_text_ParsePosition()
|