/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | KeyIdentifier.java | 125 * @param out the DerOutputStream to write the object to. 128 void encode(DerOutputStream out) throws IOException { argument 129 out.putOctetString(octetString);
|
H A D | OIDName.java | 88 * @param out the DER stream to encode the OIDName to. 91 public void encode(DerOutputStream out) throws IOException { argument 92 out.putOID(oid);
|
H A D | BasicConstraintsExtension.java | 73 DerOutputStream out = new DerOutputStream(); 83 out.write(DerValue.tag_Sequence, tmp); 84 this.extensionValue = out.toByteArray(); 188 * @param out the DerOutputStream to encode the extension to. 190 public void encode(OutputStream out) throws IOException { argument 203 out.write(tmp.toByteArray());
|
H A D | Extension.java | 144 public void encode(OutputStream out) throws IOException { argument 145 if (out == null) { 159 out.write(dos2.toByteArray()); 165 * @param out the DerOutputStream to write the extension to. 168 public void encode(DerOutputStream out) throws IOException { argument 182 out.write(DerValue.tag_Sequence, dos);
|
H A D | X509Key.java | 298 public final void encode(DerOutputStream out) throws IOException argument 300 encode(out, this.algid, getKey()); 319 DerOutputStream out = new DerOutputStream(); 320 encode(out); 321 encoded = out.toByteArray(); 470 static void encode(DerOutputStream out, AlgorithmId algid, BitArray key) argument 475 out.write(DerValue.tag_Sequence, tmp);
|
H A D | DistributionPointName.java | 167 * @param out the output stream. 170 public void encode(DerOutputStream out) throws IOException { argument 176 out.writeImplicit( 182 out.writeImplicit(
|
H A D | CRLDistributionPointsExtension.java | 198 * @param out the DerOutputStream to write the extension to. 201 public void encode(OutputStream out) throws IOException { argument 202 encode(out, PKIXExtensions.CRLDistributionPoints_Id, false); 209 protected void encode(OutputStream out, ObjectIdentifier extensionId, argument 219 out.write(tmp.toByteArray());
|
H A D | CRLNumberExtension.java | 194 * @param out the DerOutputStream to write the extension to. 197 public void encode(OutputStream out) throws IOException { argument 199 encode(out, PKIXExtensions.CRLNumber_Id, true); 206 protected void encode(OutputStream out, ObjectIdentifier extensionId, argument 217 out.write(tmp.toByteArray());
|
H A D | GeneralName.java | 224 * @param out the DerOutputStream to encode the the GeneralName to. 227 public void encode(DerOutputStream out) throws IOException { argument 236 out.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT, 241 out.write(DerValue.createTag(DerValue.TAG_CONTEXT, 245 out.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT,
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MySignature1.java | 94 byte [] out = new byte [BUFFER_LENGTH]; 95 return out;
|
/libcore/luni/src/test/java/libcore/java/text/ |
H A D | OldNumberFormatTest.java | 212 String out = nf1.format(1234567890.0123456789); 213 assertEquals("Wrong result for double : " + out, "1,234,567,890.012", 214 out.toString()); 216 out = nf1.format(-1234567890.0123456789); 217 assertEquals("Wrong result for double : " + out, "-1,234,567,890.012", 218 out.toString()); 222 out = nf2.format(-1234567890.0123456789); 224 // assertEquals("Wrong result for double : " + out, "1,234,567,890.012-", 225 // out.toString()); 226 assertEquals("Wrong result for double : " + out, " [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | ObjectIdentifier.java | 316 void encode (DerOutputStream out) throws IOException argument 318 out.write (DerValue.tag_ObjectId, encoding); 484 * turn out to be 000001 001100. While the 8 bits on the right are from 503 byte[] out = new byte[(bits+ow-1)/ow]; 517 out[opos/ow] |= // paste! 520 & ((1 << (count))-1)) // zero out all other bits 525 return out; 533 * @param out the existing array to be pasted into 537 private static int pack7Oid(byte[] in, int ioffset, int ilength, byte[] out, int ooffset) { argument 546 System.arraycopy(pack, firstNonZero, out, ooffse 557 pack8(byte[] in, int ioffset, int ilength, byte[] out, int ooffset) argument 572 pack7Oid(int input, byte[] out, int ooffset) argument 584 pack7Oid(BigInteger input, byte[] out, int ooffset) argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | ObjectOutputStreamTest.java | 176 private void writeObject(java.io.ObjectOutputStream out) argument 179 out.writeObject(FOO); 198 public void writeObject(java.io.ObjectOutputStream out) argument 201 out.writeObject(FOO); 236 private void writeObject(java.io.ObjectOutputStream out) argument 239 out.defaultWriteObject(); 323 private void writeObject(java.io.ObjectOutputStream out) argument 357 private void writeObject(java.io.ObjectOutputStream out) argument 406 private void writeObject(java.io.ObjectOutputStream out) argument 408 ObjectOutputStream.PutField fields = out 432 writeObject(java.io.ObjectOutputStream out) argument 451 writeObject(java.io.ObjectOutputStream out) argument 497 writeExternal(ObjectOutput out) argument 506 ObjectOutputStreamWithReplace(OutputStream out) argument 525 ObjectOutputStreamWithReplace2(OutputStream out) argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
H A D | GZIPInputStreamTest.java | 138 // System.out.println(orgBuf[i] + " " + outBuf[i]); 147 // line below fails on RI also, comment out. 161 GZIPOutputStream out = new GZIPOutputStream(bout); 162 out.write(test); 163 out.close(); 271 FileOutputStream out = new FileOutputStream(f); 272 GZIPOutputStream gout = new GZIPOutputStream(out); 279 out.write(1); 280 out.close();
|
/libcore/ojluni/src/main/java/java/util/logging/ |
H A D | FileHandler.java | 41 * limit, it is closed, rotated out, and a new file opened. 46 * record is flushed out when it is complete. 137 OutputStream out; field in class:FileHandler.MeteredStream 140 MeteredStream(OutputStream out, int written) { argument 141 this.out = out; 146 out.write(b); 151 out.write(buff); 156 out.write(buff,off,len); 161 out [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
H A D | OldCharset_SingleByteAbstractTest.java | 48 Charset_TestGenerator.Dumper out = new Charset_TestGenerator.Dumper1(); 56 out.consume(outputCB.get()); 59 System.out.println(e); 118 // System.out.format("Mismatch at index %d: %d instead of expected %d.\n", 122 //// System.out.format("Match index %d: %d = %d\n", 141 // System.out.format("REPLACE mismatch at index %d (byte %d): %d instead of expected %d.\n", 144 // System.out.format("REPLACE mismatch at index %d (byte %d): %d instead of expected %d.\n", 149 // System.out.format("MISMATCH at index %d (byte %d): %d instead of expected %d.\n", 162 // System.out.println("for charset " + charsetName); 171 // System.out [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | ZipInputStreamTest.java | 59 ByteArrayOutputStream out = new ByteArrayOutputStream(); 67 out.write(buffer, 0, count); 73 return out.toByteArray();
|
/libcore/luni/src/test/java/libcore/util/ |
H A D | SerializationTester.java | 83 ByteArrayOutputStream out = new ByteArrayOutputStream(); 84 new ObjectOutputStream(out).writeObject(object); 85 return out.toByteArray();
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | DigestOutputStreamTest.java | 80 MyOutputStream out = new MyOutputStream(); 82 MyDigestOutputStream dos = new MyDigestOutputStream(out, md); 83 assertSame(out, dos.myOutputStream()); 95 dos = new MyDigestOutputStream(out, null); 106 OutputStream out = new MyOutputStream(); 109 DigestOutputStream dos = new DigestOutputStream(out, digest); 113 dos = new DigestOutputStream(out, null); 123 OutputStream out = new MyOutputStream(); 125 DigestOutputStream dos = new DigestOutputStream(out, null); 605 public MyDigestOutputStream(OutputStream out, MessageDiges argument [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
H A D | DocumentBuilderSettingStrategy.java | 59 System.out.println("ignoreComments=true not supported"); 94 System.out.println("DocumentBuilderSetting.notSigned"); 107 System.out.println("DocumentBuilderSetting.notHasNullString");
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | UnresolvedPermissionCollection.java | 155 * Writes the contents of the perms field out as a Hashtable 159 private void writeObject(ObjectOutputStream out) throws IOException { argument 160 // Don't call out.defaultWriteObject() 182 // Write out serializable fields 183 ObjectOutputStream.PutField pfields = out.putFields(); 185 out.writeFields();
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | Streams.java | 50 public static void writeSingleByte(OutputStream out, int b) throws IOException { argument 53 out.write(buffer); 176 * Copies all of the bytes from {@code in} to {@code out}. Neither stream is closed. 179 public static int copy(InputStream in, OutputStream out) throws IOException { argument 185 out.write(buffer, 0, c);
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | FileDescriptor.java | 77 * known as <code>System.out</code>. 78 * @see java.lang.System#out 80 public static final FileDescriptor out = dupFd(1); field in class:FileDescriptor
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
H A D | PKCS7.java | 460 * @param out the output stream to write the encoded data to. 463 public void encodeSignedData(OutputStream out) throws IOException { argument 466 out.write(derout.toByteArray()); 472 * @param out the DerOutputStream to write the encoded data to. 475 public void encodeSignedData(DerOutputStream out) argument 549 // writing out the contentInfo sequence 550 block.encode(out); 739 String out = ""; 741 out += contentInfo + "\n"; 743 out [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_Exec.java | 76 * Starts the specified process, collects its output from standard out and 93 String out = ""; 95 out = outFuture.get(30, TimeUnit.SECONDS); 106 "Failed to execute " + builder.command() + "; output was:\n" + out); 110 return out; 119 * 'expectedOut' on stdout and 'expectedErr' on stderr. Times out after
|