/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | PipedOutputStream.java | 30 * data back and forth, one creates a piped output stream and the other one 31 * creates a piped input stream. 44 * stream must be connected to a {@link PipedInputStream} before data can be 53 * {@link PipedInputStream} {@code dest}. Any data written to this stream 54 * can be read from the target stream. 57 * the piped input stream to connect to. 59 * if this stream or {@code dest} are already connected. 67 * Closes this stream. If this stream is connected to an input stream, th 92 connect(PipedInputStream stream) argument [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
H A D | NotImplementedException.java | 42 * Constructor that prints the message of the exception on the given stream 45 public NotImplementedException(PrintStream stream) { argument 47 stream.println("*** NOT IMPLEMENTED EXCEPTION ***"); 49 stream.println("*** thrown from class -> " + thrower.getClassName()); 50 stream.println("*** method -> " + thrower.getMethodName()); 52 stream.print("*** defined in -> "); 54 stream.println("a native method"); 58 stream.println("an unknown source"); 61 stream.print("the file \"" + fileName + "\""); 63 stream [all...] |
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/support/ |
H A D | BrokenInputStream.java | 29 private InputStream stream; field in class:BrokenInputStream 33 public BrokenInputStream(InputStream stream, int offset) { argument 36 this.stream = stream; 47 return stream.read();
|
/dalvik/libcore/archive/src/main/native/ |
H A D | java_util_zip_Inflater.c | 42 /* Create a new stream . This stream cannot be used until it has been properly initialized. */ 50 z_stream *stream; local 68 stream = jclmem_allocate_memory (env, sizeof (z_stream)); 69 if (stream == NULL) 75 stream->opaque = (void *) privatePortLibrary; 76 stream->zalloc = zalloc; 77 stream->zfree = zfree; 78 stream->adler = 1; 79 jstream->stream 110 JCLZipStream *stream = (JCLZipStream *) ((IDATA) handle); local 133 JCLZipStream * stream = (JCLZipStream *) ((IDATA) handle); local 162 JCLZipStream *stream = (JCLZipStream *) ((IDATA) handle); local 220 JCLZipStream *stream; local 231 JCLZipStream *stream; local 251 JCLZipStream *stream = (JCLZipStream *) ((IDATA) handle); local 274 JCLZipStream *stream; local 299 JCLZipStream *stream; local 310 JCLZipStream *stream; local [all...] |
H A D | java_util_zip_Deflater.c | 44 JCLZipStream *stream = (JCLZipStream *) ((IDATA) handle); local 53 err = deflateSetDictionary (stream->stream, (Bytef *) dBytes, len); 60 stream->dict = (U_8*) dBytes; 67 JCLZipStream *stream; local 69 stream = (JCLZipStream *) ((IDATA) handle); 70 return stream->stream->total_in; 77 JCLZipStream *stream; local 79 stream 87 JCLZipStream *stream; local 102 z_stream *stream; local 165 JCLZipStream* stream = (JCLZipStream *) ((IDATA) handle); local 186 JCLZipStream *stream; local 236 JCLZipStream *stream; local 253 JCLZipStream *stream; local 264 JCLZipStream *stream; local [all...] |
/dalvik/libcore/sql/src/main/java/java/sql/ |
H A D | SQLData.java | 67 * <li>Utilize the passed input stream to read the attributes or entries of 69 * <li>This is carried out by reading each entry from the input stream, 78 * The supplied input stream is typically initialized by the calling JDBC 81 * @param stream 82 * the {@code SQLInput} stream from which the type map data is 90 public void readSQL(SQLInput stream, String typeName) throws SQLException; argument 93 * Writes the object to a supplied {@code SQLOutput} data stream, writing it 98 * <li>Write each attribute of the SQL type to the output stream.</li> 99 * <li>Write each item by calling a method on the output stream, in the 106 * @param stream 113 writeSQL(SQLOutput stream) argument [all...] |
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/ |
H A D | AudioInputStream.java | 35 private InputStream stream; field in class:AudioInputStream 43 public AudioInputStream(InputStream stream, AudioFormat format, long length) { argument 44 this.stream = stream; 71 if (stream != null) { // InputStream 75 res = stream.read(); 101 if (stream != null) { // InputStream 102 res = stream.read(b, off, l); 141 if (stream != null) { // InputStream 142 return Math.min(stream [all...] |
H A D | Clip.java | 34 void open(AudioInputStream stream) throws LineUnavailableException, argument
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/ |
H A D | FileChannelFactory.java | 38 public static FileChannel getFileChannel(Object stream, int fd, int mode) { argument 41 return new ReadOnlyFileChannel(stream, fd); 43 return new WriteOnlyFileChannel(stream, fd); 45 return new ReadWriteFileChannel(stream, fd); 47 return new ReadWriteFileChannel(stream, fd); 49 return new WriteOnlyFileChannel(stream, fd, true);
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
H A D | ClassTest2.java | 57 InputStream stream = clazz.getResourceAsStream("HelloWorld.txt"); 58 assert(stream != null); 61 int length = stream.read(buffer); 65 stream.close(); 80 InputStream stream = clazz.getResourceAsStream("/org/apache/harmony/luni/tests/java/lang/HelloWorld.txt"); 81 assert(stream != null); 84 int length = stream.read(buffer); 88 stream.close();
|
/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | HashSet.java | 186 private void writeObject(ObjectOutputStream stream) throws IOException { argument 187 stream.defaultWriteObject(); 188 stream.writeInt(backingMap.table.length); 189 stream.writeFloat(HashMap.DEFAULT_LOAD_FACTOR); 190 stream.writeInt(size()); 192 stream.writeObject(e); 197 private void readObject(ObjectInputStream stream) throws IOException, argument 199 stream.defaultReadObject(); 200 int length = stream.readInt(); 201 float loadFactor = stream [all...] |
H A D | PropertyPermission.java | 160 private void writeObject(ObjectOutputStream stream) throws IOException { argument 161 ObjectOutputStream.PutField fields = stream.putFields(); 163 stream.writeFields(); 166 private void readObject(ObjectInputStream stream) throws IOException, argument 168 ObjectInputStream.GetField fields = stream.readFields();
|
H A D | PropertyPermissionCollection.java | 82 private void writeObject(ObjectOutputStream stream) throws IOException { argument 83 ObjectOutputStream.PutField fields = stream.putFields(); 86 stream.writeFields(); 90 private void readObject(ObjectInputStream stream) throws IOException, argument 92 ObjectInputStream.GetField fields = stream.readFields();
|
/dalvik/libcore/security/src/main/java/java/security/ |
H A D | Certificate.java | 41 * @param stream 46 * if an exception is thrown by accessing the provided stream. 50 public void decode(InputStream stream) throws KeyException, IOException; argument 53 * Encodes this certificate to an output stream. The 57 * @param stream 62 * if an exception is thrown by accessing the provided stream. 65 public void encode(OutputStream stream) throws KeyException, IOException; argument
|
H A D | DigestInputStream.java | 31 * The message digest for this stream. 40 * given {@code stream} and the {@code digest}. 42 * @param stream 43 * the input stream. 47 public DigestInputStream(InputStream stream, MessageDigest digest) { argument 48 super(stream); 53 * Returns the message digest for this stream. 55 * @return the message digest for this stream. 62 * Sets the message digest which this stream will use. 65 * the message digest which this stream wil [all...] |
H A D | DigestOutputStream.java | 31 * The message digest for this stream. 40 * given {@code stream} and the {@code digest}. 42 * @param stream 43 * the output stream. 47 public DigestOutputStream(OutputStream stream, MessageDigest digest) { argument 48 super(stream); 53 * Returns the message digest for this stream. 55 * @return the message digest for this stream. 62 * Sets the message digest which this stream will use. 65 * the message digest which this stream wil [all...] |
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/spi/ |
H A D | AudioFileWriter.java | 32 public abstract AudioFileFormat.Type[] getAudioFileTypes(AudioInputStream stream); argument 44 public boolean isFileTypeSupported(AudioFileFormat.Type fileType, AudioInputStream stream) { argument 45 AudioFileFormat.Type[] supported = getAudioFileTypes(stream); 54 public abstract int write(AudioInputStream stream, argument 57 public abstract int write(AudioInputStream stream, argument
|
/dalvik/libcore-disabled/sound/src/main/java/com/android/internal/sound/sampled/ |
H A D | AndroidClip.java | 51 private AndroidAudioInputStream stream; field in class:AndroidClip 67 InputStream stream = new ByteArrayInputStream(data, offset, bufferSize); 72 this.stream = (AndroidAudioInputStream)(new AndroidAudioFileReader().getAudioInputStream(stream)); 78 public void open(AudioInputStream stream) throws LineUnavailableException, IOException { argument 81 if (!(stream instanceof AndroidAudioInputStream)) { 83 stream = new AndroidAudioFileReader().getAudioInputStream(stream); 89 this.stream = (AndroidAudioInputStream)stream; [all...] |
H A D | AndroidAudioFileReader.java | 45 public AudioFileFormat getAudioFileFormat(InputStream stream) argument 63 public AudioInputStream getAudioInputStream(InputStream stream) argument 71 int count = stream.read(buffer); 74 count = stream.read(buffer);
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/io/ |
H A D | DigestOutputStream.java | 15 OutputStream stream, 18 super(stream); 14 DigestOutputStream( OutputStream stream, Digest digest) argument
|
H A D | MacOutputStream.java | 15 OutputStream stream, 18 super(stream); 14 MacOutputStream( OutputStream stream, Mac mac) argument
|
H A D | DigestInputStream.java | 15 InputStream stream, 18 super(stream); 14 DigestInputStream( InputStream stream, Digest digest) argument
|
/dalvik/libcore-disabled/sound/src/main/java/com/android/internal/sound/midi/ |
H A D | AndroidMidiFileReader.java | 44 public MidiFileFormat getMidiFileFormat(InputStream stream) throws InvalidMidiDataException, argument 60 public Sequence getSequence(InputStream stream) throws InvalidMidiDataException, IOException { argument 67 int count = stream.read(buffer); 70 count = stream.read(buffer);
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/util/ |
H A D | NYITest.java | 48 PrintStream stream = new PrintStream(bos, true, "UTF-8"); 49 new NotImplementedException(stream);
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
H A D | ReadWriteFileChannel.java | 32 public ReadWriteFileChannel(Object stream, int handle) { argument 33 super(stream, handle);
|