/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
H A D | RequestLogHandler.java | 57 public void handle(String target, final Request baseRequest, HttpServletRequest request, final HttpServletResponse response) argument 68 super.handle(target, baseRequest, request, response); 87 _requestLog.log(baseRequest, (Response)response); 92 _requestLog.log(baseRequest, (Response)response); 187 public void log(Request request, Response response) argument
|
H A D | ShutdownHandler.java | 93 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument 102 response.sendError(HttpServletResponse.SC_BAD_REQUEST); 108 response.sendError(HttpServletResponse.SC_UNAUTHORIZED); 114 response.sendError(HttpServletResponse.SC_UNAUTHORIZED);
|
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
H A D | SessionHandler.java | 144 public void doScope(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument 191 // start manual inline of nextScope(target,baseRequest,request,response); 193 _nextScope.doScope(target,baseRequest,request,response); 195 _outerScope.doHandle(target,baseRequest,request,response); 197 doHandle(target,baseRequest,request,response); 223 public void doHandle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument 225 // start manual inline of nextHandle(target,baseRequest,request,response); 227 nextHandle(target,baseRequest,request,response); 229 _nextScope.doHandle(target,baseRequest,request,response); 231 _handler.handle(target,baseRequest,request,response); [all...] |
/external/jetty/src/java/org/eclipse/jetty/servlet/ |
H A D | StatisticsServlet.java | 130 private void sendXmlResponse(HttpServletResponse response) throws IOException argument 201 response.setContentType("text/xml"); 202 PrintWriter pout = response.getWriter(); 206 private void sendTextResponse(HttpServletResponse response) throws IOException argument 242 response.setContentType("text/html"); 243 PrintWriter pout = response.getWriter();
|
/external/libnfc-nxp/src/ |
H A D | phLibNfc_discovery.c | 71 phNfc_sData_t *response, 364 phNfc_sData_t *response, 369 PHNFC_UNUSED_VARIABLE(response); 361 phLibNfc_ChkPresence_Trcv_Cb( void *context, phHal_sRemoteDevInformation_t *psRemoteDevInfo, phNfc_sData_t *response, NFCSTATUS status ) argument
|
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/ |
H A D | WebSocketResponseHandlerTest.java | 33 private Response response; field in class:WebSocketResponseHandlerTest 54 when(webSocket.getHandshakeResponse()).thenReturn(response); 65 assertSame(response, handshakeResponse); 67 verify(response, atLeast(1)).addHeader(headerNameCaptor.capture(), headerCaptor.capture()); 113 assertSame(response, handshakeResponse);
|
/external/nist-sip/java/gov/nist/javax/sip/ |
H A D | DialogFilter.java | 103 * Send back a Request Pending response. 125 sipStack.getStackLogger().logError("Problem sending error response", ex); 132 * Send a BAD REQUEST response. 155 sipStack.getStackLogger().logError("Problem sending error response", ex); 163 * Send a CALL OR TRANSACTION DOES NOT EXIST response. 186 sipStack.getStackLogger().logError("Problem sending error response", ex); 213 sipStack.getStackLogger().logError("Problem sending error response", ex); 232 .logDebug("Sending 500 response for out of sequence message"); 248 sipStack.getStackLogger().logError("Problem sending response", ex); 339 * UAS core SHOULD generate a 482 (Loop Detected) response an 1117 processResponse(SIPResponse response, MessageChannel incomingMessageChannel, SIPDialog dialog) argument [all...] |
H A D | Utils.java | 182 public boolean responseBelongsToUs(SIPResponse response) { argument 183 Via topmostVia = response.getTopmostVia();
|
/external/nist-sip/java/javax/sip/ |
H A D | SipProvider.java | 49 void sendResponse(Response response) throws SipException; argument
|
/external/nist-sip/java/javax/sip/message/ |
H A D | MessageFactory.java | 57 Response createResponse(String response) throws ParseException; argument
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
H A D | MockWebServerTest.java | 45 MockResponse response = new MockResponse(); 46 assertEquals(Arrays.asList("Content-Length: 0"), headersToList(response)); 47 assertEquals("HTTP/1.1 200 OK", response.getStatus()); 51 MockResponse response = new MockResponse().setBody("ABC"); 52 assertEquals(Arrays.asList("Content-Length: 3"), headersToList(response)); 53 assertEquals("ABC", response.getBody().readUtf8()); 54 assertEquals("HTTP/1.1 200 OK", response.getStatus()); 58 MockResponse response = new MockResponse() 62 assertEquals(Arrays.asList("Cookie: s=square", "Cookie: a=android"), headersToList(response)); 66 MockResponse response 258 headersToList(MockResponse response) argument [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
H A D | CacheStrategy.java | 26 * Given a request and cached response, this figures out whether to use the 31 * response (if the cached data is potentially stale). 37 /** The cached response to return or validate; or null if this call doesn't use a cache. */ 46 * Returns true if {@code response} can be stored to later serve another 49 public static boolean isCacheable(Response response, Request request) { argument 50 // Always go to network for uncacheable response codes (RFC 7231 section 6.1), 52 switch (response.code()) { 69 // These codes can only be cached with the right response headers. 72 if (response.header("Expires") != null 73 || response [all...] |
H A D | HttpTransport.java | 97 // If the response specified that the connection shouldn't be reused, don't reuse it. 109 @Override public ResponseBody openResponseBody(Response response) throws IOException { argument 110 Source source = getTransferStream(response); 111 return new RealResponseBody(response.headers(), Okio.buffer(source)); 114 private Source getTransferStream(Response response) throws IOException { argument 115 if (!HttpEngine.hasBody(response)) { 119 if ("chunked".equalsIgnoreCase(response.header("Transfer-Encoding"))) { 123 long contentLength = OkHeaders.contentLength(response);
|
H A D | Transport.java | 48 /** 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/okhttp-ws/src/main/java/com/squareup/okhttp/ws/ |
H A D | WebSocketCall.java | 107 * <p>This client will later call back {@code responseCallback} with either an HTTP response or a 115 @Override public void onResponse(Response response) throws IOException { 117 createWebSocket(response, listener); 136 private void createWebSocket(Response response, WebSocketListener listener) argument 138 if (response.code() != 101) { 141 throw new ProtocolException("Expected HTTP 101 response but was '" 142 + response.code() 144 + response.message() 148 String headerConnection = response.header("Connection"); 153 String headerUpgrade = response 197 create(Response response, Connection connection, BufferedSource source, BufferedSink sink, Random random, WebSocketListener listener) argument [all...] |
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
H A D | WebSocketEcho.java | 30 @Override public void onOpen(WebSocket webSocket, Request request, Response response) argument
|
/external/ppp/pppd/ |
H A D | chap-md5.c | 59 unsigned char *challenge, unsigned char *response, 68 response_len = *response++; 77 /* Test if our hash matches the peer's response */ 78 if (memcmp(hash, response, MD5_HASH_SIZE) == 0) { 88 chap_md5_make_response(unsigned char *response, int id, char *our_name, argument 100 MD5_Final(&response[1], &ctx); 101 response[0] = MD5_HASH_SIZE; 57 chap_md5_verify_response(int id, char *name, unsigned char *secret, int secret_len, unsigned char *challenge, unsigned char *response, char *message, int message_space) argument
|
/external/protobuf/src/google/protobuf/compiler/ |
H A D | plugin.cc | 64 GeneratorResponseContext(CodeGeneratorResponse* response, argument 66 : response_(response), 133 CodeGeneratorResponse response; local 134 GeneratorResponseContext context(&response, parsed_files); 148 response.set_error(file->name() + ": " + error); 153 if (!response.SerializeToFileDescriptor(STDOUT_FILENO)) {
|
/external/selinux/libselinux/src/ |
H A D | query_user_context.c | 16 char response[10]; /* string to hold the user's response */ local 25 if (fgets(response, sizeof(response), stdin) == NULL) 28 choice = strtol(response, NULL, 10); 40 char response[10]; /* The user's response */ local 51 if (fgets(response, sizeof(response), stdin) == NULL) 55 if ((response[ 108 char response[10]; /* Used to get yes or no answers from user */ local [all...] |
/external/selinux/libsemanage/src/ |
H A D | database.c | 125 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 D | users_local.c | 71 semanage_user_t ** response) 75 return dbase_query(handle, dconfig, key, response); 79 const semanage_user_key_t * key, int *response) 83 return dbase_exists(handle, dconfig, key, response); 87 unsigned int *response) 91 return dbase_count(handle, dconfig, response); 69 semanage_user_query_local(semanage_handle_t * handle, const semanage_user_key_t * key, semanage_user_t ** response) argument 78 semanage_user_exists_local(semanage_handle_t * handle, const semanage_user_key_t * key, int *response) argument 86 semanage_user_count_local(semanage_handle_t * handle, unsigned int *response) argument
|
/external/selinux/libsepol/src/ |
H A D | booleans.c | 107 const sepol_policydb_t * p, unsigned int *response) 111 *response = policydb->p_bools.nprim; 119 const sepol_bool_key_t * key, int *response) 135 *response = (hashtab_search(policydb->p_bools.table, name) != NULL); 142 const sepol_bool_key_t * key, sepol_bool_t ** response) 158 *response = NULL; 163 booldatum->s.value - 1, response) < 0) 106 sepol_bool_count(sepol_handle_t * handle __attribute__ ((unused)), const sepol_policydb_t * p, unsigned int *response) argument 117 sepol_bool_exists(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_bool_key_t * key, int *response) argument 140 sepol_bool_query(sepol_handle_t * handle, const sepol_policydb_t * p, const sepol_bool_key_t * key, sepol_bool_t ** response) argument
|
/external/v8/src/ |
H A D | d8-debug.cc | 112 Handle<String> response = Handle<String>::Cast(response_val); local 114 // Convert the debugger response into text details and the running state. 116 Shell::DebugMessageDetails(isolate, response);
|
H A D | debug-debugger.js | 5 // Default number of frames to include in the response to backtrace request. 1284 // If message is based on a request this is a response. Fill the initial 1285 // response from the request. 1286 this.type = 'response'; 1375 var response; // Generated response. 1381 // Create an initial response. 1382 response = this.createResponse(request); 1401 response.setOption('inlineRefs', true); 1404 response [all...] |
/external/apache-http/src/org/apache/http/impl/ |
H A D | AbstractHttpClientConnection.java | 185 HttpResponse response = (HttpResponse) this.responseParser.parse(); 186 if (response.getStatusLine().getStatusCode() >= 200) { 189 return response; 192 public void receiveResponseEntity(final HttpResponse response) argument 194 if (response == null) { 195 throw new IllegalArgumentException("HTTP response may not be null"); 198 HttpEntity entity = this.entitydeserializer.deserialize(this.inbuffer, response); 199 response.setEntity(entity);
|