/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestOutputStreamTest.java | 89 MyDigestOutputStream dos = new MyDigestOutputStream(out, md); local 90 assertSame(out, dos.myOutputStream()); 91 assertSame(md, dos.myMessageDigest()); 94 dos = new MyDigestOutputStream(null, null); 95 assertNull(dos.myOutputStream()); 96 assertNull(dos.myMessageDigest()); 108 DigestOutputStream dos = new DigestOutputStream(out, digest); local 109 assertSame(digest, dos.getMessageDigest()); 112 dos = new DigestOutputStream(out, null); 113 assertNull("getMessageDigest should have returned null", dos 125 DigestOutputStream dos = new DigestOutputStream(out, null); local 150 DigestOutputStream dos = new DigestOutputStream(bos, md); local 183 DigestOutputStream dos = new DigestOutputStream(bos, md); local 217 DigestOutputStream dos = new DigestOutputStream(null, md); local 244 DigestOutputStream dos = new DigestOutputStream(os, null); local 268 DigestOutputStream dos = new DigestOutputStream(bos, null); local 293 DigestOutputStream dos = new DigestOutputStream(bos, md); local 327 DigestOutputStream dos = new DigestOutputStream(bos, md); local 364 DigestOutputStream dos = new DigestOutputStream(bos, md); local 405 DigestOutputStream dos = new DigestOutputStream(bos, md); local 473 DigestOutputStream dos = new DigestOutputStream(bos, md); local 512 DigestOutputStream dos = new DigestOutputStream(bos, md); local 528 DigestOutputStream dos = new DigestOutputStream( local 556 DigestOutputStream dos = new DigestOutputStream( local 573 DigestOutputStream dos = new DigestOutputStream( local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestOutputStreamTest.java | 82 MyDigestOutputStream dos = new MyDigestOutputStream(out, md); local 83 assertSame(out, dos.myOutputStream()); 84 assertSame(md, dos.myMessageDigest()); 87 dos = new MyDigestOutputStream(null, null); 88 assertNull(dos.myOutputStream()); 89 assertNull(dos.myMessageDigest()); 91 dos = new MyDigestOutputStream(null, md); 92 assertNull(dos.myOutputStream()); 93 assertNotNull(dos.myMessageDigest()); 95 dos = new MyDigestOutputStream(out, null) 109 DigestOutputStream dos = new DigestOutputStream(out, digest); local 125 DigestOutputStream dos = new DigestOutputStream(out, null); local 149 DigestOutputStream dos = new DigestOutputStream(bos, md); local 181 DigestOutputStream dos = new DigestOutputStream(bos, md); local 214 DigestOutputStream dos = new DigestOutputStream(null, md); local 241 DigestOutputStream dos = new DigestOutputStream(os, null); local 265 DigestOutputStream dos = new DigestOutputStream(bos, null); local 288 DigestOutputStream dos = new DigestOutputStream(bos, md); local 321 DigestOutputStream dos = new DigestOutputStream(bos, md); local 358 DigestOutputStream dos = new DigestOutputStream(bos, md); local 399 DigestOutputStream dos = new DigestOutputStream(bos, md); local 465 DigestOutputStream dos = new DigestOutputStream(sos, md); local 488 DigestOutputStream dos = new DigestOutputStream(bos, md); local 526 DigestOutputStream dos = new DigestOutputStream(bos, md); local 542 DigestOutputStream dos = new DigestOutputStream( local 569 DigestOutputStream dos = new DigestOutputStream( local 586 DigestOutputStream dos = new DigestOutputStream( local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Trie2_16.java | 154 DataOutputStream dos = new DataOutputStream(os); local 157 bytesWritten += serializeHeader(dos); 159 dos.writeChar(index[data16+i]);
|
Trie2_32.java | 151 DataOutputStream dos = new DataOutputStream(os); local 154 bytesWritten += serializeHeader(dos); 156 dos.writeInt(data32[i]);
|
IntTrieBuilder.java | 341 DataOutputStream dos = new DataOutputStream(os); local 342 dos.writeInt(Trie.HEADER_SIGNATURE_); 351 dos.writeInt(options); 353 dos.writeInt(m_indexLength_); 354 dos.writeInt(m_dataLength_); 361 dos.writeChar(v); 367 dos.writeChar(v); 373 dos.writeChar(v); 378 dos.writeInt(m_data_[i]);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
HuffmanTest.java | 47 DataOutputStream dos = new DataOutputStream(baos); local 49 Huffman.get().encode(buf, dos);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
UTFDataFormatExceptionTest.java | 38 DataOutputStream dos = new DataOutputStream( local 40 dos.writeUTF(sb.toString()); 60 DataOutputStream dos = new DataOutputStream( local 62 dos.writeUTF(sb.toString());
|
SerializationStressTest3.java | 367 DataOutputStream dos = new DataOutputStream(out); local 368 new ObjectOutputStream(dos); // just to make sure we get a header 369 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATALONG); 371 dos.writeInt(length); 373 dos.writeByte(0); // actual value does not matter 375 dos.flush(); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Trie2_16.java | 152 DataOutputStream dos = new DataOutputStream(os); local 155 bytesWritten += serializeHeader(dos); 157 dos.writeChar(index[data16+i]);
|
Trie2_32.java | 149 DataOutputStream dos = new DataOutputStream(os); local 152 bytesWritten += serializeHeader(dos); 154 dos.writeInt(data32[i]);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
DeflaterOutputStreamTest.java | 91 MyDeflaterOutputStream dos; local 94 dos = new MyDeflaterOutputStream(fos, defl); 99 dos = new MyDeflaterOutputStream(fos, defl); 103 assertEquals("Incorrect Buffer Size", 512, dos.getProtectedBuf().length); 105 dos.write(byteArray); 106 dos.close(); 116 MyDeflaterOutputStream dos = new MyDeflaterOutputStream(fos); local 120 assertEquals("Incorrect Buffer Size", 512, dos.getProtectedBuf().length); 122 dos.write(outputBuf); 123 dos.close() 140 MyDeflaterOutputStream dos; local 188 DeflaterOutputStream dos = new DeflaterOutputStream(fos); local 242 DeflaterOutputStream dos = new DeflaterOutputStream(fos1); local 290 DeflaterOutputStream dos = new DeflaterOutputStream(fos); local 394 MyDeflaterOutputStream dos = new MyDeflaterOutputStream(fos); local [all...] |
InflaterInputStreamTest.java | 276 DeflaterOutputStream dos = new DeflaterOutputStream(baos); local 277 dos.write(test); 278 dos.close();
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
InvalidityDateExtension.java | 76 DerOutputStream dos = new DerOutputStream(); local 77 dos.putGeneralizedTime(date); 78 this.extensionValue = dos.toByteArray();
|
CRLReasonCodeExtension.java | 93 DerOutputStream dos = new DerOutputStream(); local 94 dos.putEnumerated(reasonCode); 95 this.extensionValue = dos.toByteArray();
|
Extension.java | 175 DerOutputStream dos = new DerOutputStream(); local 177 dos.putOID(extensionId); 179 dos.putBoolean(critical); 180 dos.putOctetString(extensionValue); 182 out.write(DerValue.tag_Sequence, dos);
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/io/ |
RandomAccessFile.java | 38 DataOutputStream dos = new DataOutputStream(new RafOutputStream()); field in class:RandomAccessFile 101 dos.write(b); 105 dos.write(b); 109 dos.write(b, off, len); 229 dos.writeBoolean(v); 233 dos.writeByte(v); 237 dos.writeShort(v); 241 dos.writeChar(v); 245 dos.writeInt(v); 249 dos.writeLong(v) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
QuicktimeTextTrackImpl.java | 75 DataOutputStream dos = new DataOutputStream(baos); local 77 dos.writeShort(sub.text.getBytes("UTF-8").length); 78 dos.write(sub.text.getBytes("UTF-8")); 79 dos.close();
|
TextTrackImpl.java | 78 DataOutputStream dos = new DataOutputStream(baos); local 80 dos.writeShort(sub.text.getBytes("UTF-8").length); 81 dos.write(sub.text.getBytes("UTF-8")); 82 dos.close();
|
/frameworks/base/services/core/java/com/android/server/ |
RecoverySystemService.java | 98 DataOutputStream dos = null; local 101 dos = new DataOutputStream(socket.getOutputStream()); 126 dos.writeInt(0); 135 dos.writeInt(0); 144 IoUtils.closeQuietly(dos); 207 DataOutputStream dos = null; local 210 dos = new DataOutputStream(socket.getOutputStream()); 214 dos.writeInt(command.length()); 215 dos.writeBytes(command); 216 dos.flush() [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
ReverseGeocoder.java | 324 DataOutputStream dos = new DataOutputStream(bos); local 326 writeUTF(dos, locale.getLanguage()); 327 writeUTF(dos, locale.getCountry()); 328 writeUTF(dos, locale.getVariant()); 330 writeUTF(dos, address.getThoroughfare()); 332 dos.writeInt(numAddressLines); 334 writeUTF(dos, address.getAddressLine(i)); 336 writeUTF(dos, address.getFeatureName()); 337 writeUTF(dos, address.getLocality()); 338 writeUTF(dos, address.getAdminArea()) [all...] |
/libcore/ojluni/src/main/java/java/io/ |
DataOutputStream.java | 369 DataOutputStream dos = (DataOutputStream)out; local 370 if(dos.bytearr == null || (dos.bytearr.length < (utflen+2))) 371 dos.bytearr = new byte[(utflen*2) + 2]; 372 bytearr = dos.bytearr;
|
/external/javassist/src/main/javassist/bytecode/ |
ClassFileWriter.java | 242 DataOutputStream dos = new DataOutputStream(bs); local 244 aw.write(dos); 245 dos.flush();
|
/libcore/ojluni/src/main/java/java/util/jar/ |
Manifest.java | 147 DataOutputStream dos = new DataOutputStream(out); local 149 attr.writeMain(dos); 163 dos.writeBytes(buffer.toString()); 164 ((Attributes)e.getValue()).write(dos); 166 dos.flush();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
SmsMessage.java | 918 DataOutputStream dos = new DataOutputStream(baos); local 954 DataOutputStream dos = new DataOutputStream(new BufferedOutputStream(baos)); local [all...] |
/frameworks/base/core/java/android/ddm/ |
DdmHandleViewDebug.java | 245 DataOutputStream dos = new DataOutputStream(b); local 247 ViewDebug.captureLayers(rootView, dos); 253 dos.close();
|