Home
last modified time | relevance | path

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

12345678910>>...39

/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_freefrag, "Report free space fragmentation",
19 request do_features, "Set/print superblock features",
22 request do_dirty_filesys, "Mark the filesystem as dirty",
25 request do_init_filesys, "Initialize a filesystem (DESTROYS DATA)",
28 request do_show_super_stats, "Show superblock statistics",
31 request do_ncheck, "Do inode->name translation",
34 request do_icheck, "Do block->inode translation",
[all …]
Dro_debug_cmds.ct9 request do_show_debugfs_params, "Show debugfs parameters",
12 request do_open_filesys, "Open a filesystem",
15 request do_close_filesys, "Close the filesystem",
18 request do_freefrag, "Report free space fragmentation",
21 request do_show_super_stats, "Show superblock statistics",
24 request do_ncheck, "Do inode->name translation",
27 request do_icheck, "Do block->inode translation",
30 request do_chroot, "Change root directory",
33 request do_change_working_dir, "Change working directory",
36 request do_list_dir, "List directory",
[all …]
Dextent_cmds.ct7 request do_current_node, "Current extent node",
10 request do_root_node, "Goto root extent",
13 request do_last_leaf, "Goto last leaf",
16 request do_first_sib, "Goto first sibling",
19 request do_last_sib, "Goto last sibling",
22 request do_next_sib, "Goto next sibling",
25 request do_prev_sib, "Goto previous sibling",
28 request do_next_leaf, "Goto next leaf",
31 request do_prev_leaf, "Goto previous leaf",
34 request do_next, "Goto next node",
[all …]
/external/chromium-trace/trace-viewer/third_party/Paste/paste/auth/
Dopen_id.py63 import paste.request
125 request = dict(environ=environ, start=start_response, body=[])
126 request['base_url'] = paste.request.construct_url(environ, with_path_info=False,
130 request['parsed_uri'] = urlparse.urlparse(path)
131 request['query'] = dict(paste.request.parse_querystring(environ))
133 path = request['parsed_uri'][2]
135 return self.render(request)
137 return self.do_verify(request)
139 return self.do_process(request)
141 return self.not_found(request)
[all …]
/external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/
DMainTest.java30 Request request = fromArgs("http://example.com").createRequest(); in simple() local
31 assertEquals("GET", request.method()); in simple()
32 assertEquals("http://example.com", request.urlString()); in simple()
33 assertNull(request.body()); in simple()
37 Request request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest(); in put() local
38 assertEquals("PUT", request.method()); in put()
39 assertEquals("http://example.com", request.urlString()); in put()
40 assertEquals(3, request.body().contentLength()); in put()
44 Request request = fromArgs("-d", "foo", "http://example.com").createRequest(); in dataPost() local
45 RequestBody body = request.body(); in dataPost()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DRequestTracker.java3 import com.bumptech.glide.request.Request;
25 public void runRequest(Request request) { in runRequest() argument
26 requests.add(request); in runRequest()
28 request.begin(); in runRequest()
33 void addRequest(Request request) { in addRequest() argument
34 requests.add(request); in addRequest()
40 public void removeRequest(Request request) { in removeRequest() argument
41 requests.remove(request); in removeRequest()
56 for (Request request : requests) { in pauseRequests()
57 if (request.isRunning()) { in pauseRequests()
[all …]
/external/mdnsresponder/mDNSShared/
Duds_daemon.c93 typedef void (*req_termination_fn)(request_state *request);
100 request_state *request; member
112 request_state *request; member
358 … reply_state *create_reply(const reply_op_t op, const size_t datalen, request_state *const request) in create_reply() argument
379 reply->mhdr->client_context = request->hdr.client_context; in create_reply()
400 …request_state *const request, reply_state **const rep, reply_op_t op, DNSServiceFlags flags, mStat… in GenerateNTDResponse() argument
428 *rep = create_reply(op, len, request); in GenerateNTDResponse()
446 …request_state *const request, reply_state **const rep, reply_op_t op, DNSServiceFlags flags, mStat… in GenerateBonjourBrowserResponse() argument
471 *rep = create_reply(op, len, request); in GenerateBonjourBrowserResponse()
486 mDNSlocal AuthRecord *read_rr_from_ipc_msg(request_state *request, int GetTTL, int validate_flags) in read_rr_from_ipc_msg() argument
[all …]
/external/toybox/toys/other/
Dvconfig.c32 struct vlan_ioctl_args request; in vconfig_main() local
37 memset(&request, 0, sizeof(struct vlan_ioctl_args)); in vconfig_main()
51 request.u.name_type = i; in vconfig_main()
52 request.cmd = SET_VLAN_NAME_TYPE_CMD; in vconfig_main()
53 xioctl(fd, SIOCSIFVLAN, &request); in vconfig_main()
58 xstrncpy(request.device1, toys.optargs[1], 16); in vconfig_main()
61 request.cmd = ADD_VLAN_CMD; in vconfig_main()
62 if (toys.optargs[2]) request.u.VID = atolx_range(toys.optargs[2], 0, 4094); in vconfig_main()
63 if (request.u.VID == 1) in vconfig_main()
65 } else if (!strcmp(cmd, "rem")) request.cmd = DEL_VLAN_CMD; in vconfig_main()
[all …]
/external/chromium-trace/trace-viewer/tracing/build/
Dtracing_dev_server.py41 def do_GET_json_examples(request): argument
42 data_files = getFilesIn(request.server.data_dir)
45 request.send_response(200)
46 request.send_header('Content-Type', 'application/json')
47 request.send_header('Content-Length', len(files_as_json))
48 request.end_headers()
49 request.wfile.write(files_as_json)
52 def do_GET_json_examples_skp(request): argument
53 data_files = getFilesIn(request.server.skp_data_dir)
56 request.send_response(200)
[all …]
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/guide/
Drequest.rst1 .. _guide.request:
5 The request handler instance can access the request data using its ``request``
9 The request object provides a ``get()`` method that returns values for
15 name = self.request.get('name')
18 argument is not in the request. If the parameter ``default_value`` is
22 If the argument appears more than once in a request, by default ``get()``
28 name = self.request.get("name")
31 subscribe_to_newsletter = self.request.get("subscribe", default_value="no")
34 favorite_foods = self.request.get("favorite_foods", allow_multiple=True)
40 the body of an HTTP PUT request, the request object provides the attributes
[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/v8/src/
Dd8.js533 var request = this.createRequest('lookup');
534 request.arguments = {};
535 request.arguments.handles = [ lookup_handle ];
536 return request.toJSONProtocol();
539 var request = this.createRequest('evaluate');
540 request.arguments = {};
541 request.arguments.expression = expression;
544 request.arguments.global = true;
546 return request.toJSONProtocol();
556 var request = this.createRequest('references');
[all …]
Ddebug-debugger.js1274 DebugCommandProcessor.prototype.processDebugRequest = function (request) { argument
1275 return this.processDebugJSONRequest(request);
1279 function ProtocolMessage(request) { argument
1283 if (request) {
1287 this.request_seq = request.seq;
1288 this.command = request.command;
1367 DebugCommandProcessor.prototype.createResponse = function(request) { argument
1368 return new ProtocolMessage(request);
1374 var request; // Current request.
1379 request = JSON.parse(json_request);
[all …]
/external/e2fsprogs/lib/ext2fs/
Dtst_bitmaps_cmd.ct3 request setup_cmd, "Setup file system",
6 request close_cmd, "Close file system",
9 request dump_inode_bitmap_cmd, "Dump the inode bitmap",
12 request dump_block_bitmap_cmd, "Dump the block bitmap",
15 request do_setb, "Set block",
18 request do_clearb, "Clear block",
21 request do_testb, "Test block",
24 request do_ffzb, "Find first zero block",
27 request do_zerob, "Clear block bitmap",
30 request do_seti, "Set inode",
[all …]
/external/apache-http/src/org/apache/http/protocol/
DHttpRequestExecutor.java84 protected boolean canResponseHaveBody(final HttpRequest request, in canResponseHaveBody() argument
87 if ("HEAD".equalsIgnoreCase(request.getRequestLine().getMethod())) { in canResponseHaveBody()
109 final HttpRequest request, in execute() argument
113 if (request == null) { in execute()
124 HttpResponse response = doSendRequest(request, conn, context); in execute()
126 response = doReceiveResponse(request, conn, context); in execute()
152 final HttpRequest request, in preProcess() argument
156 if (request == null) { in preProcess()
165 processor.process(request, context); in preProcess()
189 final HttpRequest request, in doSendRequest() argument
[all …]
DRequestContent.java65 public void process(final HttpRequest request, final HttpContext context) in process() argument
67 if (request == null) { in process()
70 if (request instanceof HttpEntityEnclosingRequest) { in process()
71 if (request.containsHeader(HTTP.TRANSFER_ENCODING)) { in process()
74 if (request.containsHeader(HTTP.CONTENT_LEN)) { in process()
77 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
78 HttpEntity entity = ((HttpEntityEnclosingRequest)request).getEntity(); in process()
80 request.addHeader(HTTP.CONTENT_LEN, "0"); in process()
89 request.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING); in process()
91 request.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DInterceptorTest.java57 Request request = new Request.Builder() in applicationInterceptorsCanShortCircuitResponses() local
62 .request(request) in applicationInterceptorsCanShortCircuitResponses()
75 Response response = client.newCall(request).execute(); in applicationInterceptorsCanShortCircuitResponses()
85 .request(chain.request()) in networkInterceptorsCannotShortCircuitResponses()
95 Request request = new Request.Builder() in networkInterceptorsCannotShortCircuitResponses() local
100 client.newCall(request).execute(); in networkInterceptorsCannotShortCircuitResponses()
114 chain.proceed(chain.request()); in networkInterceptorsCannotCallProceedMultipleTimes()
115 return chain.proceed(chain.request()); in networkInterceptorsCannotCallProceedMultipleTimes()
120 Request request = new Request.Builder() in networkInterceptorsCannotCallProceedMultipleTimes() local
125 client.newCall(request).execute(); in networkInterceptorsCannotCallProceedMultipleTimes()
[all …]
/external/jetty/src/java/org/eclipse/jetty/servlets/
DCrossOriginFilter.java208 …public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws I… in doFilter() argument
210 handle((HttpServletRequest)request, (HttpServletResponse)response, chain); in doFilter()
213 …private void handle(HttpServletRequest request, HttpServletResponse response, FilterChain chain) t… in handle() argument
215 String origin = request.getHeader(ORIGIN_HEADER); in handle()
217 if (origin != null && isEnabled(request)) in handle()
221 if (isSimpleRequest(request)) in handle()
223 … LOG.debug("Cross-origin request to {} is a simple cross-origin request", request.getRequestURI()); in handle()
224 handleSimpleResponse(request, response, origin); in handle()
226 else if (isPreflightRequest(request)) in handle()
228 …G.debug("Cross-origin request to {} is a preflight cross-origin request", request.getRequestURI()); in handle()
[all …]
/external/apache-http/android/src/android/net/http/
DAndroidHttpClient.java95 public void process(HttpRequest request, HttpContext context) {
205 public static void modifyRequestToAcceptGzipResponse(HttpRequest request) { in modifyRequestToAcceptGzipResponse() argument
206 request.addHeader("Accept-Encoding", "gzip"); in modifyRequestToAcceptGzipResponse()
249 public HttpResponse execute(HttpUriRequest request) throws IOException { in execute() argument
250 return delegate.execute(request); in execute()
253 public HttpResponse execute(HttpUriRequest request, HttpContext context) in execute() argument
255 return delegate.execute(request, context); in execute()
258 public HttpResponse execute(HttpHost target, HttpRequest request) in execute() argument
260 return delegate.execute(target, request); in execute()
263 public HttpResponse execute(HttpHost target, HttpRequest request, in execute() argument
[all …]
/external/chromium-trace/trace-viewer/third_party/webapp2/
Dwebapp2.py500 request = None variable in RequestHandler
506 def __init__(self, request=None, response=None): argument
528 self.initialize(request, response)
530 def initialize(self, request, response): argument
539 self.request = request
550 request = self.request
551 method_name = request.route.handler_method
553 method_name = _normalize_handler_method(request.method)
565 args, kwargs = request.route_args, request.route_kwargs
607 body=body, request=self.request,
[all …]
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DShutdownHandler.java93 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
100 if (!request.getMethod().equals("POST")) in handle()
105 if (!hasCorrectSecurityToken(request)) in handle()
107 LOG.warn("Unauthorized shutdown attempt from " + getRemoteAddr(request)); in handle()
111 if (!requestFromLocalhost(request)) in handle()
113 LOG.warn("Unauthorized shutdown attempt from " + getRemoteAddr(request)); in handle()
118 LOG.info("Shutting down by request from " + getRemoteAddr(request)); in handle()
140 private boolean requestFromLocalhost(HttpServletRequest request) in requestFromLocalhost() argument
142 return "127.0.0.1".equals(getRemoteAddr(request)); in requestFromLocalhost()
145 protected String getRemoteAddr(HttpServletRequest request) in getRemoteAddr() argument
[all …]
DErrorHandler.java61 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
64 String method = request.getMethod(); in handle()
73 String error_page=((ErrorPageMapper)this).getErrorPage(request); in handle()
74 if (error_page!=null && request.getServletContext()!=null) in handle()
76 String old_error_page=(String)request.getAttribute(ERROR_PAGE); in handle()
79 request.setAttribute(ERROR_PAGE, error_page); in handle()
81 … Dispatcher dispatcher = (Dispatcher) request.getServletContext().getRequestDispatcher(error_page); in handle()
86 dispatcher.error(request, response); in handle()
105 …handleErrorPage(request, writer, connection.getResponse().getStatus(), connection.getResponse().ge… in handle()
113 …protected void handleErrorPage(HttpServletRequest request, Writer writer, int code, String message) in handleErrorPage() argument
[all …]
DScopedHandler.java132 …public final void handle(String target, Request baseRequest, HttpServletRequest request, HttpServl… in handle() argument
135 doScope(target,baseRequest,request, response); in handle()
137 doHandle(target,baseRequest,request, response); in handle()
144 …public abstract void doScope(String target, Request baseRequest, HttpServletRequest request, HttpS… in doScope() argument
151 …public final void nextScope(String target, Request baseRequest, HttpServletRequest request, HttpSe… in nextScope() argument
158 _nextScope.doScope(target,baseRequest,request, response); in nextScope()
160 _outerScope.doHandle(target,baseRequest,request, response); in nextScope()
162 doHandle(target,baseRequest,request, response); in nextScope()
169 …public abstract void doHandle(String target, Request baseRequest, HttpServletRequest request, Http… in doHandle() argument
176 … nextHandle(String target, final Request baseRequest, HttpServletRequest request, HttpServletRespo… in nextHandle() argument
[all …]
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DCacheAdapter.java46 @Override public Response get(Request request) throws IOException { in get() argument
47 CacheResponse javaResponse = getJavaCachedResponse(request); in get()
51 return JavaApiConverter.createOkResponseForCacheGet(request, javaResponse); in get()
55 URI uri = response.request().uri(); in put()
57 final java.net.CacheRequest request = delegate.put(uri, connection); in put() local
58 if (request == null) { in put()
63 OutputStream body = request.getBody(); in put()
68 request.abort(); in put()
73 @Override public void remove(Request request) throws IOException {
101 private CacheResponse getJavaCachedResponse(Request request) throws IOException {
[all …]
/external/jetty/src/java/org/eclipse/jetty/continuation/
DContinuationSupport.java108 public static Continuation getContinuation(ServletRequest request) in getContinuation() argument
110 Continuation continuation = (Continuation) request.getAttribute(Continuation.ATTRIBUTE); in getContinuation()
114 while (request instanceof ServletRequestWrapper) in getContinuation()
115 request=((ServletRequestWrapper)request).getRequest(); in getContinuation()
121 continuation=__newServlet3Continuation.newInstance(request); in getContinuation()
122 request.setAttribute(Continuation.ATTRIBUTE,continuation); in getContinuation()
133 Object c=request.getAttribute("org.mortbay.jetty.ajax.Continuation"); in getContinuation()
137 continuation=new FauxContinuation(request); in getContinuation()
139 continuation= __newJetty6Continuation.newInstance(request,c); in getContinuation()
140 request.setAttribute(Continuation.ATTRIBUTE,continuation); in getContinuation()
[all …]

12345678910>>...39