HomeSort by relevance Sort by last modified time
    Searched refs:ReadFrom (Results 1 - 25 of 71) sorted by null

1 2 3

  /external/clang/test/CodeGenCXX/
dependent-type-member-pointer.cpp 16 void ReadFrom( )
  /prebuilts/go/darwin-x86/src/net/
packetconn_test.go 79 if _, _, err := c2.ReadFrom(rb2); err != nil {
86 if _, _, err := c1.ReadFrom(rb1); err != nil {
135 if _, _, err := c1.ReadFrom(rb1); err != nil {
iprawsock.go 13 // using the ReadFrom or ReadFromIP method might not return a complete
112 // ReadFromIP acts like ReadFrom but returns an IPAddr.
117 n, addr, err := c.readFrom(b)
124 // ReadFrom implements the PacketConn ReadFrom method.
125 func (c *IPConn) ReadFrom(b []byte) (int, Addr, error) {
129 n, addr, err := c.readFrom(b)
udpsock_test.go 46 if _, _, err := c2.ReadFrom(buf[:]); err != nil {
369 _, _, err = c.ReadFrom(b[:])
372 case nil: // ReadFrom succeeds
406 _, _, err = c.ReadFrom(nil)
409 case nil: // ReadFrom succeeds
unixsock_test.go 63 n, from, err := c.ReadFrom(b)
108 _, peer, err = c1.ReadFrom(b[:])
111 case nil: // ReadFrom succeeds
158 _, peer, err = c1.ReadFrom(nil)
161 case nil: // ReadFrom succeeds
udpsock.go 101 // ReadFromUDP acts like ReadFrom but returns a UDPAddr.
106 n, addr, err := c.readFrom(b)
113 // ReadFrom implements the PacketConn ReadFrom method.
114 func (c *UDPConn) ReadFrom(b []byte) (int, Addr, error) {
118 n, addr, err := c.readFrom(b)
unixsock.go 99 // ReadFromUnix acts like ReadFrom but returns a UnixAddr.
104 n, addr, err := c.readFrom(b)
111 // ReadFrom implements the PacketConn ReadFrom method.
112 func (c *UnixConn) ReadFrom(b []byte) (int, Addr, error) {
116 n, addr, err := c.readFrom(b)
unixsock_linux_test.go 94 n, from, err := c.ReadFrom(b)
mockserver_test.go 442 n, peer, err := c.ReadFrom(b)
490 n, _, err = c.ReadFrom(rb)
513 n, _, err = c.ReadFrom(b)
516 err = fmt.Errorf("ReadFrom did not return (0, timeout): (%d, %v)", n, err)
520 err = fmt.Errorf("ReadFrom took %s; expected %s", dt, d)
net.go 305 // ReadFrom reads a packet from the connection,
309 // ReadFrom can be made to time out and return
312 ReadFrom(b []byte) (n int, addr Addr, err error)
322 // Any blocked ReadFrom or WriteTo operations will be unblocked and return errors.
335 // I/O, not just the immediately following call to ReadFrom or
340 // the deadline after successful ReadFrom or WriteTo calls.
345 // SetReadDeadline sets the deadline for future ReadFrom calls
346 // and any currently-blocked ReadFrom call.
347 // A zero value for t means ReadFrom will not time out.
593 // Fallback implementation of io.ReaderFrom's ReadFrom, when sendfile isn'
    [all...]
  /prebuilts/go/linux-x86/src/net/
packetconn_test.go 79 if _, _, err := c2.ReadFrom(rb2); err != nil {
86 if _, _, err := c1.ReadFrom(rb1); err != nil {
135 if _, _, err := c1.ReadFrom(rb1); err != nil {
iprawsock.go 13 // using the ReadFrom or ReadFromIP method might not return a complete
112 // ReadFromIP acts like ReadFrom but returns an IPAddr.
117 n, addr, err := c.readFrom(b)
124 // ReadFrom implements the PacketConn ReadFrom method.
125 func (c *IPConn) ReadFrom(b []byte) (int, Addr, error) {
129 n, addr, err := c.readFrom(b)
udpsock_test.go 46 if _, _, err := c2.ReadFrom(buf[:]); err != nil {
369 _, _, err = c.ReadFrom(b[:])
372 case nil: // ReadFrom succeeds
406 _, _, err = c.ReadFrom(nil)
409 case nil: // ReadFrom succeeds
unixsock_test.go 63 n, from, err := c.ReadFrom(b)
108 _, peer, err = c1.ReadFrom(b[:])
111 case nil: // ReadFrom succeeds
158 _, peer, err = c1.ReadFrom(nil)
161 case nil: // ReadFrom succeeds
udpsock.go 101 // ReadFromUDP acts like ReadFrom but returns a UDPAddr.
106 n, addr, err := c.readFrom(b)
113 // ReadFrom implements the PacketConn ReadFrom method.
114 func (c *UDPConn) ReadFrom(b []byte) (int, Addr, error) {
118 n, addr, err := c.readFrom(b)
unixsock.go 99 // ReadFromUnix acts like ReadFrom but returns a UnixAddr.
104 n, addr, err := c.readFrom(b)
111 // ReadFrom implements the PacketConn ReadFrom method.
112 func (c *UnixConn) ReadFrom(b []byte) (int, Addr, error) {
116 n, addr, err := c.readFrom(b)
unixsock_linux_test.go 94 n, from, err := c.ReadFrom(b)
mockserver_test.go 442 n, peer, err := c.ReadFrom(b)
490 n, _, err = c.ReadFrom(rb)
513 n, _, err = c.ReadFrom(b)
516 err = fmt.Errorf("ReadFrom did not return (0, timeout): (%d, %v)", n, err)
520 err = fmt.Errorf("ReadFrom took %s; expected %s", dt, d)
net.go 305 // ReadFrom reads a packet from the connection,
309 // ReadFrom can be made to time out and return
312 ReadFrom(b []byte) (n int, addr Addr, err error)
322 // Any blocked ReadFrom or WriteTo operations will be unblocked and return errors.
335 // I/O, not just the immediately following call to ReadFrom or
340 // the deadline after successful ReadFrom or WriteTo calls.
345 // SetReadDeadline sets the deadline for future ReadFrom calls
346 // and any currently-blocked ReadFrom call.
347 // A zero value for t means ReadFrom will not time out.
593 // Fallback implementation of io.ReaderFrom's ReadFrom, when sendfile isn'
    [all...]
  /prebuilts/go/darwin-x86/src/io/
io_test.go 16 // An version of bytes.Buffer without ReadFrom and WriteTo
23 // Simple tests, primarily to verify the ReadFrom and WriteTo callouts inside Copy, CopyBuffer and CopyN.
72 wb := new(bytes.Buffer) // implements ReadFrom.
112 t.Errorf("WriteTo was not prioritized over ReadFrom")
156 wb := new(bytes.Buffer) // implements ReadFrom.
214 // argument to CopyN has ReadFrom.
io.go 163 // ReaderFrom is the interface that wraps the ReadFrom method.
165 // ReadFrom reads data from r until EOF or error.
171 ReadFrom(r Reader) (n int64, err error)
360 // the copy is implemented by calling dst.ReadFrom(src).
384 // Similarly, if the writer has a ReadFrom method, use it to do the copy.
386 return rt.ReadFrom(src)
  /prebuilts/go/linux-x86/src/io/
io_test.go 16 // An version of bytes.Buffer without ReadFrom and WriteTo
23 // Simple tests, primarily to verify the ReadFrom and WriteTo callouts inside Copy, CopyBuffer and CopyN.
72 wb := new(bytes.Buffer) // implements ReadFrom.
112 t.Errorf("WriteTo was not prioritized over ReadFrom")
156 wb := new(bytes.Buffer) // implements ReadFrom.
214 // argument to CopyN has ReadFrom.
io.go 163 // ReaderFrom is the interface that wraps the ReadFrom method.
165 // ReadFrom reads data from r until EOF or error.
171 ReadFrom(r Reader) (n int64, err error)
360 // the copy is implemented by calling dst.ReadFrom(src).
384 // Similarly, if the writer has a ReadFrom method, use it to do the copy.
386 return rt.ReadFrom(src)
  /prebuilts/go/darwin-x86/src/io/ioutil/
ioutil.go 36 _, err = buf.ReadFrom(r)
143 func (devNull) ReadFrom(r io.Reader) (n int64, err error) {
  /prebuilts/go/linux-x86/src/io/ioutil/
ioutil.go 36 _, err = buf.ReadFrom(r)
143 func (devNull) ReadFrom(r io.Reader) (n int64, err error) {

Completed in 308 milliseconds

1 2 3