Lines Matching refs:Op
169 func (r *Resolver) resolveAddrList(ctx context.Context, op, network, addr string, hint Addr) (addrList, error) {
174 if op == "dial" && addr == "" {
183 if op == "dial" && hint != nil && addr.Network() != hint.Network() {
189 if err != nil || op != "dial" || hint == nil {
351 return nil, &OpError{Op: "dial", Net: network, Source: nil, Addr: nil, Err: err}
469 return nil, &OpError{Op: "dial", Net: dp.network, Source: dp.LocalAddr, Addr: ra, Err: mapErr(ctx.Err())}
478 firstErr = &OpError{Op: "dial", Net: dp.network, Source: dp.LocalAddr, Addr: ra, Err: err}
499 firstErr = &OpError{Op: "dial", Net: dp.network, Source: nil, Addr: nil, Err: errMissingAddress}
532 return nil, &OpError{Op: "dial", Net: dp.network, Source: la, Addr: ra, Err: &AddrError{Err: "unexpected address type", Addr: dp.address}}
535 return nil, &OpError{Op: "dial", Net: dp.network, Source: la, Addr: ra, Err: err} // c is non-nil interface containing nil pointer
553 return nil, &OpError{Op: "listen", Net: net, Source: nil, Addr: nil, Err: err}
562 return nil, &OpError{Op
583 return nil, &OpError{Op: "listen", Net: net, Source: nil, Addr: nil, Err: err}
594 return nil, &OpError{Op: "listen", Net: net, Source: nil, Addr: la, Err: &AddrError{Err: "unexpected address type", Addr: laddr}}