HomeSort by relevance Sort by last modified time
    Searched refs:request (Results 126 - 150 of 1669) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/chromium/chrome/browser/net/
url_request_failed_dns_job.h 15 explicit URLRequestFailedDnsJob(net::URLRequest* request);
19 static net::URLRequestJob* Factory(net::URLRequest* request,
chrome_network_delegate.h 42 virtual int OnBeforeURLRequest(net::URLRequest* request,
48 virtual void OnResponseStarted(net::URLRequest* request);
49 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read);
50 virtual void OnURLRequestDestroyed(net::URLRequest* request);
52 net::URLRequest* request);
  /external/chromium/net/proxy/
proxy_resolver_mac.h 26 RequestHandle* request,
29 virtual void CancelRequest(RequestHandle request);
proxy_script_fetcher_impl.cc 90 // The URLRequest's destructor will cancel the outstanding request, and
107 void ProxyScriptFetcherImpl::OnResponseCompleted(URLRequest* request) {
108 DCHECK_EQ(request, cur_request_.get());
110 // Use |result_code_| as the request's error if we have already set it to
112 if (result_code_ == OK && !request->status().is_success())
113 result_code_ = request->status().os_error();
121 // It is invalid to call Fetch() while a request is already in progress.
156 // Post a task to timeout this request if it takes too long.
163 // Start the request.
178 void ProxyScriptFetcherImpl::OnAuthRequired(URLRequest* request,
    [all...]
proxy_script_fetcher_impl.h 26 // specified request context.
33 // Note that while a request is in progress, we will be holding a reference
44 virtual void OnResponseCompleted(URLRequest* request);
53 virtual void OnAuthRequired(URLRequest* request,
55 virtual void OnSSLCertificateError(URLRequest* request, int cert_error,
57 virtual void OnResponseStarted(URLRequest* request);
58 virtual void OnReadCompleted(URLRequest* request, int num_bytes);
64 void ReadBody(URLRequest* request);
68 bool ConsumeBytesRead(URLRequest* request, int num_bytes);
70 // Called once the request has completed to notify the caller o
    [all...]
  /external/chromium/net/url_request/
url_request_error_job.cc 14 URLRequestErrorJob::URLRequestErrorJob(URLRequest* request, int error)
15 : URLRequestJob(request),
  /external/nist-sip/java/javax/sip/address/
Router.java 5 import javax.sip.message.Request;
8 Hop getNextHop(Request request) throws SipException;
9 ListIterator getNextHops(Request request);
  /external/webkit/Source/WebKit2/Shared/API/c/cf/
WKURLRequestCF.cpp 37 RefPtr<WebURLRequest> request = WebURLRequest::create(copiedURLRequest); local
38 return toAPI(request.release().releaseRef());
  /external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/gtk/
WebErrorsGtk.cpp 40 ResourceError cancelledError(const ResourceRequest& request)
43 request.url().string(), _("Load request cancelled"));
46 ResourceError blockedError(const ResourceRequest& request)
49 request.url().string(), _("Not allowed to use restricted network port"));
52 ResourceError cannotShowURLError(const ResourceRequest& request)
55 request.url().string(), _("URL cannot be shown"));
58 ResourceError interruptForPolicyChangeError(const ResourceRequest& request)
61 request.url().string(), _("Frame load was interrupted"));
  /external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/qt/
