/libcore/ojluni/src/main/java/sun/net/ |
H A D | InetAddressCachePolicy.java | 92 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 D | create.sh | 25 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 D | CertificatePolicyMap.java | 100 DerOutputStream tmp = new DerOutputStream(); 102 issuerDomain.encode(tmp); 103 subjectDomain.encode(tmp); 104 out.write(DerValue.tag_Sequence,tmp);
|
H A D | IssuingDistributionPointExtension.java | 238 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 D | PolicyConstraintsExtension.java | 89 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 D | PrivateKeyUsageExtension.java | 92 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 D | CertificatePoliciesExtension.java | 93 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 D | GeneralSubtree.java | 198 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 D | PolicyMappingsExtension.java | 76 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 D | X509CertInfo.java | 183 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 D | AccessDescription.java | 77 DerOutputStream tmp = new DerOutputStream(); 78 tmp.putOID(accessMethod); 79 accessLocation.encode(tmp); 80 out.write(DerValue.tag_Sequence, tmp);
|
H A D | CertificatePolicySet.java | 87 DerOutputStream tmp = new DerOutputStream(); 90 ids.elementAt(i).encode(tmp); 92 out.write(DerValue.tag_Sequence,tmp);
|
H A D | BasicConstraintsExtension.java | 74 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 D | DoubleSummaryStatistics.java | 112 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 D | ComparableTimSort.java | 81 * 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 D | TimSort.java | 106 * 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 D | PolicyQualifierInfo.java | 108 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 D | FileChannelTest.java | 32 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 D | Support_ClassLoader.java | 60 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 D | AuthenticationHeader.java | 178 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 D | OCSPRequest.java | 108 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 D | CertId.java | 159 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 D | IcuBenchmark.java | 35 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 D | JarOutputStream.java | 99 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 D | DerInputStream.java | 584 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...] |