Home
last modified time | relevance | path

Searched refs:objs (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
DMessageDigest.java186 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 …]
DAlgorithmParameterGenerator.java182 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()
DAlgorithmParameters.java191 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()
DKeyStore.java646 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/
DCRLExtensions.java150 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 …]
DCertificateExtensions.java170 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 …]
DX509CRLEntryImpl.java303 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()
DX509CRLImpl.java506 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/
DPKCS9Attributes.java356 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/
DObjectInputStreamTest.java1362 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/
DObjectOutputStream.java1403 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/
DMessageFormatTest.java156 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()