Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 787) sorted by relevance

12345678910>>...32

/external/e2fsprogs/debugfs/
Ddebug_cmds.ct7 request do_show_debugfs_params, "Show debugfs parameters",
10 request do_open_filesys, "Open a filesystem",
13 request do_close_filesys, "Close the filesystem",
16 request do_features, "Set/print superblock features",
19 request do_dirty_filesys, "Mark the filesystem as dirty",
22 request do_init_filesys, "Initalize a filesystem (DESTROYS DATA)",
25 request do_show_super_stats, "Show superblock statistics",
28 request do_ncheck, "Do inode->name translation",
31 request do_icheck, "Do block->inode translation",
34 request do_chroot, "Change root directory",
[all …]
/external/webkit/WebKitTools/pywebsocket/test/
Dtest_handshake.py398 request = _create_request(_GOOD_REQUEST)
399 request.connection.get_memorized_lines = _create_get_memorized_lines(
401 requests.append(request)
426 request = _create_request(_GOOD_REQUEST)
427 handshaker = handshake.Handshaker(request,
431 request.connection.written_data())
432 self.assertEqual('/demo', request.ws_resource)
433 self.assertEqual('http://example.com', request.ws_origin)
434 self.assertEqual('ws://example.com/demo', request.ws_location)
435 self.assertEqual('sample', request.ws_protocol)
[all …]
Dtest_msgutil.py53 request = _create_request('')
54 msgutil.send_message(request, 'Hello')
55 self.assertEqual('\x00Hello\xff', request.connection.written_data())
58 request = _create_request('')
59 msgutil.send_message(request, u'\u65e5')
62 request.connection.written_data())
65 request = _create_request('\x00Hello\xff\x00World!\xff')
66 self.assertEqual('Hello', msgutil.receive_message(request))
67 self.assertEqual('World!', msgutil.receive_message(request))
70 request = _create_request('\x00\xe6\x9c\xac\xff')
[all …]
Dtest_dispatch.py133 request = mock.MockRequest()
134 request.ws_resource = '/origin_check'
135 request.ws_origin = 'http://example.com'
136 dispatcher.do_extra_handshake(request) # Must not raise exception.
138 request.ws_origin = 'http://bad.example.com'
139 self.assertRaises(Exception, dispatcher.do_extra_handshake, request)
143 request = mock.MockRequest(connection=mock.MockConn(''))
144 request.ws_resource = '/origin_check'
145 request.ws_protocol = 'p1'
147 dispatcher.transfer_data(request)
[all …]
/external/kernel-headers/original/linux/
Delevator.h4 typedef int (elevator_merge_fn) (request_queue_t *, struct request **,
7 typedef void (elevator_merge_req_fn) (request_queue_t *, struct request *, struct request *);
9 typedef void (elevator_merged_fn) (request_queue_t *, struct request *);
13 typedef void (elevator_add_req_fn) (request_queue_t *, struct request *);
15 typedef struct request *(elevator_request_list_fn) (request_queue_t *, struct request *);
16 typedef void (elevator_completed_req_fn) (request_queue_t *, struct request *);
19 typedef int (elevator_set_req_fn) (request_queue_t *, struct request *, struct bio *, gfp_t);
20 typedef void (elevator_put_req_fn) (request_queue_t *, struct request *);
21 typedef void (elevator_activate_req_fn) (request_queue_t *, struct request *);
22 typedef void (elevator_deactivate_req_fn) (request_queue_t *, struct request *);
[all …]
Dblkdev.h112 struct request;
113 typedef void (rq_end_io_fn)(struct request *, int);
128 struct request { struct
285 typedef int (merge_request_fn) (request_queue_t *, struct request *,
287 typedef int (merge_requests_fn) (request_queue_t *, struct request *,
288 struct request *);
291 typedef int (prep_rq_fn) (request_queue_t *, struct request *);
298 typedef void (prepare_flush_fn) (request_queue_t *, struct request *);
299 typedef void (softirq_done_fn)(struct request *);
307 struct request **tag_index; /* map of busy tags */
[all …]
/external/v8/src/
Ddebug-debugger.js1090 DebugCommandProcessor.prototype.processDebugRequest = function (request) { argument
1091 return this.processDebugJSONRequest(request);
1095 function ProtocolMessage(request) { argument
1099 if (request) {
1103 this.request_seq = request.seq;
1104 this.command = request.command;
1177 DebugCommandProcessor.prototype.createResponse = function(request) { argument
1178 return new ProtocolMessage(request);
1183 var request; // Current request.
1188 request = %CompileString('(' + json_request + ')', false)();
[all …]
Dd8.js421 var request = this.createRequest('lookup');
422 request.arguments = {};
423 request.arguments.handles = [ lookup_handle ];
424 return request.toJSONProtocol();
427 var request = this.createRequest('evaluate');
428 request.arguments = {};
429 request.arguments.expression = expression;
432 request.arguments.global = true;
434 return request.toJSONProtocol();
444 var request = this.createRequest('references');
[all …]
/external/chromium/net/proxy/
Dproxy_script_fetcher.cc93 virtual void OnAuthRequired(URLRequest* request,
95 virtual void OnSSLCertificateError(URLRequest* request, int cert_error,
97 virtual void OnResponseStarted(URLRequest* request);
98 virtual void OnReadCompleted(URLRequest* request, int num_bytes);
99 virtual void OnResponseCompleted(URLRequest* request);
103 void ReadBody(URLRequest* request);
214 void ProxyScriptFetcherImpl::OnAuthRequired(URLRequest* request, in OnAuthRequired() argument
216 DCHECK(request == cur_request_.get()); in OnAuthRequired()
220 request->CancelAuth(); in OnAuthRequired()
223 void ProxyScriptFetcherImpl::OnSSLCertificateError(URLRequest* request, in OnSSLCertificateError() argument
[all …]
/external/webkit/WebKit/gtk/tests/
Dtestnetworkrequest.c32 WebKitNetworkRequest* request; in test_network_request_create_destroy() local
36request = WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, "uri", "http://debian.o… in test_network_request_create_destroy()
37 g_assert(WEBKIT_IS_NETWORK_REQUEST(request)); in test_network_request_create_destroy()
38 message = webkit_network_request_get_message(request); in test_network_request_create_destroy()
40 g_object_unref(request); in test_network_request_create_destroy()
44request = WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, "message", message, NUL… in test_network_request_create_destroy()
45 g_assert(WEBKIT_IS_NETWORK_REQUEST(request)); in test_network_request_create_destroy()
47 g_object_unref(request); in test_network_request_create_destroy()
53request = WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, "message", message, "ur… in test_network_request_create_destroy()
54 g_assert(WEBKIT_IS_NETWORK_REQUEST(request)); in test_network_request_create_destroy()
[all …]
/external/chromium/net/flip/
Dflip_network_transaction_unittest.cc289 TransactionHelperResult TransactionHelper(const HttpRequestInfo& request, in TransactionHelper() argument
305 int rv = trans->Start(&request, &callback, log); in TransactionHelper()
359 HttpRequestInfo request; in TEST_F() local
360 request.method = "GET"; in TEST_F()
361 request.url = GURL("http://www.google.com/"); in TEST_F()
362 request.load_flags = 0; in TEST_F()
365 TransactionHelperResult out = TransactionHelper(request, data.get(), NULL); in TEST_F()
376 HttpRequestInfo request; in TEST_F() local
377 request.method = "POST"; in TEST_F()
378 request.url = GURL("http://www.google.com/"); in TEST_F()
[all …]
/external/chromium/net/http/
Dhttp_network_transaction_unittest.cc107 HttpRequestInfo request; in SimpleGetHelper() local
108 request.method = "GET"; in SimpleGetHelper()
109 request.url = GURL("http://www.google.com/"); in SimpleGetHelper()
110 request.load_flags = 0; in SimpleGetHelper()
117 int rv = trans->Start(&request, &callback, NULL); in SimpleGetHelper()
361 HttpRequestInfo request; in TEST_F() local
362 request.method = "HEAD"; in TEST_F()
363 request.url = GURL("http://www.google.com/"); in TEST_F()
364 request.load_flags = 0; in TEST_F()
386 int rv = trans->Start(&request, &callback1, NULL); in TEST_F()
[all …]
/external/qemu/block/
Dnbd.c103 struct nbd_request request; in nbd_read() local
106 request.type = NBD_CMD_READ; in nbd_read()
107 request.handle = (uint64_t)(intptr_t)bs; in nbd_read()
108 request.from = sector_num * 512;; in nbd_read()
109 request.len = nb_sectors * 512; in nbd_read()
111 if (nbd_send_request(s->sock, &request) == -1) in nbd_read()
120 if (reply.handle != request.handle) in nbd_read()
123 if (nbd_wr_sync(s->sock, buf, request.len, 1) != request.len) in nbd_read()
133 struct nbd_request request; in nbd_write() local
136 request.type = NBD_CMD_WRITE; in nbd_write()
[all …]
/external/webkit/WebKitTools/pywebsocket/mod_pywebsocket/
Dmsgutil.py49 def _read(request, length): argument
50 bytes = request.connection.read(length)
54 (request.connection.remote_addr,))
58 def _write(request, bytes): argument
60 request.connection.write(bytes)
64 (request.connection.remote_addr,),
69 def send_message(request, message): argument
77 _write(request, '\x00' + message.encode('utf-8') + '\xff')
80 def receive_message(request): argument
91 frame_type_str = _read(request, 1)
[all …]
/external/webkit/WebCore/loader/
Dloader.cpp123 …Request* request = new Request(docLoader, resource, incremental, securityCheck, sendResourceLoadCa… in load() local
140 host->addRequest(request, priority); in load()
275 void Loader::Host::addRequest(Request* request, Priority priority) in addRequest() argument
277 m_requestsPending[priority].append(request); in addRequest()
315 Request* request = requestsPending.first(); in servePendingRequests() local
316 DocLoader* docLoader = request->docLoader(); in servePendingRequests()
317 bool resourceIsCacheValidator = request->cachedResource()->isCacheValidator(); in servePendingRequests()
330 ResourceRequest resourceRequest(request->cachedResource()->url()); in servePendingRequests()
331 … resourceRequest.setTargetType(cachedResourceTypeToTargetType(request->cachedResource()->type())); in servePendingRequests()
333 if (!request->cachedResource()->accept().isEmpty()) in servePendingRequests()
[all …]
DDocumentThreadableLoader.cpp47 …er::loadResourceSynchronously(Document* document, const ResourceRequest& request, ThreadableLoader… in loadResourceSynchronously() argument
50 …r = adoptRef(new DocumentThreadableLoader(document, &client, LoadSynchronously, request, options)); in loadResourceSynchronously()
54 …cument* document, ThreadableLoaderClient* client, const ResourceRequest& request, const Threadable… in create() argument
56 …r = adoptRef(new DocumentThreadableLoader(document, client, LoadAsynchronously, request, options)); in create()
62 …lient* client, BlockingBehavior blockingBehavior, const ResourceRequest& request, const Threadable… in DocumentThreadableLoader() argument
66 , m_sameOriginRequest(document->securityOrigin()->canRequest(request.url())) in DocumentThreadableLoader()
73 loadRequest(request, DoSecurityCheck); in DocumentThreadableLoader()
84 …if (!m_options.forcePreflight && isSimpleCrossOriginAccessRequest(request.httpMethod(), request.ht… in DocumentThreadableLoader()
85 makeSimpleCrossOriginAccessRequest(request); in DocumentThreadableLoader()
87 m_actualRequest.set(new ResourceRequest(request)); in DocumentThreadableLoader()
[all …]
DPolicyChecker.cpp56 void PolicyChecker::checkNavigationPolicy(const ResourceRequest& request, DocumentLoader* loader, in checkNavigationPolicy() argument
61 action = NavigationAction(request.url(), NavigationTypeOther); in checkNavigationPolicy()
67 …if (equalIgnoringHeaderFields(request, loader->lastCheckedRequest()) || (!request.isNull() && requ… in checkNavigationPolicy()
68 function(argument, request, 0, true); in checkNavigationPolicy()
69 loader->setLastCheckedRequest(request); in checkNavigationPolicy()
78 function(argument, request, 0, true); in checkNavigationPolicy()
82 loader->setLastCheckedRequest(request); in checkNavigationPolicy()
84 m_callback.set(request, formState.get(), function, argument); in checkNavigationPolicy()
88 action, request, formState); in checkNavigationPolicy()
93 …const ResourceRequest& request, PassRefPtr<FormState> formState, const String& frameName, void* ar… in checkNewWindowPolicy() argument
[all …]
/external/e2fsprogs/tests/progs/
Dtest_rel_cmds.ct11 request do_brel_ma_create, "Open a memory array block relocation table",
14 request do_brel_free, "Free a block relocation table",
17 request do_brel_put, "Add or modify a block relocation entry",
20 request do_brel_get, "Get a block relocation entry",
23 request do_brel_start_iter, "Start iterating over the block table",
26 request do_brel_next, "Get the next block relocation entry",
29 request do_brel_dump, "Dump the block relocation table",
32 request do_brel_move, "Move an entry in the block relocation table",
35 request do_brel_delete, "Delete an entry in the block relocation table",
42 request do_irel_ma_create, "Open a memory array inode relocation table",
[all …]
/external/chromium/net/base/
Dhttps_prober.cc37 void HTTPSProber::Success(URLRequest* request) { in Success() argument
38 DoCallback(request, true); in Success()
41 void HTTPSProber::Failure(URLRequest* request) { in Failure() argument
42 DoCallback(request, false); in Failure()
45 void HTTPSProber::DoCallback(URLRequest* request, bool result) { in DoCallback() argument
47 inflight_probes_.find(request->original_url().host()); in DoCallback()
52 probed_.insert(request->original_url().host()); in DoCallback()
53 delete request; in DoCallback()
57 void HTTPSProber::OnAuthRequired(URLRequest* request, in OnAuthRequired() argument
59 Success(request); in OnAuthRequired()
[all …]
/external/webkit/WebKit/gtk/webkit/
Dwebkitnetworkrequest.cpp63 WebKitNetworkRequest* request = WEBKIT_NETWORK_REQUEST(object); in webkit_network_request_dispose() local
64 WebKitNetworkRequestPrivate* priv = request->priv; in webkit_network_request_dispose()
76 WebKitNetworkRequest* request = WEBKIT_NETWORK_REQUEST(object); in webkit_network_request_finalize() local
77 WebKitNetworkRequestPrivate* priv = request->priv; in webkit_network_request_finalize()
86 WebKitNetworkRequest* request = WEBKIT_NETWORK_REQUEST(object); in webkit_network_request_get_property() local
90 g_value_set_string(value, webkit_network_request_get_uri(request)); in webkit_network_request_get_property()
93 g_value_set_object(value, webkit_network_request_get_message(request)); in webkit_network_request_get_property()
102 WebKitNetworkRequest* request = WEBKIT_NETWORK_REQUEST(object); in webkit_network_request_set_property() local
103 WebKitNetworkRequestPrivate* priv = request->priv; in webkit_network_request_set_property()
107 webkit_network_request_set_uri(request, g_value_get_string(value)); in webkit_network_request_set_property()
[all …]
/external/chromium/net/url_request/
Durl_request_job_manager.cc46 URLRequestJob* URLRequestJobManager::CreateJob(URLRequest* request) const { in CreateJob()
52 if (!request->url().is_valid()) in CreateJob()
53 return new URLRequestErrorJob(request, net::ERR_INVALID_URL); in CreateJob()
56 const std::string& scheme = request->url().scheme(); // already lowercase in CreateJob()
58 return new URLRequestErrorJob(request, net::ERR_UNKNOWN_URL_SCHEME); in CreateJob()
65 if (!(request->load_flags() & net::LOAD_DISABLE_INTERCEPT)) { in CreateJob()
68 URLRequestJob* job = (*i)->MaybeIntercept(request); in CreateJob()
79 URLRequestJob* job = i->second(request, scheme); in CreateJob()
87 URLRequestJob* job = (kBuiltinFactories[i].factory)(request, scheme); in CreateJob()
96 LOG(WARNING) << "Failed to map: " << request->url().spec(); in CreateJob()
[all …]
/external/chromium/net/websockets/
Dwebsocket_unittest.cc154 WebSocket::Request* request( in TEST_F() local
160 request->SetHostResolver(new MockHostResolver()); in TEST_F()
161 request->SetClientSocketFactory(&mock_socket_factory); in TEST_F()
171 new WebSocket(request, delegate.get())); in TEST_F()
214 WebSocket::Request* request( in TEST_F() local
220 request->SetHostResolver(new MockHostResolver()); in TEST_F()
221 request->SetClientSocketFactory(&mock_socket_factory); in TEST_F()
231 new WebSocket(request, delegate.get())); in TEST_F()
248 WebSocket::Request* request( in TEST_F() local
259 new WebSocket(request, delegate.get())); in TEST_F()
[all …]
/external/apache-http/src/org/apache/http/protocol/
DHttpRequestExecutor.java79 protected boolean canResponseHaveBody(final HttpRequest request, in canResponseHaveBody() argument
82 if ("HEAD".equalsIgnoreCase(request.getRequestLine().getMethod())) { in canResponseHaveBody()
104 final HttpRequest request, in execute() argument
108 if (request == null) { in execute()
119 HttpResponse response = doSendRequest(request, conn, context); in execute()
121 response = doReceiveResponse(request, conn, context); in execute()
147 final HttpRequest request, in preProcess() argument
151 if (request == null) { in preProcess()
160 processor.process(request, context); in preProcess()
184 final HttpRequest request, in doSendRequest() argument
[all …]
DRequestContent.java60 public void process(final HttpRequest request, final HttpContext context) in process() argument
62 if (request == null) { in process()
65 if (request instanceof HttpEntityEnclosingRequest) { in process()
66 if (request.containsHeader(HTTP.TRANSFER_ENCODING)) { in process()
69 if (request.containsHeader(HTTP.CONTENT_LEN)) { in process()
72 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
73 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity(); in process()
75 request.addHeader(HTTP.CONTENT_LEN, "0"); in process()
84 request.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING); in process()
86 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
[all …]
/external/webkit/WebCore/loader/appcache/
DApplicationCacheHost.cpp73 void ApplicationCacheHost::maybeLoadMainResource(ResourceRequest& request, SubstituteData& substitu… in maybeLoadMainResource() argument
79 …m_mainResourceApplicationCache = ApplicationCacheGroup::cacheForMainRequest(request, m_documentLoa… in maybeLoadMainResource()
83 … ApplicationCacheResource* resource = m_mainResourceApplicationCache->resourceForRequest(request); in maybeLoadMainResource()
91 bool ApplicationCacheHost::maybeLoadFallbackForMainResponse(const ResourceRequest& request, const R… in maybeLoadFallbackForMainResponse() argument
96 …rceApplicationCache = ApplicationCacheGroup::fallbackCacheForMainRequest(request, documentLoader()… in maybeLoadFallbackForMainResponse()
105 bool ApplicationCacheHost::maybeLoadFallbackForMainError(const ResourceRequest& request, const Reso… in maybeLoadFallbackForMainError() argument
110 …rceApplicationCache = ApplicationCacheGroup::fallbackCacheForMainRequest(request, m_documentLoader… in maybeLoadFallbackForMainError()
146 bool ApplicationCacheHost::maybeLoadResource(ResourceLoader* loader, ResourceRequest& request, cons… in maybeLoadResource() argument
151 if (request.url() != originalURL) in maybeLoadResource()
155 if (!shouldLoadResourceFromApplicationCache(request, resource)) in maybeLoadResource()
[all …]

12345678910>>...32