Searched refs:tmp (Results 1 - 25 of 104) sorted by relevance

12345

/libcore/ojluni/src/main/java/sun/net/
H A DInetAddressCachePolicy.java92 Integer tmp = null;
95 tmp = new Integer(
105 if (tmp != null) {
106 cachePolicy = tmp.intValue();
112 tmp = java.security.AccessController.doPrivileged
114 if (tmp != null) {
115 cachePolicy = tmp.intValue();
131 tmp = new Integer(
142 if (tmp != null) {
143 negativeCachePolicy = tmp
[all...]
/libcore/support/src/test/java/tests/resources/x509/
H A Dcreate.sh25 openssl req -config "$DIR/default.cnf" -new -key "$DIR/privkey.pem" -nodes -batch > /tmp/cert-rsa-req.pem
26 openssl req -in /tmp/cert-rsa-req.pem -pubkey -noout | openssl rsa -pubin -pubout -outform der > "$DIR/cert-rsa-pubkey.der"
27 openssl x509 -extfile "$DIR/default.cnf" -days 3650 -extensions usr_cert -req -signkey "$DIR/privkey.pem" -outform d -set_serial -99999999999999999999 < /tmp/cert-rsa-req.pem > "$DIR/cert-rsa.der"
28 rm /tmp/cert-rsa-req.pem
71 openssl dsaparam -out /tmp/dsaparam.pem 1024
72 openssl gendsa -out "$DIR/dsapriv.pem" /tmp/dsaparam.pem
73 rm -f /tmp/dsaparam.pem
83 rm -rf /tmp/ca
84 mkdir -p /tmp/ca
85 touch /tmp/c
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DCertificatePolicyMap.java100 DerOutputStream tmp = new DerOutputStream();
102 issuerDomain.encode(tmp);
103 subjectDomain.encode(tmp);
104 out.write(DerValue.tag_Sequence,tmp);
H A DIssuingDistributionPointExtension.java238 DerOutputStream tmp = new DerOutputStream();
244 super.encode(tmp);
245 out.write(tmp.toByteArray());
394 DerOutputStream tmp = new DerOutputStream();
395 distributionPoint.encode(tmp);
397 TAG_DISTRIBUTION_POINT), tmp);
401 DerOutputStream tmp = new DerOutputStream();
402 tmp.putBoolean(hasOnlyUserCerts);
404 TAG_ONLY_USER_CERTS), tmp);
408 DerOutputStream tmp
[all...]
H A DPolicyConstraintsExtension.java89 DerOutputStream tmp = new DerOutputStream();
90 tmp.putInteger(require);
92 false, TAG_REQUIRE), tmp);
95 DerOutputStream tmp = new DerOutputStream();
96 tmp.putInteger(inhibit);
98 false, TAG_INHIBIT), tmp);
202 DerOutputStream tmp = new DerOutputStream();
208 super.encode(tmp);
209 out.write(tmp.toByteArray());
H A DPrivateKeyUsageExtension.java92 DerOutputStream tmp = new DerOutputStream();
93 tmp.putGeneralizedTime(notBefore);
95 false, TAG_BEFORE), tmp);
98 DerOutputStream tmp = new DerOutputStream();
99 tmp.putGeneralizedTime(notAfter);
101 false, TAG_AFTER), tmp);
231 DerOutputStream tmp = new DerOutputStream();
237 super.encode(tmp);
238 out.write(tmp.toByteArray());
H A DCertificatePoliciesExtension.java93 DerOutputStream tmp = new DerOutputStream();
96 info.encode(tmp);
99 os.write(DerValue.tag_Sequence, tmp);
179 DerOutputStream tmp = new DerOutputStream();
185 super.encode(tmp);
186 out.write(tmp.toByteArray());
H A DGeneralSubtree.java198 DerOutputStream tmp = new DerOutputStream();
199 tmp.putInteger(minimum);
201 false, TAG_MIN), tmp);
204 DerOutputStream tmp = new DerOutputStream();
205 tmp.putInteger(maximum);
207 false, TAG_MAX), tmp);
H A DPolicyMappingsExtension.java76 DerOutputStream tmp = new DerOutputStream();
79 map.encode(tmp);
82 os.write(DerValue.tag_Sequence, tmp);
153 DerOutputStream tmp = new DerOutputStream();
159 super.encode(tmp);
160 out.write(tmp.toByteArray());
H A DX509CertInfo.java183 DerOutputStream tmp = new DerOutputStream();
184 emit(tmp);
185 rawCertInfo = tmp.toByteArray();
225 DerOutputStream tmp = new DerOutputStream();
226 emit(tmp);
227 rawCertInfo = tmp.toByteArray();
626 DerValue tmp;
636 tmp = in.getDerValue();
637 if (tmp.isContextSpecific((byte)0)) {
638 version = new CertificateVersion(tmp);
[all...]
H A DAccessDescription.java77 DerOutputStream tmp = new DerOutputStream();
78 tmp.putOID(accessMethod);
79 accessLocation.encode(tmp);
80 out.write(DerValue.tag_Sequence, tmp);
H A DCertificatePolicySet.java87 DerOutputStream tmp = new DerOutputStream();
90 ids.elementAt(i).encode(tmp);
92 out.write(DerValue.tag_Sequence,tmp);
H A DBasicConstraintsExtension.java74 DerOutputStream tmp = new DerOutputStream();
77 tmp.putBoolean(ca);
80 tmp.putInteger(pathLen);
83 out.write(DerValue.tag_Sequence, tmp);
191 DerOutputStream tmp = new DerOutputStream();
201 super.encode(tmp);
203 out.write(tmp.toByteArray());
/libcore/ojluni/src/main/java/java/util/
H A DDoubleSummaryStatistics.java112 double tmp = value - sumCompensation;
113 double velvel = sum + tmp; // Little wolf of rounding error
114 sumCompensation = (velvel - sum) - tmp;
152 double tmp = sum + sumCompensation;
153 if (Double.isNaN(tmp) && Double.isInfinite(simpleSum))
160 return tmp;
H A DComparableTimSort.java81 * Maximum initial size of tmp array, which is used for merging. The array
94 private Object[] tmp; field in class:ComparableTimSort
95 private int tmpBase; // base of tmp array slice
96 private int tmpLen; // length of tmp array slice
128 tmp = new Object[tlen];
133 tmp = work;
475 // Merge remaining runs, using tmp array with min(len1, len2) elements
533 int tmp = lastOfs;
535 ofs = hint - tmp;
588 int tmp
[all...]
H A DTimSort.java106 * Maximum initial size of tmp array, which is used for merging. The array
119 private T[] tmp; field in class:TimSort
120 private int tmpBase; // base of tmp array slice
121 private int tmpLen; // length of tmp array slice
158 tmp = newArray;
163 tmp = work;
508 // Merge remaining runs, using tmp array with min(len1, len2) elements
566 int tmp = lastOfs;
568 ofs = hint - tmp;
622 int tmp
[all...]
/libcore/ojluni/src/main/java/java/security/cert/
H A DPolicyQualifierInfo.java108 byte [] tmp = val.data.toByteArray();
109 if (tmp == null) {
112 mData = new byte[tmp.length];
113 System.arraycopy(tmp, 0, mData, 0, tmp.length);
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DFileChannelTest.java32 File tmp = File.createTempFile("FileChannelTest", "tmp");
35 FileChannel fc = new FileInputStream(tmp).getChannel();
60 fc = new FileOutputStream(tmp).getChannel();
69 File tmp = File.createTempFile("FileChannelTest", "tmp");
70 FileChannel fc = new FileOutputStream(tmp).getChannel();
74 fc = new FileInputStream(tmp).getChannel();
89 File tmp = File.createTempFile("FileChannelTest", "tmp");
[all...]
/libcore/support/src/test/java/tests/support/
H A DSupport_ClassLoader.java60 private static File tmp; field in class:Support_ClassLoader.Dalvik
63 tmp = new File(System.getProperty("java.io.tmpdir"), "dex-cache");
64 tmp.mkdirs();
69 return new DexClassLoader(url.getPath(), tmp.getAbsolutePath(),
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
H A DAuthenticationHeader.java178 SchemeMapValue tmp = (SchemeMapValue)schemes.get("negotiate");
179 if(tmp != null) {
181 tmp = null;
183 v = tmp;
188 SchemeMapValue tmp = (SchemeMapValue)schemes.get("kerberos");
189 if(tmp != null) {
201 tmp = null;
203 v = tmp;
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DOCSPRequest.java108 DerOutputStream tmp = new DerOutputStream();
116 tmp.write(DerValue.tag_Sequence, requestsOut);
127 tmp.write(DerValue.createTag(DerValue.TAG_CONTEXT,
132 tbsRequest.write(DerValue.tag_Sequence, tmp);
H A DCertId.java159 DerOutputStream tmp = new DerOutputStream();
160 hashAlgId.encode(tmp);
161 tmp.putOctetString(issuerNameHash);
162 tmp.putOctetString(issuerKeyHash);
163 certSerialNumber.encode(tmp);
164 out.write(DerValue.tag_Sequence, tmp);
/libcore/benchmarks/src/benchmarks/regression/
H A DIcuBenchmark.java35 char[] tmp = new char[endingCodePoint - startingCodePoint + 1];
37 tmp[i - startingCodePoint] = (char) i;
39 return new String(tmp);
/libcore/ojluni/src/main/java/java/util/jar/
H A DJarOutputStream.java99 byte[] tmp = new byte[edata.length + 4];
100 System.arraycopy(edata, 0, tmp, 4, edata.length);
101 edata = tmp;
/libcore/ojluni/src/main/java/sun/security/util/
H A DDerInputStream.java584 int value, tmp;
586 tmp = lenByte;
587 if ((tmp & 0x080) == 0x00) { // short form, 1 byte datum
588 value = tmp;
590 tmp &= 0x07f;
593 * NOTE: tmp == 0 indicates indefinite length encoded data.
594 * tmp > 4 indicates more than 4Gb of data.
596 if (tmp == 0)
598 if (tmp < 0 || tmp >
[all...]

Completed in 410 milliseconds

12345