HomeSort by relevance Sort by last modified time
    Searched refs:NewClient (Results 1 - 21 of 21) sorted by null

  /system/core/fastboot/
socket.h 58 static std::unique_ptr<Socket> NewClient(Protocol protocol, const std::string& hostname,
tcp.cpp 182 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error),
socket.cpp 126 // Only servers need to remember addresses; clients are connected to a server in NewClient()
246 std::unique_ptr<Socket> Socket::NewClient(Protocol protocol, const std::string& host, int port,
udp.cpp 374 return internal::Connect(Socket::NewClient(Socket::Protocol::kUdp, hostname, port, error),
socket_test.cpp 44 *client = Socket::NewClient(protocol, hostname, (*server)->GetLocalPort(), nullptr);
  /prebuilts/go/darwin-x86/src/net/rpc/jsonrpc/
client.go 110 // NewClient returns a new rpc.Client to handle requests to the
112 func NewClient(conn io.ReadWriteCloser) *rpc.Client {
122 return NewClient(conn), err
all_test.go 126 client := NewClient(cli)
196 client := NewClient(cli)
  /prebuilts/go/linux-x86/src/net/rpc/jsonrpc/
client.go 110 // NewClient returns a new rpc.Client to handle requests to the
112 func NewClient(conn io.ReadWriteCloser) *rpc.Client {
122 return NewClient(conn), err
all_test.go 126 client := NewClient(cli)
196 client := NewClient(cli)
  /prebuilts/go/darwin-x86/src/net/rpc/
client.go 184 // NewClient returns a new Client to handle requests to the
188 func NewClient(conn io.ReadWriteCloser) *Client {
194 // NewClientWithCodec is like NewClient but uses the specified
254 return NewClient(conn), nil
274 return NewClient(conn), nil
server_test.go 544 c := NewClient(w)
server.go 41 NewClient on the connection. The convenience function Dial (DialHTTP) performs
  /prebuilts/go/linux-x86/src/net/rpc/
client.go 184 // NewClient returns a new Client to handle requests to the
188 func NewClient(conn io.ReadWriteCloser) *Client {
194 // NewClientWithCodec is like NewClient but uses the specified
254 return NewClient(conn), nil
274 return NewClient(conn), nil
server_test.go 544 c := NewClient(w)
server.go 41 NewClient on the connection. The convenience function Dial (DialHTTP) performs
  /prebuilts/go/darwin-x86/src/net/smtp/
smtp_test.go 239 c, err := NewClient(fake, "fake.host")
241 t.Fatalf("NewClient: %v\n(after %v)", err, out())
280 c, err := NewClient(fake, "fake.host")
282 t.Fatalf("NewClient: %v", err)
326 c, err := NewClient(fake, "fake.host")
328 t.Fatalf("NewClient: %v", err)
517 c, err := NewClient(fake, "fake.host")
519 t.Fatalf("NewClient: %v", err)
smtp.go 51 return NewClient(conn, host)
54 // NewClient returns a new Client using an existing connection and host as a
56 func NewClient(conn net.Conn, host string) (*Client, error) {
  /prebuilts/go/linux-x86/src/net/smtp/
smtp_test.go 239 c, err := NewClient(fake, "fake.host")
241 t.Fatalf("NewClient: %v\n(after %v)", err, out())
280 c, err := NewClient(fake, "fake.host")
282 t.Fatalf("NewClient: %v", err)
326 c, err := NewClient(fake, "fake.host")
328 t.Fatalf("NewClient: %v", err)
517 c, err := NewClient(fake, "fake.host")
519 t.Fatalf("NewClient: %v", err)
smtp.go 51 return NewClient(conn, host)
54 // NewClient returns a new Client using an existing connection and host as a
56 func NewClient(conn net.Conn, host string) (*Client, error) {
  /prebuilts/go/darwin-x86/src/runtime/pprof/
pprof.go 184 // called from rpc.NewClient
188 // Passing skip=0 begins the stack trace at the call to Add inside rpc.NewClient.
189 // Passing skip=1 begins the stack trace at the call to NewClient inside mypkg.Run.
  /prebuilts/go/linux-x86/src/runtime/pprof/
pprof.go 184 // called from rpc.NewClient
188 // Passing skip=0 begins the stack trace at the call to Add inside rpc.NewClient.
189 // Passing skip=1 begins the stack trace at the call to NewClient inside mypkg.Run.

Completed in 339 milliseconds