Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/security/
DMessageDigest.java197 Object[] objs = Security.getImpl(algorithm, "MessageDigest", in getInstance() local
199 if (objs[0] instanceof MessageDigest) { in getInstance()
200 md = (MessageDigest)objs[0]; in getInstance()
202 md = new Delegate((MessageDigestSpi)objs[0], algorithm); in getInstance()
204 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 …]
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.java241 Object[] objs = Security.getImpl(algorithm, "AlgorithmParameters", in getInstance() local
243 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance()
244 (Provider)objs[1], in getInstance()
296 Object[] objs = Security.getImpl(algorithm, "AlgorithmParameters", in getInstance() local
298 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance()
299 (Provider)objs[1], in getInstance()
343 Object[] objs = Security.getImpl(algorithm, "AlgorithmParameters", in getInstance() local
345 return new AlgorithmParameters((AlgorithmParametersSpi)objs[0], in getInstance()
346 (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.java1419 Object[] objs = (Object[]) array; in writeArray() local
1420 int len = objs.length; in writeArray()
1434 writeObject0(objs[i], false); in writeArray()
2356 private Object[] objs; field in ObjectOutputStream.HandleTable
2365 objs = new Object[initialCapacity]; in HandleTable()
2395 if (objs[i] == obj) { in lookup()
2407 Arrays.fill(objs, 0, size, null); in clear()
2424 objs[handle] = obj; in insert()
2438 insert(objs[i], i); in growSpine()
2452 System.arraycopy(objs, 0, newObjs, 0, size); in growEntries()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/
DPKCS9Attributes.java101 static sun.security.util.DerEncoder[] castToDerEncoder(java.lang.Object[] objs) { in castToDerEncoder() argument
/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()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectOutputStream.java598 private java.lang.Object[] objs; field in ObjectOutputStream.HandleTable