HomeSort by relevance Sort by last modified time
    Searched defs:read (Results 251 - 275 of 3357) sorted by null

<<11121314151617181920>>

  /libcore/ojluni/src/main/java/sun/nio/ch/
DatagramDispatcher.java 35 * for read and write operations.
40 int read(FileDescriptor fd, long address, int len) throws IOException { method in class:DatagramDispatcher
NativeDispatcher.java 32 * for read and write operations.
38 abstract int read(FileDescriptor fd, long address, int len) method in class:NativeDispatcher
  /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/Dialer/java/com/android/dialer/callcomposer/camera/exif/
ExifReader.java 38 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, IOException { method in class:ExifReader
66 if (buf.length != parser.read(buf)) {
67 LogUtil.i("ExifReader.read", "Failed to read the compressed thumbnail");
72 if (buf.length != parser.read(buf)) {
73 LogUtil.i("ExifReader.read", "Failed to read the strip bytes");
  /packages/apps/Dialer/java/com/android/voicemail/impl/mail/
FixedLengthInputStream.java 22 * A filtering InputStream that stops allowing reads after the given length has been read. This is
23 * used to allow a client to read directly from an underlying protocol stream without reading past
24 * where the protocol handler intended the client to read.
42 public int read() throws IOException { method in class:FixedLengthInputStream
45 return in.read();
52 public int read(byte[] b, int offset, int length) throws IOException { method in class:FixedLengthInputStream
54 int d = in.read(b, offset, Math.min(this.length - count, length));
67 public int read(byte[] b) throws IOException { method in class:FixedLengthInputStream
68 return read(b, 0, b.length);
PeekableInputStream.java 24 * this stream can call peek() to see the next available byte in the stream and a subsequent read
37 public int read() throws IOException { method in class:PeekableInputStream
39 return in.read();
48 peekedByte = read();
55 public int read(byte[] b, int offset, int length) throws IOException { method in class:PeekableInputStream
57 return in.read(b, offset, length);
61 int r = in.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/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/Car/car-support-lib/src/android/support/car/media/
CarAudioRecord.java 57 * Read recorded audio. Be sure to start audio recording with {@link #startRecording()}
62 * @return Number of bytes read. Returns {@link android.media.AudioRecord#ERROR} on error.
65 public abstract int read(byte[] audioData, int offsetInBytes, int sizeInBytes) method in class:CarAudioRecord
  /packages/services/Car/tools/keventreader/server/
inputsource.cpp 53 std::optional<com::android::car::keventreader::KeypressEvent> InputSource::read() const { function in class:InputSource
56 auto cnt = ::read(mDescriptor, &evt, sizeof(evt));
58 // the kernel guarantees that we will always be able to read a whole number of events
  /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/
multifile.py 13 "read some lines from fp"
16 "read lines from fp until it returns an empty string" (A)
19 "read remaining lines from fp until it returns an empty string"
120 def read(self): # Note: no size argument -- read until EOF only! member in class:MultiFile
  /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/
multifile.py 13 "read some lines from fp"
16 "read lines from fp until it returns an empty string" (A)
19 "read remaining lines from fp until it returns an empty string"
120 def read(self): # Note: no size argument -- read until EOF only! member in class:MultiFile
  /prebuilts/go/darwin-x86/src/vendor/golang_org/x/crypto/cryptobyte/
string.go 24 // read advances a String by n bytes and returns them. If less than n bytes
26 func (s *String) read(n int) []byte { func
37 return s.read(n) != nil
43 v := s.read(1)
54 v := s.read(2)
65 v := s.read(3)
76 v := s.read(4)
85 v := s.read(length)
99 lenBytes := s.read(lenLen)
109 // This currently cannot overflow because we read uint24 at most, but chec
    [all...]
  /prebuilts/go/linux-x86/src/vendor/golang_org/x/crypto/cryptobyte/
string.go 24 // read advances a String by n bytes and returns them. If less than n bytes
26 func (s *String) read(n int) []byte { func
37 return s.read(n) != nil
43 v := s.read(1)
54 v := s.read(2)
65 v := s.read(3)
76 v := s.read(4)
85 v := s.read(length)
99 lenBytes := s.read(lenLen)
109 // This currently cannot overflow because we read uint24 at most, but chec
    [all...]

Completed in 322 milliseconds

<<11121314151617181920>>