/external/chromium/net/socket/ |
D | ssl_client_socket_unittest.cc | 25 const net::SSLConfig kDefaultSSLConfig; 30 : socket_factory_(net::ClientSocketFactory::GetDefaultFactory()), in SSLClientSocketTest() 31 cert_verifier_(new net::CertVerifier) { in SSLClientSocketTest() 35 net::SSLClientSocket* CreateSSLClientSocket( in CreateSSLClientSocket() 36 net::ClientSocket* transport_socket, in CreateSSLClientSocket() 37 const net::HostPortPair& host_and_port, in CreateSSLClientSocket() 38 const net::SSLConfig& ssl_config) { in CreateSSLClientSocket() 46 net::ClientSocketFactory* socket_factory_; 47 scoped_ptr<net::CertVerifier> cert_verifier_; 60 const net::CapturingNetLog::EntryList& log, int i) { in LogContainsSSLConnectEndEvent() [all …]
|
D | ssl_server_socket_unittest.cc | 42 namespace net { namespace 57 return net::ERR_IO_PENDING; in Read() 64 data_.push(new net::DrainableIOBuffer(buf, buf_len)); in Write() 75 net::CompletionCallback* callback = read_callback_; in DoReadCallback() 82 int PropogateData(scoped_refptr<net::IOBuffer> read_buf, int read_buf_len) { in PropogateData() 83 scoped_refptr<net::DrainableIOBuffer> buf = data_.front(); in PropogateData() 93 net::CompletionCallback* read_callback_; 94 scoped_refptr<net::IOBuffer> read_buf_; 97 std::queue<scoped_refptr<net::DrainableIOBuffer> > data_; 133 return net::OK; in Connect() [all …]
|
/external/chromium/ |
D | Android.mk | 41 android/net/android_network_library_impl.cc \ 142 chrome/browser/net/sqlite_persistent_cookie_store.cc \ 150 net/base/address_list.cc \ 151 net/base/address_list_net_log_param.cc \ 152 net/base/android_network_library.cc \ 153 net/base/auth.cc \ 154 net/base/backoff_entry.cc \ 155 net/base/bandwidth_metrics.cc \ 156 net/base/capturing_net_log.cc \ 157 net/base/cert_database.cc \ [all …]
|
/external/chromium/chrome/browser/net/ |
D | connection_tester.cc | 41 class ExperimentURLRequestContext : public net::URLRequestContext { 44 net::URLRequestContext* proxy_request_context) in ExperimentURLRequestContext() 51 net::HostResolver* host_resolver_tmp = NULL; in Init() 54 if (rv != net::OK) in Init() 59 scoped_refptr<net::ProxyService> proxy_service_tmp = NULL; in Init() 62 if (rv != net::OK) in Init() 68 set_cert_verifier(new net::CertVerifier); in Init() 69 set_dnsrr_resolver(new net::DnsRRResolver); in Init() 70 set_ftp_transaction_factory(new net::FtpNetworkLayer(host_resolver_tmp)); in Init() 71 set_ssl_config_service(new net::SSLConfigServiceDefaults); in Init() [all …]
|
D | load_timing_observer.cc | 54 : connect_job_id(net::NetLog::Source::kInvalidId), in URLRequestRecord() 55 socket_log_id(net::NetLog::Source::kInvalidId), in URLRequestRecord() 60 : socket_log_id(net::NetLog::Source::kInvalidId), in HTTPStreamJobRecord() 65 : ThreadSafeObserver(net::NetLog::LOG_BASIC), in LoadTimingObserver() 66 last_connect_job_id_(net::NetLog::Source::kInvalidId) { in LoadTimingObserver() 82 void LoadTimingObserver::OnAddEntry(net::NetLog::EventType type, in OnAddEntry() 84 const net::NetLog::Source& source, in OnAddEntry() 85 net::NetLog::EventPhase phase, in OnAddEntry() 86 net::NetLog::EventParameters* params) { in OnAddEntry() 90 if (source.type == net::NetLog::SOURCE_URL_REQUEST) in OnAddEntry() [all …]
|
D | pref_proxy_config_service_unittest.cc | 27 class TestProxyConfigService : public net::ProxyConfigService { 29 TestProxyConfigService(const net::ProxyConfig& config, in TestProxyConfigService() 34 void SetProxyConfig(const net::ProxyConfig config, in SetProxyConfig() 38 FOR_EACH_OBSERVER(net::ProxyConfigService::Observer, observers_, in SetProxyConfig() 43 virtual void AddObserver(net::ProxyConfigService::Observer* observer) { in AddObserver() 47 virtual void RemoveObserver(net::ProxyConfigService::Observer* observer) { in RemoveObserver() 51 virtual net::ProxyConfigService::ConfigAvailability GetLatestProxyConfig( in GetLatestProxyConfig() 52 net::ProxyConfig* config) { in GetLatestProxyConfig() 57 net::ProxyConfig config_; 59 ObserverList<net::ProxyConfigService::Observer, true> observers_; [all …]
|
D | load_timing_observer.h | 16 namespace net { 68 virtual void OnAddEntry(net::NetLog::EventType type, 70 const net::NetLog::Source& source, 71 net::NetLog::EventPhase phase, 72 net::NetLog::EventParameters* params); 74 static void PopulateTimingInfo(net::URLRequest* request, 85 void OnAddURLRequestEntry(net::NetLog::EventType type, 87 const net::NetLog::Source& source, 88 net::NetLog::EventPhase phase, 89 net::NetLog::EventParameters* params); [all …]
|
D | chrome_cookie_policy.cc | 31 net::StaticCookiePolicy policy(strict_third_party_blocking_ ? in CanGetCookies() 32 net::StaticCookiePolicy::BLOCK_ALL_THIRD_PARTY_COOKIES : in CanGetCookies() 33 net::StaticCookiePolicy::BLOCK_SETTING_THIRD_PARTY_COOKIES); in CanGetCookies() 35 DCHECK_NE(net::ERR_IO_PENDING, rv); in CanGetCookies() 36 if (rv != net::OK) in CanGetCookies() 41 if (policy == net::OK_FOR_SESSION_ONLY) in CanGetCookies() 42 policy = net::OK; in CanGetCookies() 43 DCHECK_NE(net::ERR_IO_PENDING, policy); in CanGetCookies() 53 net::StaticCookiePolicy policy(strict_third_party_blocking_ ? in CanSetCookie() 54 net::StaticCookiePolicy::BLOCK_ALL_THIRD_PARTY_COOKIES : in CanSetCookie() [all …]
|
/external/antlr/antlr-3.4/runtime/JavaScript/third/ |
D | antcontrib.properties | 1 antclipse=net.sf.antcontrib.antclipse.ClassPathTask 2 antserver=net.sf.antcontrib.antserver.server.ServerTask 3 remoteant=net.sf.antcontrib.antserver.client.ClientTask 4 verifydesign=net.sf.antcontrib.design.VerifyDesign 5 inifile=net.sf.antcontrib.inifile.IniFileTask 6 if=net.sf.antcontrib.logic.IfTask 7 foreach=net.sf.antcontrib.logic.ForEach 8 for=net.sf.antcontrib.logic.ForTask 9 throw=net.sf.antcontrib.logic.Throw 10 trycatch=net.sf.antcontrib.logic.TryCatchTask [all …]
|
/external/chromium/net/proxy/ |
D | proxy_server_unittest.cc | 16 net::ProxyServer::Scheme expected_scheme; in TEST() 25 net::ProxyServer::SCHEME_HTTP, in TEST() 33 net::ProxyServer::SCHEME_HTTP, in TEST() 41 net::ProxyServer::SCHEME_HTTP, in TEST() 51 net::ProxyServer::SCHEME_HTTP, in TEST() 59 net::ProxyServer::SCHEME_HTTP, in TEST() 67 net::ProxyServer::SCHEME_HTTP, in TEST() 75 net::ProxyServer::SCHEME_HTTP, in TEST() 85 net::ProxyServer::SCHEME_SOCKS4, in TEST() 93 net::ProxyServer::SCHEME_SOCKS4, in TEST() [all …]
|
/external/chromium/net/url_request/ |
D | url_request_test_util.cc | 22 return net::ERR_ACCESS_DENIED; in CanGetCookies() 24 return net::OK; in CanGetCookies() 31 return net::ERR_ACCESS_DENIED; in CanSetCookie() 34 return net::OK_FOR_SESSION_ONLY; in CanSetCookie() 36 return net::OK; in CanSetCookie() 42 net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism, in TestURLRequestContext() 44 context_storage_.set_proxy_service(net::ProxyService::CreateDirect()); in TestURLRequestContext() 51 net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism, in TestURLRequestContext() 53 net::ProxyConfig proxy_config; in TestURLRequestContext() 56 net::ProxyService::CreateFixed(proxy_config)); in TestURLRequestContext() [all …]
|
D | url_request_test_util.h | 45 class TestCookiePolicy : public net::CookiePolicy { 68 class TestURLRequestContext : public net::URLRequestContext { 73 net::HostResolver* host_resolver); 81 net::URLRequestContextStorage context_storage_; 86 class TestURLRequest : public net::URLRequest { 94 class TestDelegate : public net::URLRequest::Delegate { 134 virtual void OnReceivedRedirect(net::URLRequest* request, const GURL& new_url, 136 virtual void OnAuthRequired(net::URLRequest* request, 137 net::AuthChallengeInfo* auth_info); 138 virtual void OnSSLCertificateError(net::URLRequest* request, [all …]
|
/external/chromium/net/http/ |
D | http_response_headers_unittest.cc | 19 net::HttpVersion expected_parsed_version; 20 net::HttpVersion expected_version; 49 scoped_refptr<net::HttpResponseHeaders> parsed( in TestCommon() 50 new net::HttpResponseHeaders(raw_headers)); in TestCommon() 82 net::HttpVersion(1,1), in TEST() 83 net::HttpVersion(1,1) in TEST() 102 net::HttpVersion(1,1), in TEST() 103 net::HttpVersion(1,1) in TEST() 124 net::HttpVersion(1,1), in TEST() 125 net::HttpVersion(1,1) in TEST() [all …]
|
D | http_transaction_unittest.cc | 33 net::LOAD_NORMAL, 48 net::LOAD_NORMAL, 63 net::LOAD_NORMAL, 79 net::LOAD_NORMAL, 95 net::LOAD_NORMAL, 148 net::HttpTransactionFactory* factory) in TestTransactionConsumer() 151 error_(net::OK) { in TestTransactionConsumer() 160 void TestTransactionConsumer::Start(const net::HttpRequestInfo* request, in Start() 161 const net::BoundNetLog& net_log) { in Start() 164 if (result != net::ERR_IO_PENDING) in Start() [all …]
|
D | http_transaction_unittest.h | 26 namespace net { 46 typedef void (*MockTransactionHandler)(const net::HttpRequestInfo* request, 98 class MockHttpRequest : public net::HttpRequestInfo { 108 explicit TestTransactionConsumer(net::HttpTransactionFactory* factory); 111 void Start(const net::HttpRequestInfo* request, 112 const net::BoundNetLog& net_log); 117 const net::HttpResponseInfo* response_info() const { in response_info() 139 scoped_ptr<net::HttpTransaction> trans_; 141 scoped_refptr<net::IOBuffer> read_buf_; 154 class MockNetworkTransaction : public net::HttpTransaction { [all …]
|
/external/chromium/chrome/common/net/ |
D | x509_certificate_model.h | 21 net::X509Certificate::OSCertHandle cert_handle); 23 std::string GetNickname(net::X509Certificate::OSCertHandle cert_handle); 25 std::string GetTokenName(net::X509Certificate::OSCertHandle cert_handle); 27 std::string GetVersion(net::X509Certificate::OSCertHandle cert_handle); 29 net::CertType GetType(net::X509Certificate::OSCertHandle cert_handle); 31 std::string GetEmailAddress(net::X509Certificate::OSCertHandle cert_handle); 34 net::X509Certificate::OSCertHandle cert_handle, 37 std::string GetKeyUsageString(net::X509Certificate::OSCertHandle cert_handle); 40 net::X509Certificate::OSCertHandle cert_handle, 44 net::X509Certificate::OSCertHandle cert_handle, [all …]
|
D | url_fetcher_unittest.cc | 47 class TestURLRequestContextGetter : public net::URLRequestContextGetter { 53 virtual net::URLRequestContext* GetURLRequestContext() { in GetURLRequestContext() 68 scoped_refptr<net::URLRequestContext> context_; 83 const net::URLRequestStatus& status, 99 net::EnsureOCSPInit(); in SetUp() 105 net::ShutdownOCSP(); in TearDown() 132 const net::URLRequestStatus& status, in OnURLFetchComplete() 159 const net::URLRequestStatus& status, 171 const net::URLRequestStatus& status, 184 const net::URLRequestStatus& status, [all …]
|
/external/chromium/chrome/browser/debugger/ |
D | devtools_netlog_observer.cc | 23 : ChromeNetLog::ThreadSafeObserver(net::NetLog::LOG_ALL_BUT_BYTES), in DevToolsNetLogObserver() 40 void DevToolsNetLogObserver::OnAddEntry(net::NetLog::EventType type, in OnAddEntry() 42 const net::NetLog::Source& source, in OnAddEntry() 43 net::NetLog::EventPhase phase, in OnAddEntry() 44 net::NetLog::EventParameters* params) { in OnAddEntry() 52 if (source.type == net::NetLog::SOURCE_URL_REQUEST) in OnAddEntry() 54 else if (source.type == net::NetLog::SOURCE_HTTP_STREAM_JOB) in OnAddEntry() 56 else if (source.type == net::NetLog::SOURCE_SOCKET) in OnAddEntry() 61 net::NetLog::EventType type, in OnAddURLRequestEntry() 63 const net::NetLog::Source& source, in OnAddURLRequestEntry() [all …]
|
D | devtools_netlog_observer.h | 14 namespace net { 33 virtual void OnAddEntry(net::NetLog::EventType type, 35 const net::NetLog::Source& source, 36 net::NetLog::EventPhase phase, 37 net::NetLog::EventParameters* params); 39 void OnAddURLRequestEntry(net::NetLog::EventType type, 41 const net::NetLog::Source& source, 42 net::NetLog::EventPhase phase, 43 net::NetLog::EventParameters* params); 45 void OnAddHTTPStreamJobEntry(net::NetLog::EventType type, [all …]
|
/external/chromium/net/ftp/ |
D | ftp_ctrl_response_buffer_unittest.cc | 20 net::FtpCtrlResponseBuffer buffer_; 26 EXPECT_EQ(net::OK, PushDataToBuffer("200 Status Text\r\n")); in TEST_F() 29 net::FtpCtrlResponse response = buffer_.PopResponse(); in TEST_F() 37 EXPECT_EQ(net::OK, PushDataToBuffer("20")); in TEST_F() 39 EXPECT_EQ(net::OK, PushDataToBuffer("0 Status")); in TEST_F() 41 EXPECT_EQ(net::OK, PushDataToBuffer(" Text")); in TEST_F() 43 EXPECT_EQ(net::OK, PushDataToBuffer("\r")); in TEST_F() 45 EXPECT_EQ(net::OK, PushDataToBuffer("\n")); in TEST_F() 48 net::FtpCtrlResponse response = buffer_.PopResponse(); in TEST_F() 56 EXPECT_EQ(net::OK, PushDataToBuffer("230-FirstLine\r\n")); in TEST_F() [all …]
|
/external/chromium/chrome/browser/net/websocket_experiment/ |
D | websocket_experiment_task.cc | 23 net::WebSocket::ProtocolVersion protocol_version) { in GetProtocolVersionName() 25 case net::WebSocket::DEFAULT_VERSION: in GetProtocolVersionName() 27 case net::WebSocket::DRAFT75: in GetProtocolVersionName() 37 net::URLRequestContextGetter* getter = in CreateURLFetcher() 48 net::LOAD_BYPASS_CACHE | net::LOAD_DISABLE_CACHE | in CreateURLFetcher() 49 net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SEND_AUTH_DATA | in CreateURLFetcher() 50 net::LOAD_IGNORE_CERT_AUTHORITY_INVALID); in CreateURLFetcher() 54 net::WebSocket* WebSocketExperimentTask::Context::CreateWebSocket( in CreateWebSocket() 55 const Config& config, net::WebSocketDelegate* delegate) { in CreateWebSocket() 56 net::URLRequestContextGetter* getter = in CreateWebSocket() [all …]
|
/external/chromium/net/tools/fetch/ |
D | fetch_client.cc | 56 Client(net::HttpTransactionFactory* factory, const std::string& url) : in Client() 58 buffer_(new net::IOBuffer(kBufferSize)), in Client() 64 DCHECK_EQ(net::OK, rv); in Client() 70 &request_info_, &connect_callback_, net::BoundNetLog()); in Client() 71 DCHECK(state == net::ERR_IO_PENDING); in Client() 78 if (state == net::ERR_IO_PENDING) in OnConnectComplete() 97 if (state == net::ERR_IO_PENDING) in OnReadComplete() 113 net::HttpRequestInfo request_info_; 114 scoped_ptr<net::HttpTransaction> transaction_; 115 scoped_refptr<net::IOBuffer> buffer_; [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
D | HttpURLConnectionTest.java | 17 package org.apache.harmony.luni.tests.internal.net.www.protocol.http; 21 import java.net.Authenticator; 22 import java.net.ConnectException; 23 import java.net.HttpURLConnection; 24 import java.net.InetSocketAddress; 25 import java.net.MalformedURLException; 26 import java.net.PasswordAuthentication; 27 import java.net.Proxy; 28 import java.net.ProxySelector; 29 import java.net.ServerSocket; [all …]
|
/external/chromium/net/disk_cache/ |
D | backend_unittest.cc | 68 EXPECT_NE(net::OK, OpenEntry("the first key", &entry1)); in BackendBasics() 69 ASSERT_EQ(net::OK, CreateEntry("the first key", &entry1)); in BackendBasics() 74 ASSERT_EQ(net::OK, OpenEntry("the first key", &entry1)); in BackendBasics() 79 EXPECT_NE(net::OK, CreateEntry("the first key", &entry1)); in BackendBasics() 80 ASSERT_EQ(net::OK, OpenEntry("the first key", &entry1)); in BackendBasics() 81 EXPECT_NE(net::OK, OpenEntry("some other key", &entry2)); in BackendBasics() 82 ASSERT_EQ(net::OK, CreateEntry("some other key", &entry2)); in BackendBasics() 88 ASSERT_EQ(net::OK, OpenEntry("some other key", &entry3)); in BackendBasics() 93 EXPECT_EQ(net::OK, DoomEntry("some other key")); in BackendBasics() 99 EXPECT_EQ(net::OK, DoomEntry("the first key")); in BackendBasics() [all …]
|
D | in_flight_backend_io.h | 29 net::CompletionCallback* callback); 40 net::CompletionCallback* callback() { return callback_; } in callback() 64 void ReadData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, 66 void WriteData(EntryImpl* entry, int index, int offset, net::IOBuffer* buf, 68 void ReadSparseData(EntryImpl* entry, int64 offset, net::IOBuffer* buf, 70 void WriteSparseData(EntryImpl* entry, int64 offset, net::IOBuffer* buf, 114 net::CompletionCallback* callback_; 116 net::CompletionCallbackImpl<BackendIO> my_callback_; 128 scoped_refptr<net::IOBuffer> buf_; 147 void Init(net::CompletionCallback* callback); [all …]
|