HomeSort by relevance Sort by last modified time
    Searched defs:Read (Results 426 - 450 of 681) sorted by null

<<11121314151617181920>>

  /prebuilts/go/darwin-x86/src/image/png/
reader.go 325 // Read presents one or more IDAT chunks as one continuous stream (minus the
329 // immediately before the first Read call is that d.r is positioned between the
330 // first IDAT and xxx, and the decoder state immediately after the last Read
332 func (d *decoder) Read(p []byte) (int, error) {
341 // Read the length and chunk type of the next chunk, and check that
356 n, err := d.r.Read(p[:min(len(p), int(d.idatLength))])
398 n, err = r.Read(d.tmp[:1])
432 // shouldn't even read a per-row filter type byte, so return early.
507 // Read the decompressed bytes.
860 // Read the length and chunk type
    [all...]
  /prebuilts/go/darwin-x86/src/internal/poll/
fd_windows.go 275 // One will process read requests, while the other will do writes.
285 // Lock sysfd and serialize access to Read and Write methods.
291 // Read operation.
307 readbyteOffset int // readbyte[readOffset:] is yet to be consumed with file.Read
318 // Whether a zero byte read indicates EOF. This is false for a
461 // Read implements io.Reader.
462 func (fd *FD) Read(buf []byte) (int, error) {
476 n, err = syscall.Read(fd.Sysfd, buf)
501 // It returns the number of utf8 bytes read and an error, if any.
910 // RawRead invokes the user-defined function f for a read operation
    [all...]
  /prebuilts/go/darwin-x86/src/io/
io.go 30 // ErrShortBuffer means that a read required a longer buffer than was provided.
33 // EOF is the error returned by Read when no more input is available.
45 // many calls to Read have failed to return any data or error,
47 var ErrNoProgress = errors.New("multiple Read calls return no data or error")
49 // Reader is the interface that wraps the basic Read method.
51 // Read reads up to len(p) bytes into p. It returns the number of bytes
52 // read (0 <= n <= len(p)) and any error encountered. Even if Read
54 // If some data is available but not len(p) bytes, Read conventionally
57 // When Read encounters an error or end-of-file condition afte
    [all...]
  /prebuilts/go/darwin-x86/src/net/
dnsclient_unix_test.go 789 func (f *fakeDNSConn) Read(b []byte) (int, error) {
800 return 0, errors.New("read would fragment DNS message")
833 n, err := s.Read(b)
net.go 113 // Read reads data from the connection.
114 // Read can be made to time out and return an Error with Timeout() == true
116 Read(b []byte) (n int, err error)
124 // Any blocked Read or Write operations will be unblocked and return errors.
133 // SetDeadline sets the read and write deadlines associated
140 // I/O, not just the immediately following call to Read or
145 // the deadline after successful Read or Write calls.
150 // SetReadDeadline sets the deadline for future Read calls
151 // and any currently-blocked Read call.
152 // A zero value for t means Read will not time out
    [all...]
  /prebuilts/go/darwin-x86/src/net/http/
transfer.go 33 func (r errorReader) Read(p []byte) (n int, err error) {
42 func (br *byteReader) Read(p []byte) (n int, err error) {
59 func (br transferBodyReader) Read(p []byte) (n int, err error) {
60 n, err = br.tw.Body.Read(p)
163 // This code tries to read a byte from the Request.Body in such cases to see
207 rres.n, rres.err = body.Read(buf[:])
231 // Too slow. Don't wait. Read it later, and keep
742 // Close ensures that the body has been fully read
746 hdr interface{} // non-nil (Response or Request) value means read trailer
751 mu sync.Mutex // guards following, and calls to Read and Clos
    [all...]
  /prebuilts/go/darwin-x86/src/syscall/
syscall_plan9.go 120 func Read(fd int, p []byte) (n int, err error) {
syscall_unix.go 161 func Read(fd int, p []byte) (n int, err error) {
162 n, err = read(fd, p)
  /prebuilts/go/linux-x86/src/bufio/
bufio.go 34 r, w int // buf read and write positions
69 // the buffered reader to read from r.
83 var errNegativeRead = errors.New("bufio: reader returned negative count from Read")
98 // Read new data: try a limited number of times.
100 n, err := b.rd.Read(b.buf[b.w:])
123 // being valid at the next read call. If Peek returns fewer than n bytes, it
124 // also returns an error explaining why the read is short. The error is
185 // Read reads data into p.
186 // It returns the number of bytes read into p.
187 // The bytes are taken from at most one Read on the underlying Reader
    [all...]
  /prebuilts/go/linux-x86/src/bytes/
buffer.go 15 // A Buffer is a variable-sized buffer of bytes with Read and Write methods.
19 off int // read at &buf[off], write at &buf[len(buf)]
21 lastRead readOp // last read operation, so that Unread* can work correctly.
30 // converted to int they correspond to the rune size that was read.
36 opRead readOp = -1 // Any other read operation.
37 opInvalid readOp = 0 // Non-read operation.
38 opReadRune1 readOp = 1 // Read rune of size 1.
39 opReadRune2 readOp = 2 // Read rune of size 2.
40 opReadRune3 readOp = 3 // Read rune of size 3.
41 opReadRune4 readOp = 4 // Read rune of size 4
    [all...]
  /prebuilts/go/linux-x86/src/crypto/tls/
conn.go 87 input *block // application data waiting to be read
88 hand bytes.Buffer // handshake data waiting to be read
123 // SetDeadline sets the read and write deadlines associated with the connection.
124 // A zero value for t means Read and Write will not time out.
130 // SetReadDeadline sets the read deadline on the underlying connection.
131 // A zero value for t means Read will not time out.
453 off int // index for Read
490 // read until have enough.
493 m, err := r.Read(b.data[len(b.data):cap(b.data)])
497 // that we're throwing away r.Read's err here
    [all...]
handshake_client_test.go 51 func (i opensslInput) Read(buf []byte) (n int, err error) {
326 // a goroutine to call client.Read and thus process the
330 // client.Read to complete.
341 n, err := client.Read(buf)
352 t.Errorf("Client.Read failed after renegotiation #%d: %s", i, err)
358 t.Errorf("Client.Read returned %q, but wanted %q", string(buf), opensslSentinel)
396 t.Fatalf("%s #%d: mismatch on read: got:%x want:%x", test.name, i, bb, b)
703 t.Fatalf("Failed to read new SessionTicketKey: %s", err)
    [all...]
  /prebuilts/go/linux-x86/src/encoding/binary/
binary_test.go 126 err := Read(bytes.NewReader(b), order, &s2)
127 checkResult(t, "Read", order, err, s2, s1)
146 err := Read(bytes.NewReader(src), BigEndian, slice)
159 err = Read(bytes.NewReader([]byte{0}), BigEndian, &res)
162 err = Read(bytes.NewReader([]byte{1}), BigEndian, &res)
165 err = Read(bytes.NewReader([]byte{2}), BigEndian, &res)
171 err := Read(bytes.NewReader([]byte{0, 1, 2, 255}), BigEndian, slice)
211 err = Read(buf, BigEndian, dstSlice.Interface())
275 if err := Read(buf, LittleEndian, &p); err != nil {
289 // read should ignore blank fields in b
    [all...]
  /prebuilts/go/linux-x86/src/encoding/gob/
debug.go 58 data []byte // read-ahead data
66 // Read is the usual method. It will first take data that has been read ahead.
67 func (p *peekReader) Read(b []byte) (n int, err error) {
69 return p.r.Read(b)
71 // Satisfy what's possible from the read-ahead data.
164 // Debug prints a human-readable representation of the gob data read from r.
210 errorf("debug: read error: %s", err)
241 // loadBlock preps us to read a message
334 nb, _ := deb.r.Read(b
    [all...]
  /prebuilts/go/linux-x86/src/encoding/xml/
xml_test.go 242 func (d *downCaser) Read(p []byte) (int, error) {
243 d.t.Fatalf("unexpected Read call on downCaser reader")
  /prebuilts/go/linux-x86/src/image/gif/
reader.go 109 tmp [1024]byte // must be at least 768 so we can read color table
158 // blockReader must implement io.Reader, but its Read shouldn't ever actually
160 func (b *blockReader) Read(p []byte) (int, error) {
311 // nothing to do but read the data.
355 return fmt.Errorf("gif: can't read graphic control: %s", err)
436 // the io.ReadFull call above successfully read len(m.Pix) bytes.
438 if n, err := lzwr.Read(d.tmp[256:257]); n != 0 || (err != io.EOF && err != io.ErrUnexpectedEOF) {
482 return nil, fmt.Errorf("gif: can't read image descriptor: %s", err)
  /prebuilts/go/linux-x86/src/image/png/
reader.go 325 // Read presents one or more IDAT chunks as one continuous stream (minus the
329 // immediately before the first Read call is that d.r is positioned between the
330 // first IDAT and xxx, and the decoder state immediately after the last Read
332 func (d *decoder) Read(p []byte) (int, error) {
341 // Read the length and chunk type of the next chunk, and check that
356 n, err := d.r.Read(p[:min(len(p), int(d.idatLength))])
398 n, err = r.Read(d.tmp[:1])
432 // shouldn't even read a per-row filter type byte, so return early.
507 // Read the decompressed bytes.
860 // Read the length and chunk type
    [all...]
  /prebuilts/go/linux-x86/src/internal/poll/
fd_windows.go 275 // One will process read requests, while the other will do writes.
285 // Lock sysfd and serialize access to Read and Write methods.
291 // Read operation.
307 readbyteOffset int // readbyte[readOffset:] is yet to be consumed with file.Read
318 // Whether a zero byte read indicates EOF. This is false for a
461 // Read implements io.Reader.
462 func (fd *FD) Read(buf []byte) (int, error) {
476 n, err = syscall.Read(fd.Sysfd, buf)
501 // It returns the number of utf8 bytes read and an error, if any.
910 // RawRead invokes the user-defined function f for a read operation
    [all...]
  /prebuilts/go/linux-x86/src/io/
io.go 30 // ErrShortBuffer means that a read required a longer buffer than was provided.
33 // EOF is the error returned by Read when no more input is available.
45 // many calls to Read have failed to return any data or error,
47 var ErrNoProgress = errors.New("multiple Read calls return no data or error")
49 // Reader is the interface that wraps the basic Read method.
51 // Read reads up to len(p) bytes into p. It returns the number of bytes
52 // read (0 <= n <= len(p)) and any error encountered. Even if Read
54 // If some data is available but not len(p) bytes, Read conventionally
57 // When Read encounters an error or end-of-file condition afte
    [all...]
  /prebuilts/go/linux-x86/src/net/
dnsclient_unix_test.go 789 func (f *fakeDNSConn) Read(b []byte) (int, error) {
800 return 0, errors.New("read would fragment DNS message")
833 n, err := s.Read(b)
net.go 113 // Read reads data from the connection.
114 // Read can be made to time out and return an Error with Timeout() == true
116 Read(b []byte) (n int, err error)
124 // Any blocked Read or Write operations will be unblocked and return errors.
133 // SetDeadline sets the read and write deadlines associated
140 // I/O, not just the immediately following call to Read or
145 // the deadline after successful Read or Write calls.
150 // SetReadDeadline sets the deadline for future Read calls
151 // and any currently-blocked Read call.
152 // A zero value for t means Read will not time out
    [all...]
  /prebuilts/go/linux-x86/src/net/http/
transfer.go 33 func (r errorReader) Read(p []byte) (n int, err error) {
42 func (br *byteReader) Read(p []byte) (n int, err error) {
59 func (br transferBodyReader) Read(p []byte) (n int, err error) {
60 n, err = br.tw.Body.Read(p)
163 // This code tries to read a byte from the Request.Body in such cases to see
207 rres.n, rres.err = body.Read(buf[:])
231 // Too slow. Don't wait. Read it later, and keep
742 // Close ensures that the body has been fully read
746 hdr interface{} // non-nil (Response or Request) value means read trailer
751 mu sync.Mutex // guards following, and calls to Read and Clos
    [all...]
  /prebuilts/go/linux-x86/src/syscall/
syscall_plan9.go 120 func Read(fd int, p []byte) (n int, err error) {
syscall_unix.go 161 func Read(fd int, p []byte) (n int, err error) {
162 n, err = read(fd, p)
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
map_type_handler.h 143 // Enum type cannot be used for MapTypeHandler::Read. Define a type which will
163 static inline bool Read(io::CodedInputStream* input,
219 static inline bool Read(io::CodedInputStream* input, \
404 inline bool MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::Read(
410 inline bool MapTypeHandler<WireFormatLite::TYPE_STRING, Type>::Read(
416 inline bool MapTypeHandler<WireFormatLite::TYPE_BYTES, Type>::Read(
423 inline bool MapTypeHandler<WireFormatLite::TYPE_##FieldType, Type>::Read( \
    [all...]

Completed in 575 milliseconds

<<11121314151617181920>>