Home
last modified time | relevance | path

Searched refs:net_error (Results 1 – 24 of 24) sorted by relevance

/external/chromium/net/base/
Dhost_resolver_impl.cc113 HostResolveFailedParams(int net_error, int os_error) in HostResolveFailedParams() argument
114 : net_error_(net_error), in HostResolveFailedParams()
1003 int net_error = OK; in Resolve() local
1005 net_error = ERR_NAME_NOT_RESOLVED; in Resolve()
1013 net_error, 0 /* os_error (unknown since from cache) */); in Resolve()
1014 return net_error; in Resolve()
1023 int net_error = cache_entry->error; in Resolve() local
1024 if (net_error == OK) in Resolve()
1029 net_error, in Resolve()
1032 return net_error; in Resolve()
[all …]
Dnet_log.cc149 int net_error) const { in EndEventWithNetErrorCode()
150 DCHECK_NE(net_error, ERR_IO_PENDING); in EndEventWithNetErrorCode()
151 if (net_error >= 0) { in EndEventWithNetErrorCode()
156 make_scoped_refptr(new NetLogIntegerParameter("net_error", net_error))); in EndEventWithNetErrorCode()
Dhost_resolver_impl.h157 void OnJobComplete(Job* job, int net_error, int os_error,
165 void OnJobCompleteInternal(Job* job, int net_error, int os_error,
179 int net_error,
Dcert_database_nss_unittest.cc298 EXPECT_EQ(ERR_IMPORT_CA_CERT_NOT_CA, failed[0].net_error); in TEST_F()
321 EXPECT_EQ(ERR_IMPORT_CA_CERT_NOT_CA, failed[0].net_error); in TEST_F()
356 EXPECT_EQ(ERR_IMPORT_CERT_ALREADY_EXISTS, failed[0].net_error); in TEST_F()
358 EXPECT_EQ(ERR_IMPORT_CA_CERT_NOT_CA, failed[1].net_error); in TEST_F()
379 EXPECT_EQ(ERR_FAILED, failed[0].net_error); in TEST_F()
426 EXPECT_EQ(ERR_FAILED, failed[0].net_error); in TEST_F()
428 EXPECT_EQ(ERR_FAILED, failed[1].net_error); in TEST_F()
Dcert_database.cc15 : certificate(cert), net_error(err) { in ImportCertFailure()
Dcert_database.h66 int net_error; member
Dnet_log.h201 int net_error) const;
/external/chromium/net/socket/
Dssl_error_params.cc11 SSLErrorParams::SSLErrorParams(int net_error, int ssl_lib_error) in SSLErrorParams() argument
12 : net_error_(net_error), ssl_lib_error_(ssl_lib_error) {} in SSLErrorParams()
Dtcp_server_socket_libevent.cc147 int net_error = MapSystemError(errno); in AcceptInternal() local
148 if (net_error != ERR_IO_PENDING) in AcceptInternal()
149 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_ACCEPT, net_error); in AcceptInternal()
150 return net_error; in AcceptInternal()
Dtcp_server_socket_win.cc131 int net_error = MapSystemError(WSAGetLastError()); in AcceptInternal() local
132 if (net_error != ERR_IO_PENDING) in AcceptInternal()
133 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_ACCEPT, net_error); in AcceptInternal()
134 return net_error; in AcceptInternal()
Dssl_client_socket_mac.cc222 OSStatus OSStatusFromNetError(int net_error) { in OSStatusFromNetError() argument
223 switch (net_error) { in OSStatusFromNetError()
241 LOG(WARNING) << "Unknown error " << net_error << in OSStatusFromNetError()
1078 int net_error = ERR_FAILED; in DoHandshake() local
1087 net_error = ERR_SSL_PROTOCOL_ERROR; in DoHandshake()
1096 net_error = ERR_SSL_CLIENT_AUTH_CERT_NEEDED; in DoHandshake()
1101 net_error = ERR_BAD_SSL_CLIENT_AUTH_CERT; in DoHandshake()
1108 net_error = NetErrorFromOSStatus(status); in DoHandshake()
1109 DCHECK(!IsCertificateError(net_error)); in DoHandshake()
1112 net_error == ERR_BAD_SSL_CLIENT_AUTH_CERT)) { in DoHandshake()
[all …]
Dtcp_client_socket_libevent.cc87 int net_error = MapSystemError(os_error); in MapConnectError() local
88 if (net_error == ERR_FAILED) in MapConnectError()
92 if (net_error == ERR_ADDRESS_UNREACHABLE && in MapConnectError()
96 return net_error; in MapConnectError()
546 void TCPClientSocketLibevent::LogConnectCompletion(int net_error) { in LogConnectCompletion() argument
547 if (net_error == OK) in LogConnectCompletion()
550 if (net_error != OK) { in LogConnectCompletion()
551 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_CONNECT, net_error); in LogConnectCompletion()
Dtcp_client_socket_win.cc41 int net_error = MapSystemError(os_error); in MapConnectError() local
42 if (net_error == ERR_FAILED) in MapConnectError()
46 if (net_error == ERR_ADDRESS_UNREACHABLE && in MapConnectError()
51 return net_error; in MapConnectError()
710 void TCPClientSocketWin::LogConnectCompletion(int net_error) { in LogConnectCompletion() argument
711 if (net_error == OK) in LogConnectCompletion()
714 if (net_error != OK) { in LogConnectCompletion()
715 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_CONNECT, net_error); in LogConnectCompletion()
Dssl_server_socket_nss.cc589 int net_error = net::OK; in DoHandshake() local
596 net_error = MapNSSHandshakeError(prerr); in DoHandshake()
599 if (net_error == ERR_IO_PENDING) { in DoHandshake()
603 << ", net_error " << net_error; in DoHandshake()
606 make_scoped_refptr(new SSLErrorParams(net_error, prerr))); in DoHandshake()
609 return net_error; in DoHandshake()
Dssl_client_socket_nss.cc1338 int net_error = net::OK; in DoHandshake() local
1342 net_error = ERR_SSL_CLIENT_AUTH_CERT_NEEDED; in DoHandshake()
1344 make_scoped_refptr(new SSLErrorParams(net_error, 0))); in DoHandshake()
1356 net_error = ERR_ESET_ANTI_VIRUS_SSL_INTERCEPTION; in DoHandshake()
1427 net_error = ERR_SSL_PROTOCOL_ERROR; in DoHandshake()
1429 make_scoped_refptr(new SSLErrorParams(net_error, 0))); in DoHandshake()
1433 net_error = HandleNSSError(prerr, true); in DoHandshake()
1436 if (net_error == ERR_IO_PENDING) { in DoHandshake()
1440 << ", net_error " << net_error; in DoHandshake()
1443 make_scoped_refptr(new SSLErrorParams(net_error, prerr))); in DoHandshake()
[all …]
Dssl_error_params.h16 SSLErrorParams(int net_error, int ssl_lib_error);
Dssl_client_socket_openssl.cc753 int net_error = net::OK; in DoHandshake() local
757 net_error = ERR_SSL_CLIENT_AUTH_CERT_NEEDED; in DoHandshake()
782 net_error = MapOpenSSLError(ssl_error, err_tracer); in DoHandshake()
785 if (net_error == ERR_IO_PENDING) { in DoHandshake()
790 << ", net_error " << net_error; in DoHandshake()
793 make_scoped_refptr(new SSLErrorParams(net_error, ssl_error))); in DoHandshake()
796 return net_error; in DoHandshake()
Dtcp_client_socket_win.h96 void LogConnectCompletion(int net_error);
Dtcp_client_socket_libevent.h146 void LogConnectCompletion(int net_error);
Dclient_socket_pool_base.cc124 void ConnectJob::LogConnectCompletion(int net_error) { in LogConnectCompletion() argument
126 NetLog::TYPE_SOCKET_POOL_CONNECT_JOB_CONNECT, net_error); in LogConnectCompletion()
Dclient_socket_pool_base.h131 void LogConnectCompletion(int net_error);
/external/chromium/chrome/browser/ssl/
Dssl_error_info.h40 static ErrorType NetErrorToErrorType(int net_error);
Dssl_error_info.cc204 SSLErrorInfo::ErrorType SSLErrorInfo::NetErrorToErrorType(int net_error) { in NetErrorToErrorType() argument
205 switch (net_error) { in NetErrorToErrorType()
/external/chromium/chrome/browser/ui/webui/options/
Dcertificate_manager_handler.cc127 std::string NetErrorToString(int net_error) { in NetErrorToString() argument
128 switch (net_error) { in NetErrorToString()
964 dict->SetString(kErrorId, NetErrorToString(failure.net_error)); in ShowImportErrors()