/libcore/ojluni/src/main/java/sun/security/ssl/ |
RandomCookie.java | 63 m.read(random_bytes, 0, 32);
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
HandshakeMessage.java | 37 public static HandshakeMessage read(DataInput in) throws IOException { method in class:HandshakeMessage
|
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleInputStream.java | 63 public int read() throws IOException { method in class:Support_ASimpleInputStream
|
Support_ASimpleReader.java | 56 public int read(char[] dest, int offset, int count) throws IOException { method in class:Support_ASimpleReader
|
/packages/apps/Email/provider_src/com/android/email/ |
FixedLengthInputStream.java | 23 * A filtering InputStream that stops allowing reads after the given length has been read. This 24 * is used to allow a client to read directly from an underlying protocol stream without reading 25 * past where the protocol handler intended the client to read. 43 public int read() throws IOException { method in class:FixedLengthInputStream 46 return mIn.read(); 53 public int read(byte[] b, int offset, int length) throws IOException { method in class:FixedLengthInputStream 55 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); 68 public int read(byte[] b) throws IOException { method in class:FixedLengthInputStream 69 return read(b, 0, b.length);
|
PeekableInputStream.java | 25 * and a subsequent read will still return the peeked byte. 37 public int read() throws IOException { method in class:PeekableInputStream 39 return mIn.read(); 48 mPeekedByte = read(); 55 public int read(byte[] b, int offset, int length) throws IOException { method in class:PeekableInputStream 57 return mIn.read(b, offset, length); 61 int r = mIn.read(b, offset + 1, length - 1); 71 public int read(byte[] b) throws IOException { method in class:PeekableInputStream 72 return read(b, 0, b.length);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
AutoCloseInputStream.java | 32 * releasing resources once the last byte has been read) do not do that. 52 * This method is automatically called by the read methods when the end 72 * @throws IOException if the stream could not be read or closed 74 public int read() throws IOException { method in class:AutoCloseInputStream 75 int n = in.read(); 88 * @return number of bytes read, or -1 if no more bytes are available 89 * @throws IOException if the stream could not be read or closed 91 public int read(byte[] b) throws IOException { method in class:AutoCloseInputStream 92 int n = in.read(b); 106 * @param len maximum number of bytes to read 110 public int read(byte[] b, int off, int len) throws IOException { method in class:AutoCloseInputStream [all...] |
CountingInputStream.java | 27 * read as expected. 49 * number read. 51 * @param b the buffer into which the data is read, not null 52 * @return the total number of bytes read into the buffer, -1 if end of stream 54 * @see java.io.InputStream#read(byte[]) 56 public int read(byte[] b) throws IOException { method in class:CountingInputStream 57 int found = super.read(b); 64 * keeping count of the number read. 66 * @param b the buffer into which the data is read, not null 68 * @param len the maximum number of bytes to read 73 public int read(byte[] b, int off, int len) throws IOException { method in class:CountingInputStream 87 public int read() throws IOException { method in class:CountingInputStream [all...] |
DemuxInputStream.java | 64 * Read byte from stream associated with current thread. 66 * @return the byte read from stream 70 public int read() method in class:DemuxInputStream 76 return input.read();
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
RootInputStream.java | 44 * @param in the stream to read from. 52 * (the number of <code>\r\n</code> read so far plus 1). 62 * call to {@link #read()}, {@link #read(byte[]) or 63 * {@link #read(byte[], int, int)} will return 71 * @see java.io.InputStream#read() 73 public int read() throws IOException { method in class:RootInputStream 78 int b = is.read(); 88 * @see java.io.InputStream#read(byte[], int, int) 90 public int read(byte[] b, int off, int len) throws IOException method in class:RootInputStream 108 public int read(byte[] b) throws IOException { method in class:RootInputStream [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
PartialInputStream.java | 39 public int read() throws IOException { method in class:PartialInputStream 41 return super.read(); 46 public int read(byte b[]) throws IOException { method in class:PartialInputStream 47 return read(b, 0, b.length); 50 public int read(byte b[], int off, int len) throws IOException { method in class:PartialInputStream 52 return super.read(b, off, len); //To change body of overridden methods use File | Settings | File Templates.
|
/packages/services/Telephony/src/com/android/phone/common/mail/ |
FixedLengthInputStream.java | 22 * A filtering InputStream that stops allowing reads after the given length has been read. This 23 * is used to allow a client to read directly from an underlying protocol stream without reading 24 * past where the protocol handler intended the client to read. 42 public int read() throws IOException { method in class:FixedLengthInputStream 45 return mIn.read(); 52 public int read(byte[] b, int offset, int length) throws IOException { method in class:FixedLengthInputStream 54 int d = mIn.read(b, offset, Math.min(mLength - mCount, length)); 67 public int read(byte[] b) throws IOException { method in class:FixedLengthInputStream 68 return read(b, 0, b.length);
|
PeekableInputStream.java | 25 * and a subsequent read will still return the peeked byte. 37 public int read() throws IOException { method in class:PeekableInputStream 39 return mIn.read(); 48 mPeekedByte = read(); 55 public int read(byte[] b, int offset, int length) throws IOException { method in class:PeekableInputStream 57 return mIn.read(b, offset, length); 61 int r = mIn.read(b, offset + 1, length - 1); 71 public int read(byte[] b) throws IOException { method in class:PeekableInputStream 72 return read(b, 0, b.length);
|
/packages/services/Telephony/src/org/apache/james/mime4j/ |
RootInputStream.java | 44 * @param in the stream to read from. 52 * (the number of <code>\r\n</code> read so far plus 1). 62 * call to {@link #read()}, {@link #read(byte[]) or 63 * {@link #read(byte[], int, int)} will return 71 * @see java.io.InputStream#read() 73 public int read() throws IOException { method in class:RootInputStream 78 int b = is.read(); 88 * @see java.io.InputStream#read(byte[], int, int) 90 public int read(byte[] b, int off, int len) throws IOException method in class:RootInputStream 108 public int read(byte[] b) throws IOException { method in class:RootInputStream [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/bits/ |
unistd.h | 27 size_t __nbytes), read) __wur; 31 __wur __warnattr ("read called with bigger length than size of " 35 read (int __fd, void *__buf, size_t __nbytes) function
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
unistd.h | 27 size_t __nbytes), read) __wur; 31 __wur __warnattr ("read called with bigger length than size of " 35 read (int __fd, void *__buf, size_t __nbytes) function
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
unistd.h | 27 size_t __nbytes), read) __wur; 31 __wur __warnattr ("read called with bigger length than size of " 35 read (int __fd, void *__buf, size_t __nbytes) function
|
/prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/ |
dbrecio.py | 3 File-like objects that read from or write to a bsddb record. 13 buf = f.read() # read until EOF 14 buf = f.read(n) # read up to n bytes 68 def read(self, n = -1): member in class:DBRecIO 155 text = open(file, 'r').read() 172 line2 = f.read(len(line)) 179 line2 = f.read() 182 print 'Read', len(list), 'more lines [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
chunk.py | 1 """Simple class to read IFF chunks. 22 the start of each chunk and read from the instance until it reaches 35 data = chunk.read(nbytes) 41 read, close, seek, tell, isatty. 61 self.chunkname = file.read(4) 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0] 120 def read(self, size=-1): member in class:Chunk 121 """Read at most size bytes from the chunk. 122 If size is omitted or negative, read until the end 134 data = self.file.read(size [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/bsddb/ |
dbrecio.py | 3 File-like objects that read from or write to a bsddb record. 13 buf = f.read() # read until EOF 14 buf = f.read(n) # read up to n bytes 68 def read(self, n = -1): member in class:DBRecIO 155 text = open(file, 'r').read() 172 line2 = f.read(len(line)) 179 line2 = f.read() 182 print 'Read', len(list), 'more lines [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
chunk.py | 1 """Simple class to read IFF chunks. 22 the start of each chunk and read from the instance until it reaches 35 data = chunk.read(nbytes) 41 read, close, seek, tell, isatty. 61 self.chunkname = file.read(4) 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0] 120 def read(self, size=-1): member in class:Chunk 121 """Read at most size bytes from the chunk. 122 If size is omitted or negative, read until the end 134 data = self.file.read(size [all...] |
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/ |
unistd.h | 100 #define R_OK 4 /* Read */ 137 extern ssize_t read(int, void *, size_t); 202 __errordecl(__read_dest_size_error, "read called with size bigger than destination"); 203 __errordecl(__read_count_toobig_error, "read called with count > SSIZE_MAX"); 205 __asm__(__USER_LABEL_PREFIX__ "read"); 208 ssize_t read(int fd, void* buf, size_t count) { function
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/ |
unistd.h | 100 #define R_OK 4 /* Read */ 137 extern ssize_t read(int, void *, size_t); 202 __errordecl(__read_dest_size_error, "read called with size bigger than destination"); 203 __errordecl(__read_count_toobig_error, "read called with count > SSIZE_MAX"); 205 __asm__(__USER_LABEL_PREFIX__ "read"); 208 ssize_t read(int fd, void* buf, size_t count) { function
|
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/ |
unistd.h | 100 #define R_OK 4 /* Read */ 137 extern ssize_t read(int, void *, size_t); 202 __errordecl(__read_dest_size_error, "read called with size bigger than destination"); 203 __errordecl(__read_count_toobig_error, "read called with count > SSIZE_MAX"); 205 __asm__(__USER_LABEL_PREFIX__ "read"); 208 ssize_t read(int fd, void* buf, size_t count) { function
|
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/ |
unistd.h | 100 #define R_OK 4 /* Read */ 137 extern ssize_t read(int, void *, size_t); 202 __errordecl(__read_dest_size_error, "read called with size bigger than destination"); 203 __errordecl(__read_count_toobig_error, "read called with count > SSIZE_MAX"); 205 __asm__(__USER_LABEL_PREFIX__ "read"); 208 ssize_t read(int fd, void* buf, size_t count) { function
|