Searched refs:response (Results 226 - 250 of 563) sorted by relevance

1234567891011>>

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DAuthenticatorAdapter.java37 @Override public Request authenticate(Proxy proxy, Response response) throws IOException { argument
38 List<Challenge> challenges = response.challenges();
39 Request request = response.request();
59 @Override public Request authenticateProxy(Proxy proxy, Response response) throws IOException { argument
60 List<Challenge> challenges = response.challenges();
61 Request request = response.request();
H A DTransport.java48 /** Read and return response headers. */
51 /** Returns a stream that reads the response body. */
52 ResponseBody openResponseBody(Response response) throws IOException; argument
55 * Configures the response body to pool or close the socket connection when
56 * the response body is closed.
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/
H A DSampleServer.java65 StringBuilder response = new StringBuilder();
66 response.append(String.format("<html><head><title>%s</title></head><body>", basePath));
67 response.append(String.format("<h1>%s</h1>", basePath));
69 response.append(String.format("<div class='file'><a href='%s'>%s</a></div>",
72 response.append("</body></html>");
77 .setBody(response.toString());
/external/protobuf/python/google/protobuf/internal/
H A Dservice_reflection_test.py47 def CallMethod(self, method, controller, request, response, callback):
51 callback(response)
64 def MyCallback(response):
65 self.callback_response = response
113 def MyCallback(response):
114 self.callback_response = response
/external/selinux/libsemanage/src/
H A Ddatabase.c125 const record_key_t * key, record_t ** response)
131 if (dconfig->dtable->query(handle, dconfig->dbase, key, response) < 0) {
141 const record_key_t * key, int *response)
147 if (dconfig->dtable->exists(handle, dconfig->dbase, key, response) < 0) {
156 dbase_config_t * dconfig, unsigned int *response)
162 if (dconfig->dtable->count(handle, dconfig->dbase, response) < 0) {
123 dbase_query(semanage_handle_t * handle, dbase_config_t * dconfig, const record_key_t * key, record_t ** response) argument
139 dbase_exists(semanage_handle_t * handle, dbase_config_t * dconfig, const record_key_t * key, int *response) argument
155 dbase_count(semanage_handle_t * handle, dbase_config_t * dconfig, unsigned int *response) argument
H A Ddatabase.h104 const record_key_t * key, record_t ** response);
109 const record_key_t * key, int *response);
113 dbase_t * dbase, unsigned int *response);
200 const record_key_t * key, record_t ** response);
204 const record_key_t * key, int *response);
207 dbase_config_t * dconfig, unsigned int *response);
/external/google-breakpad/src/tools/linux/symupload/
H A Dminidump_upload.cc66 string response, error; local
74 &response,
84 printf("%s\n", response.c_str());
/external/v8/test/mjsunit/
H A Ddebug-clearbreakpointgroup.js52 var response = safeEval(json_response);
54 assertTrue(response.success, json_response);
56 assertFalse(response.success, json_response);
H A Ddebug-return-value.js44 ParsedResponse.prototype.response = function() {
116 response = new ParsedResponse(resp);
117 frames = response.body().frames;
120 response.lookup(frames[0].returnValue.ref).value);
/external/apache-http/src/org/apache/http/impl/auth/
H A DNTLMScheme.java123 String response = null;
125 response = this.engine.generateType1Msg(
130 response = this.engine.generateType3Msg(
147 buffer.append(response);
/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/
H A Dwdg_validate.py10 from paste.response import header_value
43 response = []
46 response.extend((status, headers))
58 status, headers = response
/external/chromium-trace/trace-viewer/third_party/Paste/tests/test_auth/
H A Dtest_auth_digest.py39 response = AUTHORIZATION(username=username, password=password,
41 assert "Digest" in response and username in response
44 HTTP_AUTHORIZATION=response)
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/
H A Dextras_appengine_users_test.py19 self.response.write('You are logged in.')
23 self.response.write('You are logged in.')
29 self.response.write('You are admin.')
33 self.response.write('You are admin.')
/external/google-breakpad/src/common/mac/
H A DHTTPMultipartUpload.h43 NSHTTPURLResponse *response_; // The response from the send (STRONG)
57 // Set the data and return the response
59 - (NSHTTPURLResponse *)response;
/external/jetty/src/java/org/eclipse/jetty/security/authentication/
H A DBasicAuthenticator.java66 HttpServletResponse response = (HttpServletResponse)res;
100 if (DeferredAuthentication.isDeferred(response))
103 response.setHeader(HttpHeaders.WWW_AUTHENTICATE, "basic realm=\"" + _loginService.getName() + '"');
104 response.sendError(HttpServletResponse.SC_UNAUTHORIZED);
/external/jetty/src/java/org/eclipse/jetty/server/handler/
H A DGzipHandler.java48 * GZIP Handler This handler will gzip the content of a response if:
51 * <li>The response status code is >=200 and <300
167 * @return The value of the Vary header set if a response can be compressed.
183 * @param vary The value of the Vary header set if a response can be compressed.
241 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
246 if (ae != null && ae.indexOf("gzip")>=0 && !response.containsHeader("Content-Encoding")
254 _handler.handle(target,baseRequest, request, response);
259 final CompressedResponseWrapper wrappedResponse = newGzipResponseWrapper(request,response);
290 else if (exceptional && !response.isCommitted())
301 _handler.handle(target,baseRequest, request, response);
313 newGzipResponseWrapper(HttpServletRequest request, HttpServletResponse response) argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
H A DInternalCache.java31 CacheRequest put(Response response) throws IOException; argument
40 * Handles a conditional request hit by updating the stored cache response
41 * with the headers from {@code network}. The cached response body is not
42 * updated. If the stored response has changed since {@code cached} was
50 /** Track an HTTP response being satisfied with {@code cacheStrategy}. */
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
H A DHttpOverHttp2Test.java37 MockResponse response = new MockResponse()
41 server.enqueue(response);
61 MockResponse response = new MockResponse()
65 server.enqueue(response);
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/
H A DWebSocketListener.java28 void onOpen(WebSocket webSocket, Request request, Response response) throws IOException; argument
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
H A DProgress.java58 Response response = client.newCall(request).execute();
59 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
61 System.out.println(response.body().string());
H A DRequestBodyCompression.java57 Response response = client.newCall(request).execute();
58 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
60 System.out.println(response.body().string());
/external/openssh/openbsd-compat/
H A Dgetrrsetbyname.c195 struct dns_response *response = NULL; local
254 response = parse_dns_response(answer, length);
255 if (response == NULL) {
260 if (response->header.qdcount != 1) {
271 rrset->rri_rdclass = response->query->class;
272 rrset->rri_rdtype = response->query->type;
273 rrset->rri_ttl = response->answer->ttl;
274 rrset->rri_nrdatas = response->header.ancount;
278 if (response->header.ad == 1)
283 rrset->rri_name = strdup(response
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dms_funcs.c142 * @response: 24-octet Response (OUT)
145 u8 *response)
148 des_encrypt(challenge, password_hash, response);
149 des_encrypt(challenge, password_hash + 7, response + 8);
153 des_encrypt(challenge, zpwd, response + 16);
165 * @response: 24-octet Response (OUT)
171 u8 *response)
181 challenge_response(challenge, password_hash, response);
193 * @response: 24-octet Response (OUT)
200 u8 *response)
144 challenge_response(const u8 *challenge, const u8 *password_hash, u8 *response) argument
168 generate_nt_response(const u8 *auth_challenge, const u8 *peer_challenge, const u8 *username, size_t username_len, const u8 *password, size_t password_len, u8 *response) argument
196 generate_nt_response_pwhash(const u8 *auth_challenge, const u8 *peer_challenge, const u8 *username, size_t username_len, const u8 *password_hash, u8 *response) argument
225 generate_authenticator_response_pwhash( const u8 *password_hash, const u8 *peer_challenge, const u8 *auth_challenge, const u8 *username, size_t username_len, const u8 *nt_response, u8 *response) argument
284 generate_authenticator_response(const u8 *password, size_t password_len, const u8 *peer_challenge, const u8 *auth_challenge, const u8 *username, size_t username_len, const u8 *nt_response, u8 *response) argument
307 nt_challenge_response(const u8 *challenge, const u8 *password, size_t password_len, u8 *response) argument
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Dms_funcs.c142 * @response: 24-octet Response (OUT)
145 u8 *response)
148 des_encrypt(challenge, password_hash, response);
149 des_encrypt(challenge, password_hash + 7, response + 8);
153 des_encrypt(challenge, zpwd, response + 16);
165 * @response: 24-octet Response (OUT)
171 u8 *response)
181 challenge_response(challenge, password_hash, response);
193 * @response: 24-octet Response (OUT)
200 u8 *response)
144 challenge_response(const u8 *challenge, const u8 *password_hash, u8 *response) argument
168 generate_nt_response(const u8 *auth_challenge, const u8 *peer_challenge, const u8 *username, size_t username_len, const u8 *password, size_t password_len, u8 *response) argument
196 generate_nt_response_pwhash(const u8 *auth_challenge, const u8 *peer_challenge, const u8 *username, size_t username_len, const u8 *password_hash, u8 *response) argument
225 generate_authenticator_response_pwhash( const u8 *password_hash, const u8 *peer_challenge, const u8 *auth_challenge, const u8 *username, size_t username_len, const u8 *nt_response, u8 *response) argument
284 generate_authenticator_response(const u8 *password, size_t password_len, const u8 *peer_challenge, const u8 *auth_challenge, const u8 *username, size_t username_len, const u8 *nt_response, u8 *response) argument
307 nt_challenge_response(const u8 *challenge, const u8 *password, size_t password_len, u8 *response) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dms_funcs.c142 * @response: 24-octet Response (OUT)
145 u8 *response)
148 des_encrypt(challenge, password_hash, response);
149 des_encrypt(challenge, password_hash + 7, response + 8);
153 des_encrypt(challenge, zpwd, response + 16);
165 * @response: 24-octet Response (OUT)
171 u8 *response)
181 challenge_response(challenge, password_hash, response);
193 * @response: 24-octet Response (OUT)
200 u8 *response)
144 challenge_response(const u8 *challenge, const u8 *password_hash, u8 *response) argument
168 generate_nt_response(const u8 *auth_challenge, const u8 *peer_challenge, const u8 *username, size_t username_len, const u8 *password, size_t password_len, u8 *response) argument
196 generate_nt_response_pwhash(const u8 *auth_challenge, const u8 *peer_challenge, const u8 *username, size_t username_len, const u8 *password_hash, u8 *response) argument
225 generate_authenticator_response_pwhash( const u8 *password_hash, const u8 *peer_challenge, const u8 *auth_challenge, const u8 *username, size_t username_len, const u8 *nt_response, u8 *response) argument
284 generate_authenticator_response(const u8 *password, size_t password_len, const u8 *peer_challenge, const u8 *auth_challenge, const u8 *username, size_t username_len, const u8 *nt_response, u8 *response) argument
307 nt_challenge_response(const u8 *challenge, const u8 *password, size_t password_len, u8 *response) argument
[all...]

Completed in 576 milliseconds

1234567891011>>