Searched refs:response (Results 1 - 25 of 847) sorted by relevance

1234567891011>>

/external/libmicrohttpd/src/microhttpd/
H A Dresponse.h21 * @file response.h
22 * @brief Methods for managing response objects
31 * Increment response RC. Should this be part of the
35 MHD_increment_response_rc (struct MHD_Response *response);
H A Dresponse.c21 * @file response.c
22 * @brief Methods for managing response objects
28 #include "response.h"
42 * Add a header or footer line to the response.
44 * @param response response to add a header to
51 add_response_entry (struct MHD_Response *response, argument
58 if ( (NULL == response) ||
84 hdr->next = response->first_header;
85 response
100 MHD_add_response_header(struct MHD_Response *response, const char *header, const char *content) argument
120 MHD_add_response_footer(struct MHD_Response *response, const char *footer, const char *content) argument
140 MHD_del_response_header(struct MHD_Response *response, const char *header, const char *content) argument
183 MHD_get_response_headers(struct MHD_Response *response, MHD_KeyValueIterator iterator, void *iterator_cls) argument
210 MHD_get_response_header(struct MHD_Response *response, const char *key) argument
247 struct MHD_Response *response; local
280 MHD_set_response_options(struct MHD_Response *response, enum MHD_ResponseFlags flags, ...) argument
318 struct MHD_Response *response = cls; local
340 struct MHD_Response *response = cls; local
368 struct MHD_Response *response; local
419 struct MHD_Response *response; local
488 MHD_destroy_response(struct MHD_Response *response) argument
517 MHD_increment_response_rc(struct MHD_Response *response) argument
[all...]
/external/apache-http/src/org/apache/http/impl/client/
H A DTunnelRefusedException.java47 private final HttpResponse response; field in class:TunnelRefusedException
49 public TunnelRefusedException(final String message, final HttpResponse response) { argument
51 this.response = response;
55 return this.response;
H A DDefaultProxyAuthenticationHandler.java58 final HttpResponse response,
60 if (response == null) {
61 throw new IllegalArgumentException("HTTP response may not be null");
63 int status = response.getStatusLine().getStatusCode();
68 final HttpResponse response,
70 if (response == null) {
71 throw new IllegalArgumentException("HTTP response may not be null");
73 Header[] headers = response.getHeaders(AUTH.PROXY_AUTH);
57 isAuthenticationRequested( final HttpResponse response, final HttpContext context) argument
67 getChallenges( final HttpResponse response, final HttpContext context) argument
H A DDefaultTargetAuthenticationHandler.java58 final HttpResponse response,
60 if (response == null) {
61 throw new IllegalArgumentException("HTTP response may not be null");
63 int status = response.getStatusLine().getStatusCode();
68 final HttpResponse response,
70 if (response == null) {
71 throw new IllegalArgumentException("HTTP response may not be null");
73 Header[] headers = response.getHeaders(AUTH.WWW_AUTH);
57 isAuthenticationRequested( final HttpResponse response, final HttpContext context) argument
67 getChallenges( final HttpResponse response, final HttpContext context) argument
/external/libmicrohttpd/doc/chapters/
H A Dresponseheaders.inc12 but guessing about how to handle the response, because the server had not told him.
15 This is what the mime content types are for. The header of the response is extended
34 struct MHD_Response *response;
65 response =
69 if (response)
73 response);
74 MHD_destroy_response (response);
87 response = MHD_create_response_from_buffer (strlen(errorstr), (void*) errorstr,
90 if (response)
94 response);
[all...]
H A Dbasicauthentication.inc38 Thus, we will generate no response until the parameter is non-null---implying the callback was
71 @emph{WWW-Authenticate} response header with the name of the @emph{realm} protected.
72 MHD can generate and queue such a failure response for you using
74 is construct a response with the error page to be shown to the user
90 struct MHD_Response *response;
109 response =
114 response);
119 response =
122 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
124 MHD_destroy_response (response);
[all...]
/external/skia/tools/skiaserve/
H A DResponse.cpp43 // SendOK just sends an empty response with a 200 OK status code.
47 MHD_Response* response = MHD_create_response_from_buffer(strlen(data), local
50 int ret = MHD_queue_response(connection, 200, response);
51 MHD_destroy_response(response);
56 MHD_Response* response = MHD_create_response_from_buffer(strlen(msg), local
59 int ret = MHD_queue_response(connection, 500, response);
60 MHD_destroy_response(response);
66 MHD_Response* response = MHD_create_response_from_buffer(data->size(), local
69 MHD_add_response_header(response, "Content-Type", type);
72 MHD_add_response_header(response, "Conten
83 MHD_Response* response = MHD_create_response_from_buffer( local
[all...]
/external/tpm2/include/tpm2/
H A DExecCommand_fp.h11 unsigned int *responseSize, // OUT: response buffer size
12 unsigned char **response // OUT: response buffer
/external/autotest/client/site_tests/power_LoadTest/extension/
H A Dct.js14 chrome.runtime.sendMessage(request, function(response) {
15 if (response && response.should_scroll) {
18 var start_interval = Math.max(10000, response.scroll_interval);
20 window.scrollBy(0, response.scroll_by);
23 setTimeout(smoothScrollDown, response.scroll_interval);
24 } else if (response.should_scroll_up) {
29 window.scrollBy(0, -1 * response.scroll_by);
32 setTimeout(smoothScrollUp, response.scroll_interval);
33 } else if (response
[all...]
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
H A DGZipIntegrationTest.java60 public Response response; field in class:GZipIntegrationTest.TestServer
68 return response;
84 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
87 HttpResponse response = httpclient.execute(request);
88 Header contentEncoding = response.getFirstHeader("content-encoding");
96 testServer.response = NanoHTTPD.newChunkedResponse(NanoHTTPD.Response.Status.OK, "text/plain", data);
99 HttpResponse response = httpclient.execute(request);
100 Header contentEncoding = response.getFirstHeader("content-encoding");
107 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test");
110 HttpResponse response
[all...]
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
H A DPushPromise.java25 private final MockResponse response; field in class:PushPromise
27 public PushPromise(String method, String path, Headers headers, MockResponse response) { argument
31 this.response = response;
47 return response;
/external/apache-http/src/org/apache/http/protocol/
H A DResponseContent.java46 * A response interceptor that sets up entity-related headers.
66 public void process(final HttpResponse response, final HttpContext context) argument
68 if (response == null) {
71 if (response.containsHeader(HTTP.TRANSFER_ENCODING)) {
74 if (response.containsHeader(HTTP.CONTENT_LEN)) {
77 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
78 HttpEntity entity = response.getEntity();
82 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING);
84 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
87 if (entity.getContentType() != null && !response
[all...]
H A DHttpRequestExecutor.java49 * Takes care of request preprocessing and response postprocessing
73 * Decide whether a response comes with an entity.
75 * Unknown methods and response codes are supposed to
79 * methods and response codes not specified in RFC 2616.
82 * @param response the response, to obtain the status code
85 final HttpResponse response) {
90 int status = response.getStatusLine().getStatusCode();
98 * Synchronously send a request and obtain the response.
103 * @return the response t
84 canResponseHaveBody(final HttpRequest request, final HttpResponse response) argument
310 postProcess( final HttpResponse response, final HttpProcessor processor, final HttpContext context) argument
[all...]
/external/gptfdisk/
H A Dsupport.cc51 // (If def is outside of the low-high range, an explicit response
54 int response, num; local
63 num = sscanf(line, "%d", &response);
64 if (num == 1) { // user provided a response
65 if ((response < low) || (response > high))
68 response = def;
70 } while ((response < low) || (response > high));
73 response
80 char response; local
104 uint64_t response; local
135 uint64_t response = def, bytesPerUnit = 1, mult = 1, divide = 1; local
[all...]
/external/vboot_reference/firmware/lib/tpm_lite/
H A Dtlcl.c43 /* Gets the size field of a TPM request or response. */
64 uint8_t* response, int max_length) {
77 response, &response_length);
79 /* Communication with TPM failed, so response is garbage */
84 /* Otherwise, use the result code from the response */
85 result = TpmReturnCode(response);
88 * (and possibly expected length from the response header). See
92 VBDEBUG(("TPM: response: %x%x %x%x%x%x %x%x%x%x\n",
93 response[0], response[
63 TlclSendReceiveNoRetry(const uint8_t* request, uint8_t* response, int max_length) argument
108 TlclSendReceive(const uint8_t* request, uint8_t* response, int max_length) argument
141 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
176 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
195 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
213 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
235 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
280 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
295 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE + TPM_PUBEK_SIZE]; local
326 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
343 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
387 uint8_t response[kTpmResponseHeaderLength + kPcrDigestLength]; local
404 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
421 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
439 uint8_t response[TPM_LARGE_ENOUGH_COMMAND_SIZE]; local
[all...]
/external/autotest/frontend/afe/json_rpc/
H A DserviceHandler_unittest.py56 response = self.serviceHandler.handleRequest(json_request1)
57 self.assertEquals(response, expected_response1)
61 response = self.serviceHandler.handleRequest(json_request2)
62 self.assertEquals(response, expected_response2)
66 response = self.serviceHandler.handleRequest(json_request3)
67 response_obj = eval(response.replace('null', 'None'))
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
H A DAccessHeaders.java34 Response response = client.newCall(request).execute();
35 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
37 System.out.println("Server: " + response.header("Server"));
38 System.out.println("Date: " + response.header("Date"));
39 System.out.println("Vary: " + response.headers("Vary"));
/external/autotest/frontend/tko/
H A Dcsv_encoder_unittest.py26 response = encoder.encode()
27 csv_result = response.content
34 response = {'header_values' :
41 self._encode_and_check_result(request, response,
51 response = [{'col1' : 'foo', 'col2' : 'bar'},
53 self._encode_and_check_result(request, response,
63 response = {'header_values' : 'unused',
66 self._encode_and_check_result(request, response,
83 response = {'header_values' : 'unused',
86 self._encode_and_check_result(request, response,
[all...]
/external/selinux/libsemanage/include/semanage/
H A Dbooleans_policy.h11 semanage_bool_t ** response);
14 const semanage_bool_key_t * key, int *response);
17 unsigned int *response);
H A Dfcontexts_policy.h11 semanage_fcontext_t ** response);
15 int *response);
18 unsigned int *response);
H A Dinterfaces_policy.h11 semanage_iface_t ** response);
15 int *response);
18 unsigned int *response);
H A Dnodes_policy.h11 semanage_node_t ** response);
14 const semanage_node_key_t * key, int *response);
17 unsigned int *response);
H A Dports_policy.h11 semanage_port_t ** response);
14 const semanage_port_key_t * key, int *response);
17 unsigned int *response);
H A Dseusers_policy.h11 semanage_seuser_t ** response);
15 int *response);
18 unsigned int *response);

Completed in 902 milliseconds

1234567891011>>