Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/security/
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()
DMessageDigest.java199 Object[] objs = Security.getImpl(algorithm, "MessageDigest", in getInstance() local
201 if (objs[0] instanceof MessageDigest) { in getInstance()
202 md = (MessageDigest)objs[0]; in getInstance()
204 md = new Delegate((MessageDigestSpi)objs[0], algorithm); in getInstance()
206 md.provider = (Provider)objs[1]; in getInstance()
262 Object[] objs = Security.getImpl(algorithm, "MessageDigest", provider); in getInstance() local
263 if (objs[0] instanceof MessageDigest) { in getInstance()
264 MessageDigest md = (MessageDigest)objs[0]; in getInstance()
265 md.provider = (Provider)objs[1]; in getInstance()
269 new Delegate((MessageDigestSpi)objs[0], algorithm); in getInstance()
[all …]
DAlgorithmParameters.java235 Object[] objs = Security.getImpl(algorithm, "AlgorithmParameters", in getInstance() local
237 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance()
238 (Provider)objs[1], in getInstance()
288 Object[] objs = Security.getImpl(algorithm, "AlgorithmParameters", in getInstance() local
290 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance()
291 (Provider)objs[1], in getInstance()
333 Object[] objs = Security.getImpl(algorithm, "AlgorithmParameters", in getInstance() local
335 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance()
336 (Provider)objs[1], in getInstance()
DKeyStore.java887 Object[] objs = Security.getImpl(type, "KeyStore", (String)null); in getInstance() local
888 return new KeyStore((KeyStoreSpi)objs[0], (Provider)objs[1], type); in getInstance()
935 Object[] objs = Security.getImpl(type, "KeyStore", provider); in getInstance() local
936 return new KeyStore((KeyStoreSpi)objs[0], (Provider)objs[1], type); in getInstance()
976 Object[] objs = Security.getImpl(type, "KeyStore", provider); in getInstance() local
977 return new KeyStore((KeyStoreSpi)objs[0], (Provider)objs[1], type); in getInstance()
/libcore/ojluni/src/main/java/sun/security/x509/
DCRLExtensions.java149 Object[] objs = allExts.toArray(); in encode() local
151 for (int i = 0; i < objs.length; i++) { in encode()
152 if (objs[i] instanceof CertAttrSet) in encode()
153 ((CertAttrSet)objs[i]).encode(extOut); in encode()
154 else if (objs[i] instanceof Extension) in encode()
155 ((Extension)objs[i]).encode(extOut); in encode()
256 Object[] objs = otherC.toArray(); in equals() local
258 int len = objs.length; in equals()
265 if (objs[i] instanceof CertAttrSet) in equals()
266 key = ((CertAttrSet)objs[i]).getName(); in equals()
[all …]
DCertificateExtensions.java171 Object[] objs = allExts.toArray(); in encode() local
173 for (int i = 0; i < objs.length; i++) { in encode()
174 if (objs[i] instanceof CertAttrSet) in encode()
175 ((CertAttrSet)objs[i]).encode(extOut); in encode()
176 else if (objs[i] instanceof Extension) in encode()
177 ((Extension)objs[i]).encode(extOut); in encode()
308 Object[] objs = otherC.toArray(); in equals() local
310 int len = objs.length; in equals()
317 if (objs[i] instanceof CertAttrSet) in equals()
318 key = ((CertAttrSet)objs[i]).getName(); in equals()
[all …]
DX509CRLImpl.java567 Object[] objs = allExts.toArray(); in toString() local
568 sb.append("\nCRL Extensions: " + objs.length); in toString()
569 for (int i = 0; i < objs.length; i++) { in toString()
571 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.java1412 Object[] objs = (Object[]) array; in writeArray() local
1413 int len = objs.length; in writeArray()
1427 writeObject0(objs[i], false); in writeArray()
2340 private Object[] objs; field in ObjectOutputStream.HandleTable
2349 objs = new Object[initialCapacity]; in HandleTable()
2379 if (objs[i] == obj) { in lookup()
2391 Arrays.fill(objs, 0, size, null); in clear()
2408 objs[handle] = obj; in insert()
2422 insert(objs[i], i); in growSpine()
2436 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()