WebErrorsQt.cpp 52 ResourceError cancelledError(const ResourceRequest& request)
54 ResourceError error = ResourceError("QtNetwork", QNetworkReply::OperationCanceledError, request.url().string(),
55 QCoreApplication::translate("QWebFrame", "Request cancelled", 0, QCoreApplication::UnicodeUTF8));
60 ResourceError blockedError(const ResourceRequest& request)
62 return ResourceError("WebKit", WebKitErrorCannotUseRestrictedPort, request.url().string(),
63 QCoreApplication::translate("QWebFrame", "Request blocked", 0, QCoreApplication::UnicodeUTF8));
66 ResourceError cannotShowURLError(const ResourceRequest& request)
68 return ResourceError("WebKit", WebKitErrorCannotShowURL, request.url().string(),
72 ResourceError interruptForPolicyChangeError(const ResourceRequest& request)
74 return ResourceError("WebKit", WebKitErrorFrameLoadInterruptedByPolicyChange, request.url().string()
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/
WebErrorsWin.cpp 42 ResourceError cancelledError(const ResourceRequest& request)
45 return ResourceError(kCFErrorDomainCFNetwork, kCFURLErrorCancelled, request.url().string(), String());
51 ResourceError blockedError(const ResourceRequest& request)
53 return ResourceError(WebError::webKitErrorDomain(), kWKErrorCodeCannotUseRestrictedPort, request.url().string(), String());
56 ResourceError cannotShowURLError(const ResourceRequest& request)
58 return ResourceError(WebError::webKitErrorDomain(), kWKErrorCodeCannotShowURL, request.url().string(), String());
61 ResourceError interruptForPolicyChangeError(const ResourceRequest& request)
63 return ResourceError(WebError::webKitErrorDomain(), kWKErrorCodeFrameLoadInterruptedByPolicyChange, request.url().string(), String());
  /external/bison/lib/
fd-hook.h 34 /* Type of function that applies a control request to FD. */
35 typedef int (*gl_ioctl_fn) (int fd, int request, void *arg);
53 execute_ioctl_hooks (REMAINING_LIST, PRIMARY, FD, REQUEST, ARG) as a
57 int fd, int request, void *arg);
80 /* This type of function applies a control request to FD, applying special
82 execute_ioctl_hooks (REMAINING_LIST, PRIMARY, FD, REQUEST, ARG)
88 int fd, int request, void *arg);
94 int fd, int request, void *arg);
99 int fd, int request, void *arg);
  /frameworks/base/core/java/android/ddm/
DdmHandleNativeHeap.java 60 public Chunk handleChunk(Chunk request) {
61 Log.i("ddm-nativeheap", "Handling " + name(request.type) + " chunk");
62 int type = request.type;
65 return handleNHGT(request);
73 * Handle a "Native Heap GeT" request.
75 private Chunk handleNHGT(Chunk request) {
76 //ByteBuffer in = wrapChunk(request);
  /frameworks/base/obex/javax/obex/
ServerRequestHandler.java 59 * A CREATE-EMPTY request allows clients to create empty objects on the server.
60 * When a CREATE-EMPTY request is received, the <code>onPut()</code> method will
62 * request and a CREATE-EMPTY request, an application must open the
64 * <code>onPut()</code> method. For a PUT request, the application will be able
66 * request, there will be no Body data to read. Therefore, a call to
109 * Called when a CONNECT request is received.
115 * The headers received in the request can be retrieved from the
116 * <code>request</code> argument. The headers that should be sent in the
118 * @param request contains the headers sent by the client
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
test_dispatch.py 122 'def web_socket_do_extra_handshake(request):pass\n'
123 'def web_socket_transfer_data(request):pass\n'))
149 request = mock.MockRequest()
150 request.ws_resource = '/origin_check'
151 request.ws_origin = 'http://example.com'
152 dispatcher.do_extra_handshake(request) # Must not raise exception.
154 request.ws_origin = 'http://bad.example.com'
156 dispatcher.do_extra_handshake(request)
165 request = mock.MockRequest()
166 request.ws_resource = '/abort_by_user
    [all...]
test_handshake_hybi08.py 79 def _create_handshaker(request):
80 handshaker = Handshaker(request, mock.MockDispatcher())
111 do_extra_handshake to reject the request.
115 raise HandshakeAbortedException('An exception to reject the request')
123 AbortedByUserException in do_extra_handshake to reject the request.
128 'request')
147 request = _create_request(_create_good_request_def())
149 handshaker = Handshaker(request, dispatcher)
155 _EXPECTED_RESPONSE, request.connection.written_data())
156 self.assertEqual('/demo', request.ws_resource
    [all...]
test_handshake_hybi.py 79 def _create_handshaker(request):
80 handshaker = Handshaker(request, mock.MockDispatcher())
111 do_extra_handshake to reject the request.
115 raise HandshakeAbortedException('An exception to reject the request')
123 AbortedByUserException in do_extra_handshake to reject the request.
128 'request')
147 request = _create_request(_create_good_request_def())
149 handshaker = Handshaker(request, dispatcher)
155 _EXPECTED_RESPONSE, request.connection.written_data())
156 self.assertEqual('/demo', request.ws_resource
    [all...]
  /external/chromium/chrome/browser/history/
top_sites_backend.cc 34 GetMostVisitedThumbnailsRequest* request = local
36 request->value = new MostVisitedThumbnails;
37 AddRequest(request, consumer);
42 scoped_refptr<GetMostVisitedThumbnailsRequest>(request)));
43 return request->handle();
70 EmptyRequestRequest* request = new EmptyRequestRequest(callback); local
71 AddRequest(request, consumer);
76 scoped_refptr<EmptyRequestRequest>(request)));
77 return request->handle();
99 scoped_refptr<GetMostVisitedThumbnailsRequest> request) {
    [all...]
  /external/chromium/chrome/browser/policy/
device_management_service_browsertest.cc 25 // Dummy service URL for testing with request interception enabled.
60 virtual net::URLRequestJob* MaybeIntercept(net::URLRequest* request) {
61 if (request->url().GetOrigin() == service_url_.GetOrigin() &&
62 request->url().path() == service_url_.path()) {
63 return new net::URLRequestTestJob(request,
105 em::DeviceRegisterRequest request; local
106 backend->ProcessRegisterRequest("token", "testid", request, &delegate);
116 em::DevicePolicyRequest request; local
117 request.set_policy_scope(kChromePolicyScope);
119 request.add_setting_request()
132 em::DeviceUnregisterRequest request; local
156 em::DeviceRegisterRequest request; local
167 em::DevicePolicyRequest request; local
180 em::DeviceUnregisterRequest request; local
    [all...]
  /cts/tests/tests/drm/src/android/drm/cts/
DrmInfoRequestTest.java 71 // Store all the attributes in DrmInfoRequest object request.
72 DrmInfoRequest request = new DrmInfoRequest(DEFAULT_TYPE, DEFAULT_MIME); local
76 request.put(key, attributes.get(key));
79 // Request object must have all the keys that attributes does.
80 Iterator<String> infoKeys = request.keyIterator();
83 assertEquals(request.get(key), attributes.get(key));
86 // Attributes object must have all the keys that request does.
89 assertEquals(request.get(key), attributes.get(key));
93 Iterator<Object> iterator = request.iterator();
103 DrmInfoRequest request = new DrmInfoRequest(DEFAULT_TYPE, mimeType) local
111 DrmInfoRequest request = new DrmInfoRequest(DEFAULT_TYPE, mimeType); local
116 DrmInfoRequest request = new DrmInfoRequest(type, DEFAULT_MIME); local
122 DrmInfoRequest request = new DrmInfoRequest(type, DEFAULT_MIME); local
130 DrmInfoRequest request = new DrmInfoRequest(type, DEFAULT_MIME); local
    [all...]
  /external/chromium/chrome/browser/ssl/
ssl_error_handler.cc 17 net::URLRequest* request,
22 request_url_(request->url()),
28 ResourceDispatcherHost::InfoForRequest(request);
32 if (!ResourceDispatcherHost::RenderViewForRequest(request,
123 // to notify the request twice, it may no longer exist and |this| might have
129 net::URLRequest* request =
131 if (request) {
132 // The request can be NULL if it was cancelled by the renderer (as the
134 DVLOG(1) << "CompleteCancelRequest() url: " << request->url().spec();
137 request->SimulateSSLError(error, cert_error->ssl_info())
    [all...]
  /external/chromium/net/http/
http_vary_data_unittest.cc 17 net::HttpRequestInfo request; member in struct:__anon5087::TestTransaction
26 request.extra_headers.Clear();
27 request.extra_headers.AddHeadersFromString(request_headers);
48 EXPECT_FALSE(v.Init(t.request, *t.response));
59 EXPECT_TRUE(v.Init(t1.request, *t1.response));
65 EXPECT_FALSE(v.Init(t2.request, *t2.response));
77 EXPECT_TRUE(v.Init(a.request, *a.response));
79 EXPECT_FALSE(v.MatchesRequest(b.request, *b.response));
90 EXPECT_TRUE(v.Init(a.request, *a.response));
92 EXPECT_FALSE(v.MatchesRequest(b.request, *b.response))
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/
_base.py 65 """This exception will be raised when a version of client request does not
118 def parse_host_header(request):
119 fields = request.headers_in['Host'].split(':', 1)
121 return fields[0], get_default_port(request.is_https())
132 def build_location(request):
133 """Build WebSocket location for request."""
135 if request.is_https():
140 host, port = parse_host_header(request)
141 connection_port = request.connection.local_addr[1]
146 if (port != get_default_port(request.is_https()))
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
headerparserhandler.py 34 function is called to handle WebSocket request.
84 def __init__(self, request=None):
87 if request is not None:
88 self._log_error = request.log_error
115 # TODO(tyoshino): Provide logging methods on request object. When
116 # request is mp_request object (when used together with Apache), the
117 # methods call request.log_error indirectly. When request is
178 def headerparserhandler(request):
179 """Handle request
    [all...]
  /external/apache-http/src/org/apache/http/protocol/
RequestExpectContinue.java 46 * A request interceptor that enables the expect-continue handshake.
60 public void process(final HttpRequest request, final HttpContext context)
62 if (request == null) {
63 throw new IllegalArgumentException("HTTP request may not be null");
65 if (request instanceof HttpEntityEnclosingRequest) {
66 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity();
67 // Do not send the expect header if request body is known to be empty
69 ProtocolVersion ver = request.getRequestLine().getProtocolVersion();
70 if (HttpProtocolParams.useExpectContinue(request.getParams())
72 request.addHeader(HTTP.EXPECT_DIRECTIVE, HTTP.EXPECT_CONTINUE)
    [all...]

Completed in 651 milliseconds

1 2 3 4 56 7 8 91011>>